Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 2.07 KB

CHANGES.md

File metadata and controls

66 lines (40 loc) · 2.07 KB

0.2.6

  • Allow to override #persisted? and friends with modules.

0.2.5

  • Fix: Delegating from form object causes ArgumentError with 0.2.4 (#99)

0.2.4

  • Fix keyword argument warning in method_missing (#97)
  • Internal: Replace Uber::Delegates with Forwardable in Form::ActiveModel

0.2.3

  • Fix deprecation warning related to respond_to?

0.2.2

  • Support ActiveRecord 6.1

0.2.1

  • Error's full_message with translation fixed thanks to @marcelolx

0.2.0

  • Needs Reform >= 2.3.0.
  • make the inclusion of ActiveModel form builder modules optional when using dry-validation. This can be controlled via config.reform.enable_active_model_builder_methods = true.
  • delegate validates_each method and allow it to be called outside a validation block.
  • add case_sensitive option to Reform Uniqueness validation. Defaults to true.
  • fix bug in uniqueness validation where form has different attribute name to column
  • improve handling of persisted records in uniqueness validator
  • remove params.merge! as it's deprecated in rails 5
  • update to support reform 2.3, the new API means that errors.add is delegated to ActiveModel::Errors to support rails 5
  • Fix nested form validation (#53)
  • Errors supports symbol and string lookup (PR #77)
  • Implement respond_to that delegates to AMV errors (PR #78)
  • Drop support for activemodel before 5.0

0.1.8

  • Drop support to mongoid < 4.

0.1.7 (0.1.6 Yanked)

  • Fix a bug where requiring form/active_model/validations in a non-Rails environment wouldn't load all necessary files.

0.1.5

  • Allow using Reform-Rails without Rails (it used to crash when not loading rails.rb).

0.1.4

  • Allow setting config.reform in initializers, too.

0.1.3

  • Introduce a railtie to load either ActiveModel::Validations or Dry::Validations. This can be controlled via config.reform.validations = :dry.

0.1.2

  • Allow Reform-2.2.0.rc1 in gemspec.

0.1.1

  • First working release.