This repository was archived by the owner on Dec 1, 2025. It is now read-only.
Release v2.0.0
Added
- Test project for running tests on
ReCaptchawith Puppeteer.
Changed
- Change the compiler target from
es5toes2015which has been round for 7+ years. It is time to move on. - Refactor
ReCaptchafrom class-based to functional component using React Hooks. - Change the minimum supported React version to
16.8.0, which is the first React version to introduce Hooks. - Refactor constants outside the
ReCaptchacomponent. - Refactor some
ReCaptchamethods as static functions outside the component. - Update Flow declarations to reflect changes made to
ReCaptcha. - Update Rollup configuration to be more type-safe.
- Bump
@rollup/plugin-node-resolveto version15.0.1. - Bump
@rollup/plugin-typescriptto version11.0.0. - Bump
rollupto version3.17.2. - Improve build process and commands with
npm-run-allandshx. This also allows the project to be developed using
any platform.