zero-postgres 0.9.0

A high-performance PostgreSQL client
Documentation
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.9.0]https://github.com/elbaro/zero-postgres/compare/v0.8.0...v0.9.0 - 2026-03-02

### <!-- 0 -->New features
- diesel test
- diesel
- experimental compio
- RefFromRow
- zerocopy exec_foreach_ref

### <!-- 1 -->Bug fixes
- move error draining from drivers into state machines
- drain server errors so the connection can be reused ([#16]https://github.com/elbaro/zero-postgres/pull/16)
- move separateMajorMinor to top-level config

### <!-- 2 -->Performance
- eliminate a temporary allocation from Vec ([#17]https://github.com/elbaro/zero-postgres/pull/17)
- compio streams were not buffered

### <!-- 3 -->Documentation
- document derive feature flag
- add a link to diesel benchmark
- update
- add diesel flag to README

### <!-- 9 -->Other
- tidy: eliminate all clippy warnings in integration tests ([#26]https://github.com/elbaro/zero-postgres/pull/26)
- tidy: relax clippy lints, add clippy.toml, expose PG_EPOCH_JULIAN_DAY
- tidy: remove clippy::integer_division_remainder_used lint
- tidy: suppress redundant clippy restriction lints for --all-features
- tidy: rename remaining Error::Protocol to Error::LibraryBug in compio
- [**breaking**] tidy!: rename Error::Protocol to Error::LibraryBug
- [**breaking**] tidy!: replace IntoStatement Option methods with StatementRef enum
- tidy: eliminate redundant bounds checks and clippy warnings
- tidy: simplify get_conn in error_recovery tests
- [**breaking**] tidy!: rename severity accessors on ServerError for clarity
- tidy: remove redundant test_ prefix from test functions
- tidy: fix trivial clippy warnings and enforce clippy in CI
- infra: grant checks:write permission to security audit
- infra: tune renovate config and normalize dep ranges
- infra: fix renovate hourly limit and branch splitting
- infra: group renovate PRs by breaking changes
- infra: configure renovate
- infra: replace trybuild with compile_fail doc tests
- infra: fix release-plz for multi-packages
- [**breaking**] tidy!: rename feature flags

## [v0.8.0]https://github.com/elbaro/zero-postgres/compare/v0.7.0...v0.8.0 - 2026-01-21

### <!-- 0 -->New features
- add tests for [T], Vec<T> params
- Support [T], Vec<T> as parameters

### <!-- 3 -->Documentation
- revise data type page
- data type conversion

## [v0.7.0]https://github.com/elbaro/zero-postgres/compare/v0.6.0...v0.7.0 - 2026-01-11

### <!-- 1 -->Bug fixes
- [**breaking**] fix async closure API
- [**breaking**] change transaction implicit commit/rollback behavior

### <!-- 3 -->Documentation
- add more explanations

### <!-- 9 -->Other
- [**breaking**] tidy!: rename conn.tx to conn.transaction
- [**breaking**] tidy!: rename TextHandler, BinaryHandler to SimpleHandler, ExtendedHander

## [v0.6.0]https://github.com/elbaro/zero-postgres/compare/v0.5.0...v0.6.0 - 2026-01-10

### <!-- 1 -->Bug fixes
- [**breaking**] exec_foreach closure returns Result

### <!-- 3 -->Documentation
- remove api reference

## [v0.5.0]https://github.com/elbaro/zero-postgres/compare/v0.4.3...v0.5.0 - 2026-01-10

### <!-- 0 -->New features
- add #[derive(FromRawRow)]

### <!-- 1 -->Bug fixes
- wrong release-plz config
- wrong release-plz config
- use Conn::new instead of Conn::connect in docs

### <!-- 3 -->Documentation
- add mdbook and documentation links
- clarify TLS support is experimental

### <!-- 9 -->Other
- tidy: remove unncessary pipeline's own buffer

## [v0.4.3]https://github.com/elbaro/zero-postgres/compare/v0.4.2...v0.4.3 - 2025-12-29

### <!-- 1 -->Bug fixes
- gate unix socket code behind cfg(unix)

## [v0.4.2]https://github.com/elbaro/zero-postgres/compare/v0.4.1...v0.4.2 - 2025-12-29

### <!-- 1 -->Bug fixes
- edge case in pipeline API

## [v0.4.1]https://github.com/elbaro/zero-postgres/compare/v0.4.0...v0.4.1 - 2025-12-29

### <!-- 1 -->Bug fixes
- support complex pipeline cases

## [v0.4.0]https://github.com/elbaro/zero-postgres/compare/v0.3.2...v0.4.0 - 2025-12-28

### <!-- 9 -->Other
- [**breaking**] tidy!: rename prefer_unix_socket to upgrade_to_unix_socket
- infra: simplify pr body
- infra: pr body
- infra: pr sections
- infra: allow clippy failure

## [0.3.2]https://github.com/elbaro/zero-postgres/compare/v0.3.1...v0.3.2 - 2025-12-28

### Other

- fix permission

## [0.3.1]https://github.com/elbaro/zero-postgres/compare/v0.3.0...v0.3.1 - 2025-12-28

### Other

- use postgres 18
- change relase PR title
- trusted publishing
- setup release-plz
- release-plz