# 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]

## [0.0.15](https://forgejo.home.cristiano.cloud/philipcristiano/declare-schema/compare/v0.0.14...v0.0.15) - 2026-05-28

### Fixed

- Wrap migrations saying they are safe
- *(deps)* update rust crate sqlx to 0.9.0
- *(deps)* update rust crate sqlparser to 0.62.0

### Other

- Update rust version / flake src
- *(deps)* update rust docker tag to v1.96

## [0.0.14](https://forgejo.home.cristiano.cloud/philipcristiano/declare-schema/compare/v0.0.13...v0.0.14) - 2026-04-28

### Added

- Limit changes to current/specified schema

### Other

- *(deps)* update rust docker tag to v1.95

## [0.0.13](https://forgejo.home.cristiano.cloud/philipcristiano/declare-schema/compare/v0.0.12...v0.0.13) - 2026-04-05

### Fixed

- *(deps)* update rust crate sqlparser to 0.61.0
- *(deps)* update rust crate toml to v1
- Update ci workflows to match rust_service_conventions
- fix command

### Other

- test with postgres 17/18
- *(deps)* update actions/checkout action to v6
- *(deps)* update rust docker tag to v1.94
- Merge pull request 'chore(deps): update actions/checkout action to v6' ([#11](https://forgejo.home.cristiano.cloud/philipcristiano/declare-schema/pulls/11)) from renovate/actions-checkout-6.x into main
- Remove unneeded things
- Only build with nix on main
- Set environment to run sqlx offline
- enable flakes
- Needed for checkout
- Only run flake
- Only build on nixos-latest  for CI
- Don't try to build docker
- fewer builds for now
- Build docker with nix
- More runs-on
- Set runs-on
- *(deps)* lock file maintenance
- Merge branch 'main' into pg-update

## [0.0.12](https://github.com/philipcristiano/declare-schema/compare/v0.0.11...v0.0.12) - 2025-10-24

### Fixed

- *(deps)* update rust crate sqlparser to 0.58.0 ([#197](https://github.com/philipcristiano/declare-schema/pull/197))
- *(deps)* update rust crate toml to 0.9.0 ([#192](https://github.com/philipcristiano/declare-schema/pull/192))

### Other

- Update parsing, support for pg18
- Update CI to run multiple postgres versions
- *(deps)* update agenthunt/conventional-commit-checker-action action to v2.0.1 ([#227](https://github.com/philipcristiano/declare-schema/pull/227))
- *(deps)* lock file maintenance ([#225](https://github.com/philipcristiano/declare-schema/pull/225))
- *(deps)* lock file maintenance ([#223](https://github.com/philipcristiano/declare-schema/pull/223))
- *(deps)* lock file maintenance ([#221](https://github.com/philipcristiano/declare-schema/pull/221))
- *(deps)* lock file maintenance ([#219](https://github.com/philipcristiano/declare-schema/pull/219))
- *(deps)* lock file maintenance ([#216](https://github.com/philipcristiano/declare-schema/pull/216))
- *(deps)* update rust docker tag to v1.90 ([#215](https://github.com/philipcristiano/declare-schema/pull/215))
- *(deps)* lock file maintenance ([#213](https://github.com/philipcristiano/declare-schema/pull/213))
- *(deps)* lock file maintenance ([#211](https://github.com/philipcristiano/declare-schema/pull/211))
- Remove darwin stub
- *(deps)* lock file maintenance ([#208](https://github.com/philipcristiano/declare-schema/pull/208))
- *(deps)* lock file maintenance ([#206](https://github.com/philipcristiano/declare-schema/pull/206))
- *(deps)* lock file maintenance ([#204](https://github.com/philipcristiano/declare-schema/pull/204))
- *(deps)* update rust docker tag to v1.89 ([#203](https://github.com/philipcristiano/declare-schema/pull/203))
- *(deps)* lock file maintenance ([#201](https://github.com/philipcristiano/declare-schema/pull/201))
- *(deps)* lock file maintenance ([#199](https://github.com/philipcristiano/declare-schema/pull/199))
- *(deps)* lock file maintenance ([#198](https://github.com/philipcristiano/declare-schema/pull/198))
- *(deps)* lock file maintenance ([#195](https://github.com/philipcristiano/declare-schema/pull/195))
- *(deps)* lock file maintenance ([#193](https://github.com/philipcristiano/declare-schema/pull/193))
- *(deps)* lock file maintenance ([#189](https://github.com/philipcristiano/declare-schema/pull/189))

## [0.0.11](https://github.com/philipcristiano/declare-schema/compare/v0.0.10...v0.0.11) - 2025-06-30

### Fixed

- *(deps)* update rust crate sqlparser to 0.57.0 ([#143](https://github.com/philipcristiano/declare-schema/pull/143))
- *(deps)* update rust crate sqlparser to 0.53.0 ([#128](https://github.com/philipcristiano/declare-schema/pull/128))

### Other

- *(deps)* lock file maintenance ([#188](https://github.com/philipcristiano/declare-schema/pull/188))
- *(deps)* lock file maintenance ([#187](https://github.com/philipcristiano/declare-schema/pull/187))
- *(deps)* update rust docker tag to v1.88 ([#186](https://github.com/philipcristiano/declare-schema/pull/186))
- *(deps)* lock file maintenance ([#184](https://github.com/philipcristiano/declare-schema/pull/184))
- *(deps)* lock file maintenance ([#182](https://github.com/philipcristiano/declare-schema/pull/182))
- *(deps)* lock file maintenance ([#180](https://github.com/philipcristiano/declare-schema/pull/180))
- *(deps)* lock file maintenance ([#178](https://github.com/philipcristiano/declare-schema/pull/178))
- *(deps)* lock file maintenance ([#176](https://github.com/philipcristiano/declare-schema/pull/176))
- *(deps)* update rust docker tag to v1.87 ([#175](https://github.com/philipcristiano/declare-schema/pull/175))
- *(deps)* lock file maintenance ([#173](https://github.com/philipcristiano/declare-schema/pull/173))
- *(deps)* lock file maintenance ([#171](https://github.com/philipcristiano/declare-schema/pull/171))
- *(deps)* lock file maintenance ([#169](https://github.com/philipcristiano/declare-schema/pull/169))
- *(deps)* lock file maintenance ([#166](https://github.com/philipcristiano/declare-schema/pull/166))
- *(deps)* lock file maintenance ([#165](https://github.com/philipcristiano/declare-schema/pull/165))
- *(deps)* lock file maintenance ([#164](https://github.com/philipcristiano/declare-schema/pull/164))
- *(deps)* update rust docker tag to v1.86 ([#163](https://github.com/philipcristiano/declare-schema/pull/163))
- *(deps)* lock file maintenance ([#161](https://github.com/philipcristiano/declare-schema/pull/161))
- *(deps)* lock file maintenance ([#159](https://github.com/philipcristiano/declare-schema/pull/159))
- *(deps)* lock file maintenance ([#157](https://github.com/philipcristiano/declare-schema/pull/157))
- *(deps)* lock file maintenance ([#155](https://github.com/philipcristiano/declare-schema/pull/155))
- *(deps)* lock file maintenance ([#153](https://github.com/philipcristiano/declare-schema/pull/153))
- *(deps)* lock file maintenance ([#151](https://github.com/philipcristiano/declare-schema/pull/151))
- *(deps)* update rust docker tag to v1.85 ([#150](https://github.com/philipcristiano/declare-schema/pull/150))
- *(deps)* lock file maintenance ([#148](https://github.com/philipcristiano/declare-schema/pull/148))
- *(deps)* lock file maintenance ([#146](https://github.com/philipcristiano/declare-schema/pull/146))
- *(deps)* lock file maintenance ([#144](https://github.com/philipcristiano/declare-schema/pull/144))
- *(deps)* lock file maintenance ([#141](https://github.com/philipcristiano/declare-schema/pull/141))
- *(deps)* lock file maintenance ([#139](https://github.com/philipcristiano/declare-schema/pull/139))
- *(deps)* update rust docker tag to v1.84 ([#138](https://github.com/philipcristiano/declare-schema/pull/138))
- *(deps)* lock file maintenance ([#136](https://github.com/philipcristiano/declare-schema/pull/136))
- *(deps)* lock file maintenance ([#135](https://github.com/philipcristiano/declare-schema/pull/135))
- *(deps)* lock file maintenance ([#133](https://github.com/philipcristiano/declare-schema/pull/133))
- *(deps)* lock file maintenance ([#131](https://github.com/philipcristiano/declare-schema/pull/131))
- *(deps)* lock file maintenance ([#129](https://github.com/philipcristiano/declare-schema/pull/129))
- *(deps)* lock file maintenance ([#126](https://github.com/philipcristiano/declare-schema/pull/126))
- *(deps)* lock file maintenance ([#124](https://github.com/philipcristiano/declare-schema/pull/124))
- *(deps)* lock file maintenance ([#122](https://github.com/philipcristiano/declare-schema/pull/122))
- *(deps)* update rust docker tag to v1.83 ([#121](https://github.com/philipcristiano/declare-schema/pull/121))
- *(deps)* lock file maintenance ([#119](https://github.com/philipcristiano/declare-schema/pull/119))
- *(deps)* lock file maintenance ([#115](https://github.com/philipcristiano/declare-schema/pull/115))

## [0.0.10](https://github.com/philipcristiano/declare-schema/compare/v0.0.9...v0.0.10) - 2024-11-22

### Fixed

- *(deps)* update rust crate thiserror to v2
- *(deps)* update rust crate sqlparser to 0.52.0 ([#110](https://github.com/philipcristiano/declare-schema/pull/110))

### Other

- *(deps)* lock file maintenance ([#113](https://github.com/philipcristiano/declare-schema/pull/113))
- *(deps)* lock file maintenance ([#111](https://github.com/philipcristiano/declare-schema/pull/111))
- *(deps)* lock file maintenance ([#108](https://github.com/philipcristiano/declare-schema/pull/108))
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- Start documentation

## [0.0.9](https://github.com/philipcristiano/declare-schema/compare/v0.0.8...v0.0.9) - 2024-10-28

### Fixed

- Include from and to constraints
- Exclude .env from package

## [0.0.8](https://github.com/philipcristiano/declare-schema/compare/v0.0.7...v0.0.8) - 2024-10-28

### Added

- Error on ALTER INDEX

### Other

- *(deps)* lock file maintenance
- *(deps)* lock file maintenance

## [0.0.7](https://github.com/philipcristiano/declare-schema/compare/v0.0.6...v0.0.7) - 2024-10-24

### Fixed

- Error if check cannot be changed
- Start giving errors in migrations cannot be determined

## [0.0.6](https://github.com/philipcristiano/declare-schema/compare/v0.0.5...v0.0.6) - 2024-10-23

### Other

- Remove cargo.lock
- More tests against postgres
- Test against Postgres
- Update pg connect info
- *(deps)* lock file maintenance
- *(deps)* update rust docker tag to v1.82
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance

## [0.0.5](https://github.com/philipcristiano/declare-schema/compare/v0.0.4...v0.0.5) - 2024-10-06

### Fixed

- *(deps)* update rust crate sqlparser to 0.51.0

### Other

- Fix sqlparser update
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* update rust docker tag to v1.81
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance

## [0.0.4](https://github.com/philipcristiano/declare-schema/compare/v0.0.3...v0.0.4) - 2024-08-03

### Fixed
- Remove unneeded features

## [0.0.3](https://github.com/philipcristiano/declare-schema/compare/v0.0.2...v0.0.3) - 2024-08-03

### Fixed
- Remove lockfile

## [0.0.2](https://github.com/philipcristiano/declare-schema/compare/v0.0.1...v0.0.2) - 2024-08-02

### Fixed
- *(deps)* update rust crate serde_json to v1.0.122
- *(deps)* update rust crate clap to v4.5.13
- *(deps)* update rust crate toml to v0.8.19
- *(deps)* update rust crate toml to v0.8.18
- *(deps)* update rust crate clap to v4.5.12
- *(deps)* update rust crate toml to v0.8.17
- *(deps)* update rust crate serde_json to v1.0.121
- *(deps)* update rust crate tokio to v1.39.2
- *(deps)* update rust crate toml to v0.8.16
- *(deps)* update rust crate clap to v4.5.11
- *(deps)* update rust crate sqlparser to 0.49.0
- *(deps)* update rust crate tokio to v1.39.1
- *(deps)* update rust crate clap to v4.5.10
- *(deps)* update rust crate sqlx to 0.8.0
- *(deps)* update rust crate toml to v0.8.15
- *(deps)* update rust crate thiserror to v1.0.63
- *(deps)* update rust crate tokio to v1.38.1
- *(deps)* update rust crate thiserror to v1.0.62
- *(deps)* update rust crate uuid to v1.10.0
- *(deps)* update rust crate tokio to v1.38.0
- *(deps)* update rust crate url to v2.5.2
- *(deps)* update rust crate toml to v0.8.14
- *(deps)* update rust crate serde_json to v1.0.120
- Remove unneeded dep service_conventions

### Other
- *(deps)* lock file maintenance
- *(deps)* update rust docker tag to v1.80
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* lock file maintenance
- *(deps)* update rust docker tag to v1.79

## [0.0.1](https://github.com/philipcristiano/declare-schema/releases/tag/v0.0.1) - 2024-07-09

### Added
- Support CREATE EXTENSION
- Add `dump` command
- Expose way to generate migraitons but not run them
- ADD/ DROP CHECK CONSTRAINT

### Fixed
- Don't rely on oidc feature
- Remove debug
- Remove debug statement
- Get extensions from PG

### Other
- Enable publish
- Use released version of sqlparser
- ADD/DROP UNIQUE CONSTRAINT
- format
- Don't default to executing
- `migrate_from_string` fn
- Add info to README
- Fix main docker build
- Push to crates
- CLI
- module for postgres source
- ALTER TABLE SET/DROP DEFAULT
- Column SET NOT NULL / DROP NOT NULL
- Use sqlparser struct createtable
- A and B input files
- add/drop fk
- Add remove column, add pk
- Initial commit
