Releases: MurhafSousli/ngx-progressbar
Releases · MurhafSousli/ngx-progressbar
v13.0.0
What's Changed
- feat:
NgProgressRef
directive has(started)
and(completed)
outputs, instead of subjects. - feat:
NgProgressRef
directive has allNgProgress
component inputs excepts the irrelevant styling inputs. - feat: Add
fadeOutSpeed
input to set the fade out transition after the progress completes. - feat: Add
--ng-progress-spinner-speed
CSS variable to set the spinner speed. - enhance: Use
NgProgressRef
as hostDirective inNgProgress
component and forward its inputs and outputs. - enhance: avoid triggering the main effects twice in
ProgressRef
directive due to config update. - refactor: Use transform function for
min
andmax
inputs. - fix: v12 runtime error
"1 errors occurred during unsubscription:\n1) Error: NG0600: Writing to signals is not allowed in a computed or an effect by default. Use allowSignalWrites in the CreateEffectOptions to enable this inside effects."
, closes #370
Breaking changes
- Remove
setConfig()
function fromProgressRef
directive, you can now set the inputs directly. - Remove
start()
,complete()
,inc()
andset()
functions from the component reference.
Full Changelog: v12.0.2...v13.0.0
v12.0.2
What's Changed
- refactor: Use
untracked
in effects instead ofallowSignalWrites
andsetTimeout
.
Full Changelog: v12.0.1...v12.0.2
v12.0.1
Merge pull request #372 from MurhafSousli/release/12.0.1 v12.0.1
v12.0.0
What's Changed
- Upgrade to Angular 18 (still compatible v17.3.0 and above).
- feat: Introduce CSS variables for more flexible customization, see styling.
- feat: Provide
provideNgProgressOptions()
to override global options. - feat: Provide
provideNgProgressHttp()
to override http related options. - feat: Provide
provideNgProgressRouter()
to override router related options. - feat: Ability to use boolean inputs as attributes.
- refactor: Utilize signals API.
Breaking changes
- The
fixed
option has been removed in favor ofrelative
option which does the opposite. - The
meteor
option has been removed in favor offlat
option which does the opposite. - The
spinner
default option has been changed tofalse
. - The service
NgProgress
has been removed. - The component
NgProgressComponent
has been renamed toNgProgress
. - The options interface
NgProgressConfig
has been renamed toNgProgressOptions
. - Remove
thick
option, use--ng-progress-thickness
and--ng-progress-spinner-thickness
CSS variables instead. - Remove
color
option, use--ng-progress-color
CSS variable instead. - Remove
ease
option, use--ng-progress-ease
CSS variable instead. - The option
delay
has been renamed tominDuration
in progressbar router options.
New Contributors
- @alexciesielski made their first contribution in #366
Full Changelog: v11.1.0...v12.0.0
v11.1.0
What's Changed
- feat: Migrate to Angular standalone components in 1a6f780.
- refactor: Update rxjs imports in 6f426b1.
Full Changelog: v11.0.0...v11.1.0
v11.0.0
What's Changed
- Update to Angular 16 in 5f05486.
- Refactor(core): Update progressbar styles directly to avoid triggering change detection frequently in 42f4bf5.
Full Changelog: v10.0.0...v11.0.0
v10.0.0
v9.0.0
v8.0.0
- feat: Add matcher feature to http module, closes #254 in a6ab70b and ce3c0d6.
- fix: Remove case-sensitive from
silentApis
, closes #283 in 32da22c. - refactor: Change
zoom
totransform: scale
, closes #275 in c78dff6. - Added unit tests
Breaking changes
Before:
silentApis
used to check the url usingurl.startsWith()
After:
silentApis
checks the url usingurl.includes()
When silentApis
is used along with matcher
regex, it will check if the URL matches both cases, learn more at wiki page.