ng-recaptcha-2 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +530 -0
- package/LICENSE +21 -0
- package/README.md +647 -0
- package/esm2022/index.mjs +15 -0
- package/esm2022/lib/load-script.mjs +28 -0
- package/esm2022/lib/recaptcha-common.module.mjs +16 -0
- package/esm2022/lib/recaptcha-forms.module.mjs +19 -0
- package/esm2022/lib/recaptcha-loader.service.mjs +104 -0
- package/esm2022/lib/recaptcha-settings.mjs +2 -0
- package/esm2022/lib/recaptcha-v3.module.mjs +16 -0
- package/esm2022/lib/recaptcha-v3.service.mjs +106 -0
- package/esm2022/lib/recaptcha-value-accessor.directive.mjs +68 -0
- package/esm2022/lib/recaptcha.component.mjs +171 -0
- package/esm2022/lib/recaptcha.module.mjs +19 -0
- package/esm2022/lib/tokens.mjs +14 -0
- package/esm2022/ng-recaptcha-2.mjs +5 -0
- package/fesm2022/ng-recaptcha-2.mjs +536 -0
- package/fesm2022/ng-recaptcha-2.mjs.map +1 -0
- package/index.d.ts +9 -0
- package/lib/load-script.d.ts +27 -0
- package/lib/recaptcha-common.module.d.ts +7 -0
- package/lib/recaptcha-forms.module.d.ts +9 -0
- package/lib/recaptcha-loader.service.d.ts +28 -0
- package/lib/recaptcha-settings.d.ts +8 -0
- package/lib/recaptcha-v3.module.d.ts +6 -0
- package/lib/recaptcha-v3.service.d.ts +70 -0
- package/lib/recaptcha-value-accessor.directive.d.ts +18 -0
- package/lib/recaptcha.component.d.ts +64 -0
- package/lib/recaptcha.module.d.ts +8 -0
- package/lib/tokens.d.ts +116 -0
- package/package.json +40 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<a name="14.0.0"></a>
|
|
2
|
+
|
|
3
|
+
# 14.0.0 (2024-05-25)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **build:** fix AoT builds ([921be50](https://github.com/LakhveerChahal/ng-recaptcha/commit/921be50)), closes [#57](https://github.com/LakhveerChahal/ng-recaptcha/issues/57) [#65](https://github.com/LakhveerChahal/ng-recaptcha/issues/65)
|
|
8
|
+
- **component-v3:** fix a potential metadata error in v3 service ([ed885b5](https://github.com/LakhveerChahal/ng-recaptcha/commit/ed885b5))
|
|
9
|
+
- **component:** catch and propagate grecaptcha errors, closes [#175](https://github.com/LakhveerChahal/ng-recaptcha/issues/175) ([075edd0](https://github.com/LakhveerChahal/ng-recaptcha/commit/075edd0))
|
|
10
|
+
- **component:** correct type when using strict mode ([a687d13](https://github.com/LakhveerChahal/ng-recaptcha/commit/a687d13)), closes [#211](https://github.com/LakhveerChahal/ng-recaptcha/issues/211)
|
|
11
|
+
- **component:** correctly emit `resolved` event ([25d4246](https://github.com/LakhveerChahal/ng-recaptcha/commit/25d4246))
|
|
12
|
+
- **component:** correctly reset captcha during `ngOnDestroy` ([b31d57f](https://github.com/LakhveerChahal/ng-recaptcha/commit/b31d57f)), closes [#12](https://github.com/LakhveerChahal/ng-recaptcha/issues/12)
|
|
13
|
+
- **component:** delay invisible recaptcha execution until it's rendered ([99292b7](https://github.com/LakhveerChahal/ng-recaptcha/commit/99292b7)), closes [#127](https://github.com/LakhveerChahal/ng-recaptcha/issues/127)
|
|
14
|
+
- **component:** emit `resolved(null)` event when recaptcha expires ([491d99a](https://github.com/LakhveerChahal/ng-recaptcha/commit/491d99a)), closes [#11](https://github.com/LakhveerChahal/ng-recaptcha/issues/11)
|
|
15
|
+
- **component:** ensure that component is destroyed safely ([1e51d56](https://github.com/LakhveerChahal/ng-recaptcha/commit/1e51d56)), closes [#46](https://github.com/LakhveerChahal/ng-recaptcha/issues/46)
|
|
16
|
+
- **component:** fix a potential error during recaptcha rendering ([1c395b5](https://github.com/LakhveerChahal/ng-recaptcha/commit/1c395b5))
|
|
17
|
+
- **component:** fix custom languages for reCAPTCHA v3 ([a2b145d](https://github.com/LakhveerChahal/ng-recaptcha/commit/a2b145d)), closes [#174](https://github.com/LakhveerChahal/ng-recaptcha/issues/174)
|
|
18
|
+
- **component:** fix server-side rendering ([7a5bc6c](https://github.com/LakhveerChahal/ng-recaptcha/commit/7a5bc6c)), closes [#34](https://github.com/LakhveerChahal/ng-recaptcha/issues/34) [/github.com/angular/angular/blob/master/CHANGELOG.md#features-20](https://github.com//github.com/angular/angular/blob/master/CHANGELOG.md/issues/features-20)
|
|
19
|
+
- **component:** fix the injection error when using slandalone `RecaptchaV3Module` ([c93b99c](https://github.com/LakhveerChahal/ng-recaptcha/commit/c93b99c))
|
|
20
|
+
- **component:** handle id input parameter correctly ([b578fe5](https://github.com/LakhveerChahal/ng-recaptcha/commit/b578fe5))
|
|
21
|
+
- **component:** handle top-level `execute` errors for reCAPTCHA v3 ([c7d02ce](https://github.com/LakhveerChahal/ng-recaptcha/commit/c7d02ce)), closes [#194](https://github.com/LakhveerChahal/ng-recaptcha/issues/194)
|
|
22
|
+
- **component:** improve reCAPTCHA v2 and v3 interoperability ([79fc85b](https://github.com/LakhveerChahal/ng-recaptcha/commit/79fc85b)), closes [#152](https://github.com/LakhveerChahal/ng-recaptcha/issues/152)
|
|
23
|
+
- **component:** mark `forRoot()` method as deprecated ([dea31e5](https://github.com/LakhveerChahal/ng-recaptcha/commit/dea31e5))
|
|
24
|
+
- **component:** Replace `OpaqueToken` with `InjectionToken` ([2b7db9b](https://github.com/LakhveerChahal/ng-recaptcha/commit/2b7db9b))
|
|
25
|
+
- **component:** reset form-bound captcha value after component destruction ([9e5c5e7](https://github.com/LakhveerChahal/ng-recaptcha/commit/9e5c5e7)), closes [#201](https://github.com/LakhveerChahal/ng-recaptcha/issues/201)
|
|
26
|
+
- **component:** reset form-bound captcha value after component destruction ([0e550c4](https://github.com/LakhveerChahal/ng-recaptcha/commit/0e550c4)), closes [#201](https://github.com/LakhveerChahal/ng-recaptcha/issues/201)
|
|
27
|
+
- **component:** reset the captcha when the component is destroyed ([e1441c8](https://github.com/LakhveerChahal/ng-recaptcha/commit/e1441c8)), closes [#10](https://github.com/LakhveerChahal/ng-recaptcha/issues/10)
|
|
28
|
+
- **component:** set CSP nonce as attribute ([abcb9a6](https://github.com/LakhveerChahal/ng-recaptcha/commit/abcb9a6))
|
|
29
|
+
- **component:** unblock protractor tests after <re-captcha> destruction ([a5f2fe9](https://github.com/LakhveerChahal/ng-recaptcha/commit/a5f2fe9))
|
|
30
|
+
- **component:** use ElementRef to access component's native element ([d3a8409](https://github.com/LakhveerChahal/ng-recaptcha/commit/d3a8409)), closes [#48](https://github.com/LakhveerChahal/ng-recaptcha/issues/48) [#68](https://github.com/LakhveerChahal/ng-recaptcha/issues/68)
|
|
31
|
+
- **demo:** re-add a missing systemjs config file ([b51694a](https://github.com/LakhveerChahal/ng-recaptcha/commit/b51694a))
|
|
32
|
+
- **module:** Adding the value accessor directive to the forms barrel, which was missing. ([ad73e2e](https://github.com/LakhveerChahal/ng-recaptcha/commit/ad73e2e))
|
|
33
|
+
- **package:** convert the `README.md` file back to a proper symlink ([e0c5c99](https://github.com/LakhveerChahal/ng-recaptcha/commit/e0c5c99))
|
|
34
|
+
- **package:** fix publishing empty package ([e4685fe](https://github.com/LakhveerChahal/ng-recaptcha/commit/e4685fe))
|
|
35
|
+
- **package:** make `[@types](https://github.com/types)/grecaptcha` a non-optional dependency ([bc5ad51](https://github.com/LakhveerChahal/ng-recaptcha/commit/bc5ad51)), closes [#205](https://github.com/LakhveerChahal/ng-recaptcha/issues/205)
|
|
36
|
+
- **rxjs:** change import of `of` operator ([3e0bda6](https://github.com/LakhveerChahal/ng-recaptcha/commit/3e0bda6)), closes [#95](https://github.com/LakhveerChahal/ng-recaptcha/issues/95)
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
- **component:** _deprecate_ `error` output in favor of `errored` ([6b002bb](https://github.com/LakhveerChahal/ng-recaptcha/commit/6b002bb))
|
|
41
|
+
- **component:** add `exportAs` annotation ([3e2e217](https://github.com/LakhveerChahal/ng-recaptcha/commit/3e2e217))
|
|
42
|
+
- **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](https://github.com/LakhveerChahal/ng-recaptcha/commit/b3c7213))
|
|
43
|
+
- **component:** Add Angular 11 support ([918fe90](https://github.com/LakhveerChahal/ng-recaptcha/commit/918fe90))
|
|
44
|
+
- **component:** add support for `badge` property ([5a16430](https://github.com/LakhveerChahal/ng-recaptcha/commit/5a16430)), closes [#30](https://github.com/LakhveerChahal/ng-recaptcha/issues/30)
|
|
45
|
+
- **component:** add support for invisible reCAPTCHA ([c19489d](https://github.com/LakhveerChahal/ng-recaptcha/commit/c19489d)), closes [#18](https://github.com/LakhveerChahal/ng-recaptcha/issues/18)
|
|
46
|
+
- **component:** add support for reCAPTCHA v3 ([4a083c6](https://github.com/LakhveerChahal/ng-recaptcha/commit/4a083c6)), closes [#129](https://github.com/LakhveerChahal/ng-recaptcha/issues/129)
|
|
47
|
+
- **component:** add the ability to handle reCAPTCHA errors ([80c9e6e](https://github.com/LakhveerChahal/ng-recaptcha/commit/80c9e6e)), closes [#199](https://github.com/LakhveerChahal/ng-recaptcha/issues/199)
|
|
48
|
+
- **component:** add the ability to provide `nonce` to the script tag ([8f55b19](https://github.com/LakhveerChahal/ng-recaptcha/commit/8f55b19)), closes [#100](https://github.com/LakhveerChahal/ng-recaptcha/issues/100)
|
|
49
|
+
- **component:** add the ability to specify component props globally ([d9c5f55](https://github.com/LakhveerChahal/ng-recaptcha/commit/d9c5f55)), closes [#45](https://github.com/LakhveerChahal/ng-recaptcha/issues/45)
|
|
50
|
+
- **component:** adjust dependencies for Angular 6 support ([736c7ae](https://github.com/LakhveerChahal/ng-recaptcha/commit/736c7ae))
|
|
51
|
+
- **component:** allow to specify a base url for loading recaptcha ([df505fd](https://github.com/LakhveerChahal/ng-recaptcha/commit/df505fd)), closes [#101](https://github.com/LakhveerChahal/ng-recaptcha/issues/101)
|
|
52
|
+
- **component:** change component and directive selectors ([58a01b4](https://github.com/LakhveerChahal/ng-recaptcha/commit/58a01b4))
|
|
53
|
+
- **component:** load recaptcha script using code compatible with trusted types ([88d257b](https://github.com/LakhveerChahal/ng-recaptcha/commit/88d257b)), closes [#304](https://github.com/LakhveerChahal/ng-recaptcha/issues/304)
|
|
54
|
+
- **component:** make Angular 10.0.0 a supported peer dependency ([3d7756b](https://github.com/LakhveerChahal/ng-recaptcha/commit/3d7756b)), closes [#177](https://github.com/LakhveerChahal/ng-recaptcha/issues/177)
|
|
55
|
+
- **component:** make Angular 8.0.0 a supported peer dependency ([f003ff2](https://github.com/LakhveerChahal/ng-recaptcha/commit/f003ff2))
|
|
56
|
+
- **component:** make Angular 9.0.0 a supported peer dependency ([98edce6](https://github.com/LakhveerChahal/ng-recaptcha/commit/98edce6)), closes [#168](https://github.com/LakhveerChahal/ng-recaptcha/issues/168)
|
|
57
|
+
- **component:** remove deprecated `forRoot` method ([514beaf](https://github.com/LakhveerChahal/ng-recaptcha/commit/514beaf))
|
|
58
|
+
- **misc:** Annotating a static field with nocollapse so that we doesn't have issues closure compiler in advanced mode. ([55e5932](https://github.com/LakhveerChahal/ng-recaptcha/commit/55e5932))
|
|
59
|
+
- **module:** change the way recaptcha modules work ([6e13389](https://github.com/LakhveerChahal/ng-recaptcha/commit/6e13389))
|
|
60
|
+
- **module:** skip `forRoot()` when importing `RecaptchaModule` ([7fb97fb](https://github.com/LakhveerChahal/ng-recaptcha/commit/7fb97fb)), closes [#113](https://github.com/LakhveerChahal/ng-recaptcha/issues/113) [#116](https://github.com/LakhveerChahal/ng-recaptcha/issues/116)
|
|
61
|
+
- **package management:** add `[@types](https://github.com/types)/grecaptcha` as optional dependency ([85fbfba](https://github.com/LakhveerChahal/ng-recaptcha/commit/85fbfba))
|
|
62
|
+
- **package:** add Angular 12 support ([a212a21](https://github.com/LakhveerChahal/ng-recaptcha/commit/a212a21))
|
|
63
|
+
- **package:** add Angular 14 support ([eac6858](https://github.com/LakhveerChahal/ng-recaptcha/commit/eac6858))
|
|
64
|
+
- **package:** add Angular 15 support ([6c62634](https://github.com/LakhveerChahal/ng-recaptcha/commit/6c62634)), closes [#275](https://github.com/LakhveerChahal/ng-recaptcha/issues/275)
|
|
65
|
+
- **package:** add Angular 16 support ([77a7d1f](https://github.com/LakhveerChahal/ng-recaptcha/commit/77a7d1f)), closes [#288](https://github.com/LakhveerChahal/ng-recaptcha/issues/288)
|
|
66
|
+
- **package:** add Angular 17 support ([83714aa](https://github.com/LakhveerChahal/ng-recaptcha/commit/83714aa)), closes [#310](https://github.com/LakhveerChahal/ng-recaptcha/issues/310)
|
|
67
|
+
- **package:** implement Angular Package format ([71340c4](https://github.com/LakhveerChahal/ng-recaptcha/commit/71340c4))
|
|
68
|
+
- **package:** update `"[@types](https://github.com/types)/grecaptcha"` optional dependency version to ^3 ([e1ee7b9](https://github.com/LakhveerChahal/ng-recaptcha/commit/e1ee7b9))
|
|
69
|
+
- **package:** update peer dependencies to include Angular 7 ([929ef7a](https://github.com/LakhveerChahal/ng-recaptcha/commit/929ef7a))
|
|
70
|
+
- **package:** update peer dependencies to include Angular v4 ([b2f04e8](https://github.com/LakhveerChahal/ng-recaptcha/commit/b2f04e8))
|
|
71
|
+
- **package:** upgrade to Angular 13 ([af08641](https://github.com/LakhveerChahal/ng-recaptcha/commit/af08641)), closes [#245](https://github.com/LakhveerChahal/ng-recaptcha/issues/245)
|
|
72
|
+
|
|
73
|
+
### BREAKING CHANGES
|
|
74
|
+
|
|
75
|
+
- **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
|
|
76
|
+
- **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
|
|
77
|
+
- **component:** Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
|
|
78
|
+
- **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()`
|
|
79
|
+
- **package:** \* `ng-recaptcha/forms` entry point has been removed. `RecaptchaFormsModule` and `RecaptchaValueAccessorDirective` should now be imported directly from `ng-recaptcha`
|
|
80
|
+
- `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)
|
|
81
|
+
- **component:** The peer dependency for `@angular/core` has been bumped to `^6.0.0`
|
|
82
|
+
- **component:**
|
|
83
|
+
- **component:** component selector changed from `recaptcha` to `re-captcha`
|
|
84
|
+
- **module:** module handling has changed.
|
|
85
|
+
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`
|
|
86
|
+
|
|
87
|
+
<a name="13.2.1"></a>
|
|
88
|
+
|
|
89
|
+
## [13.2.1](https://github.com/DethAriel/ng-recaptcha/compare/v13.2.0...v13.2.1) (2023-11-25)
|
|
90
|
+
|
|
91
|
+
### Bug Fixes
|
|
92
|
+
|
|
93
|
+
- **component:** fix the injection error when using slandalone `RecaptchaV3Module` ([c93b99c](https://github.com/DethAriel/ng-recaptcha/commit/c93b99c))
|
|
94
|
+
|
|
95
|
+
<a name="13.2.0"></a>
|
|
96
|
+
|
|
97
|
+
# [13.2.0](https://github.com/DethAriel/ng-recaptcha/compare/v13.1.0...v13.2.0) (2023-11-25)
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
- **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](https://github.com/DethAriel/ng-recaptcha/commit/b3c7213))
|
|
102
|
+
|
|
103
|
+
<a name="13.1.0"></a>
|
|
104
|
+
|
|
105
|
+
# [13.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v13.0.0...v13.1.0) (2023-11-24)
|
|
106
|
+
|
|
107
|
+
### Features
|
|
108
|
+
|
|
109
|
+
- **component:** load recaptcha script using code compatible with trusted types ([88d257b](https://github.com/DethAriel/ng-recaptcha/commit/88d257b)), closes [#304](https://github.com/DethAriel/ng-recaptcha/issues/304)
|
|
110
|
+
|
|
111
|
+
<a name="13.0.0"></a>
|
|
112
|
+
|
|
113
|
+
# [13.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v12.0.2...v13.0.0) (2023-11-23)
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
- **package:** add Angular 17 support ([83714aa](https://github.com/DethAriel/ng-recaptcha/commit/83714aa)), closes [#310](https://github.com/DethAriel/ng-recaptcha/issues/310)
|
|
118
|
+
|
|
119
|
+
### BREAKING CHANGES
|
|
120
|
+
|
|
121
|
+
- **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
|
|
122
|
+
|
|
123
|
+
<a name="12.0.2"></a>
|
|
124
|
+
|
|
125
|
+
## [12.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v12.0.1...v12.0.2) (2023-07-31)
|
|
126
|
+
|
|
127
|
+
### Bug Fixes
|
|
128
|
+
|
|
129
|
+
- **component:** set CSP nonce as attribute ([abcb9a6](https://github.com/DethAriel/ng-recaptcha/commit/abcb9a6))
|
|
130
|
+
|
|
131
|
+
<a name="12.0.1"></a>
|
|
132
|
+
|
|
133
|
+
## [12.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v12.0.0...v12.0.1) (2023-05-24)
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
- **package:** convert the `README.md` file back to a proper symlink ([e0c5c99](https://github.com/DethAriel/ng-recaptcha/commit/e0c5c99))
|
|
138
|
+
|
|
139
|
+
<a name="12.0.0"></a>
|
|
140
|
+
|
|
141
|
+
# [12.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v11.0.0...v12.0.0) (2023-05-24)
|
|
142
|
+
|
|
143
|
+
### Features
|
|
144
|
+
|
|
145
|
+
- **package:** add Angular 16 support ([77a7d1f](https://github.com/DethAriel/ng-recaptcha/commit/77a7d1f)), closes [#288](https://github.com/DethAriel/ng-recaptcha/issues/288)
|
|
146
|
+
|
|
147
|
+
### BREAKING CHANGES
|
|
148
|
+
|
|
149
|
+
- **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
|
|
150
|
+
|
|
151
|
+
<a name="11.0.0"></a>
|
|
152
|
+
|
|
153
|
+
# [11.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v10.0.0...v11.0.0) (2022-11-30)
|
|
154
|
+
|
|
155
|
+
### Features
|
|
156
|
+
|
|
157
|
+
- **component:** _deprecate_ `error` output in favor of `errored` ([6b002bb](https://github.com/DethAriel/ng-recaptcha/commit/6b002bb))
|
|
158
|
+
- **package:** add Angular 15 support ([6c62634](https://github.com/DethAriel/ng-recaptcha/commit/6c62634)), closes [#275](https://github.com/DethAriel/ng-recaptcha/issues/275)
|
|
159
|
+
|
|
160
|
+
<a name="10.0.0"></a>
|
|
161
|
+
|
|
162
|
+
# [10.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v9.0.0...v10.0.0) (2022-06-25)
|
|
163
|
+
|
|
164
|
+
### Features
|
|
165
|
+
|
|
166
|
+
- **package:** add Angular 14 support ([eac6858](https://github.com/DethAriel/ng-recaptcha/commit/eac6858))
|
|
167
|
+
|
|
168
|
+
<a name="9.0.0"></a>
|
|
169
|
+
|
|
170
|
+
# [9.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.2...v9.0.0) (2021-11-16)
|
|
171
|
+
|
|
172
|
+
### Features
|
|
173
|
+
|
|
174
|
+
- **package:** upgrade to Angular 13 ([af08641](https://github.com/DethAriel/ng-recaptcha/commit/af08641)), closes [#245](https://github.com/DethAriel/ng-recaptcha/issues/245)
|
|
175
|
+
|
|
176
|
+
<a name="8.0.1"></a>
|
|
177
|
+
|
|
178
|
+
## [8.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v8.0.0...v8.0.1) (2021-07-22)
|
|
179
|
+
|
|
180
|
+
### Bug Fixes
|
|
181
|
+
|
|
182
|
+
- **component:** reset form-bound captcha value after component destruction ([0e550c4](https://github.com/DethAriel/ng-recaptcha/commit/0e550c4)), closes [#201](https://github.com/DethAriel/ng-recaptcha/issues/201)
|
|
183
|
+
|
|
184
|
+
<a name="8.0.0"></a>
|
|
185
|
+
|
|
186
|
+
# [8.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.1...v8.0.0) (2021-05-14)
|
|
187
|
+
|
|
188
|
+
### Features
|
|
189
|
+
|
|
190
|
+
- **package:** add Angular 12 support ([a212a21](https://github.com/DethAriel/ng-recaptcha/commit/a212a21))
|
|
191
|
+
|
|
192
|
+
<a name="7.0.2"></a>
|
|
193
|
+
|
|
194
|
+
## [7.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.1...v7.0.2) (2021-07-22)
|
|
195
|
+
|
|
196
|
+
### Bug Fixes
|
|
197
|
+
|
|
198
|
+
- **component:** reset form-bound captcha value after component destruction ([9e5c5e7](https://github.com/DethAriel/ng-recaptcha/commit/9e5c5e7)), closes [#201](https://github.com/DethAriel/ng-recaptcha/issues/201)
|
|
199
|
+
|
|
200
|
+
<a name="7.0.1"></a>
|
|
201
|
+
|
|
202
|
+
## [7.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.0...v7.0.1) (2021-01-07)
|
|
203
|
+
|
|
204
|
+
### Bug Fixes
|
|
205
|
+
|
|
206
|
+
- **component:** fix component usages for Typescript strict mode ([a687d13](https://github.com/DethAriel/ng-recaptcha/commit/a687d13)), closes [#211](https://github.com/DethAriel/ng-recaptcha/issues/211)
|
|
207
|
+
|
|
208
|
+
<a name="7.0.0"></a>
|
|
209
|
+
|
|
210
|
+
# [7.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v6.1.0...v7.0.0) (2020-12-22)
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
- **package:** make `@types/grecaptcha` a non-optional dependency ([bc5ad51](https://github.com/DethAriel/ng-recaptcha/commit/bc5ad51)), closes [#205](https://github.com/DethAriel/ng-recaptcha/issues/205)
|
|
215
|
+
|
|
216
|
+
### Features
|
|
217
|
+
|
|
218
|
+
- **component:** Add Angular 11 support ([918fe90](https://github.com/DethAriel/ng-recaptcha/commit/918fe90))
|
|
219
|
+
- **component:** remove deprecated `forRoot` method ([514beaf](https://github.com/DethAriel/ng-recaptcha/commit/514beaf))
|
|
220
|
+
- **package:** update `"@types/grecaptcha"` optional dependency version to ^3 ([e1ee7b9](https://github.com/DethAriel/ng-recaptcha/commit/e1ee7b9))
|
|
221
|
+
|
|
222
|
+
### BREAKING CHANGES
|
|
223
|
+
|
|
224
|
+
- **component:** Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
|
|
225
|
+
- **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()`
|
|
226
|
+
|
|
227
|
+
<a name="6.1.0"></a>
|
|
228
|
+
|
|
229
|
+
# [6.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v6.0.2...v6.1.0) (2020-12-01)
|
|
230
|
+
|
|
231
|
+
### Bug Fixes
|
|
232
|
+
|
|
233
|
+
- **component:** handle top-level `execute` errors for reCAPTCHA v3 ([c7d02ce](https://github.com/DethAriel/ng-recaptcha/commit/c7d02ce)), closes [#194](https://github.com/DethAriel/ng-recaptcha/issues/194)
|
|
234
|
+
- **component:** mark `forRoot()` method as deprecated ([dea31e5](https://github.com/DethAriel/ng-recaptcha/commit/dea31e5))
|
|
235
|
+
|
|
236
|
+
### Features
|
|
237
|
+
|
|
238
|
+
- **component:** add the ability to handle reCAPTCHA errors ([80c9e6e](https://github.com/DethAriel/ng-recaptcha/commit/80c9e6e)), closes [#199](https://github.com/DethAriel/ng-recaptcha/issues/199)
|
|
239
|
+
|
|
240
|
+
<a name="6.0.2"></a>
|
|
241
|
+
|
|
242
|
+
## [6.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v6.0.1...v6.0.2) (2020-09-14)
|
|
243
|
+
|
|
244
|
+
### Bug Fixes
|
|
245
|
+
|
|
246
|
+
- **component:** fix custom languages for reCAPTCHA v3 ([a2b145d](https://github.com/DethAriel/ng-recaptcha/commit/a2b145d)), closes [#174](https://github.com/DethAriel/ng-recaptcha/issues/174)
|
|
247
|
+
- **component:** improve reCAPTCHA v2 and v3 interoperability ([79fc85b](https://github.com/DethAriel/ng-recaptcha/commit/79fc85b)), closes [#152](https://github.com/DethAriel/ng-recaptcha/issues/152)
|
|
248
|
+
|
|
249
|
+
<a name="6.0.1"></a>
|
|
250
|
+
|
|
251
|
+
## [6.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v6.0.0...v6.0.1) (2020-09-12)
|
|
252
|
+
|
|
253
|
+
### Bug Fixes
|
|
254
|
+
|
|
255
|
+
- **component:** catch and propagate grecaptcha errors, closes [#175](https://github.com/DethAriel/ng-recaptcha/issues/175) ([075edd0](https://github.com/DethAriel/ng-recaptcha/commit/075edd0))
|
|
256
|
+
|
|
257
|
+
<a name="6.0.0"></a>
|
|
258
|
+
|
|
259
|
+
# [6.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v5.0.0...v6.0.0) (2020-09-10)
|
|
260
|
+
|
|
261
|
+
### Features
|
|
262
|
+
|
|
263
|
+
- **component:** make Angular 10.0.0 a supported peer dependency ([3d7756b](https://github.com/DethAriel/ng-recaptcha/commit/3d7756b)), closes [#177](https://github.com/DethAriel/ng-recaptcha/issues/177)
|
|
264
|
+
- **component:** make Angular 9.0.0 a supported peer dependency ([98edce6](https://github.com/DethAriel/ng-recaptcha/commit/98edce6)), closes [#168](https://github.com/DethAriel/ng-recaptcha/issues/168)
|
|
265
|
+
|
|
266
|
+
<a name="5.0.0"></a>
|
|
267
|
+
|
|
268
|
+
# [5.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.3.0...v5.0.0) (2019-08-09)
|
|
269
|
+
|
|
270
|
+
### Features
|
|
271
|
+
|
|
272
|
+
- **component:** make Angular 8.0.0 a supported peer dependency ([f003ff2](https://github.com/DethAriel/ng-recaptcha/commit/f003ff2))
|
|
273
|
+
- **package:** implement Angular Package format ([71340c4](https://github.com/DethAriel/ng-recaptcha/commit/71340c4))
|
|
274
|
+
|
|
275
|
+
### BREAKING CHANGES
|
|
276
|
+
|
|
277
|
+
- **package:** \* `ng-recaptcha/forms` entry point has been removed. `RecaptchaFormsModule` and `RecaptchaValueAccessorDirective` should now be imported directly from `ng-recaptcha`
|
|
278
|
+
- `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)
|
|
279
|
+
|
|
280
|
+
<a name="4.3.0"></a>
|
|
281
|
+
|
|
282
|
+
# [4.3.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.3.0-beta.1...v4.3.0) (2019-06-04)
|
|
283
|
+
|
|
284
|
+
### Bug Fixes
|
|
285
|
+
|
|
286
|
+
- **component-v3:** fix a potential metadata error in v3 service ([ed885b5](https://github.com/DethAriel/ng-recaptcha/commit/ed885b5))
|
|
287
|
+
|
|
288
|
+
<a name="4.3.0-beta.1"></a>
|
|
289
|
+
|
|
290
|
+
# [4.3.0-beta.1](https://github.com/DethAriel/ng-recaptcha/compare/v4.2.1...v4.3.0-beta.1) (2019-02-08)
|
|
291
|
+
|
|
292
|
+
### Features
|
|
293
|
+
|
|
294
|
+
- **component:** add support for reCAPTCHA v3 ([4a083c6](https://github.com/DethAriel/ng-recaptcha/commit/4a083c6)), closes [#129](https://github.com/DethAriel/ng-recaptcha/issues/129)
|
|
295
|
+
|
|
296
|
+
<a name="4.2.1"></a>
|
|
297
|
+
|
|
298
|
+
## [4.2.1](https://github.com/DethAriel/ng-recaptcha/compare/v4.2.0...v4.2.1) (2018-10-24)
|
|
299
|
+
|
|
300
|
+
### Bug Fixes
|
|
301
|
+
|
|
302
|
+
- **package:** fix publishing empty package ([e4685fe](https://github.com/DethAriel/ng-recaptcha/commit/e4685fe))
|
|
303
|
+
|
|
304
|
+
<a name="4.2.0"></a>
|
|
305
|
+
|
|
306
|
+
# [4.2.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.1.1...v4.2.0) (2018-10-24)
|
|
307
|
+
|
|
308
|
+
### Features
|
|
309
|
+
|
|
310
|
+
- **component:** add the ability to provide `nonce` to the script tag ([8f55b19](https://github.com/DethAriel/ng-recaptcha/commit/8f55b19)), closes [#100](https://github.com/DethAriel/ng-recaptcha/issues/100)
|
|
311
|
+
- **component:** allow to specify a base url for loading recaptcha ([df505fd](https://github.com/DethAriel/ng-recaptcha/commit/df505fd)), closes [#101](https://github.com/DethAriel/ng-recaptcha/issues/101)
|
|
312
|
+
|
|
313
|
+
<a name="4.1.1"></a>
|
|
314
|
+
|
|
315
|
+
## [4.1.1](https://github.com/DethAriel/ng-recaptcha/compare/v4.1.0...v4.1.1) (2018-10-24)
|
|
316
|
+
|
|
317
|
+
### Bug Fixes
|
|
318
|
+
|
|
319
|
+
- **component:** delay invisible recaptcha execution until it's rendered ([99292b7](https://github.com/DethAriel/ng-recaptcha/commit/99292b7)), closes [#127](https://github.com/DethAriel/ng-recaptcha/issues/127)
|
|
320
|
+
|
|
321
|
+
<a name="4.1.0"></a>
|
|
322
|
+
|
|
323
|
+
# [4.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.0.0...v4.1.0) (2018-10-24)
|
|
324
|
+
|
|
325
|
+
### Bug Fixes
|
|
326
|
+
|
|
327
|
+
- **component:** fix a potential error during recaptcha rendering ([1c395b5](https://github.com/DethAriel/ng-recaptcha/commit/1c395b5))
|
|
328
|
+
|
|
329
|
+
### Features
|
|
330
|
+
|
|
331
|
+
- **module:** skip `forRoot()` when importing `RecaptchaModule` ([7fb97fb](https://github.com/DethAriel/ng-recaptcha/commit/7fb97fb)), closes [#113](https://github.com/DethAriel/ng-recaptcha/issues/113) [#116](https://github.com/DethAriel/ng-recaptcha/issues/116)
|
|
332
|
+
- **package:** update peer dependencies to include Angular 7 ([929ef7a](https://github.com/DethAriel/ng-recaptcha/commit/929ef7a))
|
|
333
|
+
|
|
334
|
+
<a name="4.0.0"></a>
|
|
335
|
+
|
|
336
|
+
# [4.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.0.0-beta.1...v4.0.0) (2018-09-29)
|
|
337
|
+
|
|
338
|
+
<a name="4.0.0-beta.1"></a>
|
|
339
|
+
|
|
340
|
+
# [4.0.0-beta.1](https://github.com/DethAriel/ng-recaptcha/compare/v3.0.5...v4.0.0-beta.1) (2018-05-17)
|
|
341
|
+
|
|
342
|
+
### Features
|
|
343
|
+
|
|
344
|
+
- **component:** adjust dependencies for Angular 6 support ([736c7ae](https://github.com/DethAriel/ng-recaptcha/commit/736c7ae))
|
|
345
|
+
|
|
346
|
+
### BREAKING CHANGES
|
|
347
|
+
|
|
348
|
+
- **component:** The peer dependency for `@angular/core` has been bumped to `^6.0.0`
|
|
349
|
+
|
|
350
|
+
<a name="3.0.5"></a>
|
|
351
|
+
|
|
352
|
+
## [3.0.5](https://github.com/DethAriel/ng-recaptcha/compare/v3.0.3...v3.0.5) (2018-04-27)
|
|
353
|
+
|
|
354
|
+
### Bug Fixes
|
|
355
|
+
|
|
356
|
+
- **rxjs:** change import of `of` operator ([3e0bda6](https://github.com/DethAriel/ng-recaptcha/commit/3e0bda6)), closes [#95](https://github.com/DethAriel/ng-recaptcha/issues/95)
|
|
357
|
+
|
|
358
|
+
<a name="3.0.3"></a>
|
|
359
|
+
|
|
360
|
+
## [3.0.3](https://github.com/DethAriel/ng-recaptcha/compare/v3.0.2...v3.0.3) (2017-12-26)
|
|
361
|
+
|
|
362
|
+
### Bug Fixes
|
|
363
|
+
|
|
364
|
+
- **component:** use ElementRef to access component's native element ([d3a8409](https://github.com/DethAriel/ng-recaptcha/commit/d3a8409)), closes [#48](https://github.com/DethAriel/ng-recaptcha/issues/48) [#68](https://github.com/DethAriel/ng-recaptcha/issues/68)
|
|
365
|
+
|
|
366
|
+
<a name="3.0.2"></a>
|
|
367
|
+
|
|
368
|
+
## [3.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v3.0.1...v3.0.2) (2017-10-18)
|
|
369
|
+
|
|
370
|
+
### Bug Fixes
|
|
371
|
+
|
|
372
|
+
- **build:** fix AoT builds ([921be50](https://github.com/DethAriel/ng-recaptcha/commit/921be50)), closes [#57](https://github.com/DethAriel/ng-recaptcha/issues/57) [#65](https://github.com/DethAriel/ng-recaptcha/issues/65)
|
|
373
|
+
|
|
374
|
+
<a name="3.0.1"></a>
|
|
375
|
+
|
|
376
|
+
## [3.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v3.0.0...v3.0.1) (2017-09-29)
|
|
377
|
+
|
|
378
|
+
### Bug Fixes
|
|
379
|
+
|
|
380
|
+
- **component:** Replace `OpaqueToken` with `InjectionToken` ([2b7db9b](https://github.com/DethAriel/ng-recaptcha/commit/2b7db9b))
|
|
381
|
+
|
|
382
|
+
<a name="3.0.0"></a>
|
|
383
|
+
|
|
384
|
+
# [3.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v2.2.0...v3.0.0) (2017-08-30)
|
|
385
|
+
|
|
386
|
+
### Bug Fixes
|
|
387
|
+
|
|
388
|
+
- **component:** fix server-side rendering ([7a5bc6c](https://github.com/DethAriel/ng-recaptcha/commit/7a5bc6c)), closes [#34](https://github.com/DethAriel/ng-recaptcha/issues/34)
|
|
389
|
+
|
|
390
|
+
### BREAKING CHANGES
|
|
391
|
+
|
|
392
|
+
- **component:** Angular v2.x.x is no longer supported due to dependency on Platform capabilities that were added in [v4.0.0-rc.1](https://github.com/angular/angular/blob/master/CHANGELOG.md#features-20)
|
|
393
|
+
|
|
394
|
+
<a name="2.2.0"></a>
|
|
395
|
+
|
|
396
|
+
# [2.2.0](https://github.com/DethAriel/ng-recaptcha/compare/v2.1.1...v2.2.0) (2017-08-18)
|
|
397
|
+
|
|
398
|
+
### Bug Fixes
|
|
399
|
+
|
|
400
|
+
- **component:** ensure that component is destroyed safely ([1e51d56](https://github.com/DethAriel/ng-recaptcha/commit/1e51d56)), closes [#46](https://github.com/DethAriel/ng-recaptcha/issues/46)
|
|
401
|
+
|
|
402
|
+
### Features
|
|
403
|
+
|
|
404
|
+
- **component:** add the ability to specify component props globally ([8a7b22d](https://github.com/DethAriel/ng-recaptcha/commit/8a7b22d)), closes [#45](https://github.com/DethAriel/ng-recaptcha/issues/45)
|
|
405
|
+
|
|
406
|
+
<a name="2.1.1"></a>
|
|
407
|
+
|
|
408
|
+
## [2.1.1](https://github.com/DethAriel/ng-recaptcha/compare/v2.1.0...v2.1.1) (2017-05-02)
|
|
409
|
+
|
|
410
|
+
### Bug Fixes
|
|
411
|
+
|
|
412
|
+
- **component:** unblock protractor tests after `<re-captcha>` destruction ([a5f2fe9](https://github.com/DethAriel/ng-recaptcha/commit/a5f2fe9))
|
|
413
|
+
|
|
414
|
+
<a name="2.1.0"></a>
|
|
415
|
+
|
|
416
|
+
# [2.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.2...v2.1.0) (2017-05-01)
|
|
417
|
+
|
|
418
|
+
### Features
|
|
419
|
+
|
|
420
|
+
- **component:** add support for `badge` property ([5a16430](https://github.com/DethAriel/ng-recaptcha/commit/5a16430)), closes [#30](https://github.com/DethAriel/ng-recaptcha/issues/30)
|
|
421
|
+
|
|
422
|
+
### Bug Fixes
|
|
423
|
+
|
|
424
|
+
- **demo:** re-add a missing systemjs config file ([b51694a](https://github.com/DethAriel/ng-recaptcha/commit/b51694a))
|
|
425
|
+
|
|
426
|
+
<a name="2.0.2"></a>
|
|
427
|
+
|
|
428
|
+
## [2.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.1...v2.0.2) (2017-03-26)
|
|
429
|
+
|
|
430
|
+
### Features
|
|
431
|
+
|
|
432
|
+
- **package:** update peer dependencies to include Angular v4 ([b2f04e8](https://github.com/DethAriel/ng-recaptcha/commit/b2f04e8))
|
|
433
|
+
|
|
434
|
+
<a name="2.0.1"></a>
|
|
435
|
+
|
|
436
|
+
## [2.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.0...v2.0.1) (2017-03-17)
|
|
437
|
+
|
|
438
|
+
### Bug Fixes
|
|
439
|
+
|
|
440
|
+
- **module:** Adding the value accessor directive to the forms barrel, which was missing. ([ad73e2e](https://github.com/DethAriel/ng-recaptcha/commit/ad73e2e))
|
|
441
|
+
|
|
442
|
+
### Features
|
|
443
|
+
|
|
444
|
+
- **misc:** Annotating a static field with `@nocollapse` to avoid issues with closure compiler in advanced mode. ([55e5932](https://github.com/DethAriel/ng-recaptcha/commit/55e5932))
|
|
445
|
+
|
|
446
|
+
<a name="2.0.0"></a>
|
|
447
|
+
|
|
448
|
+
# [2.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v1.7.0...v2.0.0) (2017-03-14)
|
|
449
|
+
|
|
450
|
+
### Features
|
|
451
|
+
|
|
452
|
+
- **component:** change component and directive selectors ([58a01b4](https://github.com/DethAriel/ng-recaptcha/commit/58a01b4))
|
|
453
|
+
- **module:** change the way recaptcha modules work ([6e13389](https://github.com/DethAriel/ng-recaptcha/commit/6e13389))
|
|
454
|
+
|
|
455
|
+
### BREAKING CHANGES
|
|
456
|
+
|
|
457
|
+
- component: component selector changed from `recaptcha` to `re-captcha`
|
|
458
|
+
- module: module handling has changed.
|
|
459
|
+
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`
|
|
460
|
+
|
|
461
|
+
<a name="1.7.0"></a>
|
|
462
|
+
|
|
463
|
+
# [1.7.0](https://github.com/DethAriel/ng2-recaptcha/compare/v1.6.1...v1.7.0) (2017-03-13)
|
|
464
|
+
|
|
465
|
+
### Bug Fixes
|
|
466
|
+
|
|
467
|
+
- **component:** handle id input parameter correctly ([b578fe5](https://github.com/DethAriel/ng2-recaptcha/commit/b578fe5))
|
|
468
|
+
|
|
469
|
+
### Features
|
|
470
|
+
|
|
471
|
+
- **component:** add `exportAs` annotation ([3e2e217](https://github.com/DethAriel/ng2-recaptcha/commit/3e2e217))
|
|
472
|
+
- **component:** add support for invisible reCAPTCHA ([c19489d](https://github.com/DethAriel/ng2-recaptcha/commit/c19489d)), closes [#18](https://github.com/DethAriel/ng2-recaptcha/issues/18)
|
|
473
|
+
|
|
474
|
+
<a name="1.6.1"></a>
|
|
475
|
+
|
|
476
|
+
## [1.6.1](https://github.com/DethAriel/ng2-recaptcha/compare/v1.6.0...v1.6.1) (2017-03-10)
|
|
477
|
+
|
|
478
|
+
### Enhancements
|
|
479
|
+
|
|
480
|
+
- **package:** expand wildcard exports to better support Google Closure Compiler ([8dd1a59](https://github.com/DethAriel/ng2-recaptcha/commit/8dd1a59))
|
|
481
|
+
|
|
482
|
+
<a name="1.6.0"></a>
|
|
483
|
+
|
|
484
|
+
# [1.6.0](https://github.com/DethAriel/ng2-recaptcha/compare/v1.5.4...v1.6.0) (2017-02-17)
|
|
485
|
+
|
|
486
|
+
### Features
|
|
487
|
+
|
|
488
|
+
- **package management:** add `[@types](https://github.com/types)/grecaptcha` as optional dependency ([85fbfba](https://github.com/DethAriel/ng2-recaptcha/commit/85fbfba))
|
|
489
|
+
|
|
490
|
+
<a name="1.5.4"></a>
|
|
491
|
+
|
|
492
|
+
## [1.5.4](https://github.com/DethAriel/ng2-recaptcha/compare/v1.5.3...v1.5.4) (2017-02-02)
|
|
493
|
+
|
|
494
|
+
### Bug Fixes
|
|
495
|
+
|
|
496
|
+
- **component:** correctly reset captcha during `ngOnDestroy` ([b31d57f](https://github.com/DethAriel/ng2-recaptcha/commit/b31d57f)), closes [#12](https://github.com/DethAriel/ng2-recaptcha/issues/12)
|
|
497
|
+
|
|
498
|
+
<a name="1.5.3"></a>
|
|
499
|
+
|
|
500
|
+
## [1.5.3](https://github.com/DethAriel/ng2-recaptcha/compare/v1.5.2...v1.5.3) (2017-02-01)
|
|
501
|
+
|
|
502
|
+
### Bug Fixes
|
|
503
|
+
|
|
504
|
+
- **component:** emit `resolved(null)` event when recaptcha expires ([491d99a](https://github.com/DethAriel/ng2-recaptcha/commit/491d99a)), closes [#11](https://github.com/DethAriel/ng2-recaptcha/issues/11)
|
|
505
|
+
|
|
506
|
+
<a name="1.5.2"></a>
|
|
507
|
+
|
|
508
|
+
## [1.5.2](https://github.com/DethAriel/ng2-recaptcha/compare/v1.5.1...v1.5.2) (2017-01-31)
|
|
509
|
+
|
|
510
|
+
### Bug Fixes
|
|
511
|
+
|
|
512
|
+
- **component:** reset the captcha when the component is destroyed ([e1441c8](https://github.com/DethAriel/ng2-recaptcha/commit/e1441c8)), closes [#10](https://github.com/DethAriel/ng2-recaptcha/issues/10)
|
|
513
|
+
|
|
514
|
+
<a name="1.5.1"></a>
|
|
515
|
+
|
|
516
|
+
## [1.5.1](https://github.com/DethAriel/ng2-recaptcha/compare/v1.5.0...v1.5.1) (2017-01-27)
|
|
517
|
+
|
|
518
|
+
<a name="1.5.0"></a>
|
|
519
|
+
|
|
520
|
+
# [1.5.0](https://github.com/DethAriel/ng2-recaptcha/compare/v1.4.0...v1.5.0) (2017-01-24)
|
|
521
|
+
|
|
522
|
+
### Bug Fixes
|
|
523
|
+
|
|
524
|
+
- **component:** correctly emit `resolved` event ([25d4246](https://github.com/DethAriel/ng2-recaptcha/commit/25d4246))
|
|
525
|
+
|
|
526
|
+
<a name="1.4.0"></a>
|
|
527
|
+
|
|
528
|
+
# [1.4.0](https://github.com/DethAriel/ng2-recaptcha/compare/v1.3.2...v1.4.0) (2016-10-28)
|
|
529
|
+
|
|
530
|
+
Added AoT compilation support
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Ruslan Arkhipau
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|