Skip to content

2.0.0

Choose a tag to compare

@Spaier Spaier released this 23 Sep 14:24
· 76 commits to master since this release

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