Skip to content

Releases: Spaier/spaier-ng-recaptcha

3.0.1

31 Jan 14:12

Choose a tag to compare

Fixed

  • Set grecaptcha.execute return type to Promise<string | null>
  • Set RecaptchaDirective.execute return type to void
  • Update ngModel on RecaptchaDirective.reset
  • Run grecaptcha functions with zone.runOutsideAngular

3.0.0

24 Oct 09:25

Choose a tag to compare

Changed

  • Angular >= 6 peer dependency
  • Use strict mode
  • Refactor grecaptcha.execute and grecaptcha.render type definitions

Removed

  • Removed optional rxjs-compat dependency

Fixed

  • Provide default token values for RECAPTCHA_RENDER, RECAPTCHA_ONLOAD, RECAPTCHA_URL when using RecaptchaLoaderModule without parameters
  • Remove default parameter for RecaptchaLoaderModule.withParameters

2.0.3

29 Sep 22:24

Choose a tag to compare

Fixed

  • Fix RecaptchaLoaderModule.withParameters AOT build errors

2.0.1

26 Sep 17:43

Choose a tag to compare

Changed

  • Update docs

2.0.0

23 Sep 14:24

Choose a tag to compare

Added

  • Add RecaptchaDirectiveModule.
  • Add RecaptchaFormsModule
  • @angular/forms is now an optional dependency
  • Add V3 Support
  • Add render, url, onload, onloadFunc parameters to RecaptchaLoaderModule
  • Add RecaptchaType, RecaptchaTheme, RecaptchaSize, RecaptchaBadge enums

Changed

  • Updated type definitions
  • Object parameter is used in RecaptchaLoaderModule.withParameters
  • Rename RecaptchaLoaderService to RecaptchaService
  • RecaptchaDirective now uses data-* attributes. Example: data-theme instead of theme.

Removed

  • RecaptchaModule

Fixed

  • RecaptchaDirective attributes were undefined or null on ngOnInit
  • Use renderer2 to add script tag

1.1.0

22 Jun 20:10

Choose a tag to compare

Added

  • RecaptchaSize, RecaptchaTheme and RecaptchaType types.

Removed

  • @types/grecaptcha dependency

1.0.0

13 May 23:14

Choose a tag to compare

Added

  • Set language with RecaptchaLoaderModule.withLanguage
  • Configure recaptcha with RecaptchaModule.forRoot
  • Implicit rendering option
  • Language token
  • Dynamic update of reCAPTCHA parameters and language

Fixed

  • Provide empty configs if none specified

0.1.0

22 Mar 18:39

Choose a tag to compare

Features

  • Set language with RecaptchaLoaderModule.withLanguage
  • Configure recaptcha with RecaptchaModule.forRoot

0.0.6

09 Feb 14:50

Choose a tag to compare

chore(package): update version and add angular 4 support

0.0.5

17 Jan 20:17

Choose a tag to compare

0.0.5 Pre-release
Pre-release
chore(package): bump version to 0.0.5