# Pigsty v0.4.0

> 支持 PostgreSQL 13，添加官方文档

---

LLMS 索引： [llms.txt](/zh/llms.txt)

---

**v0\.4\.0 · 2020-12-14**
- [查看发布](https://github.com/pgsty/pigsty/releases/tag/v0.4.0)
- [源码 · tar\.gz](https://github.com/pgsty/pigsty/archive/refs/tags/v0.4.0.tar.gz)
- [源码 · zip](https://github.com/pgsty/pigsty/archive/refs/tags/v0.4.0.zip)
- [pgsty\/pigsty](https://github.com/pgsty/pigsty)

第二个公开测试版 v0.4 现已正式发行！

> [!DETAILS]-
> **监控系统**
>
> Pigsty v0.4 对监控系统进行了整体升级改造，精心挑选了10个面板作为标准的 Pigsty 开源内容。同时，针对 Grafana 7.3的不兼容升级进行了大量适配改造工作。使用升级的 `pg_exporter v0.3.1` 作为默认指标导出器，调整了监控报警规则的监控面板连接。
>
>
> **Pigsty 开源版**
>
> Pigsty 开源版选定了以下10个 Dashboard 作为开源内容。其他 Dashboard 作为可选的商业支持内容提供。
>
> * PG Overview
> * PG Cluster
> * PG Service
> * PG Instance
> * PG Database
> * PG Query
> * PG Table
> * PG Table Catalog
> * PG Table Detail
> * Node
>
> 尽管进行了少量阉割，这10个监控面板所涵盖的内容仍然可以吊打所有同类软件。
>
> **软件升级**
>
> Pigsty v0.4 进行了大量软件适配工作，包括：
>
> * Upgrade to PostgreSQL 13.1, Patroni 2.0.1-4, add citus to repo.
> * Upgrade to [`pg_exporter 0.3.1`](https://github.com/Vonng/pg_exporter/releases/tag/v0.3.1)
> * Upgrade to Grafana 7.3, Ton's of compatibility work
> * Upgrade to prometheus 2.23, with new UI as default
> * Upgrade to consul 1.9
>
> **其他改进**
>
> * Update prometheus alert rules
> * Fix alertmanager info links
> * Fix bugs and typos.
> * add a simple backup script
>
> **离线安装包**
>
> * v0.4 的离线安装包（CentOS 7.8）已经可以从 Github 下载：[pkg.tgz](https://github.com/pgsty/pigsty/releases/download/v0.4.0/pkg.tgz)

## 信息来源

- [GitHub Release](https://github.com/pgsty/pigsty/releases/tag/v0.4.0)
- [Pigsty v0.4 发布文章](https://pigsty.cc/blog/pigsty/v0.4/)
- [历史 About / 发布注记](https://pigsty.cc/docs/about/release/#v040)
- [源码对比：`v0.3.0...v0.4.0`](https://github.com/pgsty/pigsty/compare/v0.3.0...v0.4.0)
