CHANGES.md in reform-0.1.2 vs CHANGES.md in reform-0.2.0

- old
+ new

@@ -1,4 +1,17 @@ +h3. 0.2.0 + +* Added nested property and collection for `has_one` and `has_many` relationships. . Note that this currently works only 1-level deep. +* Renamed `Reform::Form::DSL` to `Reform::Form::Composition` and deprecated `DSL`. +* `require 'reform'` now automatically requires Rails stuff in a Rails environment. Mainly, this is the FormBuilder compatibility layer that is injected into `Form`. If you don't want that, only require 'reform/form'. +* Composition now totally optional +* `Form.new` now accepts one argument, only: the model/composition. If you want to create your own representer, inject it by overriding `Form#mapper`. Note that this won't create property accessors for you. +* `Form::ActiveModel` no longer creates accessors to your represented models, e.g. having `property :title, on: :song` doesn't allow `form.song` anymore. This is because the actual model and the form's state might differ, so please use `form.title` directly. + +h3. 0.1.3 + +* Altered `reform/rails` to conditionally load `ActiveRecord` code and created `reform/active_record`. + h3. 0.1.2 * `Form#to_model` is now delegated to model. * Coercion with virtus works. \ No newline at end of file