LibreCaptcha v1.1.0
Highlights
Note: If you are upgrading from an older version of LibreCaptcha, the config file now needs three new options:
address: "0.0.0.0",playGroundEnabled: trueandcorsHeader: "". Theaddressoption lets you specify the listen address for the server. TheplayGroundEnabledoption is a boolean that enables the demo site andcorsHeaderlets you add a CORS headers to the response.
Improvements ✨
- Added a simple browser based demo which can be seen at
http://localhost:8888/demo/index.htmlafter starting the server. This can be disabled using theplaygroundEnabledconfiguration. - Alphabets which are confusing, such as
O, 0, I, lare now disabled by default - Improved
PoppingCharactersCaptcha(erstwhile GifCaptcha) (#89) - The background thread now generates all types of Captchas (#84)
Behind the scenes
- Updated scala, sbt, dependencies and sbt plugins to their latest versions
- Updated the H2 DB to version 2.0.202 which is not compatible with the older version. Hence, a new database path is used and if an old database instance exists, it is ignored. This should not be a problem, as there is no critical data stored in the DB. But if you would like to reuse the older database, see instructions in the release link for restoring old database.
- Removed a dependency which was GPL licensed (#66)
- Added functional test (#71)
- Run performance and functional tests in CI
Quick start with Docker
docker run -v lcdata:/lc-core/data librecaptcha/lc-core:1.1.0-stable
Changelog (auto generated)
- Run locust tests in CI by @hrj in https://github.com/librecaptcha/lc-core/pull/72
- Migrate to HttpServer by @rr83019 in https://github.com/librecaptcha/lc-core/pull/76
- Add Debug Captcha and functional tests by @hrj in https://github.com/librecaptcha/lc-core/pull/83
- Code simplifications and updated test script by @hrj in https://github.com/librecaptcha/lc-core/pull/85
- Improve Error handling/messages by @rr83019 in https://github.com/librecaptcha/lc-core/pull/82
- Use pico server by @hrj in https://github.com/librecaptcha/lc-core/pull/87
- Ensure fresh Captchas are served by sorting on attempted count by @hrj in https://github.com/librecaptcha/lc-core/pull/88
- Background Thread - Random Captcha Generation by @rr83019 in https://github.com/librecaptcha/lc-core/pull/90
- Specify config file path by @rr83019 in https://github.com/librecaptcha/lc-core/pull/92
- Listen address in config by @vinceh121 in https://github.com/librecaptcha/lc-core/pull/94
- Set Image DPI for captcha providers by @rr83019 in https://github.com/librecaptcha/lc-core/pull/96
- CORS configuration and disable playground by @JacobPozaic in https://github.com/librecaptcha/lc-core/pull/102
New Contributors
- @vinceh121 made their first contribution in https://github.com/librecaptcha/lc-core/pull/94
- @JacobPozaic made their first contribution in https://github.com/librecaptcha/lc-core/pull/102
Full Changelog: https://github.com/librecaptcha/lc-core/compare/v1.0.1...v1.1.0