Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Latest commit

 

History

History
71 lines (67 loc) · 3.64 KB

CHANGELOG.md

File metadata and controls

71 lines (67 loc) · 3.64 KB

automig changelog

0.1.x

  • 0.1.8
    • bugfix for syntax error in 'alter type' (when changing enums)
  • 0.1.7 YANKED
    • support modify enum
  • 0.1.6
    • update dep versions
    • support create extension
  • 0.1.5
    • bugfix: support range --target (i.e. sha..HEAD) in automig_pg
    • 'skips' key in .manualmig.yml that takes a list of full-length shas to skip (needs docs somewhere)
  • 0.1.4
    • BUGFIX: 'drop index if exists' because dropping columns can drop indexes automatically, causing errors
  • 0.1.3
    • BUGFIX: infinite loop case when parsing columns with unofficial types
    • wrap DDL in transaction so partial changes don't apply on sqlite
    • support creating, but not yet diffing, enums
    • toggle classic / declarative mapping in sa_harness
  • 0.1.2
    • internal: looser yaml dep for compat with other packages
    • bugfix: don't drop columns on sqlite (because sqlite doesn't drop columns)
  • 0.1.1
    • bugfix: don't crash in index_name when index is unnamed (though anon indexes may cause other problems downstream)
    • bugfix: sa_harness was broken
    • feature: nullable, boolean for sa_harness
    • deps: use >= for pyyaml dep for compatibility
    • feature: automig_sqlite command, initial sqlite support
    • internal: integration test for automig_pg
  • 0.1.0 feature: support upper & lowercase SQL in tests

0.0.x

  • 0.0.21 bugfix: upgrade gitpython version to fix broken transitive dependency
  • 0.0.20 bugfix: psycopg2-binary to simplify / fix docker build
  • 0.0.19
    • feature: automig_pg mimics migrate.sh with simpler install step
    • feature: postgres optional dependency
    • maintenance: .pylintrc and lint passing
  • 0.0.18
    • bugfix: accept keywords as identifiers sometimes
    • bugfix: clearer error when the parser thinks a table name is a keyword
    • feature: migrate.sh script for applying migrations to DB
    • feature: change --init to 'create if not exists' to allow extra init in case someone passed the wrong glob
  • 0.0.17 feature: changing named index drops & re-adds it
  • 0.0.16 1ab5ec9 bugfix: --initial mode wasn't reading the glob (abs paths for globs broke this)
  • 0.0.15 12a79e8
    • bugfix: fix order of drop/add constraint in some modify key cases
    • feature: support dropping unique constraint on a column
    • bugfix: fix case where primary key parser gets tricked by other keywords at the end of the create table statement
  • 0.0.14 3d846fa feature: add, drop and change primary key
  • 0.0.13 b861ea0 bugfix: throw an error when 'partition by' changes rather than incorrect empty diff
  • 0.0.12 4d43251 bugfix: support separate primary key () tuple in create table
  • 0.0.11 6c4b8e9 feature: --opaque flag for resolving messy git histories
  • 0.0.10 b2b707c
    • bugfix: permit invocations outside repo root; fix in 0.0.5 fixed the crash but didn't make glob relative
    • near-breaking change: automigrate_meta new columns, you have to pass --update-meta the first time this runs or do automig HEAD...HEAD . --update-meta
    • version bump: automigrate_meta_meta version 3
  • 0.0.9 4f95864 bugfix: support jsonb and array types in alter parser
  • 0.0.8 7e782ba feature: drop & alter column
  • 0.0.7 72cecac bugfix: --initial was broken by streams fix in 0.0.3
  • 0.0.6 6c40716 bugfix: ignore comments
  • 0.0.5 e66fc1e bugfix: search_parent_directories so you don't have to run from repo root
  • 0.0.4 4de552e bugfix: 0.0.3 didn't bundle VERSION file correctly, crashed on load
  • 0.0.3 532c021
    • bugfix: data_stream property in gitpython throws funky traceback when created from more than one blob & then read; so read stream proactively
    • BROKEN, do not use
  • 0.0.2 53149ef bugfix: treat newlines correctly as whitespace in create table stmts
  • 0.0.1 3a3bfd0 initial release