All Versions
Latest Version
Avg Release Cycle
5 days
Latest Release
333 days ago

Changelog History
Page 1

  • v2.4.2 Changes

    November 03, 2022

    ๐Ÿ› Bug Fixes:

    • properly set error vars with list constraints

    • when creating changesets/queries that already have arguments, revalidate arguments

    ๐Ÿ‘Œ Improvements:

    • โšก๏ธ update to latest spark

    • ๐Ÿ‘Œ support statically configured upsert actions

    • โž• add more builders

  • v2.4.1 Changes

    October 31, 2022

    ๐Ÿ› Bug Fixes:

    • ๐Ÿ›  fix depend on resources to depend on each resource

    • ๐Ÿ‘ allow references on both sides of in

    • properly upsert all explicitly changed fields

    • traverse maps for template_references_actor?/1

    ๐Ÿ‘Œ Improvements:

    • replace templates in change/preparation/validation opts
  • v2.4.0 Changes

    October 31, 2022

    ๐Ÿ”‹ Features:

    • ๐Ÿ‘Œ support anonymous functions in DSL

    These include:

    - custom create/read/update/destroy actions
    - changes
    - preparations
    - validations
    - calculations
    - manual relationships
    See the respective DSL guides for more.

    ๐Ÿ› Bug Fixes:

    • don't add required belongs_to error if changeset is invalid (#437)

    • don't lazy load when managing relationships

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ‘Œ support anonymous functions for various behaviour based options

    • โž• add more ergonomic manual action definitions.

    • โšก๏ธ more additions to the resource builder, update spark

  • v2.3.0 Changes

    October 27, 2022

    ๐Ÿ”‹ Features:

    • Ash.PlugHelpers: standardise conn interface for actors/tenants. (#432)

    • โž• add Ash.Resource.Builder, the start of DSL builder utilities of rextension writing

    ๐Ÿ› Bug Fixes:

    • DataLayer: incorrect typespec for run_query/2 callback. (#431)

    • โšก๏ธ in Ash.Seed, don't try to update a non-loaded record

    • properly load manual to_one relationships

    • properly compare against decimal values

    ๐Ÿ‘Œ Improvements:

    • pass tenant to calculation query explicitly

    • ๐Ÿ‘ allow using get_path/2 by name, as well as bracket access

    • SVG, PDF, PNG, Markdown and plain mermaid formats (#428)

    • โšก๏ธ optimize nested exists filter statements

    • ๐Ÿ‘Œ support floats & decimals in the compare validation

  • v2.2.0 Changes

    October 21, 2022

    ๐Ÿ”‹ Features:

    • add Ash.Api.Info.depend_on_resources/1 to get the list of resources at compile time

    ๐Ÿ› Bug Fixes:

    • don't attempt to re-authorize access to already retrieved records in Api.load/2

    ๐Ÿ‘Œ Improvements:

    • when returning a page, choose keyset if before or after was supplied

    • โž• add keysets to records if any action supports keysets

    • ๐Ÿ‘‰ show conditions in policy breakdowns

  • v2.1.0 Changes

    October 19, 2022

    ๐Ÿ”‹ Features:

    • Custom short names for types (#423)

    ๐Ÿ‘ A compile env can be set to allow customizing the available type short names. This supports two things:

    1. Adding custom type short names, like attribute :price, :money mapping to MyApp.Type.Money
    2. Overriding the builtin type short names, like attribute, :price, :string mapping to a custom string type implementation (there is likely no reason to do this) Commit with unknown type in: feat: Custom short names for types (#423)

    ๐Ÿ‘€ See the docs for Ash.Type for more information

    • โž• add now() to expressions

    ๐Ÿ› Bug Fixes:

    • 0๏ธโƒฃ set defaults before running changes

    ๐Ÿ‘Œ Improvements:

    • sort relationship in order of input when managing it

    This helps with things like which involve rendering the relationship value after editing it. Retaining the order allows direct reuse without any gymnastics

  • v2.0.0 Changes

    October 17, 2022

    ๐Ÿ”‹ Features:

    • basic livebook generator and mix task (#420)

    • mermaid class diagram mix task (#417)

    ๐Ÿ› Bug Fixes:

    • properly lateral join when possible

    • ๐Ÿ‘‰ use prepend?: true when applying relationship sorts

    • don't miss dependencies in flow diagrams

    • ๐Ÿ›  fix deps finding in flow charts & flows

    • properly load calcs/aggs on manual relationships

    • properly load nested manual relationships

    • ๐Ÿ‘ allow overriding validation message on a list of errors (#412)

    • ๐Ÿšฉ reraise errors on task error

    • don't show dependencies for run_flow steps in expanded view(they are duplicates)

    ๐Ÿ‘Œ Improvements:

    • don't eager evaluate type/2

    • ๐Ÿ‘Œ support depending on requests that will be added

    • ๐Ÿ‘Œ support dynamic action steps in Ash.Flow

    • โž• add prepend?: true option to sort

    • โšก๏ธ use simple_equality?/0 to allow for optimized equality checking

    • mermaid mix task for ER diagrams (#415)

    • โœ… try to resolve flaky tests by not using named tables for private ets resources

    • ๐Ÿ‘ better unknown error handling

    • ๐Ÿ‘ allow passing query or changeset in can/can?/4 (#410)

  • v2.0.0-rc.9 Changes

    September 21, 2022

    ๐Ÿ› Bug Fixes:

    • ๐Ÿ›  fix replace_relationship type
  • v2.0.0-rc.8 Changes

    September 21, 2022

    ๐Ÿ› Bug Fixes:

    • properly handle args/nested expression for tuple calcs

    • โž• add a case for calculations as tuples in expr filters

    • return count, not {:ok, count}

    • bad return value when async fetching counts

    • โœ‚ remove dbg() call

    ๐Ÿ‘Œ Improvements:

    • โšก๏ธ update to latest spark, support dsls in resource info

    • deprecate :replace in favor of :append_and_remove

    • โž• add loading?/1 query helper

    • โž• add loading/1 built in check

  • v2.0.0-rc.7 Changes

    September 15, 2022

    ๐Ÿ› Bug Fixes:

    • nil casts as any type (sort of)

    • return nil on nil inputs for length/1

    • ๐Ÿšฉ properly reraise errors raised in tasks

    • properly return errors from tasks

    • ๐Ÿ‘‰ use Comp.equal?/2 when finding loaded data matches