Skip to content

Latest commit

 

History

History
559 lines (334 loc) · 33.7 KB

CHANGELOG.md

File metadata and controls

559 lines (334 loc) · 33.7 KB

5.0.2 (2023-06-24)

Bug Fixes

  • hot-toast-container: update height after updating message through reference (a552f3c), closes #127
  • update height through hot-toast component using ngOnChanges (3828d26), closes #127
  • update height with message (8e3935b), closes #127

5.0.2-beta.1 (2023-06-24)

Bug Fixes

  • hot-toast-container: update height after updating message through reference (a552f3c), closes #127
  • update height through hot-toast component using ngOnChanges (3828d26), closes #127
  • update height with message (8e3935b), closes #127

5.0.1 (2023-01-21)

Bug Fixes

  • Added info config to ToastOptions (d8e427f)

5.0.0 (2023-01-06)

Code Refactoring

Features

  • styles.scss: change styles to global (b71d161)
  • update to Angular 15 (c756773)

BREAKING CHANGES

  • styles.scss: consumer of the library needs to import the styles, schematics updated to reflect this.

113

  • styles needs to be imported for the library to work properly.

113

  • Updating dependencies to Angular 15, Husky 8 and Cypress 11 to fix bug related to Angular 15 that prevents the toast from being dismissed
  • Updating dependencies to Angular 15, Husky 8 and Cypress 11 to fix bug related to Angular 15 that prevents the toast from being dismissed

113

5.0.0-beta.1 (2023-01-06)

Code Refactoring

Features

  • styles.scss: change styles to global (b71d161)
  • update to Angular 15 (c756773)

BREAKING CHANGES

  • styles.scss: consumer of the library needs to import the styles, schematics updated to reflect this.

113

  • styles needs to be imported for the library to work properly.

113

  • Updating dependencies to Angular 15, Husky 8 and Cypress 11 to fix bug related to Angular 15 that prevents the toast from being dismissed
  • Updating dependencies to Angular 15, Husky 8 and Cypress 11 to fix bug related to Angular 15 that prevents the toast from being dismissed

113

4.1.0 (2021-12-27)

Features

  • hot-toast.service: make success and loading content optional in observe (6cc6735), closes #96

4.1.0-beta.1 (2021-12-27)

Features

  • hot-toast.service: make success and loading content optional in observe (6cc6735), closes #96

4.0.1 (2021-12-14)

Bug Fixes

  • projects/ngneat/hot-toast/schematics/ng-add/index.ts: update version of @ngneat/hot-toast (70b52f8), closes #95

4.0.1-beta.1 (2021-12-14)

Bug Fixes

  • projects/ngneat/hot-toast/schematics/ng-add/index.ts: update version of @ngneat/hot-toast (70b52f8), closes #95

4.0.0 (2021-11-26)

Features

  • upgrade to Angular 13 and switch to modern APF (71bbbda)

BREAKING CHANGES

  • The @ngneat/hot-toast is shipped with .mjs files, following the APF (Angular Package Format) spec starting from Angular 13. .mjs files are compatible only with Angular 13 version and higher.

4.0.0-beta.1 (2021-11-22)

Features

  • upgrade to Angular 13 and switch to modern APF (71bbbda)

BREAKING CHANGES

  • The @ngneat/hot-toast is shipped with .mjs files, following the APF (Angular Package Format) spec starting from Angular 13. .mjs files are compatible only with Angular 13 version and higher.

3.4.3 (2021-11-11)

Bug Fixes

  • hot-toast.service: show loader only when subscribed (a759cbf), closes #91

3.4.3-beta.1 (2021-11-11)

Bug Fixes

  • hot-toast.service: show loader only when subscribed (a759cbf), closes #91

3.4.2 (2021-10-25)

Performance Improvements

  • reduce change detection cycles and allow the hot-toast to be GCd (debffe7)

3.4.1 (2021-08-11)

Bug Fixes

  • border styles for checkmark and loader (ebb9eaf), closes #81
  • remove default colors from inline styles (a6ae74e), closes #81
  • style property orders, use only border width (2cd56ce)

3.4.0 (2021-08-07)

Features

  • add support for dynamic attributes (b30036d)
  • add support for dynamic attributes (f73e37b)
  • add support for dynamic attributes (0f12ba0)
  • add support for dynamic attributes (3e67c39)
  • add support for dynamic attributes (c8b130a)

3.3.1-beta.3 (2021-08-11)

Bug Fixes

  • border styles for checkmark and loader (7767338), closes #81

3.3.1-beta.2 (2021-08-11)

Bug Fixes

  • style property orders, use only border width (fe27e35)

3.3.1-beta.1 (2021-08-05)

Bug Fixes

  • remove default colors from inline styles (d4bc931), closes #81

3.3.0 (2021-07-13)

Features

3.3.0-beta.1 (2021-07-13)

Features

3.2.0 (2021-07-12)

Features

  • add custom properties / variables for all css styles for easy overriding (4acae09)

3.2.0-beta.1 (2021-07-12)

Features

  • add custom properties / variables for all css styles for easy overriding (4acae09)

3.1.0 (2021-06-22)

Features

  • close all toasts if id is not provided (b0b1c32), closes #66

3.1.0-beta.1 (2021-06-22)

Features

  • close all toasts if id is not provided (b0b1c32), closes #66

3.0.0 (2021-06-07)

Bug Fixes

Code Refactoring

  • 💡 update @ngneat/overview to 2.0.2 (6aba56c), closes #62

BREAKING CHANGES

  • As it's updated to @ngneat/[email protected], there are some breaking changes.
  • 🧨 1. Content inside .hot-toast-message were wrapped into dynamic-content, now they are wrapped into div > dynamic-view, 2. Use optional chaining while access toastRef in template. E.g. toastRef?.data, 3. Add @Optional() decorator in components' constructor while injecting tokens which are used by toast's injector

3.0.0-beta.1 (2021-06-07)

Bug Fixes

BREAKING CHANGES

2.0.3-beta.1 (2021-06-07)

Code Refactoring

  • 💡 update @ngneat/overview to 2.0.2 (6aba56c), closes #62

BREAKING CHANGES

  • 🧨 1. Content inside .hot-toast-message were wrapped into dynamic-content, now they are wrapped into div > dynamic-view, 2. Use optional chaining while access toastRef in template. E.g. toastRef?.data, 3. Add @Optional() decorator in components' constructor while injecting tokens which are used by toast's injector

2.0.2 (2021-05-24)

Bug Fixes

  • 🐛 support angular 12 (f1a08cb)

2.0.1 (2021-03-15)

Bug Fixes

  • service: add protection in close method (c0772bf)

2.0.0 (2021-03-14)

Features

  • pass type for data (47c893e), closes #54
  • remove context from options (cab3261), closes #54
  • hot-toast: add an option to pass data with component (8a51703), closes #54

BREAKING CHANGES

  • conext is removed from option

1.1.1 (2021-03-02)

Bug Fixes

  • animated-icon.component.scss: remove min-width from emoji icon (5acfdc7), closes #52

1.1.0 (2021-03-02)

Features

  • hot-toast: add support for context and injector (05c5704), closes #49

1.0.11 (2021-02-22)

Bug Fixes

  • hot-toast: iniatilize only when toast called first time (da726d5), closes #38
  • hot-toast.service.ts: make flag true on first call (ca766a5), closes #38

1.0.10 (2021-02-17)

Reverts

  • Revert "fix: 🐛 wait until application is bootstraped through requestAni" (75385b7)
  • Revert "fix: 🐛 use isStable method before creating toast container" (5d87f81)
  • Revert "chore(release): 1.0.9-beta.1 [skip ci]" (d0ddb4b)
  • Revert "chore(release): 1.0.9 [skip ci]" (01e6a6c)

1.0.8 (2021-02-11)

1.0.7 (2021-02-11)

Bug Fixes

  • 🐛 block rendering for SSR (6570e1b), closes #35

1.0.6 (2021-02-08)

Reverts

  • Revert "fix: 🐛 icon and close button alignment in cross browser" (da3f637)

1.0.5 (2021-02-07)

Bug Fixes

  • 🐛 icon and close button alignment in cross browser (20e8fb5), closes #33

1.0.4 (2021-02-05)

Bug Fixes

  • 🐛 assets for release through semantic-release/git (57d270e), closes #28
  • 🐛 debug semantic-release (c6e6807)
  • 🐛 release asset tarball (841eb6b), closes #28
  • 🐛 remove message (9bfd746), closes #28
  • 🐛 semantic-release config (07f85bc), closes #28
  • 🐛 semantic-release github asset fix (be54f4b), closes #28
  • 🐛 semenatic-release path (13749c5), closes #28
  • 🐛 update peer dep versions (db2fc16), closes #28

1.0.4-beta.7 (2021-02-05)

1.0.4-beta.6 (2021-02-05)

Bug Fixes

  • 🐛 release asset tarball (841eb6b), closes #28
  • 🐛 semenatic-release path (13749c5), closes #28

1.0.4-beta.5 (2021-02-05)

Bug Fixes

  • 🐛 semantic-release config (07f85bc), closes #28

1.0.4-beta.4 (2021-02-05)

Bug Fixes

  • 🐛 assets for release through semantic-release/git (57d270e), closes #28

1.0.4-beta.3 (2021-02-05)

Bug Fixes

  • 🐛 remove message (9bfd746), closes #28
  • 🐛 semantic-release github asset fix (be54f4b), closes #28

1.0.4-beta.2 (2021-02-05)

Bug Fixes

  • 🐛 debug semantic-release (c6e6807)

1.0.4-beta.1 (2021-02-05)

Bug Fixes

  • 🐛 update peer dep versions (db2fc16), closes #28

1.0.3 (2021-02-03)

Bug Fixes

  • 🐛 schematics: create getWorkSpace function in utility (0022596), closes #25

1.0.2 (2021-02-03)

Bug Fixes

  • 🐛 prepend theme class with 'hot-toast-theme-' (0e974c5), closes #21

1.0.1 (2021-02-02)

Bug Fixes

  • 🐛 add container component in entry components for viewengi (b3e5691), closes #13
  • 🐛 fallback color syntax in css (fb17ba4), closes #13

1.0.1-beta.2 (2021-02-02)

Bug Fixes

  • 🐛 fallback color syntax in css (fb17ba4), closes #13

1.0.1-beta.1 (2021-02-02)

Bug Fixes

  • 🐛 add container component in entry components for viewengi (b3e5691), closes #13

1.0.0 (2021-02-01)

Bug Fixes

  • 🐛 add difference in duration in observe (c0d3136)
  • 🐛 change @ngneat/overview version (b126aff)
  • 🐛 detect changes on height update, a method to update reve (ea5f6e5)
  • 🐛 import from correct path (9a19883)
  • 🐛 improve prism-theme (a33e6bc)
  • 🐛 increase toast max-width to 350px (ca39723)
  • 🐛 mover persist option to toast (c48e322)
  • 🐛 override options in observe fixed (f3b76ca)
  • 🐛 remove failing test (463d0a8)
  • 🐛 remove functional support for message (f02ca3f)
  • 🐛 remove injector (b17b5aa)
  • 🐛 remove toastr from dom (b2430d4)
  • 🐛 remove unsubscribe from toast ref (d65cbc6)
  • 🐛 unsubscribe on close (648a5f0)

Features

  • 🎸 add a flag to show whether toastr was closed by user ac (2587d7d)
  • 🎸 add content in global config (3f014cc)
  • 🎸 add function to update global config through service (15bebbc)
  • 🎸 add windowRef (71f5319)
  • 🎸 block rendering of toastr with same id (b2b47a8)
  • 🎸 debug and persist options (c2a3054), closes #2
  • 🎸 disable debug mode in prod (c384cc4)
  • 🎸 dynamic component for icon and message (e12a27c)
  • 🎸 error, success, loading toasters (645d30f)
  • 🎸 forRoot method for module with default config (9acb31c)
  • 🎸 hover and focus style for close button (f160cdf)
  • 🎸 observe operator (9700b8b)
  • 🎸 pause hide on hover (a28a697)
  • 🎸 pipeable rxjs operator and close in service (b52a8c6)
  • 🎸 position and reverseorder done with animation (f4a62ac)
  • 🎸 promise toaster (4633c0f)
  • 🎸 provide context to ng-template (016038d)
  • 🎸 redcue motion support (c95cf0e), closes #4
  • 🎸 schematics (8cc9b27)
  • 🎸 snackbar theme (67a0955)
  • 🎸 toast for observable (5a3f763)
  • 🎸 toastref (e9b87d7)
  • 🎸 toastref with events (abfe66c)
  • 🎸 warn toast, doc improvements (3c2cf6f)

Performance Improvements

  • ⚡️ change detection strategy (168b429)

1.0.0-beta.8 (2021-01-31)

Bug Fixes

  • 🐛 remove failing test (463d0a8)

Features

  • 🎸 add content in global config (3f014cc)

1.0.0-beta.7 (2021-01-31)

Bug Fixes

  • 🐛 add difference in duration in observe (c0d3136)
  • 🐛 increase toast max-width to 350px (ca39723)

1.0.0-beta.6 (2021-01-31)

Bug Fixes

  • 🐛 override options in observe fixed (f3b76ca)

1.0.0-beta.5 (2021-01-30)

Features

  • 🎸 hover and focus style for close button (f160cdf)

1.0.0-beta.4 (2021-01-29)

Bug Fixes

  • 🐛 detect changes on height update, a method to update reve (ea5f6e5)

Features

  • 🎸 add function to update global config through service (15bebbc)

1.0.0-beta.3 (2021-01-28)

1.0.0-beta.2 (2021-01-28)

Bug Fixes

  • 🐛 change @ngneat/overview version (b126aff)

1.0.0-beta.1 (2021-01-28)

Bug Fixes

  • 🐛 import from correct path (9a19883)
  • 🐛 improve prism-theme (a33e6bc)
  • 🐛 mover persist option to toast (c48e322)
  • 🐛 remove functional support for message (f02ca3f)
  • 🐛 remove injector (b17b5aa)
  • 🐛 remove toastr from dom (b2430d4)
  • 🐛 remove unsubscribe from toast ref (d65cbc6)
  • 🐛 unsubscribe on close (648a5f0)

Features

  • 🎸 add a flag to show whether toastr was closed by user ac (2587d7d)
  • 🎸 add windowRef (71f5319)
  • 🎸 block rendering of toastr with same id (b2b47a8)
  • 🎸 debug and persist options (c2a3054), closes #2
  • 🎸 disable debug mode in prod (c384cc4)
  • 🎸 dynamic component for icon and message (e12a27c)
  • 🎸 error, success, loading toasters (645d30f)
  • 🎸 forRoot method for module with default config (9acb31c)
  • 🎸 observe operator (9700b8b)
  • 🎸 pause hide on hover (a28a697)
  • 🎸 pipeable rxjs operator and close in service (b52a8c6)
  • 🎸 position and reverseorder done with animation (f4a62ac)
  • 🎸 promise toaster (4633c0f)
  • 🎸 provide context to ng-template (016038d)
  • 🎸 redcue motion support (c95cf0e), closes #4
  • 🎸 schematics (8cc9b27)
  • 🎸 snackbar theme (67a0955)
  • 🎸 toast for observable (5a3f763)
  • 🎸 toastref (e9b87d7)
  • 🎸 toastref with events (abfe66c)
  • 🎸 warn toast, doc improvements (3c2cf6f)

Performance Improvements

  • ⚡️ change detection strategy (168b429)