27 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v0.41.0-rc.7 (2021-10-24)
Bug Fixes:
-
fix can? for :joins (#73)
-
remove unused default value
-
use proper identity names for polymorphic resources
-
set identity names propertly for polymorphic resources
-
handle nil values in snapshots better
-
remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.6 (2021-09-26)
Bug Fixes:
-
remove unused default value
-
use proper identity names for polymorphic resources
-
set identity names propertly for polymorphic resources
-
handle nil values in snapshots better
-
remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.5 (2021-09-21)
Bug Fixes:
-
use proper identity names for polymorphic resources
-
set identity names propertly for polymorphic resources
-
handle nil values in snapshots better
-
remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.4 (2021-09-21)
Bug Fixes:
-
set identity names propertly for polymorphic resources
-
handle nil values in snapshots better
-
remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.3 (2021-09-21)
Bug Fixes:
-
handle nil values in snapshots better
-
remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.2 (2021-09-21)
Bug Fixes:
- remove unused field from snapshot parsing
Improvements:
- support
custom_indexes
v0.41.0-rc.1 (2021-09-20)
Improvements:
- support
custom_indexes
v0.41.0-rc.0 (2021-09-13)
Breaking Changes:
- update to latest ash/ecto versions w/ parameterized types
Improvements:
- Support default tenant migration path in releases (#69)
v0.40.11 (2021-07-28)
Bug Fixes:
- set subquery prefix properly
v0.40.10 (2021-07-27)
Bug Fixes:
-
set subquery source correctly
-
create parameter for ci strings
-
explicitly set prefix at each level
-
interaction w/ attribute and context tenancy
Improvements:
-
info on migration generator output
-
use match: :full on attr multitenancy
-
update to latest ash
-
update to latest ash
-
upgrade ash dep
v0.40.9 (2021-07-22)
Bug Fixes:
- don't add a non-list to a list
Improvements:
- add sort + select test
v0.40.8 (2021-07-19)
Bug Fixes:
- ensure source table is sorted in lateral join
Improvements:
- fix significant performance issue in lateral joins
v0.40.7 (2021-07-12)
Improvements:
- support default_prefix configuration
v0.40.6 (2021-07-08)
Bug Fixes:
-
fix migrator mix tasks w/ only/except tenants
-
drop foreign keys after table create properly
-
drop foreign keys before dropping table
-
left_lateral_join for many_to_many aggregates
-
properly reference nested aggregate fields for join
-
properly determine fallback table for polymorphic resources
-
ensure non-tenant resources can be aggregates
-
properly set aggregate query sources
-
retain parent as bindings
-
don't add
rel_source
at all -
properly build atoms list
-
horribly hack ecto for dynamic bindings
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
--name
when generating migrations -
add
mix ash_postgres.rollback
-
update to latest ash
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.5 (2021-07-08)
Bug Fixes:
-
fix migrator mix tasks w/ only/except tenants
-
drop foreign keys after table create properly
-
drop foreign keys before dropping table
-
left_lateral_join for many_to_many aggregates
-
properly reference nested aggregate fields for join
-
properly determine fallback table for polymorphic resources
-
ensure non-tenant resources can be aggregates
-
properly set aggregate query sources
-
retain parent as bindings
-
don't add
rel_source
at all -
properly build atoms list
-
horribly hack ecto for dynamic bindings
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
add
mix ash_postgres.rollback
-
update to latest ash
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.4 (2021-07-05)
Bug Fixes:
-
left_lateral_join for many_to_many aggregates
-
properly reference nested aggregate fields for join
-
properly determine fallback table for polymorphic resources
-
ensure non-tenant resources can be aggregates
-
properly set aggregate query sources
-
retain parent as bindings
-
don't add
rel_source
at all -
properly build atoms list
-
horribly hack ecto for dynamic bindings
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
update to latest ash
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.3 (2021-07-03)
Bug Fixes:
-
ensure non-tenant resources can be aggregates
-
properly set aggregate query sources
-
retain parent as bindings
-
don't add
rel_source
at all -
properly build atoms list
-
horribly hack ecto for dynamic bindings
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.2 (2021-07-02)
Bug Fixes:
-
properly set aggregate query sources
-
retain parent as bindings
-
don't add
rel_source
at all -
properly build atoms list
-
horribly hack ecto for dynamic bindings
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.1 (2021-07-02)
Bug Fixes:
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
-
update to latest ash
-
leverage new
private_vars
for errs
v0.40.0-rc5 (2021-07-01)
Bug Fixes:
-
properly coalesce aggregate values
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
- leverage new
private_vars
for errs
v0.40.0-rc4 (2021-06-23)
Bug Fixes:
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
Improvements:
- leverage new
private_vars
for errs
v0.40.0-rc3 (2021-06-15)
Bug Fixes:
-
always add nullability flag
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
v0.40.0-rc2 (2021-06-08)
Bug Fixes:
-
sort references only after other same-table ops
-
generate multitenant foreign keys properly
v0.40.0-rc1 (2021-06-05)
v0.39.0-rc.0 (2021-06-04)
Features:
-
support expression based calculations
-
support concat + if expressions
Improvements:
- various other improvements
v0.38.11 (2021-05-23)
Bug Fixes:
- set prefix to "public" for fkeys to public schema
Improvements:
- set explicit prefix on join filters
v0.38.10 (2021-05-19)
Improvements:
-
support new ash upsert specifying targets
-
update to latest ash
v0.38.9 (2021-05-12)
Bug Fixes:
- properly group many_to_many aggregates
v0.38.8 (2021-05-09)
Improvements:
- update to the latest ash version
v0.38.7 (2021-05-09)
Improvements:
- support latest ash/filtering on related aggregates
v0.38.6 (2021-05-07)
Bug Fixes:
-
properly construct sources for lateral joins
-
copy the correct data for lateral join queries
-
better errors in error cases
Improvements:
- update to latest ash
v0.38.5 (2021-05-07)
Bug Fixes:
- don't cast booleans to string in last_ditch_cast
v0.38.4 (2021-05-07)
Improvements:
- support latest ash version resource sorts
v0.38.3 (2021-05-06)
Improvements:
-
update to latest ash
-
document script to iterate migrations (#65)
v0.38.2 (2021-05-04)
Bug Fixes:
-
join to join table in lateral join query
-
multitenancy + lateral join sources
-
don't distinct in lateral joins
v0.38.1 (2021-05-04)
Bug Fixes:
- fix fragment processing broken (#64)
v0.38.0 (2021-04-29)
Features:
- support new side load improvements
Improvements:
- Preserve attribute order (#63)
v0.37.8 (2021-04-27)
Bug Fixes:
-
simpler index names
-
don't prefix unique indices with prefix()
-
sort index operations last
Improvements:
- custom index names
v0.37.7 (2021-04-27)
Bug Fixes:
- remove inspects that were left in by accident
v0.37.6 (2021-04-27)
Bug Fixes:
-
type cast atoms to strings in last ditch cast
-
properly type cast
-
Remove duplicate file extension (#60)
v0.37.5 (2021-04-27)
Bug Fixes:
- properly type cast
v0.37.4 (2021-04-26)
Improvements:
- support
list
aggregate
v0.37.3 (2021-04-26)
Bug Fixes:
-
stringify struct defaults in migration generator
-
properly comment out extension uninstallation code
v0.37.2 (2021-04-21)
Improvements:
- support ash enums
v0.37.1 (2021-04-19)
Bug Fixes:
- include type in references (because it is not automatic)
v0.37.0 (2021-04-19)
Features:
- add check_constraints, both for validation and migrations
v0.36.5 (2021-04-13)
Bug Fixes:
-
always drop constraints before modifying
-
properly compare old references and new references
v0.36.4 (2021-04-12)
Bug Fixes:
- don't explicitly set type in
references
Improvements:
- default integers to
:bigint
v0.36.3 (2021-04-12)
Improvements:
- primary autoincrement key as bigserial (#54)
v0.36.2 (2021-04-09)
Improvements:
- support new ash select feature
v0.36.1 (2021-04-04)
Bug Fixes:
- raise when
all_tenants/0
default impl is called
Improvements:
- add sum aggregate (#53)
v0.36.0 (2021-04-01)
Features:
-
support configuring references
-
support configuring polymorphic references
-
support
distinct
Ash queries
v0.35.5 (2021-03-29)
Bug Fixes:
- Made AshPostgres.Repo.init/2 overridable (#51)
Improvements:
-
only count resources w/ create action for nullability
-
better error message on missing table
v0.35.4 (2021-03-21)
Bug Fixes:
-
reroute
Ash.Type.UUID
to:uuid
in migrations -
force create extensions snapshot
Improvements:
-
consistent foreign key names
-
support custom foreign key error messages
v0.35.3 (2021-03-19)
Bug Fixes:
-
force create extensions snapshot
-
more conservative inner join checks
-
add back in inner join detection logic
Improvements:
-
consistent foreign key names
-
support custom foreign key error messages
v0.35.2 (2021-03-05)
Bug Fixes:
-
more conservative inner join checks
-
add back in inner join detection logic
v0.35.1 (2021-03-02)
Bug Fixes:
- don't start the whole app in migrate
v0.35.0 (2021-03-02)
Features:
- automatically install extensions from repo
v0.34.7 (2021-03-02)
Bug Fixes:
-
typo in references for multitenancy
-
null: true
when attr isn't on all resources for a table
v0.34.6 (2021-02-24)
Bug Fixes:
- better embedded filters, switch to latest ash
v0.34.5 (2021-02-23)
Improvements:
- support latest ash
v0.34.4 (2021-02-08)
Bug Fixes:
- trim when choosing new attribute name
v0.34.3 (2021-02-06)
Bug Fixes:
- don't reference polymorphic tables to belongs_to relationships
v0.34.2 (2021-02-06)
Bug Fixes:
- set up references properly
v0.34.1 (2021-02-06)
Bug Fixes:
- reference the configured table if set
v0.34.0 (2021-02-06)
Features:
- support polymorphic relationships
v0.33.1 (2021-01-27)
Bug Fixes:
- actually insert the tracking row
v0.33.0 (2021-01-27)
Features:
-
add
mix ash_postgres.create
-
add
mix ash_postgres.migrate
-
add
mix ash_postgres.migrate --tenants
-
add
mix ash_postgres.drop
Bug Fixes:
- rework the way multitenant migrations work
v0.32.2 (2021-01-26)
Bug Fixes:
- un-break the
in
filter type casting code
Improvements:
- better errors for multitenant unique constraints
v0.32.1 (2021-01-24)
Bug Fixes:
ago
was adding, not subtracting
v0.32.0 (2021-01-24)
Features:
- support latest ash + contains
v0.31.1 (2021-01-22)
Improvements:
- update to latest ash
v0.31.0 (2021-01-22)
Features:
-
support fragments
-
support type casting
-
update to latest ash to support expressions
Bug Fixes:
- update CI versions
v0.30.1 (2021-01-13)
v0.30.0 (2021-01-13)
Features:
- Add check_migrated option to migration generator (#40) (#43)
v0.29.6 (2021-01-12)
Bug Fixes:
- rename out of phase, small migration fix
v0.29.5 (2021-01-10)
Improvements:
- Use ecto_sql formatter settings (#38)
v0.29.4 (2021-01-10)
Improvements:
- Omit field opts if they are default values (#37)
v0.29.3 (2021-01-08)
Improvements:
- support latest ash
v0.29.2 (2021-01-08)
Improvements:
- Make integer serial if generated
v0.29.1 (2021-01-08)
Improvements:
- support latest ash version
v0.29.0 (2021-01-08)
Features:
- retain snapshot history
Improvements:
- support latest ash version
v0.28.1 (2021-01-07)
Improvements:
- Add :binary migration type (#33)
v0.28.0 (2020-12-29)
Features:
- support latest Ash version
v0.27.0 (2020-12-23)
Features:
- support refs on both sides of operators
Bug Fixes:
- bump ash version
v0.26.2 (2020-12-06)
Bug Fixes:
- properly accept the
tenant_migration_path
v0.26.1 (2020-12-01)
Bug Fixes:
- set default properly when modifying
v0.26.0 (2020-11-25)
Features:
- don't drop columns unless explicitly told to
Bug Fixes:
- various migration generator bug fixes
v0.25.5 (2020-11-17)
Bug Fixes:
- drop constraints outside of phases (#29)
v0.25.4 (2020-11-07)
Bug Fixes:
- only alter the things that have changed
v0.25.3 (2020-11-06)
Improvements:
- add utc_datetime migration type
v0.25.2 (2020-11-03)
Bug Fixes:
- access data_layer_query with function
v0.25.1 (2020-10-29)
Improvements:
- mark repo as not requiring compile-time dep
v0.25.0 (2020-10-29)
Features:
- multitenancy (#25)
Bug Fixes:
- verify repo using ensure_compiled
v0.24.0 (2020-10-17)
Features:
- support latest ash
v0.23.2 (2020-10-07)
v0.23.1 (2020-10-06)
v0.23.0 (2020-10-06)
Features:
- update to latest ash, trigram filter
v0.22.1 (2020-10-01)
Bug Fixes:
-
don't group alters with creates (#22)
-
add jason dependency, clean lockfile (#21)
v0.22.0 (2020-09-24)
Features:
- fix error when filtering with
true
Bug Fixes:
- broken types for
in
operator
v0.21.0 (2020-09-19)
Features:
- support base_filter (#18)
v0.20.1 (2020-09-11)
Bug Fixes:
- document/update migration path logic
v0.20.0 (2020-09-11)
Features:
- snapshot-based migration generator
v0.19.0 (2020-09-02)
Features:
- support inner joins when possible (#15)
Bug Fixes:
-
better support for aggregates/calculations when delegating
-
don't fail w/ no extensions configured
v0.18.0 (2020-08-26)
Features:
-
update to ash 1.11 (#13)
-
support Ash v1.10 (#12)
-
support latest ash
-
update to latest ash
v0.17.0 (2020-08-26)
Features:
-
update to ash 1.11 (#13)
-
support Ash v1.10 (#12)
-
support latest ash
-
update to latest ash
v0.16.1 (2020-08-19)
Bug Fixes:
- fix compile/dialyzer issues
v0.16.0 (2020-08-19)
Features:
-
update to latest ash
-
update to latest version of ash
v0.15.0 (2020-08-18)
Features:
- update to latest version of ash
v0.14.0 (2020-08-17)
Features:
-
support ash 1.7
-
support named aggregates
v0.13.0 (2020-07-25)
Features:
-
update to latest ash
-
support latest ash
v0.12.1 (2020-07-24)
Bug Fixes:
- add can? for
:aggregate
v0.12.0 (2020-07-24)
Features:
- update to latest ash
v0.11.2 (2020-07-23)
Bug Fixes:
v0.11.1 (2020-07-23)
Bug Fixes:
v0.11.0 (2020-07-23)
Features:
- support ash 13.0 aggregates
v0.10.0 (2020-07-15)
Features:
- update to latest ash
v0.9.0 (2020-07-13)
Features:
- update to latest ash
v0.8.0 (2020-07-09)
Features:
- update to latest ash
v0.7.0 (2020-07-09)
Features:
-
update to latest ash
-
update to latest ash, add docs
-
update to ash 0.9.1 for transactions
v0.6.0 (2020-06-29)
Features:
- update to latest ash
v0.5.0 (2020-06-29)
Features:
- upgrade to latest ash
v0.4.0 (2020-06-27)
Features:
- update to latest ash
v0.3.0 (2020-06-19)
Features:
- New filter style (#10)
v0.2.1 (2020-06-15)
Bug Fixes:
- update .formatter.exs
v0.2.0 (2020-06-14)
Features:
- use the new DSL builder for config (#7)
v0.1.4 (2020-06-05)
Bug Fixes:
-
update ash version dependency
-
account for removal of name
v0.1.3 (2020-06-03)
This release was a test of our automatic hex.pm package deployment