All Versions
46
Latest Version
2.1
Avg Release Cycle
65 days
Latest Release
-

Changelog History
Page 5

  • v0.2.1

    • โž• Added Operation#setup_model!(params) that can be overridden to add nested objects or process models right after model!. Don't add deserialization logic here, let Reform/Representable do that.
    • โž• Added Operation#setup_params!(params) to normalize parameters before #process. Thanks to @gogogarrett.
    • โž• Added Controller::ActiveRecord that will setup a named controller instance variable for your operation model. Thanks @gogogarrett!
    • โž• Added CRUD::ActiveModel that currently infers the contract's ::model from the operation's model.
  • v0.2.0

    API Changes

    • Controller#present no longer calls respond_to, but lets you do the rendering. This will soon be re-introduced using respond(present: true).
    • ๐Ÿ— Controller#form did not respect builders, this is fixed now.
    • ๐Ÿ‘‰ Use request.body.read in Unicorn/etc. environments in Controller#respond.

    Stuff

    • Autoloading changed, again. We now require_dependency in every request in dev.
  • v0.1.3

    • crud_autoloading now simply require_dependencys model files, then does the same for the CRUD operation file. This should fix random undefined constant problems in development.
    • ๐Ÿ— Controller#form did not use builders. This is fixed now.
  • v0.1.2

    • โž• Add crud_autoloading.
  • v0.1.1

    • ๐Ÿ‘‰ Use reform-1.2.0.
  • v0.1.0

    • ๐Ÿš€ First stable release after almost 6 months of blood, sweat and tears. I know, this is a ridiculously brief codebase but it was a hell of a job to structure everything the way it is now. Enjoy!