This release includes 2 breaking changes for platform teams planning a safe upgrade.
Published 10d
Relational Databases
✓ No known CVEs patched
✓ No known CVEs patched in this version
Summary
AI summaryUpdates refactor, fix, and feat across a mixed release.
Full changelog
What's Changed
- fix: keep matview indexes when it is recreated over a retyped column by @Apakottur in https://github.com/Apakottur/pgmig/pull/99
- fix: omit USING when altering type of a generated column by @Apakottur in https://github.com/Apakottur/pgmig/pull/100
- fix: close dependency-query gaps causing false refusals and a failed apply by @Apakottur in https://github.com/Apakottur/pgmig/pull/101
- fix: guard more unsupported catalogs against false convergence by @Apakottur in https://github.com/Apakottur/pgmig/pull/102
- refactor: drop misleading frozen=True from models with mutable fields by @Apakottur in https://github.com/Apakottur/pgmig/pull/103
- fix: emit comment for a create that reuses a rename-vacated name by @Apakottur in https://github.com/Apakottur/pgmig/pull/105
- refactor: extract _alter_shared_column from _alter_columns by @Apakottur in https://github.com/Apakottur/pgmig/pull/106
- refactor: give matview indexes their own phase after VIEW_CREATE by @Apakottur in https://github.com/Apakottur/pgmig/pull/107
- fix: depend on bare psycopg; use SPDX license string by @Apakottur in https://github.com/Apakottur/pgmig/pull/104
- feat: raise UnsupportedChangeError for documented limitations by @Apakottur in https://github.com/Apakottur/pgmig/pull/109
- feat: order function drops by dependency by @Apakottur in https://github.com/Apakottur/pgmig/pull/89
- fix: rewrite the --output file on an empty diff by @Apakottur in https://github.com/Apakottur/pgmig/pull/108
- refactor: rename api module to _api by @Apakottur in https://github.com/Apakottur/pgmig/pull/111
- refactor: rename _build module to _introspect by @Apakottur in https://github.com/Apakottur/pgmig/pull/112
- refactor: route refused changes through a PgmigUnsupportedError taxonomy by @Apakottur in https://github.com/Apakottur/pgmig/pull/110
- refactor: route single-object comment diffs through diff_single_comment by @Apakottur in https://github.com/Apakottur/pgmig/pull/114
- refactor: single source of truth for recreated-matview predicate by @Apakottur in https://github.com/Apakottur/pgmig/pull/115
- refactor: tighten view_dependencies.sql and forbid extra columns on query rows by @Apakottur in https://github.com/Apakottur/pgmig/pull/113
- refactor: unify topological sort and add cycle detection to function drops by @Apakottur in https://github.com/Apakottur/pgmig/pull/116
- docs: fix stale exception name in generate_setup docstring by @Apakottur in https://github.com/Apakottur/pgmig/pull/118
- refactor: deparse each index once in indexes.sql by @Apakottur in https://github.com/Apakottur/pgmig/pull/121
- refactor: dedup the view and materialized-view loaders by @Apakottur in https://github.com/Apakottur/pgmig/pull/119
- refactor: compute test DB names lazily instead of at import by @Apakottur in https://github.com/Apakottur/pgmig/pull/120
- refactor: introspection context and query/result renames by @Apakottur in https://github.com/Apakottur/pgmig/pull/123
- refactor: introspect databases with async psycopg by @Apakottur in https://github.com/Apakottur/pgmig/pull/124
- feat: add async agenerate() and make assert_diff async by @Apakottur in https://github.com/Apakottur/pgmig/pull/125
- chore: add pytest-sugar as a dev dependency by @Apakottur in https://github.com/Apakottur/pgmig/pull/126
- test: convert remaining test suite to async by @Apakottur in https://github.com/Apakottur/pgmig/pull/127
- refactor: introspect databases with async psycopg by @Apakottur in https://github.com/Apakottur/pgmig/pull/122
- perf: memoize retyped column readers per diff by @Apakottur in https://github.com/Apakottur/pgmig/pull/117
Full Changelog: https://github.com/Apakottur/pgmig/compare/v0.0.10...v0.1.0
Breaking Changes
- Rename api module to _api
- Rename _build module to _introspect
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Pgmig
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]