Releases: timofei-iatsenko/angular-cc-library
3.4.0
What's Changed
- chore: updated to angular 18 by @s-torrisi in #125
New Contributors
- @s-torrisi made their first contribution in #125
Full Changelog: v3.3.0...v3.4.0
3.3.0
What's Changed
Full Changelog: v3.2.0...v3.3.0
Angular 16 Support
Angular dependencies bump.
Angular 15 Support
Library built with Angular 15 compiler.
Angular 14.x is no longer supported. If you are using this version, please, stick with version 3.0.4
Add support for Angular 14
No changes in library logic
Angular 13 Support
Library built using Angular Compiler v13 with partial Ivy metadata
Angular 12 Support
v2.1.3 update to angular 12
Ionic Compatibility Fix
Remove tag name from directive's selector input[ccNumber]
-> [ccNumber]
Fixes #66
Angular Package Format and Ivy Compatibility
Project bootstrapped from scratch with Angular CLI and packed into Angular Package Format (APF) which means no compatibility issues with different versions of Angular (including Ivy) and different environments.
The source code of library cleaned up, aligned with modern code conventions and written using strict Typescript checks.
Closes: #61
Features
ccDirective
now implements `exportAs: 'ccDirective' and exports resolved card scheme which means you can use it in your templates for advanced styling or presentation purposes with no additional effort:
<input ccNumber #ccNumber="ccNumber">
<span class="scheme">{{ccNumber.resolvedScheme$ | async}}</span>
<!-- will print: unknown, visa, amex and etc -->
Closes: #45
BREAKING CHANGES
- exportable member
CreditCardValidator
changed toCreditCardValidators
(with s at the end)
Incremental Update
Complies with new angular naming conventions. No functionality changes