ecto v3.9.2 Release Notes

Release Date: 2022-11-18 // over 1 year ago
  • ✨ Enhancements

    • [Ecto.Query] Allow selected_as inside CTE
    • [Ecto.Query] Allow selected_as to be used in subquery

    🐛 Bug fixes

    • [Ecto.Repo] Fix preloading through associations on nil
    • [Ecto.Query] Fix select merging a selected_as field into a source

Previous changes from v3.9.1

  • ✨ Enhancements

    • [Ecto.Query] Allow selected_as at the root of dynamic/2
    • [Ecto.Query] Allow selected_as to be used with type/2
    • [Ecto.Query] Allow selected_as to be used with select_merge

    🐛 Bug fixes

    • [Ecto.Changeset] Reenable support for embedded schemas in unsafe_validate_unique/4
    • [Ecto.Query] Ensure join_where conditions preload correctly in many_to_many or with queries with one or many joins