Skip to content

Pistachio

v0.10.0 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

Published 3mo Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

cli database-migration database-migrations db-migration ddl declarative
+7 more
declarative-migrations go postgresql schema-changes schema-management schema-migration schema-migrations

Summary

AI summary

Rename directives now normalize identifiers and handle self‑renames gracefully.

Full changelog

Changelog

  • 00a5e8094450a12625f9fe84c88d612fe02d6059 Merge pull request #46 from winebarrel/support-rename
  • 74c6988b5add7773785a1d73f0b8a7b8caf0b7c3 Fold unquoted identifiers to lowercase in directive normalization
  • 7303e4cf54bfd8500069cd5eca6f59a5cd114565 Propagate errors from updateIndexTableName/updateIndexName and wrap diff errors
  • 4a21f4a32067337c6e56fa9f658c5e79afcd7f07 Add tests for whitespace-only directive and spaces around dot
  • 1a4fed8fa37f924d3731b603cd94efaef8a4858e Trim whitespace in directive values and splitQualifiedName parts
  • 2694856259b60abaffb97f6c6d9b8a56c1ab7f76 Skip self-renames (oldName == newName) in all rename detectors
  • d929cbebe37550556ce2ad9ea8d915614976ef8b Add integration test for simultaneous table and column rename
  • 56ac0414e4bf44656fb0bbd0e978be0d3e01edff Add integration test for simultaneous table and FK rename
  • 0c429d5486670ad32d63bb0aa1b93f60c7cbd5e1 Add integration test for simultaneous table and index rename
  • 585c80a0c914d81a5f23f924033d71d883f99d14 Document known limitations of rename for dependent objects
  • e3e1a5d543b77b6ea3c6f73233b112347cab34da Add destination-exists checks for constraint/index/FK renames and fix edge cases
  • 7944d9ec9d5e1dc34c327a6df9b81689484e5b80 Add destination-exists error tests for table, column, and view renames
  • d740d63bd0856bb6746276d0f34fbbd99481ba13 Address Copilot review: destination check, pg_query index update, identifier normalization
  • 72ac38c878ab19b325412d4224ef2f777e008219 Add tests for table rename with index/FK and cross-schema rename errors
  • 2e4ed7d8d4177d651046f044dabeaf1dfcbbd9d1 Address Copilot review comments on rename feature
  • 8d481931e65661ca72eb8ae94fe6a07167af13ce Add tests for QualifyRenameFrom and schema-less rename directives
  • 62dee71d1bcace65f26aa6d4bdd61f7a8ca1b19b Qualify schema-less rename-from directives with default schema
  • f6df5aea40deefdd842e3684b735a0ba668fb42e Normalize quoted identifiers in rename-from directives
  • 572c35d5086423034770e1cb2142983b59e89085 Add diffTable error path tests for full coverage
  • 73dc0bcd0f341941c7172776a68432c8ea14e989 Add parser rename directive tests to improve coverage
  • 056abc5626e504c8212c18f6d6d1f29599fab274 Update README to document rename directive support
  • 08edd8374b1905a1e1bdc3464248982586d66876 Add rename test cases for all object types
  • 1190205960d1cf312307b643904f68cef5f94fec Add rename directive support (-- pist:rename-from)

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

Track Pistachio

Get notified when new releases ship.

Sign up free

About Pistachio

All releases →

Related context

Beta — feedback welcome: [email protected]