# Changelog

## [v1.2.2](https://github.com/seegno/objection-unique/tree/v1.2.2) (2021-05-26)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v1.2.1...v1.2.2)

**Merged pull requests:**

- Fix leaking transaction, favor transaction from context over creating new one [\#29](https://github.com/seegno/objection-unique/pull/29) ([dawaa](https://github.com/dawaa))

## [v1.2.1](https://github.com/seegno/objection-unique/tree/v1.2.1) (2020-05-15)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v1.2.0...v1.2.1)

**Merged pull requests:**

- Fix knex getter when undefined on model class [\#27](https://github.com/seegno/objection-unique/pull/27) ([nunovieira220](https://github.com/nunovieira220))
- Fix bug with null values in compound keys [\#22](https://github.com/seegno/objection-unique/pull/22) ([PatrickLef](https://github.com/PatrickLef))

## [v1.2.0](https://github.com/seegno/objection-unique/tree/v1.2.0) (2019-10-01)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v1.1.0...v1.2.0)

**Merged pull requests:**

- Move options validation up [\#14](https://github.com/seegno/objection-unique/pull/14) ([vonagam](https://github.com/vonagam))

## [v1.1.0](https://github.com/seegno/objection-unique/tree/v1.1.0) (2019-10-01)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v1.0.1...v1.1.0)

**Merged pull requests:**

- Support for compound fields [\#15](https://github.com/seegno/objection-unique/pull/15) ([nicolaracco](https://github.com/nicolaracco))

## [v1.0.1](https://github.com/seegno/objection-unique/tree/v1.0.1) (2018-03-26)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v1.0.0...v1.0.1)

**Merged pull requests:**

- Add unique validation error message [\#12](https://github.com/seegno/objection-unique/pull/12) ([joaonice](https://github.com/joaonice))

## [v1.0.0](https://github.com/seegno/objection-unique/tree/v1.0.0) (2018-03-01)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v0.2.1...v1.0.0)

**Merged pull requests:**

- Add objection to peer dependencies [\#11](https://github.com/seegno/objection-unique/pull/11) ([nunorafaelrocha](https://github.com/nunorafaelrocha))
- Remove node 4 support [\#10](https://github.com/seegno/objection-unique/pull/10) ([nunorafaelrocha](https://github.com/nunorafaelrocha))
- Update for compatibility with Objection 1.0.0 [\#8](https://github.com/seegno/objection-unique/pull/8) ([trey-baker](https://github.com/trey-baker))

## [v0.2.1](https://github.com/seegno/objection-unique/tree/v0.2.1) (2017-09-28)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v0.2.0...v0.2.1)

**Merged pull requests:**

- Update yarn lockfile [\#7](https://github.com/seegno/objection-unique/pull/7) ([nunorafaelrocha](https://github.com/nunorafaelrocha))
- Fix a bug when running patch queries [\#6](https://github.com/seegno/objection-unique/pull/6) ([dsego](https://github.com/dsego))

## [v0.2.0](https://github.com/seegno/objection-unique/tree/v0.2.0) (2017-08-11)
[Full Changelog](https://github.com/seegno/objection-unique/compare/v0.1.0...v0.2.0)

**Merged pull requests:**

- Update plugin to export anonymously [\#4](https://github.com/seegno/objection-unique/pull/4) ([nunorafaelrocha](https://github.com/nunorafaelrocha))

## [v0.1.0](https://github.com/seegno/objection-unique/tree/v0.1.0) (2017-07-25)
**Merged pull requests:**

- Add shields to readme [\#2](https://github.com/seegno/objection-unique/pull/2) ([nunorafaelrocha](https://github.com/nunorafaelrocha))
- Add initial implementation [\#1](https://github.com/seegno/objection-unique/pull/1) ([joaonice](https://github.com/joaonice))
