v2.0.0
This release contains some breaking changes, hence bumping the version number to 2!
๐ Breaking changes
- API is now served on
/v2path. A new parameter (size) is required for/v2/captchaendpoint. - Config option
throttlehas been renamed tobufferCountfor clarity - Config option
maxAttemptshas been replaced bymaxAttemptsRatioto simplify management of server. The parameter is now expressed as a fraction of thebufferCount. This allows you to changebufferCountin response to server load, without worrying about changingmaxAttemptsto match it. - New config option
allowedSizeslets you define the size of the captcha image, per captcha provider.
All the config options are described in the wiki
Fixes
See https://github.com/librecaptcha/lc-core/milestone/5?closed=1
Changes Behind the scenes
- Updated to Scala 3
- Updated H2 to 2.0.206
What's Changed
- Update json4s-jackson_2.13 to 3.6.12 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/106
- Update sbt to 1.5.7 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/107
- Update scalafmt-core to 3.0.8 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/108
- Update scalafmt-core to 3.2.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/110
- Update sbt to 1.5.8 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/111
- update H2 lib to 2.0.204 by @hrj in https://github.com/librecaptcha/lc-core/pull/112
- Update scalafmt-core to 3.2.2 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/113
- Update sbt-scalafmt to 2.4.6 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/114
- Update scalafmt-core to 3.3.0 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/115
- Update sbt to 1.6.0 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/117
- Max attempts config by @rr83019 in https://github.com/librecaptcha/lc-core/pull/116
- Update json4s-jackson_2.13 to 4.0.3 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/109
- Update sbt to 1.6.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/118
- Update scalafmt-core to 3.3.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/119
- update to scala 3 by @hrj in https://github.com/librecaptcha/lc-core/pull/120
- update jar path in docker file by @hrj in https://github.com/librecaptcha/lc-core/pull/121
- Update h2 lib to 2.0.206 by @hrj in https://github.com/librecaptcha/lc-core/pull/123
- Make config parameters optional by @rr83019 in https://github.com/librecaptcha/lc-core/pull/122
- Update scrimage-core, scrimage-filters to 4.0.25 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/124
- Update sbt-scalafix to 0.9.34 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/125
- Update scalafmt-core to 3.3.2 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/127
- Update scalafmt-core to 3.3.3 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/128
- Update json4s-jackson to 4.0.4 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/129
- Update scrimage-core, scrimage-filters to 4.0.26 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/130
- Update scalafmt-core to 3.4.0 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/131
- Update sbt to 1.6.2 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/132
- Update scala3-library to 3.1.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/133
- Update scalafmt-core to 3.4.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/134
- Update scalafmt-core to 3.4.2 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/135
- Update scalafmt-core to 3.4.3 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/136
- Update sbt-assembly to 1.1.1 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/137
- Update sbt-assembly to 1.2.0 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/138
- Update scrimage-core, scrimage-filters to 4.0.27 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/139
- Update scrimage-core, scrimage-filters to 4.0.28 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/141
- Update scrimage-core, scrimage-filters to 4.0.29 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/142
- Update scrimage-core, scrimage-filters to 4.0.30 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/143
- Simplification and minor refactoring by @hrj in https://github.com/librecaptcha/lc-core/pull/144
- Update scrimage-core, scrimage-filters to 4.0.31 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/147
- Fix for #145: frequent repetition of CAPTCHA challenge by @hrj in https://github.com/librecaptcha/lc-core/pull/148
- Bump version numbers, fixes #149 by @Korkman in https://github.com/librecaptcha/lc-core/pull/150
- Point docker-compose.yml to "latest", add "build" by @Korkman in https://github.com/librecaptcha/lc-core/pull/151
- Update scalafmt-core to 3.5.0 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/152
- Respect size param by @hrj in https://github.com/librecaptcha/lc-core/pull/153
- Updated javascript example usage in README.md for 2.0.0 changes. by @JacobPozaic in https://github.com/librecaptcha/lc-core/pull/158
- Update json4s-jackson to 4.0.5 by @scala-steward in https://github.com/librecaptcha/lc-core/pull/155
New Contributors
- @scala-steward made their first contribution in https://github.com/librecaptcha/lc-core/pull/106
- @Korkman made their first contribution in https://github.com/librecaptcha/lc-core/pull/150
Full Changelog: https://github.com/librecaptcha/lc-core/compare/v1.1.0...v2.0.0