Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.71 KB

CHANGES.md

File metadata and controls

47 lines (28 loc) · 1.71 KB

0.2.4

  • Require trailblazer-loader-0.0.7.
  • Fix sorting, model files are now always required first.
  • Manually include Operation::Controller in ApplicationController for every reload.

0.2.3

  • Bump to trailblazer-loader 0.0.4.

0.2.2

  • Remove cells loading code, this happens via trailblazer-loader now.
  • We now load the concept's model file if it exists.

0.2.1

  • Require trailblazer-loader.

0.2.0

  • Use trailblazer-loader for loading operations and associated files, now. Note that operations.rb now is operation.rb (hence the minor bump).
  • The Operation::Controller module is not included into ApplicationController automatically.
  • Added Trailblazer::Test::Integration.

0.1.6

  • Fix Controller#run, which now returns the operation instance instead of the Else object.

0.1.5

  • Treat all requests as params requests unless the operation has a representer mixed in. If you don't want that, you can override using is_document: false. This appears to be the smoothest solution for all. Thanks to @Scharrels for discussion.
  • In Controller#form, the options argument is now passed into form.prepopulate!(options). This allows to use arbitrary options and the options[:params] for prepopulation. Thanks @sauy7 for discussion.

0.1.4

  • Treat :js requests as non-document, too.
  • Controller#form now returns the form object and not the operation.
  • In Controller, #form, #present, #run and #respond now all have the same API: run(constant, options). If you want to pass a custom params hash, use run Comment::Create, params: {..}.

0.1.3

  • Operation::contract works properly with Operation::ActiveModel mixed in.

0.1.2

  • First version running with Trailblazer 1.0.0.