2020-04-01 11:16:26 +00:00
2.5.34
-------
- Fix session invalid warning, only for development env;
2019-12-20 07:24:25 +00:00
2.5.2
-------
- Fix session.id error with upgrade Rails 6.0.2.1 or Rack 2.0.8 (#84)
2019-07-01 01:48:26 +00:00
2.5.1
-------
- Fix invalid module name error. (#78)
2019-03-07 02:30:51 +00:00
2.5.0
-------
- Support click captcha image to refresh new one by default.
- Use simple tag helper generate captcha img html, for avoid asset_host (#73).
2019-01-22 09:22:29 +00:00
2.4.0
-------
- Add skip_cache_store_check configuration. (#63)
- Fix for generate captcha with relative path, not url. (#58)
2018-12-14 05:19:53 +00:00
2.3.2
-------
2019-01-22 09:22:29 +00:00
- Change Yellow and Green colors to Pink and Deep Purple to pass WCAG 2.0's contrast test. (#70)
2018-12-14 05:19:53 +00:00
2018-09-17 11:20:08 +00:00
2.3.1
-------
- Fix #67 a y chars will invalid error (only in 2.3.0).
2018-09-06 11:33:18 +00:00
2.3.0
-------
- Add `config.outline` for use outline style.
- Reduce colors down to 5 (red, blue, green, yellow and black).
2017-12-07 09:04:25 +00:00
2.2.0
-----
2017-12-07 09:05:11 +00:00
- Add option `config.length` for support change number chars. (#57)
- Add option `config.strikethrough` for enable or disable strikethrough. (#57)
2017-12-07 09:04:25 +00:00
2017-03-22 07:53:12 +00:00
2.1.3
-----
- Windows support fixed with `send_data` method. (#45)
2017-03-09 08:43:56 +00:00
2.1.2
-----
- Do not change captcha when `HEAD /rucaptcha` .
2017-03-09 02:18:53 +00:00
2.1.1
-----
- Mount engine use `prepend` method to get high priority in config/routes.rb.
2017-03-08 04:00:19 +00:00
2.1.0
-----
- Mount Router by default, not need config now.
2017-03-09 02:27:07 +00:00
> IMPORTANT: Wen you upgrade this version, you need remove `mount RuCaptcha::Engine` line from your `config/routes.rb`
2017-03-08 04:00:19 +00:00
- Default use [:file_store, 'tmp/cache/rucaptcha/session'] as RuCaptcha.config.cache_store, now it can work without any configurations.
> NOTE: But you still need care about `config.cache_store` to setup on a right way.
2017-03-09 02:27:07 +00:00
2017-02-15 04:31:45 +00:00
2.0.3
2017-02-15 04:03:53 +00:00
-----
- Use `ActiveSupport.on_load` to extend ActionController and ActionView.
2017-02-04 13:47:13 +00:00
2.0.1
-----
- Fix `/rucaptcha` path issue when `config.action_controller.asset_host` has setup with CDN url.
2017-01-22 02:16:57 +00:00
2.0.0
-----
*Break Changes!*
WARNING!: This version have so many break changes!
- Use C ext instead of ImageMagick, now it's no dependencies!
- New captcha style.
- Remove `len` , `font_size` , `cache_limit` config key, no support now.
- Output `GIF` format.
2016-12-01 03:11:10 +00:00
1.2.0
-----
- Add an `:keep_session` option for `verify_rucaptcha?` method to giva a way for let you keep session on verify, if true, RuCaptcha will not delete the captcha code session after validation.
2016-11-09 07:30:23 +00:00
1.1.4
2016-11-09 07:24:31 +00:00
-----
- Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store.
2016-11-08 02:04:10 +00:00
1.1.2
-----
- Fix #34 rucaptcha.root_url -> root_path, to avoid generate a http url in a https application.
- Fix spec to require Ruby 2.0.0, because there have a `Module#prepend` method called.
2016-10-29 03:07:30 +00:00
1.1.1
-----
- Remove inspect log on verify_rucaptcha
2016-10-29 02:48:05 +00:00
1.1.0
2016-10-26 10:03:15 +00:00
-----
2016-10-29 02:48:05 +00:00
- Add `cache_store` config key to setup a cache store location for RuCaptcha.
- Store captcha in custom cache store.
2016-10-26 10:03:15 +00:00
## Security Notes
- Fix Session replay secure issue that when Rails application use CookieStore.
2016-09-01 06:20:25 +00:00
1.0.0
-----
- Adjust to avoid lighter colors.
- Avoid continuous chars have same color.
- Use same color for each chars in :black_white mode.
2016-06-22 03:05:30 +00:00
0.5.1
-----
- Make sure it will render image when ImageMagick stderr have warning messages. (#26)
2016-05-25 03:07:26 +00:00
0.5.0
2016-06-22 03:05:30 +00:00
-----
2016-05-25 03:07:26 +00:00
- Fix cache with Rails 5.
2016-05-25 02:09:55 +00:00
0.4.5
2016-05-25 02:11:09 +00:00
-----
2016-05-25 02:09:55 +00:00
- Removed `posix-spawn` dependency, used open3 instead (core funciontality), JRuby compatible (#24)
2016-05-20 09:45:40 +00:00
0.4.4
2016-05-25 02:11:09 +00:00
-----
2016-05-20 08:09:48 +00:00
- Remove deprecated `width` , `height` config.
- Delete session key after verify (#23).
2016-05-20 09:33:28 +00:00
- Lighter text color, improve style.
2016-05-20 08:09:48 +00:00
2016-04-25 02:09:35 +00:00
0.4.2
-----
- Fix NoMethodError bug when params[:_rucaptha] is nil.
2016-04-24 12:20:01 +00:00
0.4.1
-----
- Add error message to resource when captcha code expired.
2016-04-06 07:50:30 +00:00
0.4.0
-----
- Add `config.colorize` option, to allow use black text theme.
2016-03-15 07:42:36 +00:00
0.3.3
-----
- Add `config.expires_in` to allow change captcha code expire time.
2016-02-28 11:03:26 +00:00
0.3.2.1
-------
- Add Windows development env support.
2015-12-24 04:12:07 +00:00
0.3.2
-----
- Make better render positions;
- Trim blank space.
2015-11-05 10:27:42 +00:00
0.3.1
2015-11-05 10:20:41 +00:00
-----
- More complex Image render: compact text, strong lines, +/-5 rotate...
- [DEPRECATION] config.width, config.height removed, use config.font_size.
- Fix the render position in difference font sizes.
- Fix input field type, and disable autocorrect, autocapitalize, and limit maxlength with char length;
2015-11-02 10:09:16 +00:00
0.2.5
2015-11-02 08:59:42 +00:00
-----
- Add `session[:_rucaptcha]` expire time, for protect Rails CookieSession Replay Attack.
2015-11-02 10:09:16 +00:00
- Captcha input field disable autocomplete, and set field type as `email` for shown correct keyboard on mobile view.
2015-11-02 08:59:42 +00:00
2015-11-02 06:11:28 +00:00
0.2.3
-----
- It will raise error when call ImageMagick failed.
2015-11-01 11:25:32 +00:00
0.2.2
-----
- Added locale for pt-BR language; @ramirovjr
2015-11-01 02:04:10 +00:00
0.2.1
-----
- Fix issue when cache dir not exist.
2015-10-30 03:32:02 +00:00
0.2.0
-----
- Added file cache, can setup how many images you want generate by `config.cache_limit` ,
RuCaptcha will use cache for next requests.
When you restart Rails processes it will generate new again and clean the old caches.
2015-10-28 01:58:38 +00:00
0.1.4
-----
- Fix `verify_rucaptcha?` logic in somecase.
- Locales fixed.
2015-10-26 11:37:31 +00:00
0.1.3
-----
- `zh-TW` translate file fixed.
2015-10-26 12:53:30 +00:00
- Use xxx_url to fix bad captcha URL for `config.action_controller.asset_host` enabled case.
2015-10-26 11:37:31 +00:00
2015-10-26 09:40:59 +00:00
0.1.2
-----
- No case sensitive;
- Export config.implode;
- Improve image color and style;
- Don't generate chars in 'l,o,0,1'.
- Render lower case chars on image.
0.1.1
2015-10-26 07:50:54 +00:00
-----
- Include default validation I18n messages (en, zh-CN, zh-TW).
2015-10-26 06:11:48 +00:00
0.1.0
2015-10-26 06:09:39 +00:00
-----
- First release.