pig v1.9.0
Pig v1.9.0 adds one-command Xray client/server setup, automatic Pigsty repository-key
preparation, and a refreshed 600-entry extension catalog. The default cargo-pgrx
version is now 0.19.3; the embedded Pigsty version remains 4.5.0.
Xray clients and servers
pig build proxyinstalls or verifies Xray.pig build proxy clientconfigures a VLESS/REALITY/Vision HTTP/SOCKS client;pig build proxy serverconfigures a Linux server. Linux uses systemd; the macOS client uses a dedicated user LaunchAgent.- Client input accepts a standard VLESS URI,
--from FILE/-, or explicit connection flags. The first client listener is127.0.0.1:12345; the first direct server listener is0.0.0.0:443. Repeated setup preserves existing listeners and server credentials. - Matching configuration, ownership, permissions, and service state avoid rewrites and
restarts. Failed client connectivity checks restore prior managed files and service state.
Replacing a different client requires
--replace --yes;--planpreviews either role. server --export-only --host HOST --export -exports an existing connection without changing the deployment. File exports use mode0600; explicit stdout export requires text output. Ordinary results and plans omit credentials. The historical VMess positional form remains available through V2Ray.
Run the server command on the server, then transfer client.uri securely to the client and run
the client command there. See pig build for prerequisites and macOS setup.
Repository keys
repo add,repo set, andsty bootprepare the embedded Pigsty public key when selected repositories need it. Existing regular key files are reused; missing defaults are installed offline at/etc/pki/rpm-gpg/RPM-GPG-KEY-pigstyor/etc/apt/keyrings/pigsty.asc.- Implicit default-key failure emits a warning and falls back only for selected Pigsty
definitions. Default key references remain stable, including APT
signed-by. - Explicit signing-key references are mandatory: invalid or unavailable keys fail before
repository replacement or cache refresh. EL imports explicit references with
rpm --import. Selecting unrelated repositories does not prepare the Pigsty key.
See pig repo for signature-enforcement
defaults and the distinction between key preparation and metadata refresh.
Catalog and build defaults
- The embedded catalog contains 600 entries, adding 22 entries to the v1.8.1 snapshot.
New entries include
edtf_postgres,plphp,pg_lexo,pg_money,istore,colnames,pg_statkit,pgtelemetry,pg_rusage,pgexporter_ext,pg_statvfs, andlibx509pq. Package versions and platform-availability metadata are refreshed as well. - The catalog total includes retained lifecycle records. Installability depends on each
extension’s state and OS/architecture/PostgreSQL matrix. Use
pig ext avail NAMEto check a target. pig build pgrxdefaults tocargo-pgrx 0.19.3. An explicit-vand extension-specific catalog metadata continue to select another required version.- Platform debug packages remain enabled by default, as in v1.8.1. Use
--nodbgfor RPMdebuginfo/debugsourceand DEBdbgsymsuppression;-s|--symbolis a deprecated no-op.
Compatibility
No existing command or flag is removed. New Xray role commands use VLESS/REALITY/Vision; existing positional VMess commands retain their V2Ray behavior. Server setup checks the local listener and service. Configure the firewall, cloud security group, and any Nginx frontend for the chosen public port, then verify the connection from the client.
Verification
The verified v1.9.0 tag points to
9eb5488. The exact commit passed
full CI, including randomized tests,
command race regressions, vet, static analysis, vulnerability scanning, and a release snapshot.
The Release workflow produced eight
Linux/macOS archives and RPM/DEB packages. Published downloads were verified against SHA-256.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.9.0-1.aarch64.rpm Linuxarm64SHA-256 | d0d80bd2…180f |
|
| pig-1.9.0-1.x86_64.rpm Linuxamd64SHA-256 | e3b25640…6a7c |
|
| pig-v1.9.0.darwin-amd64.tar.gz macOSamd64SHA-256 | d7eb266e…cab9 |
|
| pig-v1.9.0.darwin-arm64.tar.gz macOSarm64SHA-256 | 09628457…8824 |
|
| pig-v1.9.0.linux-amd64.tar.gz Linuxamd64SHA-256 | a4b5ffca…afd2 |
|
| pig-v1.9.0.linux-arm64.tar.gz Linuxarm64SHA-256 | ddfa80fb…8def |
|
| pig_1.9.0-1_amd64.deb Linuxamd64SHA-256 | 3d955a24…d93a |
|
| pig_1.9.0-1_arm64.deb Linuxarm64SHA-256 | c175b375…1471 |