# Change Log

## v0.2.14 - 2026-06-12

### Added

* Added `FromSql` implementation for `Cow<str>`.

### Fixed

* Avoid panic decoding out-of-range `time` 0.2 date/timestamp values.

## v0.2.13 - 2026-03-30

### Added

* Added support for `bit-vec` 0.9 via the `with-bit-vec-0_9` feature.

### Changed

* Upgraded to Rust edition 2024, minimum Rust version 1.85.

## v0.2.12 - 2026-01-14

### Added

* Added `ToSql` implementation for `Box<T>` where `T: ToSql`.

## v0.2.11 - 2025-10-08

### Changed

* Disabled default features of `jiff` v0.1 and v0.2.

## v0.2.10 - 2025-09-25

### Added

* Added support for `jiff` v0.2.
* Added support for `bit-vec` versions v0.7 and v0.8.
* Added `Serialize` and `Deserialize` impls for `Json` type.

### Changed

* Updated GitHub repository links to `rust-postgres` organization.
* Switched from `serde` to `serde_core` dependency.
* Upgraded to Rust 2021 edition.
* Improved `-Zminimal-versions` support.

## v0.2.9 - 2025-02-02

### Added

* Added support for `cidr` 0.3 via the `with-cidr-0_3` feature.

### Fixed

* Fixed deserialization of out of bounds inputs to `time` 0.3 types to return an error rather than panic.

## v0.2.8 - 2024-09-15

### Added

* Added support for `jiff` 0.1 via the `with-jiff-01` feature.

## v0.2.7 - 2024-07-21

### Added

* Added `Default` implementation for `Json`.
* Added a `js` feature for WASM compatibility.

### Changed

* `FromStr` implementation for `PgLsn` no longer allocates a `Vec` when splitting an lsn string on it's `/`.
* The `eui48-1` feature no longer enables default features of the `eui48` library.

## v0.2.6 - 2023-08-19

### Fixed

* Fixed serialization to `OIDVECTOR` and `INT2VECTOR`.

### Added

* Removed the `'static` requirement for the `impl BorrowToSql for Box<dyn ToSql>`.
* Added a `ToSql` implementation for `Cow<[u8]>`.

## v0.2.5 - 2023-03-27

### Added

* Added support for multi-range types.

## v0.2.4 - 2022-08-20

### Added

* Added `ToSql` and `FromSql` implementations for `Box<[T]>`.
* Added `ToSql` and `FromSql` implementations for `[u8; N]` via the `array-impls` feature.
* Added support for `smol_str` 0.1 via the `with-smol_str-01` feature.
* Added `ToSql::encode_format` to support text encodings of parameters.

## v0.2.3 - 2022-04-30

### Added

* Added `ToSql` and `FromSql` implementations for `Box<str>`.
* Added `BorrowToSql` implementations for `Box<dyn ToSql + Sync>` and `Box<dyn ToSql + Sync + Send>`.
* Added support for `cidr` 0.2 via the `with-cidr-02` feature.
* Added conversions between the `LTREE`, `LQUERY` and `LTXTQUERY` types and Rust strings.
* Added support for `uuid` 1.0 via the `with-uuid-1` feature.

## v0.2.2 - 2021-09-29

### Added

* Added support for `eui48` 1.0 via the `with-eui48-1` feature.
* Added `ToSql` and `FromSql` implementations for array types via the `array-impls` feature.
* Added support for `time` 0.3 via the `with-time-0_3` feature.

## v0.2.1 - 2021-04-03

### Added

* Added support for `geo-types` 0.7 via `with-geo-types-0_7` feature.
* Added the `PgLsn` type, corresponding to `PG_LSN`.

## v0.2.0 - 2020-12-25

### Changed

* Upgraded `bytes` to 1.0.

### Removed

* Removed support for `geo-types` 0.4.

## v0.1.3 - 2020-10-17

### Added

* Implemented `Clone`, `PartialEq`, and `Eq` for `Json`.

### Fixed

* Checked for overflow in `NaiveDate` and `NaiveDateTime` conversions.

## v0.1.2 - 2020-07-03

### Added

* Added support for `geo-types` 0.6.

## v0.1.1 - 2020-03-05

### Added

* Added support for `time` 0.2.

## v0.1.0 - 2019-12-23

### Changed

* `Kind` is now a true non-exhaustive enum.

### Removed

* Removed `uuid` 0.7 support.

### Added

* Added a `Hash` implementation for `Type`.

## v0.1.0-alpha.2 - 2019-11-27

### Changed

* Upgraded `bytes` to 0.5.
* Upgraded `uuid` to 0.8.

## v0.1.0-alpha.1 - 2019-10-14

Initial release
