All Versions
6
Latest Version
Avg Release Cycle
181 days
Latest Release
479 days ago

Changelog History

  • v1.2.0 Changes

    July 03, 2020
    • โž• Added TruffleRuby support
    • โž• Added Ruby 2.7 support
    • ๐Ÿ›  Fixed JRuby support
    • ๐Ÿ›  Fixed all dependencies vulnerabilities
    • ๐Ÿšš Documents moved to Docsify engine

    ๐Ÿš€ The release name inspired by Xiu Xiu "Clowne Towne"

  • v1.1.0 Changes

    March 20, 2019

    โž• Added after_clone declaration (PR)
    This is intermediate callback between finalize and after_persist which is called for built but not persisted record.

    class ACloner \< Clowne::Clonerafter\_clone do |\_origin, clone, \*\*| # actualize user attributeclone.draft\_count = clone.posts.countend
    

    ๐Ÿ‘€ See more in docs.
    ๐Ÿ‘ฏ From Cult of Martians.


    Added support for belongs_to association (only for active_record adapter) (PR).
    ๐Ÿ“„ Please read small notice if you want to use it.
    From Cult of Martians.

  • v1.0.0 Changes

    February 26, 2019

    ๐Ÿ”„ Changed resulting API of cloning. For now, Cloner returns individual operation object and provides simple methods to manipulate with it. See more in docs

    NOTE: the old API method (e.g. save) is still working, but deprecated (you'll see a notice).

    ๐Ÿ‘€ Implemented DSL to manipulate with already persisted records after the main cloning flow (inspired by #19). See more in docs

    If you are using old Clowne version, see migration guide

    Other

    • ๐Ÿ‘€ Mapper as a customizable mechanism to restore broken relations while after_persist execution. See more in docs
  • v0.2.0 Changes

    February 21, 2018
    • โž• Add Cloner#partial_apply method. ([@palkan][])

    • ๐Ÿ‘ฏ Add RSpec matchers clone_association / clone_associations. ([@palkan][])

    • [#15] Add control over nested params. ([@ssnickolay][])

  • v0.1.0 Changes

    February 01, 2018
    • โž• Add init_as declaration. ([@palkan][])

    • ๐Ÿ‘Œ Support Sequel. ([@ssnickolay][])

    • ๐Ÿ‘Œ Support passing a block to #clowne for inline configuration. ([@palkan][])

  • v0.1.0.beta1 Changes

    January 08, 2018