Releases: igorkasyanchuk/active_storage_validations
Releases · igorkasyanchuk/active_storage_validations
2.0.2
2.0.1
2.0.0
What's Changed
We are happy to release the active_storage_validations
version 2! This major version add several features such as:
- Add support for video & audio files
dimension
validator now supports video filesaspect_ratio
validator now supports video filesprocessable_image
validator is nowprocessable_file
validator and supports image/video/audio
- New validator added:
duration
validator has been added for audio / video files
- Major performance improvement have been added: we now only perform the expensive io analysis operation on the newly attached files
- All error messages have been given an upgrade and new variables that you can use
- Complete rewrite of gem README
- To upgrade from version 1.x to 2.x, please read the upgrade guide in the readme
- Find the associated PRs here:
Full Changelog: 1.4.0...2.0.0
1.4.0
What's Changed
- Fixed typo in README in test matcher section. by @D4uS1 in #300
- [CI] Upgrade from checkout@v2 to checkout@v4 (#305) by @Mth0158 in #306
- [Validator] Detect attachable content_type like Rails, plus rewind the io after using it (#321) by @Mth0158 in #322
- [Analyzer] Refacto our image analyzers to further expand the gem (#254) by @Mth0158 in #299
- Chore/rails 61 by @tagliala in #324
- Require marcel by @ngan in #326
- [Validator] Optimise content_type validator check when not using spoofing protection (#331) by @Mth0158 in #332
- Refactor require-ing for supported analyzers by @ngan in #327
- 323 validations not locating file uploaded using fixture file upload using vips by @Mth0158 in #325
- Allow multiple aspect ratios by @mohammednasser-32 in #294
- [Sponsors] Add @Mth0158 as possible sponsored by @Mth0158 in #329
New Contributors
- @D4uS1 made their first contribution in #300
- @ngan made their first contribution in #326
- @mohammednasser-32 made their first contribution in #294
Full Changelog: 1.3.4...1.4.0