All Versions
53
Latest Version
Avg Release Cycle
178 days
Latest Release
-

Changelog History
Page 2

  • v2.3.0.rc2

    November 02, 2019
  • v2.3.0.rc1

    February 26, 2017
  • v2.2.4 Changes

    January 31, 2017
    • You can now use any object with call as a populator, no need to include Uber::Callable anymore. This is because we have only three types and don't need a is_a? or respond_to? check.
    • ๐Ÿ‘‰ Use declarative-option and loosen uber dependency.
  • v2.2.3 Changes

    • โž• Add Form#call as an alias for validate and the Result object.
  • v2.2.2 Changes

    November 09, 2016
    • Loosen uber dependency.
  • v2.2.1 Changes

    June 21, 2016
    • ๐Ÿ›  Fix Contract::Properties. Thanks @simonc. <3
  • v2.2.0 Changes

    June 20, 2016
    • โœ‚ Remove reform/rails. This is now handled via the reform-rails gem which you have to bundle.
    • ๐Ÿ—„ For coercion, we now use dry-types as a replacement for the deprecated virtus. You have to change to dry-types' constants, e.g. type: Types::Form::Bool.
    • ๐Ÿ‘‰ Use disposable 0.3.0. This gives us the long-awaited nilify: true option.
    # TODO: fix Module and coercion Types::*
  • v2.2.0.rc1

    June 17, 2016
  • v2.1.0 Changes

    December 23, 2015

    โฌ†๏ธ You should be able to upgrade from 2.0 without any code changes.

    Awesomeness

    • ๐Ÿ“œ You can now have :populator for scalar properties, too. This allows "parsing code" per property which is super helpful to structure your deserialization.
    • :populator can be a method name, as in populator: :populate_authors!.
    • Populators can now skip deserialization of a nested fragment using skip!. Learn more here.
    • โž• Added support for dry-validation as a future replacement for ActiveModel::Validation. Note that this is still experimental, but works great.
    • โž• Added validation groups.

    ๐Ÿ”„ Changes

    • All lambda APIs change (with deprecation): populator: ->(options) or ->(fragment:, model:, **o) where we only receive one hash instead of a varying number or arguments. This is pretty cool and should be listed under Awesomeness.
    • ๐Ÿš… ActiveModel::Validator prevents Rails from adding methods to it. This makes acceptance and confirmation validations work properly.

    Notes

    • ๐Ÿ‘ Please be warned that we will drop support for ActiveModel::Validations from 2.2 onwards. Don't worry, it will still work, but we don't want to work with it anymore.
  • v2.1.0.rc1

    December 21, 2015