tmp22/CHANGELOG.md

73 lines
2.1 KiB
Markdown
Raw Normal View History

2021-04-10 19:42:00 +05:30
## 0.1.4
2021-06-03 19:40:45 +05:30
## Added:
- `Master` trait: provides methods to manage mcaptcha
2021-07-19 16:21:01 +05:30
- `MCaptcha::get_defense()`: returns the `MCaptcha` instance's defense
configuration
2021-06-03 19:40:45 +05:30
2021-04-10 19:42:00 +05:30
## Changed:
- `PoWConfig` has an extra field to send internal `PoW` salt to clients.
Salt is used to prevent dictionary attacks using rainbow tables. This
salt shouldn't be used elsewhere in the program as it's exposed to the
internet. Ideally `mCaptcha` should automatically generate random
salt and rotate periodically, maybe in the next version.
2021-06-03 18:21:00 +05:30
- `master::Master` is moved to `master::embedded::master` in preparation
for Redis based implementation.
2021-06-03 19:40:45 +05:30
- `AddSite` message for `Master` now requires an instance of
2021-06-05 19:55:35 +05:30
`crate::mcaptcha::MCaptcha`. In the case of
2021-06-03 19:40:45 +05:30
`crate::master::embedded::master`, it automatically starts `Counter`
actor.
2021-04-02 11:05:33 +05:30
## 0.1.3
2021-04-09 23:20:14 +05:30
## Added
2021-04-10 19:42:00 +05:30
2021-04-09 23:20:14 +05:30
- `HashCache` was extended to store captcha responses
- `HashCache` was extended to cache site keys when caching `PoW` configurations
as a result:
- <strike>`Retrieve`</strike> `RetrievePoW` now returns `CachedPoWConfig`
- random token generation post `PoW` verification
2021-04-10 13:14:48 +05:30
- token validation
2021-03-27 14:32:46 +05:30
## Changed
2021-04-10 19:42:00 +05:30
- `Cache` became `CachePoW` (`HashCache` extension)
- `Retrieve` became `RetrievePoW`(`HashCache` extension)
- `DeleteString` became `DeletePoW` (`HashCache` extension)
2021-04-10 19:42:00 +05:30
- `Save` trait now requires three new message impls (`HashCache` extension\_
- `System.verify_pow` now returns a `String` instead of `bool`
2021-04-09 23:20:14 +05:30
## Removed
2021-04-10 19:42:00 +05:30
2021-04-09 23:20:14 +05:30
- `CachePoW` constructor was removed in favour of `CachwPoWBuilder`
2021-04-09 23:20:14 +05:30
## Fixed
2021-04-10 19:42:00 +05:30
2021-04-09 23:20:14 +05:30
- a bug in `mCaptcha/pow_sha256` was causing errors in PoW computation
2021-04-02 11:05:33 +05:30
## 0.1.2
2021-04-10 19:42:00 +05:30
2021-04-02 11:05:33 +05:30
## Changed
2021-04-10 19:42:00 +05:30
2021-06-05 19:55:35 +05:30
- `actix` upgraded to `0.11`
2021-04-02 11:05:33 +05:30
## 0.1.1
2021-04-10 19:42:00 +05:30
2021-04-02 11:05:33 +05:30
### Added
2021-04-10 19:42:00 +05:30
2021-03-27 14:32:46 +05:30
- `Master` packs a garbage collector to stop and get rid of inactive
`MCaptcha` actors
2021-03-12 13:52:49 +05:30
- `serde::{Serialize, Deserialize}` impls (shouldn't break anything)
2021-03-27 14:32:46 +05:30
2021-04-02 11:05:33 +05:30
### Changed
2021-04-10 19:42:00 +05:30
2021-03-27 14:32:46 +05:30
- typo fix: `MCaptcha::decrement_visiotr()` became `MCaptcha::decrement_visitor()`
2021-03-15 19:30:46 +05:30
- `MCaptcha` throws error when duration is 0
- `Visitor` is changed to `AddVisitor`
- `Master` constructor accepts a parameter to configure GC(see previous
point) period