Download Latest Version v0.14.1 source code.tar.gz (600.7 kB)
Email in envelope

Get an email when there's a new version of pgroll

Home / v0.12.0
Name Modified Size InfoDownloads / Week
Parent folder
pgroll_0.12.0_checksums.txt 2025-05-09 427 Bytes
pgroll.macos.amd64 2025-05-09 25.9 MB
pgroll.linux.amd64 2025-05-09 26.3 MB
pgroll.linux.arm64 2025-05-09 25.0 MB
pgroll.macos.arm64 2025-05-09 24.8 MB
pgroll.win.amd64.exe 2025-05-09 46.4 MB
README.md 2025-05-09 2.6 kB
v0.12.0 source code.tar.gz 2025-05-09 580.1 kB
v0.12.0 source code.zip 2025-05-09 716.6 kB
Totals: 9 Items   149.6 MB 0

:zap: Highlights

  • :ringed_planet: New command: create to create migrations interactively
  • :water_buffalo: New flag --verbose is added to migrator commands (start, complete, rollback and migrate)
  • :bamboo: pull fetches only migrations that do not exist in the target migrations folder
  • Read the release blog post for more details: https://pgroll.com/blog/pgroll-0-12-0-update

:red_circle: Breaking changes

  • migrate command no longer fails if there is an ongoing migration in your database
  • pull command outputs migration files in YAML instead of JSON. If you want to stick with JSON files, set the flag --json

Thank you for reporting issues and suggesting improvements! * @hibnico

Changelog

  • [49bf50] Add an extra test case for missing local migrations (#818)
  • [a8ab93] Add documentation for create subcommand (#820)
  • [b77c05] Add logger interface for migrations and implement it (#807)
  • [34c19a] Add new command: create to add new migrations (#815)
  • [924960] Add new guide to documentation: Use pgroll with ORMs (#816)
  • [94a5e7] Add new page to documentation titled "Why use pgroll?" (#806)
  • [0acb63] Add verbose logging (#804)
  • [ecdc59] Bump github.com/testcontainers/testcontainers-go from 0.36.0 to 0.37.0 (#802)
  • [b74a55] Bump github.com/testcontainers/testcontainers-go/modules/postgres from 0.36.0 to 0.37.0 (#803)
  • [07c6ff] Bump golang.org/x/tools from 0.31.0 to 0.32.0 (#792)
  • [0d3f57] Bump golang.org/x/tools from 0.32.0 to 0.33.0 (#813)
  • [e028d2] Default pgroll pull to write in YAML format and add a --json flag (#810)
  • [8db5ad] Extract Concepts to left menu (#797)
  • [481e5a] Extract Installation to the left menu (#796)
  • [fcf713] Fix formatting of log message args in verbose mode (#817)
  • [f1c780] Idempotent migrate command (#805)
  • [d697c7] Implement dropping indexes as DBAction (#793)
  • [07ba13] Implement dropping tables as DBAction (#794)
  • [542db4] Make pgroll pull and pgroll migrate command able to handle incompatible migration file formats (#812)
  • [dc239e] Make pgroll pull pull only migrations that don't exist in target directory (#811)
  • [7f979f] New constraint type in create_constraint: primary_key (#698)
  • [7669ae] Remove name field from all examples (#801)
  • [02b1da] Remove duplicated initialization checks across subcommands (#819)
  • [0044c1] Remove section about client application from front page of the docs (#808)
  • [445696] Rewrite the front page of the docs (#809)
  • [55cf3a] Update pg_query_go dependency to fix compilation on MacOS 15.4 (#799)
Source: README.md, updated 2025-05-09