Repository - API - Source
forRoot
method (514beaf)"@types/grecaptcha"
optional dependency version to ^3 (e1ee7b9)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 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
[@types](https://github.com/types)/grecaptcha
as optional dependency (85fbfba)Added AoT compilation support