15.0.2 (2024-12-07)
15.0.2-rc1 (2024-12-02)
15.0.1 (2024-11-22)
- build: fix AoT builds (921be50), closes #57 #65
- component-v3: fix a potential metadata error in v3 service (ed885b5)
- component: catch and propagate grecaptcha errors, closes #175 (075edd0)
- component: correct type when using strict mode (a687d13), closes #211
- component: correctly emit
resolved
event (25d4246) - component: correctly reset captcha during
ngOnDestroy
(b31d57f), closes #12 - component: delay invisible recaptcha execution until it's rendered (99292b7), closes #127
- component: emit
resolved(null)
event when recaptcha expires (491d99a), closes #11 - component: ensure that component is destroyed safely (1e51d56), closes #46
- component: fix a potential error during recaptcha rendering (1c395b5)
- component: fix custom languages for reCAPTCHA v3 (a2b145d), closes #174
- component: fix server-side rendering (7a5bc6c), closes #34 /github.com/angular/angular/blob/master/CHANGELOG.md#features-20
- component: fix the injection error when using slandalone
RecaptchaV3Module
(c93b99c) - component: handle id input parameter correctly (b578fe5)
- component: handle top-level
execute
errors for reCAPTCHA v3 (c7d02ce), closes #194 - component: improve reCAPTCHA v2 and v3 interoperability (79fc85b), closes #152
- component: mark
forRoot()
method as deprecated (dea31e5) - component: Replace
OpaqueToken
withInjectionToken
(2b7db9b) - component: reset form-bound captcha value after component destruction (9e5c5e7), closes #201
- component: reset form-bound captcha value after component destruction (0e550c4), closes #201
- component: reset the captcha when the component is destroyed (e1441c8), closes #10
- component: set CSP nonce as attribute (abcb9a6)
- component: unblock protractor tests after destruction (a5f2fe9)
- component: use ElementRef to access component's native element (d3a8409), closes #48 #68
- demo: re-add a missing systemjs config file (b51694a)
- module: Adding the value accessor directive to the forms barrel, which was missing. (ad73e2e)
- package: convert the
README.md
file back to a proper symlink (e0c5c99) - package: fix publishing empty package (e4685fe)
- package: make
[@types](https://github.com/types)/grecaptcha
a non-optional dependency (bc5ad51), closes #205 - rxjs: change import of
of
operator (3e0bda6), closes #95
- component: deprecate
error
output in favor oferrored
(6b002bb) - component: add
exportAs
annotation (3e2e217) - component: add a new
RECAPTCHA_LOADER_OPTIONS
injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213) - component: Add Angular 11 support (918fe90)
- component: add support for
badge
property (5a16430), closes #30 - component: add support for invisible reCAPTCHA (c19489d), closes #18
- component: add support for reCAPTCHA v3 (4a083c6), closes #129
- component: add the ability to handle reCAPTCHA errors (80c9e6e), closes #199
- component: add the ability to provide
nonce
to the script tag (8f55b19), closes #100 - component: add the ability to specify component props globally (d9c5f55), closes #45
- component: adjust dependencies for Angular 6 support (736c7ae)
- component: allow to specify a base url for loading recaptcha (df505fd), closes #101
- component: change component and directive selectors (58a01b4)
- component: load recaptcha script using code compatible with trusted types (88d257b), closes #304
- component: make Angular 10.0.0 a supported peer dependency (3d7756b), closes #177
- component: make Angular 8.0.0 a supported peer dependency (f003ff2)
- component: make Angular 9.0.0 a supported peer dependency (98edce6), closes #168
- component: remove deprecated
forRoot
method (514beaf) - misc: Annotating a static field with nocollapse so that we doesn't have issues closure compiler in advanced mode. (55e5932)
- module: change the way recaptcha modules work (6e13389)
- module: skip
forRoot()
when importingRecaptchaModule
(7fb97fb), closes #113 #116 - package management: add
[@types](https://github.com/types)/grecaptcha
as optional dependency (85fbfba) - package: add Angular 12 support (a212a21)
- package: add Angular 14 support (eac6858)
- package: add Angular 15 support (6c62634), closes #275
- package: add Angular 16 support (77a7d1f), closes #288
- package: add Angular 17 support (83714aa), closes #310
- package: implement Angular Package format (71340c4)
- package: update
"[@types](https://github.com/types)/grecaptcha"
optional dependency version to ^3 (e1ee7b9) - package: update peer dependencies to include Angular 7 (929ef7a)
- package: update peer dependencies to include Angular v4 (b2f04e8)
- package: upgrade to Angular 13 (af08641), closes #245
- package: - Angular v16 is no longer supported with this version. Pin
ng-recaptcha
tov12.x.x
to retain support for a previous Angular version - package: - Angular v15 is no longer supported with this version. Pin
ng-recaptcha
tov11.x.x
to retain support for a previous Angular version - component: Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
- component: The
RecaptchaModule.forRoot()
method has been obsolete since v4.1.0 (since it has no longer been required). It is now removed. To migrate your code, simply useRecaptchaModule
where you previously usedRecaptchaModule.forRoot()
- package: *
ng-recaptcha/forms
entry point has been removed.RecaptchaFormsModule
andRecaptchaValueAccessorDirective
should now be imported directly fromng-recaptcha
tslib
is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency ontslib
, runnpm install -D tslib@^1.9.0
(oryarn add -D tslib@^1.9.0
if you use yarn)- component: The peer dependency for
@angular/core
has been bumped to^6.0.0
- component:
- component: component selector changed from
recaptcha
tore-captcha
- module: module handling has changed.
Users of
RecaptchaNoFormsModule
should instead useimport { RecaptchaModule } from 'ng-recaptcha'
. Users of v1RecaptchaModule
should alsoimport { RecaptchaFormsModule } from 'ng-recaptcha/forms'
. SystemJS users must also re-setup module "main" file toindex.js
13.2.1 (2023-11-25)
- component: fix the injection error when using slandalone
RecaptchaV3Module
(c93b99c)
13.2.0 (2023-11-25)
- component: add a new
RECAPTCHA_LOADER_OPTIONS
injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213)
13.1.0 (2023-11-24)
13.0.0 (2023-11-23)
- package: - Angular v16 is no longer supported with this version. Pin
ng-recaptcha
tov12.x.x
to retain support for a previous Angular version
12.0.2 (2023-07-31)
- component: set CSP nonce as attribute (abcb9a6)
12.0.1 (2023-05-24)
- package: convert the
README.md
file back to a proper symlink (e0c5c99)
12.0.0 (2023-05-24)
- package: - Angular v15 is no longer supported with this version. Pin
ng-recaptcha
tov11.x.x
to retain support for a previous Angular version
11.0.0 (2022-11-30)
- component: deprecate
error
output in favor oferrored
(6b002bb) - package: add Angular 15 support (6c62634), closes #275
10.0.0 (2022-06-25)
- package: add Angular 14 support (eac6858)
9.0.0 (2021-11-16)
8.0.1 (2021-07-22)
8.0.0 (2021-05-14)
- package: add Angular 12 support (a212a21)
7.0.2 (2021-07-22)
7.0.1 (2021-01-07)
7.0.0 (2020-12-22)
- component: Add Angular 11 support (918fe90)
- component: remove deprecated
forRoot
method (514beaf) - package: update
"@types/grecaptcha"
optional dependency version to ^3 (e1ee7b9)
- component: Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
- component: The
RecaptchaModule.forRoot()
method has been obsolete since v4.1.0 (since it has no longer been required). It is now removed. To migrate your code, simply useRecaptchaModule
where you previously usedRecaptchaModule.forRoot()
6.1.0 (2020-12-01)
- component: handle top-level
execute
errors for reCAPTCHA v3 (c7d02ce), closes #194 - component: mark
forRoot()
method as deprecated (dea31e5)
6.0.2 (2020-09-14)
- component: fix custom languages for reCAPTCHA v3 (a2b145d), closes #174
- component: improve reCAPTCHA v2 and v3 interoperability (79fc85b), closes #152
6.0.1 (2020-09-12)
6.0.0 (2020-09-10)
- component: make Angular 10.0.0 a supported peer dependency (3d7756b), closes #177
- component: make Angular 9.0.0 a supported peer dependency (98edce6), closes #168
5.0.0 (2019-08-09)
- component: make Angular 8.0.0 a supported peer dependency (f003ff2)
- package: implement Angular Package format (71340c4)
- package: *
ng-recaptcha/forms
entry point has been removed.RecaptchaFormsModule
andRecaptchaValueAccessorDirective
should now be imported directly fromng-recaptcha
tslib
is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency ontslib
, runnpm install -D tslib@^1.9.0
(oryarn add -D tslib@^1.9.0
if you use yarn)
4.3.0 (2019-06-04)
- component-v3: fix a potential metadata error in v3 service (ed885b5)
4.3.0-beta.1 (2019-02-08)
4.2.1 (2018-10-24)
- package: fix publishing empty package (e4685fe)
4.2.0 (2018-10-24)
- component: add the ability to provide
nonce
to the script tag (8f55b19), closes #100 - component: allow to specify a base url for loading recaptcha (df505fd), closes #101
4.1.1 (2018-10-24)
4.1.0 (2018-10-24)
- component: fix a potential error during recaptcha rendering (1c395b5)
- module: skip
forRoot()
when importingRecaptchaModule
(7fb97fb), closes #113 #116 - package: update peer dependencies to include Angular 7 (929ef7a)
4.0.0 (2018-09-29)
4.0.0-beta.1 (2018-05-17)
- component: adjust dependencies for Angular 6 support (736c7ae)
- component: The peer dependency for
@angular/core
has been bumped to^6.0.0
3.0.5 (2018-04-27)
3.0.3 (2017-12-26)
3.0.2 (2017-10-18)
3.0.1 (2017-09-29)
- component: Replace
OpaqueToken
withInjectionToken
(2b7db9b)
3.0.0 (2017-08-30)
- component: Angular v2.x.x is no longer supported due to dependency on Platform capabilities that were added in v4.0.0-rc.1
2.2.0 (2017-08-18)
2.1.1 (2017-05-02)
- component: unblock protractor tests after
<re-captcha>
destruction (a5f2fe9)
2.1.0 (2017-05-01)
- demo: re-add a missing systemjs config file (b51694a)
2.0.2 (2017-03-26)
- package: update peer dependencies to include Angular v4 (b2f04e8)
2.0.1 (2017-03-17)
- module: Adding the value accessor directive to the forms barrel, which was missing. (ad73e2e)
- misc: Annotating a static field with
@nocollapse
to avoid issues with closure compiler in advanced mode. (55e5932)
2.0.0 (2017-03-14)
- component: change component and directive selectors (58a01b4)
- module: change the way recaptcha modules work (6e13389)
- component: component selector changed from
recaptcha
tore-captcha
- module: module handling has changed.
Users of
RecaptchaNoFormsModule
should instead useimport { RecaptchaModule } from 'ng-recaptcha'
. Users of v1RecaptchaModule
should alsoimport { RecaptchaFormsModule } from 'ng-recaptcha/forms'
. SystemJS users must also re-setup module "main" file toindex.js
1.7.0 (2017-03-13)
- component: handle id input parameter correctly (b578fe5)
- component: add
exportAs
annotation (3e2e217) - component: add support for invisible reCAPTCHA (c19489d), closes #18
1.6.1 (2017-03-10)
- package: expand wildcard exports to better support Google Closure Compiler (8dd1a59)
1.6.0 (2017-02-17)
- package management: add
[@types](https://github.com/types)/grecaptcha
as optional dependency (85fbfba)
1.5.4 (2017-02-02)
1.5.3 (2017-02-01)
1.5.2 (2017-01-31)
1.5.1 (2017-01-27)
1.5.0 (2017-01-24)
- component: correctly emit
resolved
event (25d4246)
1.4.0 (2016-10-28)
Added AoT compilation support