Releases: emilpriver/geni
Releases · emilpriver/geni
v1.0.5
Changed docker slim version to not make a dump of the database
v1.0.4
What's Changed
- docs(readme): fix typos and database wait timeout by @darkenmay in #92
- Bump async-trait from 0.1.79 to 0.1.80 by @dependabot in #94
- Bump anyhow from 1.0.80 to 1.0.82 by @dependabot in #93
- Bump the cargo group across 1 directory with 3 updates by @dependabot in #95
New Contributors
- @darkenmay made their first contribution in #92
Full Changelog: v1.0.3...v1.0.4
v1.0.3
This release come with a fix for GH actions
v1.0.2
What's Changed
- Bump clap from 4.5.0 to 4.5.2 by @dependabot in #70
- Bump log from 0.4.20 to 0.4.21 by @dependabot in #67
- Bump tempfile from 3.9.0 to 3.10.1 by @dependabot in #65
- Bump serde from 1.0.196 to 1.0.197 by @dependabot in #64
- Bump regex from 1.10.2 to 1.10.4 by @dependabot in #82
- Bump async-trait from 0.1.77 to 0.1.79 by @dependabot in #81
- Bump simplelog from 0.12.1 to 0.12.2 by @dependabot in #80
- Bump which from 6.0.0 to 6.0.1 by @dependabot in #79
- Create FUNDING.YML by @emilpriver in #87
- Only require DATABASE_URL if the action needs it
Full Changelog: v1.0.1...v1.0.2
v1.0.1
This change fixes a build issue for macos where ARM binaries was created for intel cpus
v1.0.0
changed version
v0.0.11
What's Changed
- Bump futures from 0.3.29 to 0.3.30 by @dependabot in #49
- Bump serde from 1.0.193 to 1.0.196 by @dependabot in #50
- Bump which from 5.0.0 to 6.0.0 by @dependabot in #51
- Bump anyhow from 1.0.79 to 1.0.80 by @dependabot in #54
- Bump clap from 4.4.18 to 4.5.0 by @dependabot in #52
- Bump async-trait from 0.1.75 to 0.1.77 by @dependabot in #56
- Fix bug where index is not added to dumps when using sqlite and libsql. Reported by @remonke
Full Changelog: v0.0.10...v0.0.11
v0.0.10
What's Changed
- Bump serial_test from 2.0.0 to 3.0.0 by @dependabot in #39
- Bump clap from 4.4.11 to 4.4.18 by @dependabot in #40
- Bump tempfile from 3.8.1 to 3.9.0 by @dependabot in #41
- Bump anyhow from 1.0.76 to 1.0.79 by @dependabot in #43
- Bump tokio from 1.35.1 to 1.36.0 by @dependabot in #42
- Convert Geni to a lib by @emilpriver in #46
- Added optional transactions by @emilpriver in #47
Geni library
You are now able to use geni as a library to run migrations, ideal for tests.
Example:
use geni;
#[tokio::main]
async fn main() {
// Migrate the database
geni::migrate_database(
"sqlite://./test.db".to_string(), // Database URL
None, // Database Token
"schema_migrations".to_string(), // Migration Table
"./migrations".to_string(), // Migration Folder
"schema.sql".to_string(), // Schema File
Some(30), // Wait timeout for the database to be ready
false, // Dump Schema
)
.await
.unwrap();
()
}
Full Changelog: v0.0.9...v0.0.10
v0.0.9
What's Changed
- Bump the cargo group across 1 directories with 1 update by @dependabot in #36
New Contributors
- @dependabot made their first contribution in #36
Full Changelog: v0.0.8...v0.0.9
v0.0.8
Changelog
- Added github action
- Added check if passed env variables is empty