Skip to content

Releases: igorkasyanchuk/active_storage_validations

2.0.2

02 Feb 17:16
Compare
Choose a tag to compare
  • Fix undesirable mutation of Marcel::TYPE_EXTS (#356)
  • Fix gem loading issue with Marcel custo initialisers (#355)

2.0.1

29 Jan 09:47
Compare
Choose a tag to compare
  • Fix for invalid content type validation (#347)
  • Fix issue with custom_metadata not working with external services such as S3 (#349)
  • Fix issue when using several matchers using different metadata keys (#351)

2.0.0

27 Jan 07:12
Compare
Choose a tag to compare

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 files
    • aspect_ratio validator now supports video files
    • processable_image validator is now processable_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

21 Dec 15:43
Compare
Choose a tag to compare

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

Full Changelog: 1.3.4...1.4.0

1.3.4

14 Nov 12:41
Compare
Choose a tag to compare

1.3.1

08 Nov 13:22
Compare
Choose a tag to compare
  • CI changes (more rubies, more Rails)
  • improved spoofing detection logic + refactoring: #278

1.3.0

20 Oct 09:31
0a5396c
Compare
Choose a tag to compare

1.2.0

23 Sep 16:44
Compare
Choose a tag to compare

1.1.1

26 Oct 08:12
53538a7
Compare
Choose a tag to compare

1.1.0

24 Oct 20:11
6fb77ad
Compare
Choose a tag to compare
  • #183 [Global] Better size validator messages + Refactor custom model error method
  • #198 Explicitly require active_model before using it
  • #187 New pt-BR translations
  • #184 Added Swedish translations