Skip to content

Commit 80c7cf8

Browse files
committed
release: publish pig v1.7.0
1 parent 88e31d2 commit 80c7cf8

18 files changed

Lines changed: 276 additions & 71 deletions

content/blog/release/pig-1.6.2.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "pig v1.6.2"
3+
linkTitle: "v1.6.2"
4+
date: 2026-08-11
5+
author: "Ruohang Feng"
6+
description: "572 packaged extensions, Grafana dashboard schema v2, and SOW-first local repository generation."
7+
categories: [release]
8+
tags: [Release, pig]
9+
weight: 5
10+
---
11+
12+
Pig `v1.6.2` is a feature and catalog release on top of [v1.6.1](/release/pig-1.6.1/). It grows the packaged extension catalog from 562 to 572, adds native Grafana dashboard schema v2 support, and improves local repository generation. The embedded Pigsty version remains locked at `4.5.0`.
13+
14+
## Highlights
15+
16+
- `pig sty grafana` now accepts both legacy dashboard JSON and native `dashboard.grafana.app/v2` Dashboard resources. Loading a v2 dashboard uses Grafana's resource API so tabs and section variables survive the round trip; dumping preserves an existing v2 destination while new dumps keep the legacy format by default.
17+
- `pig repo create` now prefers `sow create --pigsty --timeout 10m -- <dir>` when SOW is available, requires the resulting `repo_complete` marker to exist as a regular file, and falls back to `createrepo_c` / `dpkg-scanpackages` on Linux.
18+
- Local repository creation now works on macOS through SOW, defaults to the current directory there, and does not require `sudo`. The Linux default remains `/www/pigsty`.
19+
- Release metadata is bumped to `1.6.2`; the embedded Pigsty version stays at `4.5.0`.
20+
21+
## Extension Catalog
22+
23+
- Packaged extensions: **562 -> 572**, with no removals.
24+
- 10 new extensions: `pg_turbovec`, `pg_disorder`, `pg_mentat`, `plruby`, `jsonb_plruby`, `hstore_plruby`, `ltree_plruby`, `pg_describe`, `cat_tools`, and `pg_vault_tde`.
25+
- 12 version refreshes: `timescaledb 2.29.1`, `q3c 2.0.5`, `pgmnemo 0.16.1`, `pg_search 0.25.1`, `citus 14.2.0`, `citus_columnar 14.2.0`, `provsql 1.12.0`, `plpgsql_check 2.10.4`, `pg_rational 0.0.3`, `pgbson 2.1.0`, `pg_readme 0.7.1`, and `pg_readme_test_extension 0.7.1`.
26+
- Package metadata and availability matrices are refreshed. Run `pig ext reload` to replace the embedded release snapshot with the latest online catalog.
27+
28+
## Compatibility Notes
29+
30+
- No commands or global flags are removed in this release.
31+
- When SOW is installed, `pig repo create` now prefers it over the legacy Linux generators and checks that the completion marker exists before reporting success.
32+
- The catalog count is not a promise that every package is available on every PostgreSQL / OS / architecture combination; use `pig ext avail NAME` on the target host.
33+
- Package-manager and install-script upgrades use the newest version published by the configured Pigsty repository, which may lag GitHub. Use the GitHub assets when you need this exact release.
34+
35+
## Checksums
36+
37+
Artifacts: [GitHub Release](https://github.com/pgsty/pig/releases/tag/v1.6.2) · [checksums.txt](https://github.com/pgsty/pig/releases/download/v1.6.2/checksums.txt)
38+
39+
```bash
40+
6697a96bbf476e697a5c3da8b6c861719e4b7208e1e4fe927cf4b475ea1f162f pig-1.6.2-1.aarch64.rpm
41+
ad0b311867bc6cd689dd73e9a96b84f1fe0f49f6c0f1184abf9eb3232a07a184 pig-1.6.2-1.x86_64.rpm
42+
bb167e04fceb6cebee5c8a2423279cefb4474f46301a5055c464ac98294dc9db pig-v1.6.2.darwin-amd64.tar.gz
43+
3de74e33321884a0c36596c1e7df9370be594a315395538e9ba5b775bbc1a79d pig-v1.6.2.darwin-arm64.tar.gz
44+
7b69214e115e6815e772b7e179aa4070bd8553e585b164ba3a0f69a1d53a0294 pig-v1.6.2.linux-amd64.tar.gz
45+
b511e727642987867be5921d72e8019e9c6186b82e63ddc34ad653773abed5a8 pig-v1.6.2.linux-arm64.tar.gz
46+
3d1a80b833c6179b84ac5cc590ad06695b187b2bb4a09f544b1a14f9684dc4bc pig_1.6.2-1_amd64.deb
47+
00e4c84cd6b07a98401c73fb58dedaafe34bc794d7604edbcb76c5de39b0fb44 pig_1.6.2-1_arm64.deb
48+
```
49+
50+
Release: https://github.com/pgsty/pig/releases/tag/v1.6.2
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "pig v1.6.2"
3+
linkTitle: "v1.6.2"
4+
date: 2026-08-11
5+
author: "冯若航"
6+
description: "572 个已打包扩展、Grafana 仪表盘 schema v2,以及 SOW 优先的本地软件仓库生成。"
7+
categories: [release]
8+
tags: [Release, pig]
9+
weight: 5
10+
---
11+
12+
Pig `v1.6.2`[v1.6.1](/zh/release/pig-1.6.1/) 之上的功能与目录更新版本:已打包扩展从 562 个增加到 572 个,新增 Grafana 仪表盘 schema v2 原生支持,并改进本地软件仓库生成流程。内置 Pigsty 版本继续锁定为 `4.5.0`
13+
14+
## 主要变化
15+
16+
- `pig sty grafana` 现在同时支持传统仪表盘 JSON 与原生 `dashboard.grafana.app/v2` Dashboard 资源。载入 v2 仪表盘时使用 Grafana resource API,确保标签页与 section 变量可以完整往返;导出到现有 v2 文件时保持 v2 格式,新文件默认仍使用传统格式。
17+
- `pig repo create` 在 SOW 可用时优先执行 `sow create --pigsty --timeout 10m -- <dir>`,要求生成的 `repo_complete` 完成标记存在且为普通文件;Linux 上仍可回退到 `createrepo_c` / `dpkg-scanpackages`
18+
- macOS 现在可通过 SOW 创建本地软件仓库,默认使用当前目录且无需 `sudo`;Linux 默认目录仍为 `/www/pigsty`
19+
- 发布元数据升级到 `1.6.2`,内置 Pigsty 版本保持 `4.5.0`
20+
21+
## 扩展目录
22+
23+
- 已打包扩展数量从 **562** 增加到 **572**,没有移除项。
24+
- 新增 10 个扩展:`pg_turbovec``pg_disorder``pg_mentat``plruby``jsonb_plruby``hstore_plruby``ltree_plruby``pg_describe``cat_tools``pg_vault_tde`
25+
- 更新 12 个扩展版本:`timescaledb 2.29.1``q3c 2.0.5``pgmnemo 0.16.1``pg_search 0.25.1``citus 14.2.0``citus_columnar 14.2.0``provsql 1.12.0``plpgsql_check 2.10.4``pg_rational 0.0.3``pgbson 2.1.0``pg_readme 0.7.1``pg_readme_test_extension 0.7.1`
26+
- 刷新软件包元数据与可用性矩阵;运行 `pig ext reload` 可以用最新在线目录替换内置的发布快照。
27+
28+
## 兼容性提醒
29+
30+
- 本版本没有移除命令或全局参数。
31+
- 安装 SOW 后,`pig repo create` 会优先使用 SOW 而非传统 Linux 生成器,并在报告成功前检查完成标记是否存在。
32+
- 目录总数不代表每个包都适用于所有 PostgreSQL / 操作系统 / 架构组合;请在目标主机上使用 `pig ext avail NAME` 查看实际可用矩阵。
33+
- 包管理器与安装脚本会使用配置的软件仓库中已经发布的最新版本,可能晚于 GitHub;需要精确获取本版本时请使用 GitHub 制品。
34+
35+
## 校验和
36+
37+
制品:[GitHub Release](https://github.com/pgsty/pig/releases/tag/v1.6.2) · [checksums.txt](https://github.com/pgsty/pig/releases/download/v1.6.2/checksums.txt)
38+
39+
```bash
40+
6697a96bbf476e697a5c3da8b6c861719e4b7208e1e4fe927cf4b475ea1f162f pig-1.6.2-1.aarch64.rpm
41+
ad0b311867bc6cd689dd73e9a96b84f1fe0f49f6c0f1184abf9eb3232a07a184 pig-1.6.2-1.x86_64.rpm
42+
bb167e04fceb6cebee5c8a2423279cefb4474f46301a5055c464ac98294dc9db pig-v1.6.2.darwin-amd64.tar.gz
43+
3de74e33321884a0c36596c1e7df9370be594a315395538e9ba5b775bbc1a79d pig-v1.6.2.darwin-arm64.tar.gz
44+
7b69214e115e6815e772b7e179aa4070bd8553e585b164ba3a0f69a1d53a0294 pig-v1.6.2.linux-amd64.tar.gz
45+
b511e727642987867be5921d72e8019e9c6186b82e63ddc34ad653773abed5a8 pig-v1.6.2.linux-arm64.tar.gz
46+
3d1a80b833c6179b84ac5cc590ad06695b187b2bb4a09f544b1a14f9684dc4bc pig_1.6.2-1_amd64.deb
47+
00e4c84cd6b07a98401c73fb58dedaafe34bc794d7604edbcb76c5de39b0fb44 pig_1.6.2-1_arm64.deb
48+
```
49+
50+
发布:https://github.com/pgsty/pig/releases/tag/v1.6.2

content/blog/release/pig-1.7.0.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: "pig v1.7.0"
3+
linkTitle: "v1.7.0"
4+
date: 2026-08-12
5+
author: "Ruohang Feng"
6+
description: "Safer EL module handling, refreshed China mirrors, streamlined EL7 compatibility, and 575 packaged extensions."
7+
categories: [release]
8+
tags: [Release, pig]
9+
weight: 1
10+
---
11+
12+
Pig `v1.7.0` is a repository compatibility and catalog release on top of [v1.6.2](/release/pig-1.6.2/). It makes China-mirror selection explicit, preserves native DNF module filtering by default, restores a streamlined EL7 repository catalog, and grows the bundled extension snapshot from 572 to 575. The embedded Pigsty version remains `4.5.0`.
13+
14+
## Highlights
15+
16+
- `-m|--mirror` now selects the bundled `china` repository definitions directly. PGDG, Rocky Linux, Debian, Ubuntu, Docker, and other regional routes use the maintained mirror list instead of the former runtime PGDG proxy rewrite.
17+
- EL repository definitions no longer receive `module_hotfixes=1` globally. Pigsty and PGDG repositories that intentionally override module streams opt in explicitly; BaseOS, AppStream, EPEL, and other repositories retain native DNF module filtering.
18+
- EL7 keeps a deliberately limited compatibility catalog: archived CentOS 7 Base/Updates/Extras/SCLo and EPEL definitions for `x86_64`, plus shared Pigsty and supported PGDG entries. The DNF-only `module_hotfixes` key is stripped when rendering EL7 YUM configuration.
19+
- Repository setup now reports unsupported platforms when the catalog has no matching definitions, instead of continuing with an empty repository set.
20+
- Release metadata is bumped to `1.7.0`; the embedded Pigsty version remains `4.5.0`.
21+
22+
## Extension Catalog
23+
24+
- Packaged extensions: **572 -> 575**, with no removals.
25+
- 3 new extensions: `pg_local_cache 1.2.0`, `pg_statviz 0.1.0`, and `pg_policy 0.1.0`.
26+
- Version refreshes include `biscuit 3.0.0`, `pg_clickhouse 0.10.0`, `pg_search 0.25.2`, `pg_turbovec` packages `1.29.0`, `pg_uuid_v8 1.1.0`, and the Debian `q3c 2.0.5` package.
27+
- Package metadata and availability matrices are refreshed. Run `pig ext reload` when you need a catalog newer than this release snapshot.
28+
29+
## Compatibility Notes
30+
31+
- No commands or global flags are removed in this release.
32+
- `-m|--mirror` is now an explicit China-region selection rather than a PGDG proxy rewrite. Use `--region=default|china|europe` when you need a specific route.
33+
- Custom EL repository definitions that require module-stream overrides must now set `meta.module_hotfixes: 1` explicitly. This setting is intentionally omitted for ordinary OS repositories and removed on EL7.
34+
- EL7 is end-of-life and only has limited compatibility coverage; prefer EL8 or newer for current PostgreSQL and extension packages.
35+
36+
## Checksums
37+
38+
Artifacts: [GitHub Release](https://github.com/pgsty/pig/releases/tag/v1.7.0) · [checksums.txt](https://github.com/pgsty/pig/releases/download/v1.7.0/checksums.txt)
39+
40+
```bash
41+
e3a339fefdd2203825d15438b52f18e729547eb88dae014212a46006a9bd47d1 pig-1.7.0-1.aarch64.rpm
42+
34ce29d75ef9f669f3bf832cc812ae082abda7320ee2b2336ea61e701b9b67f8 pig-1.7.0-1.x86_64.rpm
43+
d26803c685ba29c01cb8e6dfe50c6c1b0f004173be82015618fa8cdf6a329ba7 pig-v1.7.0.darwin-amd64.tar.gz
44+
ea8120d48b93da936919f590ebbefeb72e73277e6bc133c1ef0bb1abc055d3ce pig-v1.7.0.darwin-arm64.tar.gz
45+
40295b64a2423094fa6f4e6d31da8d8ad5b26698c397d8916c0289591522d0bf pig-v1.7.0.linux-amd64.tar.gz
46+
7929091732957d85751ef3381285a1e5b0c3c7f82c0e00fc24ed085c496012d5 pig-v1.7.0.linux-arm64.tar.gz
47+
41523c15f36a6c1acaf4af5c851d2626472fc15c21d25f91fc1e991fe8411072 pig_1.7.0-1_amd64.deb
48+
adf7b2d9ce8fe42bad935428d16a9c998337df986b1065e0761dc167ce837ef5 pig_1.7.0-1_arm64.deb
49+
```
50+
51+
Release: https://github.com/pgsty/pig/releases/tag/v1.7.0
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: "pig v1.7.0"
3+
linkTitle: "v1.7.0"
4+
date: 2026-08-12
5+
author: "冯若航"
6+
description: "更安全的 EL 模块处理、更新的中国镜像、精简的 EL7 兼容目录,以及 575 个已打包扩展。"
7+
categories: [release]
8+
tags: [Release, pig]
9+
weight: 1
10+
---
11+
12+
Pig `v1.7.0`[v1.6.2](/zh/release/pig-1.6.2/) 之上的仓库兼容性与目录更新版本:明确中国镜像选择语义,默认保留 DNF 原生模块过滤,恢复精简的 EL7 仓库目录,并将内置扩展快照从 572 个增加到 575 个。内置 Pigsty 版本仍为 `4.5.0`
13+
14+
## 主要变化
15+
16+
- `-m|--mirror` 现在直接选择内置的 `china` 仓库定义。PGDG、Rocky Linux、Debian、Ubuntu、Docker 等区域路由使用维护中的镜像列表,不再进行旧版运行时 PGDG 代理改写。
17+
- EL 仓库不再全局注入 `module_hotfixes=1`。确实需要覆盖模块流的 Pigsty 与 PGDG 仓库会显式启用;BaseOS、AppStream、EPEL 等普通仓库继续使用 DNF 原生模块过滤。
18+
- EL7 保留有意精简的兼容目录:面向 `x86_64` 的 CentOS 7 Base/Updates/Extras/SCLo 与 EPEL 归档源,以及共享的 Pigsty 和仍受支持的 PGDG 条目。渲染 EL7 YUM 配置时会移除仅适用于 DNF 的 `module_hotfixes`
19+
- 当目录中没有匹配当前平台的仓库定义时,仓库设置会明确报告平台不受支持,而不是继续处理空仓库集合。
20+
- 发布元数据升级到 `1.7.0`,内置 Pigsty 版本保持 `4.5.0`
21+
22+
## 扩展目录
23+
24+
- 已打包扩展数量从 **572** 增加到 **575**,没有移除项。
25+
- 新增 3 个扩展:`pg_local_cache 1.2.0``pg_statviz 0.1.0``pg_policy 0.1.0`
26+
- 版本更新包括 `biscuit 3.0.0``pg_clickhouse 0.10.0``pg_search 0.25.2``pg_turbovec` 软件包 `1.29.0``pg_uuid_v8 1.1.0`,以及 Debian `q3c 2.0.5` 软件包。
27+
- 刷新软件包元数据与可用性矩阵;需要比本版本内置快照更新的目录时,请运行 `pig ext reload`
28+
29+
## 兼容性提醒
30+
31+
- 本版本没有移除命令或全局参数。
32+
- `-m|--mirror` 现在明确选择中国区域,不再进行 PGDG 代理改写。需要固定路由时请使用 `--region=default|china|europe`
33+
- 自定义 EL 仓库如果确实需要覆盖模块流,现在必须显式设置 `meta.module_hotfixes: 1`;普通操作系统仓库会有意省略该设置,EL7 上则会移除它。
34+
- EL7 已停止维护,仅提供有限兼容性;当前 PostgreSQL 与扩展软件包应优先使用 EL8 或更高版本。
35+
36+
## 校验和
37+
38+
制品:[GitHub Release](https://github.com/pgsty/pig/releases/tag/v1.7.0) · [checksums.txt](https://github.com/pgsty/pig/releases/download/v1.7.0/checksums.txt)
39+
40+
```bash
41+
e3a339fefdd2203825d15438b52f18e729547eb88dae014212a46006a9bd47d1 pig-1.7.0-1.aarch64.rpm
42+
34ce29d75ef9f669f3bf832cc812ae082abda7320ee2b2336ea61e701b9b67f8 pig-1.7.0-1.x86_64.rpm
43+
d26803c685ba29c01cb8e6dfe50c6c1b0f004173be82015618fa8cdf6a329ba7 pig-v1.7.0.darwin-amd64.tar.gz
44+
ea8120d48b93da936919f590ebbefeb72e73277e6bc133c1ef0bb1abc055d3ce pig-v1.7.0.darwin-arm64.tar.gz
45+
40295b64a2423094fa6f4e6d31da8d8ad5b26698c397d8916c0289591522d0bf pig-v1.7.0.linux-amd64.tar.gz
46+
7929091732957d85751ef3381285a1e5b0c3c7f82c0e00fc24ed085c496012d5 pig-v1.7.0.linux-arm64.tar.gz
47+
41523c15f36a6c1acaf4af5c851d2626472fc15c21d25f91fc1e991fe8411072 pig_1.7.0-1_amd64.deb
48+
adf7b2d9ce8fe42bad935428d16a9c998337df986b1065e0761dc167ce837ef5 pig_1.7.0-1_arm64.deb
49+
```
50+
51+
发布:https://github.com/pgsty/pig/releases/tag/v1.7.0

content/build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Initialize package repositories required for building extensions.
136136

137137
```bash
138138
pig build repo # equivalent to: pig repo set -ru
139-
pig build repo -m # use pigsty.cc mirror/proxy sources
139+
pig build repo -m # select the bundled China-region mirrors
140140
pig build repo --beta # also enable the PostgreSQL 19 beta repo module
141141
```
142142

@@ -145,7 +145,7 @@ pig build repo --beta # also enable the PostgreSQL 19 beta repo modul
145145
**Options:**
146146

147147
- `-b|--beta`: additionally enable PostgreSQL beta repository modules
148-
- `-m|--mirror`: prefer the `pigsty.cc` mirror/proxy sources
148+
- `-m|--mirror`: select the bundled `china` repository definitions
149149

150150
## build tool
151151

content/build.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pig build spec -m # 优先使用 pigsty.cc 中国镜像
136136

137137
```bash
138138
pig build repo # 等同于:pig repo set -ru
139-
pig build repo -m # 使用 pigsty.cc 镜像/代理源
139+
pig build repo -m # 选择内置的中国区域镜像
140140
pig build repo --beta # 同时启用 PostgreSQL 19 beta 仓库模块
141141
```
142142

@@ -145,7 +145,7 @@ pig build repo --beta # 同时启用 PostgreSQL 19 beta 仓库模块
145145
**选项:**
146146

147147
- `-b|--beta`:额外启用 PostgreSQL beta 仓库模块
148-
- `-m|--mirror`优先使用 `pigsty.cc` 镜像/代理源
148+
- `-m|--mirror`选择内置的 `china` 仓库定义
149149

150150
## build tool
151151

content/cmd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pig status # show current environment status
276276
pig status -o json # structured status output
277277
pig update # upgrade pig itself to the latest version
278278
pig update -m # upgrade using the pigsty.cc mirror
279-
pig update -v {{< param version >}} # upgrade to the documented version
279+
pig update -v X.Y.Z # upgrade to a version published by the configured repository
280280
pig version # show pig version information
281281
pig version -o json # structured version output
282282
```

content/cmd.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ pig status # 显示当前环境状态
275275
pig status -o json # 结构化状态输出
276276
pig update # 将 pig 自身升级到最新版
277277
pig update -m # 使用 pigsty.cc 镜像升级
278-
pig update -v {{< param version >}} # 升级到文档对应版本
278+
pig update -v X.Y.Z # 升级到已发布在当前软件仓库中的指定版本
279279
pig version # 显示 pig 版本信息
280280
pig version -o json # 结构化版本输出
281281
```

content/ext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pig ext update # no-op: explicit targets are required
237237
pig ext update pg_duckdb # update one extension
238238
pig ext update postgis timescaledb # update multiple extensions
239239
pig ext update pg_duckdb -y # auto-confirm update
240-
pig ext update pg_duckdb -m # use pigsty.cc mirror/proxy sources
240+
pig ext update pg_duckdb -m # select the built-in China-region sources
241241
```
242242

243243
**Options:**

content/ext.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pig ext update # no-op:必须显式指定目标
237237
pig ext update pg_duckdb # 更新特定扩展
238238
pig ext update postgis timescaledb # 更新多个扩展
239239
pig ext update pg_duckdb -y # 自动确认更新
240-
pig ext update pg_duckdb -m # 使用 pigsty.cc 镜像/代理源
240+
pig ext update pg_duckdb -m # 选择内置中国区域软件源
241241
```
242242

243243
**选项:**

0 commit comments

Comments
 (0)