All Versions
365
Latest Version
Avg Release Cycle
5 days
Latest Release
827 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 https://github.com/ash-project/ash_phoenix/issues/57 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