Skip to content

Pistachio

v0.22.0 Feature

This release adds 1 notable feature 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

Affected surfaces

rce_ssrf breaking_upgrade

Summary

AI summary

Adds the -- pist:execute directive to allow arbitrary SQL execution.

Full changelog

Changelog

  • c977e1d002d18e9081fa631d259b2f0a7f3018cd Merge pull request #91 from winebarrel/validate-directives
  • 2ba01dede46b8512ef3ae9ec68f2d27faac95f02 Address Copilot review: validate directives before parse, catch edge cases
  • 76407baeaa0b86830cbfd0dbc3b407ed318d38d0 Reject unknown -- pist: directives with an error
  • e2ee2842e9dc6ca085f6bb8acf39251c825ff100 Merge pull request #90 from winebarrel/add-omit-schema-view-test
  • 1935b17eb12c60c61cbf0b6718ef514aac986aa5 Use non-default schema in omit-schema view definition test
  • 1e470474cbb1b7320aac399614f757df582025ee Improve omit-schema view test to check definition content
  • b8c98b8aed07477b2d2678b95c705261368d0b03 Add omit-schema View dump test
  • 1186ef0992b8af974326d1e160fb8b57f0cad8e0 Merge pull request #89 from winebarrel/add-execute-directive
  • bae101dcc92ef20ea84286f851d1438c1f2c4c1e Strip trailing semicolon from check SQL
  • 46d04ab7e3e7daa699c1f1280d30e062b109c9bc Quote schema names in SET search_path
  • 9aefcfd07a47eb110f22060d6ea36b7d54672a9d Use SET instead of SET LOCAL for search_path
  • 864d892e5f326030f157aca5e88dd330dca7d603 Move search_path from connection-time to execute-time
  • b2e86b87dd8d680d95ba91e12e671e52cfda020e Ensure execute statement output ends with semicolon
  • dee7ac8f8f49117ca43baa0849e0d7364b9c43d7 Add test for schemaless function in execute directive
  • b60659e98d42d097caedc18857424c696444cd2d Set search_path from remapped schemas at connection time
  • 4f4da00fd43f8658814bd98e8a2bdc1ba3036b36 Address Copilot review feedback on execute directive
  • 51b4374c6328e1bdb349fe47069d55e1d4de4d68 Add WithTx and execute-only apply tests for coverage
  • ed8138b2aadb6a94649c6a7e409ded0dd3f0ef8c Add missing execute directive test cases
  • b9b7ea41a3e1ac1711daa1c2497aa087918cdba6 Add -- pist:execute directive for arbitrary SQL execution

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]