Table of Contents generated with DocToc

Changelog

v1.5.0

Enhancements

Bug Fixes

  • #6 - Previously get and list were the only Calcinator.Resources.Ecto.Repo functions that converted DBConnection.OwnershipError to {:error, :ownership}, but the other Ecto.Repo calls could also throw the Error, so all calls need to be protected for consistency. - @KronicDeth

v1.4.0

Enhancements

  • #4 - use Calcinator.Resources.Ecto.Repo will define the callbacks for Calcinator.Resources backed by an Ecto.Repo. The only callbacks that are required then are ecto_schema_module/0, full_associations/1 and repo/0. - @KronicDeth
  • #5 - @KronicDeth
  • Update to credo 0.5.3
  • Update to ja_serializer 0.11.2

v1.3.0

Enhancements

  • #3 - @KronicDeth
  • Calcinator.Authorization implementations

  • Document Steps and Returns of Calcinator actions. Steps make it clearer which parts of state are used when. Returns explain why a given return happens.
  • Document and clarify Calcinator.Authorization calling patterns

    • Document each callback with the target shape for each action.
  • Break up the callbacks into multiple signatures for the different call site

Bug Fixes

  • #3 - @KronicDeth
  • Add missing related Calcinator.View callbacks, get_related_resource and show_relationship, that are needed for their respective functions in Calcinator.
  • Add missing newline at end of file.
  • Remove argN arguments in docs by naming arguments in specs
  • Remove extra blank line

v1.2.0

Enhancements

Bug Fixes

v1.1.0

Enhancements

  • #1 - Expose attribute_to_field that was used in Calcinator.Resources.Sort as it is useful in other places instead of using String.to_existing_atom, which doesn’t handle the hyphenation and can fail if the atom hasn’t been loaded yet. - @KronicDeth

Bug Fixes

  • #1 - @KronicDeth
  • Add missing top-level files to extras:

    • CHANGELOG.md
    • CODE_OF_CONDUCT.md
    • CONTRIBUTING.md
    • LICENSE.md