# Pigsty v0.5.0

> Database Customize Template

---

LLMS index: [llms.txt](/llms.txt)

---

**v0\.5\.0 · 2021-01-07**
- [View release](https://github.com/pgsty/pigsty/releases/tag/v0.5.0)
- [Source · tar\.gz](https://github.com/pgsty/pigsty/archive/refs/tags/v0.5.0.tar.gz)
- [Source · zip](https://github.com/pgsty/pigsty/archive/refs/tags/v0.5.0.zip)
- [pgsty\/pigsty](https://github.com/pgsty/pigsty)

## Outline
- The official docs site (http://pigsty.cc/) is live.
- Database templating becomes fully declarative: define users, roles, databases, ACLs, extensions, and schemas in config.
- The default [access model](https://pigsty.cc/docs/setup/security) is refined and HBA management now comes straight from Pigsty instead of Patroni.
- Grafana provisioning switched from shoving a sqlite file to JSON provisioning via API.
- Added the `pg-cluster-replication` dashboard to the open bundle.
- CentOS 7.8 offline bundle: `pkg.tgz`.

## Declarative Database Layouts
Multi-tenant headaches go away once everything is described as code. The new templates let you declare users, passwords, role hierarchies, DB defaults, extensions, schemas, and default privileges in YAML so a single config file replaces piles of runbooks. A stripped example:

```yaml

## Sources

- [GitHub release](https://github.com/pgsty/pigsty/releases/tag/v0.5.0)
- [Pigsty v0.5 release article](https://pigsty.io/blog/pigsty/v0.5/)
- [Historical About / Release Note](https://pigsty.io/docs/about/release/#v050)
- [Source comparison: `v0.4.0...v0.5.0`](https://github.com/pgsty/pigsty/compare/v0.4.0...v0.5.0)
