You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [0.8.16] - 2024-02-21
8
+
### Fixed
9
+
- Revert [#346](https://github.com/rust-db/refinery/pull/346) as it breaks Semver, save it for a minor release in the future.
10
+
11
+
## [0.8.15] - **YANKED** - 2024-02-18
12
+
13
+
### Added
14
+
- Make a query overridable. [#358](https://github.com/rust-db/refinery/pull/358)
15
+
- Enable math functions for SQLite. [#335](https://github.com/rust-db/refinery/pull/335)
16
+
- Add serde subfeature to tiberius-config. [#334](https://github.com/rust-db/refinery/pull/334)
17
+
18
+
### Changed
19
+
- Update `mysql` version to allow `26`, [#365](https://github.com/rust-db/refinery/pull/365)
20
+
- Update `mysql_async` to allow `0.35`, [#359](https://github.com/rust-db/refinery/pull/359)
21
+
- Update `rusqlite` to allow `0.33`, [#361](https://github.com/rust-db/refinery/pull/361)
22
+
- Update migrate Transaction and AsyncTransaction execute functions to avoid double iteration when calling migrate with the grouped option active. [#346](https://github.com/rust-db/refinery/pull/346)
Depending on how your project/team has been structured will define whether you want to use contiguous (adjacent) migrations `V{1}__{2}.[sql|rs]` or non-contiguous (not adjacent) migrations `U{1}__{2}.[sql|rs]`.
@@ -91,6 +98,7 @@ This would stop developer 1's migration from ever running if you were using cont
91
98
92
99
refinery works by creating a table that keeps all the applied migrations' versions and their metadata. When you [run](https://docs.rs/refinery/latest/refinery/struct.Runner.html#method.run) the migrations `Runner`, refinery compares the applied migrations with the ones to be applied, checking for [divergent](https://docs.rs/refinery/latest/refinery/struct.Runner.html#method.set_abort_divergent) and [missing](https://docs.rs/refinery/latest/refinery/struct.Runner.html#method.set_abort_missing) and executing unapplied migrations.\
93
100
By default, refinery runs each migration in a single transaction. Alternatively, you can also configure refinery to wrap the entire execution of all migrations in a single transaction by setting [set_grouped](https://docs.rs/refinery/latest/refinery/struct.Runner.html#method.set_grouped) to true.
101
+
The rust crate intentionally ignores new migration files until your sourcecode is rebuild. This prevents accidental migrations and altering the database schema without any code changes. We can also bake the migrations into the binary, so no additional files are needed when deployed.
0 commit comments