Skip to content

Latest commit

 

History

History
444 lines (230 loc) · 18.6 KB

CHANGELOG.md

File metadata and controls

444 lines (230 loc) · 18.6 KB

13.2.1 (2023-11-25)

Bug Fixes

  • component: fix the injection error when using slandalone RecaptchaV3Module (c93b99c)

13.2.0 (2023-11-25)

Features

  • 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)

Features

  • component: load recaptcha script using code compatible with trusted types (88d257b), closes #304

13.0.0 (2023-11-23)

Features

  • package: add Angular 17 support (83714aa), closes #310

BREAKING CHANGES

  • package: - Angular v16 is no longer supported with this version. Pin ng-recaptcha to v12.x.x to retain support for a previous Angular version

12.0.2 (2023-07-31)

Bug Fixes

  • component: set CSP nonce as attribute (abcb9a6)

12.0.1 (2023-05-24)

Bug Fixes

  • package: convert the README.md file back to a proper symlink (e0c5c99)

12.0.0 (2023-05-24)

Features

  • package: add Angular 16 support (77a7d1f), closes #288

BREAKING CHANGES

  • package: - Angular v15 is no longer supported with this version. Pin ng-recaptcha to v11.x.x to retain support for a previous Angular version

11.0.0 (2022-11-30)

Features

  • component: deprecate error output in favor of errored (6b002bb)
  • package: add Angular 15 support (6c62634), closes #275

10.0.0 (2022-06-25)

Features

  • package: add Angular 14 support (eac6858)

9.0.0 (2021-11-16)

Features

  • package: upgrade to Angular 13 (af08641), closes #245

8.0.1 (2021-07-22)

Bug Fixes

  • component: reset form-bound captcha value after component destruction (0e550c4), closes #201

8.0.0 (2021-05-14)

Features

  • package: add Angular 12 support (a212a21)

7.0.2 (2021-07-22)

Bug Fixes

  • component: reset form-bound captcha value after component destruction (9e5c5e7), closes #201

7.0.1 (2021-01-07)

Bug Fixes

  • component: fix component usages for Typescript strict mode (a687d13), closes #211

7.0.0 (2020-12-22)

Bug Fixes

  • package: make @types/grecaptcha a non-optional dependency (bc5ad51), closes #205

Features

  • component: Add Angular 11 support (918fe90)
  • component: remove deprecated forRoot method (514beaf)
  • package: update "@types/grecaptcha" optional dependency version to ^3 (e1ee7b9)

BREAKING CHANGES

  • 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 use RecaptchaModule where you previously used RecaptchaModule.forRoot()

6.1.0 (2020-12-01)

Bug Fixes

  • component: handle top-level execute errors for reCAPTCHA v3 (c7d02ce), closes #194
  • component: mark forRoot() method as deprecated (dea31e5)

Features

  • component: add the ability to handle reCAPTCHA errors (80c9e6e), closes #199

6.0.2 (2020-09-14)

Bug Fixes

  • 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)

Bug Fixes

  • component: catch and propagate grecaptcha errors, closes #175 (075edd0)

6.0.0 (2020-09-10)

Features

  • 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)

Features

  • component: make Angular 8.0.0 a supported peer dependency (f003ff2)
  • package: implement Angular Package format (71340c4)

BREAKING CHANGES

  • package: * 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)

4.3.0 (2019-06-04)

Bug Fixes

  • component-v3: fix a potential metadata error in v3 service (ed885b5)

4.3.0-beta.1 (2019-02-08)

Features

  • component: add support for reCAPTCHA v3 (4a083c6), closes #129

4.2.1 (2018-10-24)

Bug Fixes

  • package: fix publishing empty package (e4685fe)

4.2.0 (2018-10-24)

Features

  • 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)

Bug Fixes

  • component: delay invisible recaptcha execution until it's rendered (99292b7), closes #127

4.1.0 (2018-10-24)

Bug Fixes

  • component: fix a potential error during recaptcha rendering (1c395b5)

Features

  • module: skip forRoot() when importing RecaptchaModule (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)

Features

  • component: adjust dependencies for Angular 6 support (736c7ae)

BREAKING CHANGES

  • component: The peer dependency for @angular/core has been bumped to ^6.0.0

3.0.5 (2018-04-27)

Bug Fixes

  • rxjs: change import of of operator (3e0bda6), closes #95

3.0.3 (2017-12-26)

Bug Fixes

  • component: use ElementRef to access component's native element (d3a8409), closes #48 #68

3.0.2 (2017-10-18)

Bug Fixes

3.0.1 (2017-09-29)

Bug Fixes

  • component: Replace OpaqueToken with InjectionToken (2b7db9b)

3.0.0 (2017-08-30)

Bug Fixes

  • component: fix server-side rendering (7a5bc6c), closes #34

BREAKING CHANGES

  • 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)

Bug Fixes

  • component: ensure that component is destroyed safely (1e51d56), closes #46

Features

  • component: add the ability to specify component props globally (8a7b22d), closes #45

2.1.1 (2017-05-02)

Bug Fixes

  • component: unblock protractor tests after <re-captcha> destruction (a5f2fe9)

2.1.0 (2017-05-01)

Features

  • component: add support for badge property (5a16430), closes #30

Bug Fixes

  • demo: re-add a missing systemjs config file (b51694a)

2.0.2 (2017-03-26)

Features

  • package: update peer dependencies to include Angular v4 (b2f04e8)

2.0.1 (2017-03-17)

Bug Fixes

  • module: Adding the value accessor directive to the forms barrel, which was missing. (ad73e2e)

Features

  • misc: Annotating a static field with @nocollapse to avoid issues with closure compiler in advanced mode. (55e5932)

2.0.0 (2017-03-14)

Features

  • component: change component and directive selectors (58a01b4)
  • module: change the way recaptcha modules work (6e13389)

BREAKING CHANGES

  • component: component selector changed from recaptcha to re-captcha
  • module: module handling has changed. Users of 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

1.7.0 (2017-03-13)

Bug Fixes

  • component: handle id input parameter correctly (b578fe5)

Features

  • component: add exportAs annotation (3e2e217)
  • component: add support for invisible reCAPTCHA (c19489d), closes #18

1.6.1 (2017-03-10)

Enhancements

  • package: expand wildcard exports to better support Google Closure Compiler (8dd1a59)

1.6.0 (2017-02-17)

Features

  • package management: add [@types](https://github.com/types)/grecaptcha as optional dependency (85fbfba)

1.5.4 (2017-02-02)

Bug Fixes

  • component: correctly reset captcha during ngOnDestroy (b31d57f), closes #12

1.5.3 (2017-02-01)

Bug Fixes

  • component: emit resolved(null) event when recaptcha expires (491d99a), closes #11

1.5.2 (2017-01-31)

Bug Fixes

  • component: reset the captcha when the component is destroyed (e1441c8), closes #10

1.5.1 (2017-01-27)

1.5.0 (2017-01-24)

Bug Fixes

  • component: correctly emit resolved event (25d4246)

1.4.0 (2016-10-28)

Added AoT compilation support