Changelog for v0.x

View Source

v0.1.2

Requires Elixir v1.17+ Compatible with Ecto 3.2+

Documentation fixes

  • README.md - more details added.
  • overview.md - description of pagination functions added.
  • functions.md - description of pagination functions.
  • examples.md - Added Phoenix examples of pagination functions, improved multiple changeset examples.

Features

  • Added a :changeset option to ctx_register_schema. This provides a default changeset for create, update and change functions.

v0.1.1

Requires Elixir v1.17+ Compatible with Ecto 3.2+

Fixes

  • Mix task test.setup renamed to ctx.test.setup, to avoid conflicts with other apps or libraries.

Features

  • Two new options added to ctx_register_schema
    • :infix and :plural_infix to change the names that are generated.
  • Implemented create_changeset and update_changeset.
  • Navigation functions added:
    • to(plural_inflix)_page/2, next(pluralinflix)_page/1, previous(plural_inflix)_page/1

Upgraded dependencies

  • ex_doc - 0.37.2 to 0.38.3

v0.1.0

Requires Elixir v1.17+ Compatible with Ecto 3.2+

Features

  • Automatic CRUD function generation for Ecto schemas
  • Customizable repository module selection
  • Customizable changeset function names
  • Support for both safe and raising versions of operations
  • Built-in support for preloading associations