Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Release v2.0.0

Choose a tag to compare

@matei-radu matei-radu released this 01 Mar 00:21
· 19 commits to main since this release

Added

  • Test project for running tests on ReCaptcha with Puppeteer.

Changed

  • Change the compiler target from es5 to es2015 which has been round for 7+ years. It is time to move on.
  • Refactor ReCaptcha from 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 ReCaptcha component.
  • Refactor some ReCaptcha methods 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-resolve to version 15.0.1.
  • Bump @rollup/plugin-typescript to version 11.0.0.
  • Bump rollup to version 3.17.2.
  • Improve build process and commands with npm-run-all and shx. This also allows the project to be developed using
    any platform.