All Versions
13
Latest Version
Avg Release Cycle
144 days
Latest Release
124 days ago

Changelog History
Page 1

  • v0.9.1

    April 08, 2020
    • Treat blank strings as nil when strip and empty_is_nil options are set (#148, @saverio-kantox)
    • Don't use full key in nested error messages (#149, @eugeneius)
    • Don't remove unknown characters in string filter (#150, @eugeneius)
  • v0.9.0

    January 04, 2019
    • Retain _id suffix in error keys (#129, @khalilovcmd)
    • Add a symbol filter: symbol :color, in: %i(red blue green) (#119, @estraph)
    • Add empty_is_nil option to string filter (#135, @skylerwshaw)
  • v0.8.3

    July 31, 2018
    • Add min_length and max_length options to array filter (#128, @jwoertink)
    • Add empty_is_nil option to date filter (#122, @jamesacarr)
    • Respect Mutations.cache_constants in array filters (#125, @eugeneius)
  • v0.8.2

    May 02, 2018
    • Add :error_key filter option to allow error messages to be customised. (#115, @mwhatters)
    • Accept hash inputs that respond to to_hash. (#126, @antoniobg)
  • v0.8.1

    February 24, 2017
    • Ruby 2.4 support added
  • v0.8.0

    June 05, 2016
    • Add Time filter: time :start_time
    • Remove unprintable characters from string by default.
    • Add bigdecimal and float as non-strict string input options
    • Additonal filters that are used in arrays can now have block arguments
    • Add empty_is_nil option to integer filter.
  • v0.7.2

    April 25, 2016
    • 🐛 Bug fix: discards_empty broke on non-strings. Fix that.
  • v0.7.1

    April 25, 2016
    • 🐛 Bug fix: If your optional filter discards_empty and strips, then discard whitespace.
  • v0.7.0

    April 25, 2016
    • 💎 Ruby 2.1 support added.
    • 🚚 Ruby 1.8.7 support removed.
    • ⚡️ Rubinius support updated.
    • 🔒 Gemfile.lock removed (Rails 4 support, etc)
    • API change: Add ability to implement a 'validate' method
    • discard_invalid option added
    • ➕ AdditionFilters: Gain ability to pass blocks to filters.
  • v0.6.0

    April 25, 2016
    • ➕ Add pluggable filters.
    • ➕ Add ruby 1.8.7 support [#19]
    • ➕ Add a date filter: date :start_date (/via @eliank and @geronimo)
    • 🚅 Mutations.cache_constants = false if you want to work in Rails dev mode which redefines constants. [#23]