-
master ...
-
1.0.0
- allow Procs as an input for validation options https://github.com/igorkasyanchuk/active_storage_validations/pull/135/files
- new translation zh-CN igorkasyanchuk#162
- drop support of Rails 5.2 (in tests, but in reality it should work, just check PR in this version)
-
0.9.8
- Fix a file extension issue in Metadata#read_image https://github.com/igorkasyanchuk/active_storage_validations/pull/148/files
- Dynamic exception class igorkasyanchuk#150
- Display All Validation Errors igorkasyanchuk#152
-
0.9.7
- tests for Rails 7 and Ruby 3.1 igorkasyanchuk#143
- Fix pt-BR translations igorkasyanchuk#132
- Remove references to image/jpg content type igorkasyanchuk#144
- missing relationship in dummy app igorkasyanchuk#142
- References Marcel::TYPES only for Rails < 6.1 igorkasyanchuk#138
- better clarify how to define between size igorkasyanchuk#133
- Add vips support for aspect ratio and dimension validators igorkasyanchuk#140
-
0.9.6
- Add min_size and max_size to :file_size_out_of_range error message igorkasyanchuk#134
- Reference Marcel::EXTENSIONS igorkasyanchuk#137
-
0.9.5
- add latest Rails support in tests igorkasyanchuk#126
- file permissions set to 0644 igorkasyanchuk#125
- use Marcel to detect the correct content_type igorkasyanchuk#123
- enable CI for pull requests igorkasyanchuk#124
-
0.9.4
- Add with_message for dimension_validator_matcher igorkasyanchuk#117
- Fix typo in tests igorkasyanchuk#119
- Raise error when undefined mime type symbol is given igorkasyanchuk#120
- Enable to set message on error of attached validator igorkasyanchuk#121
-
0.9.3
- Addded Vietnamese translation igorkasyanchuk#108
- Allow regex in content_type arrays igorkasyanchuk#104
- fixes for spanish translation igorkasyanchuk#114, igorkasyanchuk#115
-
0.9.2
- moved to github actions (@StefSchenkelaars)
- better support for ruby 3, rails 6.1 (@StefSchenkelaars)
-
0.9.1
- ensure to detach attachment before validating attached igorkasyanchuk#81
- fixing UK translations igorkasyanchuk#92
- added ES translation igorkasyanchuk#90
- Rails 6.1 support igorkasyanchuk#94
- added dutch translation igorkasyanchuk#97
- fix deprecation warnings for Ruby 2.7 igorkasyanchuk#100
-
0.9.0
- added Turkish translation igorkasyanchuk#75
- fixed attached matcher igorkasyanchuk#79
-
0.8.9
- better DE translations
-
0.8.8
- Fix something wrong with params: igorkasyanchuk#66 @High5Apps
- added Janapese language (@willnet)
-
0.8.7
- added test matchers igorkasyanchuk#56
-
0.8.6
- added FR, RU, UK translations
-
0.8.5
- small tweaks
-
0.8.4
- fixed error messages for aspect ratio valiation PR #44
- better limit validation for rails 6 PR #45
-
0.8.3
- added pt-BR translation PR #40
-
0.8.2
- allows to pass Regexp for a content type validation:
validates :avatar, content_type: /\Aimage\/.*\z/
- allows to pass Regexp for a content type validation:
-
0.8.1
- allows to pass symbol for a content type validation:
validates :avatar, attached: true, content_type: :png
- allows to pass symbol for a content type validation:
-
0.8.0
- added aspect ratio validator
- support for Rails 5.2 and Rails 6
-
0.7.1
- added dimension validator