ng-recaptcha-2
Advanced tools
Changelog
15.0.1 (2024-11-22)
<a name="14.0.0"></a>
resolved
event (25d4246)ngOnDestroy
(b31d57f), closes #12resolved(null)
event when recaptcha expires (491d99a), closes #11RecaptchaV3Module
(c93b99c)execute
errors for reCAPTCHA v3 (c7d02ce), closes #194forRoot()
method as deprecated (dea31e5)OpaqueToken
with InjectionToken
(2b7db9b)README.md
file back to a proper symlink (e0c5c99)[@types](https://github.com/types)/grecaptcha
a non-optional dependency (bc5ad51), closes #205of
operator (3e0bda6), closes #95error
output in favor of errored
(6b002bb)exportAs
annotation (3e2e217)RECAPTCHA_LOADER_OPTIONS
injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213)badge
property (5a16430), closes #30nonce
to the script tag (8f55b19), closes #100forRoot
method (514beaf)forRoot()
when importing RecaptchaModule
(7fb97fb), closes #113 #116[@types](https://github.com/types)/grecaptcha
as optional dependency (85fbfba)"[@types](https://github.com/types)/grecaptcha"
optional dependency version to ^3 (e1ee7b9)ng-recaptcha
to v12.x.x
to retain support for a previous Angular versionng-recaptcha
to v11.x.x
to retain support for a previous Angular versionRecaptchaModule.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 use RecaptchaModule
where you previously used RecaptchaModule.forRoot()
ng-recaptcha/forms
entry point has been removed. RecaptchaFormsModule
and RecaptchaValueAccessorDirective
should now be imported directly from ng-recaptcha
tslib
is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency on tslib
, run npm install -D tslib@^1.9.0
(or yarn add -D tslib@^1.9.0
if you use yarn)@angular/core
has been bumped to ^6.0.0
recaptcha
to re-captcha
RecaptchaNoFormsModule
should instead use import { RecaptchaModule } from 'ng-recaptcha'
. Users of v1 RecaptchaModule
should also import { RecaptchaFormsModule } from 'ng-recaptcha/forms'
. SystemJS users must also re-setup module "main" file to index.js
<a name="13.2.1"></a>
Changelog
15.0.1 (2024-11-22)
<a name="14.0.0"></a>
resolved
event (25d4246)ngOnDestroy
(b31d57f), closes #12resolved(null)
event when recaptcha expires (491d99a), closes #11RecaptchaV3Module
(c93b99c)execute
errors for reCAPTCHA v3 (c7d02ce), closes #194forRoot()
method as deprecated (dea31e5)OpaqueToken
with InjectionToken
(2b7db9b)README.md
file back to a proper symlink (e0c5c99)[@types](https://github.com/types)/grecaptcha
a non-optional dependency (bc5ad51), closes #205of
operator (3e0bda6), closes #95error
output in favor of errored
(6b002bb)exportAs
annotation (3e2e217)RECAPTCHA_LOADER_OPTIONS
injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213)badge
property (5a16430), closes #30nonce
to the script tag (8f55b19), closes #100forRoot
method (514beaf)forRoot()
when importing RecaptchaModule
(7fb97fb), closes #113 #116[@types](https://github.com/types)/grecaptcha
as optional dependency (85fbfba)"[@types](https://github.com/types)/grecaptcha"
optional dependency version to ^3 (e1ee7b9)ng-recaptcha
to v12.x.x
to retain support for a previous Angular versionng-recaptcha
to v11.x.x
to retain support for a previous Angular versionRecaptchaModule.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 use RecaptchaModule
where you previously used RecaptchaModule.forRoot()
ng-recaptcha/forms
entry point has been removed. RecaptchaFormsModule
and RecaptchaValueAccessorDirective
should now be imported directly from ng-recaptcha
tslib
is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency on tslib
, run npm install -D tslib@^1.9.0
(or yarn add -D tslib@^1.9.0
if you use yarn)@angular/core
has been bumped to ^6.0.0
recaptcha
to re-captcha
RecaptchaNoFormsModule
should instead use import { RecaptchaModule } from 'ng-recaptcha'
. Users of v1 RecaptchaModule
should also import { RecaptchaFormsModule } from 'ng-recaptcha/forms'
. SystemJS users must also re-setup module "main" file to index.js
<a name="13.2.1"></a>