Releases: pgsty/pig
Releases · pgsty/pig
pig-v1.1.1
Changelog
- 3d80959 fix(build): preserve symlink semantics and support cross-device migration
- 0615919 fix(postgres): handle log-dir root path safely in log file resolver
- 1e3b260 fix(repo): allow rm for dotted module names with safe path checks
- 1705d48 fix(sty): allow safe relative symlinks during init extraction
- b794137 v1.1.1
pig-v1.1.0
This release focuses on an Agent-native architecture upgrade from v1.0.0 to v1.1.0.
Add 7 new extensions, now provide 451 extensions.
New Features
- Introduce unified structured output with global
--output(text,yaml,json,json-pretty) across major command groups. - Add ANCS (Agent Native Command Schema) metadata for commands, including machine-readable capability/risk semantics.
- Add
pig context(pig ctx) for one-shot environment snapshot (host, PostgreSQL, Patroni, pgBackRest, extensions). - Expand
--planmode for risky operations:pig ext add/rm --planpig pg stop/restart --planpig pt switchover/failover --plan- aligned with
pig pitr --plan/--dry-run
- Improve structured result coverage for
ext/repo/pg/pt/pb/pitr/status/version/context, with stable status codes. pig pb infonow embeds native pgBackRest info JSON in structured output.- Add legacy structured-output wrapper for existing command groups (
pg_exporter,pg_probe,do,sty) for better automation compatibility. - Routine extension catalog updates, including several Rust extension updates.
- Update pigsty version to v4.1.0
Extension Update
| Extension | Old | New | Comment |
|---|---|---|---|
| timescaledb | 2.24.0 | 2.25.0 | |
| citus | 14.0.0-2 | 14.0.0-3 | Official tag release |
| pg_incremental | 1.2.0 | 1.4.1 | |
| pg_bigm | 1.2-20240606 | 1.2-20250903 | |
| pg_net | 0.20.0 | 0.20.2 | libcurl too old on ubuntu22/el8/el9 |
| pgmq | 1.9.0 | 1.10.0 | Fix dependency issues |
| pg_textsearch | 0.4.0 | 0.5.0 | |
| pljs | 1.0.4 | 1.0.5 | |
| sslutils | 1.4-1 | 1.4-2 | el8.pg18 fails to compile |
| table_version | 1.11.0 | 1.11.1 | |
| supautils | 3.0.2 | 3.1.0 | |
| pg_math | 1.0 | 1.1.0 | |
| pgsentinel | 1.3.1 | 1.4.0 | |
| pg_uri | 1.20151224 | 1.20251029 | |
| pgcollection | 1.1.0 | 1.1.1 | Patch fix for concurrent build issue |
| pg_readonly | 1.0.3 | 1.0.4 | |
| timestamp9 | 1.4.0-1 | 1.4.0-2 | Rebuild to fix dependency issue |
| pg_uint128 | 1.1.1 | 1.2.0 | |
| pg_roaringbitmap | 0.5.5 | 1.1.0 | Handed over to PGDG |
| plprql | 18.0.0 | 18.0.1 | |
| pglinter | 1.0.1 | 1.1.0 | |
| pg_jsonschema | 0.3.3 | 0.3.4 | |
| pg_anon | 2.5.1 | 3.0.1 | |
| vchord | 1.0.0 | 1.1.0 | Updated to pgrx 0.17.0 |
| pg_search | 0.21.4 | 0.21.6/0.21.7 | RPM 0.21.7 (manual build for el8), DEB 0.21.6 |
| pg_graphql | 1.5.12-1 | 1.5.12-2 | Switch to official release |
| pg_summarize | 0.0.1-2 | 0.0.1-3 | Rebuild to fix pg18 issue |
| nominatim_fdw | - | 1.1.0 | New, synced with PGDG YUM |
| pg_utl_smtp | - | 1.0.0 | New, synced with PGDG YUM |
| pg_strict | - | 1.0.2 | New Rust extension |
| pg_track_optimizer | - | 0.9.1 | New extension |
| pgmb | - | 1.0.0 | New extension |
Bug Fixes
- Fix panic in
pig build proxywhen parsing malformed proxy addresses. - Fix path traversal risk in
pig pg logfile access. - Harden installer/repo path handling and quoting behavior.
- Fix build pipeline error propagation and non-zero exit behavior for download/build failures.
- Fix false DEB build failures caused by
pg_vermismatch. - Fix
repo add/set/rmto return proper non-zero status when cache update fails. - Fix
ext/repo reloadwith quiet mirror fallback. - Fix extension update behavior (explicit-only update + status drift issues).
- Fix
ext importto download requested DEB packages into target repo directory.
Changelog
- b273aff Add structured output for status/version and adjust IO
- 8c76a83 Standardize structured results for ext/repo/pitr
- b324a8f add --pkg option to print pkg name instead
- 73a8c7d add YAML and JSON renderers for Result
- 35f3aac add avail matrix into ext data
- 5eaac2c add internal/output package for unified result and status code
- d8c22b6 add more command to pig postgres
- 3ba2fe5 add new subcommand pgbackrest/postgres/patroni
- eb05a30 add new subcommand pitr
- 3f0149f add pig pg role sub command
- 310e45c add pig pg sub command stub
- 1d44c28 allow using mirror in pig build sub command
- a22ddfc ancs: normalize parsing and improve schema output
- 0eae347 build(deb): avoid false failures from pg_ver mismatch
- f8be6c0 build: make pkg/get fail correctly on download errors
- 6a0bf08 build: propagate extension build failures
- eaadbea bump extension catalog to 451 ext
- 3bd468d bump extension with pig 0.9.1
- 256e87f bump go deps to the latest version (1.25.6)
- e12eb75 bump go to 1.25.7
- b624098 bump golang to 1.26.0
- f35bce0 bump version string to 1.0.0
- 09ea7c5 bump version string to 1.1.0
- c6af7ad bump version string to the latest
- 344776d chore(cli): apply small simplifications and remove empty files
- cbea93a chore(cmd): add ANCS annotations to utility command groups
- 88ccdd6 ci: add vet staticcheck and deadcode checks
- d581b38 cmd(build): clarify mirror flag help
- 9573883 cmd/repo: add ANCS metadata and structured output routing
- bd8f20b cmd: reduce boilerplate for annotations and legacy wrappers
- 4bf7fb1 config: refactor env detection and license init
- 79d1f23 enhance Result with nil safety and String() method
- dbca98e enhance pg and pt commands with security and usability improvements
- d79dd60 ext/import: download requested DEBs into repo dir
- 32a3278 ext: align plan output with --yes and version pins
- 17e4890 ext: enforce structured output error handling
- e1ef2a1 ext: make update explicit-only and fix status drift
- 1887f9a ext: slim package ops and extension scanning
- c96bbab feat(ancs): add Agent Native Command Schema package
- 7b04581 feat(cli): add --output flag and ANCS help integration
- 0af7f23 feat(cmd): unify legacy structured output handling across commands
- 5763722 feat(cmd/ext): integrate structured output and ANCS annotations
- 0ae9e84 feat(config): add output format constants and global setting
- 5b95799 feat(context): add environment snapshot command for agent workflows
- 935646d feat(core): harden structured output runtime and schema helpers
- 67f57d2 feat(ext): add structured output for add/rm/update commands
- f46e90f feat(ext): add structured output for import/link/reload commands
- 9706f06 feat(ext): unify command output on Result DTOs and add plan preview
- dff0deb feat(output): add extension module error codes
- b2dd8a9 feat(output): complete Epic 1 - unified output framework
- 6d818f1...
pig-v1.0.0
This release introduces three major new subcommand groups (pig pg, pig pt, pig pb) for managing PostgreSQL, Patroni, and pgBackRest, along with an orchestrated PITR command and enhanced extension availability display.
New Commands
-
pig pg- PostgreSQL instance managementpg start/stop/restart/reload- Control PostgreSQL servicepg status/log/ps/conf/hba- View instance status and configurationpg psql- Launch psql consolepg role- Detect instance role (primary/replica)pg promote/checkpoint/vacuumdb- Maintenance operations
-
pig pt- Patroni cluster managementpt list/config- View cluster status and configurationpt restart/reload/reinit- Manage cluster memberspt switchover/failover- Cluster failover operationspt pause/resume- Control automatic failoverpt start/stop/status/log- Patroni service management
-
pig pb- pgBackRest backup managementpb info/ls- View backup informationpb backup/restore/expire- Backup operationspb create/upgrade/delete- Stanza managementpb check/start/stop/log- Control operations
-
pig pitr- Orchestrated Point-In-Time Recovery- Automatic Patroni/PostgreSQL coordination
- Multiple recovery targets: time, LSN, XID, restore point
- Dry-run mode and post-recovery guidance
New Features
- Add availability matrix to
pig ext availandpig ext ls
Improvements
- Unified command aliases across pg/pt/pb commands
- Standardized error message format
- Code refactoring and cleanup
Bug Fixes
- Fix missing UTIL extension category
Checksums
306637079e942bcac9ccbc089cd09a80051898f8db1630269bb1acd3fbdaa872 pig-1.0.0-1.aarch64.rpm
d2b9440410f00efbca174d63b507c39d97fc55f402d8e9290ee054c1b1c6414c pig-1.0.0-1.x86_64.rpm
c8a169e48a8168ee03db508ca2edc22b56ecf6997bae924e9023796ab7ae4e62 pig-v1.0.0.darwin-amd64.tar.gz
c0996037bfeffeae241b545e69d46c06e7fec2d7d456885229f3af9a7f9ea2f8 pig-v1.0.0.darwin-arm64.tar.gz
13837c6f2379edf965888bad9e373e69f70cb72e8428bca18c2c804e2bd879f6 pig-v1.0.0.linux-amd64.tar.gz
08207dfedd6f72745631596a3d3293de65cc12e1544956a643d1da2165d2c876 pig-v1.0.0.linux-arm64.tar.gz
a543882aa905713a0c50088d4e848951b6957a37a1594d7e9f3fe46453d5ce66 pig_1.0.0-1_amd64.deb
4cd6ec54261b09025c12e9c56bcc0cd3c11779ea0e8becdbd4f901cf2e7c8995 pig_1.0.0-1_arm64.debRelease: https://github.com/pgsty/pig/releases/tag/v1.0.0
Changelog
- b324a8f add --pkg option to print pkg name instead
- 35f3aac add avail matrix into ext data
- d8c22b6 add more command to pig postgres
- 3ba2fe5 add new subcommand pgbackrest/postgres/patroni
- dc8f343 add new subcommand pitr
- 3f0149f add pig pg role sub command
- 310e45c add pig pg sub command stub
- 1d44c28 allow using mirror in pig build sub command
- 3bd468d bump extension with pig 0.9.1
- 256e87f bump go deps to the latest version (1.25.6)
- f35bce0 bump version string to 1.0.0
- dbca98e enhance pg and pt commands with security and usability improvements
- e8b4c01 feat: add availability matrix to pig ext avail
- e8a26c5 feat: enhance pig ext ls status with avail matrix
- 146d6ae fix pig ext scan duplicate extension
- fb74fef fix pig pg ps SQL syntax and add sudo fallback for log commands
- 7abad69 fix the default patroni file path
- 3cd1d94 fix the missing UTIL extension categroy
- 72141d3 optimize pgbackrest command
- 6343d83 optimize pig ext info sub command output
- f5cdcaf refactor pig patroni command with subcommands
- 77287bc refactor subcommand and internal utils
- a073958 routine extension update
- a86e71a routine update extension list
pig-v0.9.0
- Refactor command
pig sty installtopig sty deploy - Add new parameters to command
pig sty confto align with theconfigurescript - Add llvmjit package to the pgsql-full alias
Changelog
pig-v0.8.1
pig-v0.8.0
Extension Update
- 440 extensions
- new extension: pg_ai_query : 0.1.1
- new extension: pg_textsearch : 0.1.0
- new extension: pg_clickhouse : 0.1.0
- bump pg_bsicuit from 1.0 to 2.0.1 (switch to new repo, rename to biscuit)
- bump pg_search from 0.20.3 to 0.20.5
- bump pg_duckdb to the official 1.1.1 release
- bump vchord_bm25 from 0.2.2 to 0.3.0
- bump pg_semver from 0.40.0 to 0.41.0
- bump pg_timeseries from 0.1.7 to 0.1.8
- bump pigsty version to 4.0.0
Repository Update
- remove pgdg yum sysupdate repo due to upstream change
- remove pgdg yum llvmjit packages due to upstream change
- fix el9.aarch64 patroni 3.0.4 duplicate package issue
- add priority to el repo definition and skip if unavailable for docker repo
- add epel 10 / pgdg 9/10 os minior version hot fixes
- fix debian/ubuntu pg18 extension: supautils, pg_summarize , pg_vectorize, pg_tiktoken, pg_tzf, pglite_fusion, pgsmcrypto, pgx_ulid, plprql
Checksums
e457832fb290e2f9975bf719966dc36e650bdcbf8505d319c9e0431f4c03bc9e pig-0.8.0-1.aarch64.rpm
c97b1bfdd7541f0f464cab0ecc273e65535c8dd2603c38d5cf8dccbf7e95b523 pig-0.8.0-1.x86_64.rpm
d892f06d3d3b440671529f40e6cc7949686e0167e2a4758adc666b8a3d75254d pig-v0.8.0.darwin-amd64.tar.gz
222413bafdf5a62dc682dac32ea1118cbc34ec3544e2a1b85076ec450b9cc7ae pig-v0.8.0.darwin-arm64.tar.gz
d50aa9806bbab8fee5ad9228e104fc9e7ead48729228116b5bf889000791fedc pig-v0.8.0.linux-amd64.tar.gz
d2f410f7b243a8323c8d479f462a0267ac72d217aa4a506c80b5a9927d12dff8 pig-v0.8.0.linux-arm64.tar.gz
4ccd330a995911d4f732e8c9d62aa0db479c21c9596f64c4bc129ec43f156abe pig_0.8.0-1_amd64.deb
5cb9eccce659110f3ba58e502575564bd6befffd51992a43d84df5a17f8eb8a0 pig_0.8.0-1_arm64.debpig-v0.7.5
pig-v0.7.4
pig-v0.7.3
Changelog
- faf6311 add nginx / timescaledb debian 13 repo
- e379f76 add python3-etcd to patroni alias in debian/ubuntu systems
- 3a70b87 bump pigsty version to 3.7.0
- d3afdfc feat: add pig repo reload command
- 8475530 fix pgdg sysupdate aarch64 repo
- c0c2306 fix: Handle EL10 aarch64 pgdg repo $releasever substitution
- 1b630ce rollback rhel-10.0-aarch64 repo adhoc logic
- 5dfabb1 routine extension update
- c687521 v0.7.3 release
pig-v0.7.2
Changelog
- 93dfb64 add llvm apt repo to the repo list
- 47dc323 add pgdg-el10fix repo to the default repo list
- 6d1a434 bump dev version string to 0.7.2
- 700ecdc bump go deps to the latest version to fix security issue
- 2bc0ede bump pgdg extension version to the latest version
- bb2dd17 reload pgext catalog when running pig build command
- c62faf6 routine extension list version update
- 38ca0b5 routine extension update
- 5893b3a v0.7.2