Releases: Ks89/angular-modal-gallery
Releases · Ks89/angular-modal-gallery
15.0.0
Features
- Angular 21 is required (BREAKING CHANGE)
Refactor
- migrate to inject() function instead of using the constructor
- migrate to output<> syntax
- migrate to input<> syntax
- migrate to self-closing tags
- partial migration to signals
- huge refactor to tests to use the new syntax
- force 'strictTemplates: true' and 'noPropertyAccessFromIndexSignature: true' in tsconfig (recommended values) and adapt the library code to work with
Examples
- upgrade all examples to the new syntax and to Angular 21
Documentation
- upgrade doc website to Angular 21 and migrate to the new syntax
15.0.0-alpha.1
Why this major release? Because I want to upgrade/rewrite to code to the latest angular features.
This requires a lot or refactoring and changes, so I prefer to release the new version as major release.
Refactor
- migrate to inject() function instead of using the constructor
- migrate to output<> syntax
- migrate to input<> syntax
- migrate to self-closing tags
- partial migration to signals
- huge refactor to tests to use the new syntax
- force 'strictTemplates: true' and 'noPropertyAccessFromIndexSignature: true' in tsconfig (recommended values) and adapt the library code to work with
Examples
- upgrade all examples to the new syntax
14.0.0
Features
- Angular 20 is required (BREAKING CHANGE)
Refactor
- upgrade library removing ngIf, ngFor and ngSwitch to use control flow syntax (
@if,@forand@switch)
Examples
- upgrade all examples to Angular 20 and control flow syntax
Documentation
- upgrade doc website to Angular 20 component based with control flow syntax
13.0.0
12.0.0
11.1.1
11.1.0
Features
- add sources to improve LCP, loading and fetchpriority attributes #260 (implemented by @luca-peruzzo)
Tests
- add missing
keyboard-navigation.directivetest file
Examples
- fix bad 'add image' button CSS in all examples
Docs
- fix bad docs in
swipe.directive
11.1.0 RC1
Features
- add sources to improve LCP, loading and fetchpriority attributes #260 (implemented by @luca-peruzzo)
For more information, plese check the official examples. Doc website will be updated with the stable release.
11.0.0
Features
- Angular 16 is required (BREAKING CHANGE)
- remove
hammerjsdependency (because deprecated) to mange swipe events preferring a custom directive #218 (BREAKING CHANGE) - remove
mousetrapdependency to manage ctrl+s/meta+s event to save the current image in modal-gallery component.
This in a very important change, because from now you won't be able to customize ctrl+s/meta+s shortcuts #237 (BREAKING CHANGE)
11.0.0 RC1
Features
- Angular 16 is required (BREAKING CHANGE)
- remove
hammerjsdependency (because deprecated) to mange swipe events preferring a custom directive #218 (BREAKING CHANGE) - remove
mousetrapdependency to manage ctrl+s/meta+s event to save the current image in modal-gallery component.
This in a very important change, because from now you won't be able to customize ctrl+s/meta+s shortcuts #237 (BREAKING CHANGE)