-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release is primarily focused around diesel_codegen, which has been entirely rewritten to use the new Macros 1.1 framework. This means that Diesel should continue to work on all future nightlies, and will be much more compatible with other crates which use codegen such as serde. This did reqiure some breaking changes to their API, but it should be a straightforward migration. [the CHANGELOG][changelog] has migration instructions. The macros 1.1 rewrite took the majority of our time, so this release is fairly light on features, but we do have a few great quality of life additions. See [the CHANGELOG][changelog] for details. [changelog]: https://github.com/diesel-rs/diesel/blob/v0.8.0/CHANGELOG.md A huge thank you to all the contributors who worked on this release: - Cengiz Can - Christopher Brickley - David Szotten - Georg Semmler - Jimmy Cuadra - Josh Holmer - Rasmus Kaj - Robert Maloney - Sebastian Blei
- Loading branch information
Showing
12 changed files
with
29 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "diesel" | ||
version = "0.7.1" | ||
version = "0.8.0" | ||
authors = ["Sean Griffin <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
description = "A safe, extensible ORM and Query builder" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "diesel_cli" | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
authors = ["Sean Griffin <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
description = "Provides the CLI for the Diesel crate" | ||
|
@@ -15,7 +15,7 @@ name = "diesel" | |
[dependencies] | ||
chrono = "0.2.17" | ||
clap = "2.11" | ||
diesel = { version = "0.7.0", default-features = false } | ||
diesel = { version = "0.8.0", default-features = false } | ||
dotenv = "0.8.0" | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
[package] | ||
name = "diesel_codegen" | ||
version = "0.7.2" | ||
version = "0.8.0" | ||
authors = ["Sean Griffin <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
description = "Custom derive and procedural macros for Diesel" | ||
documentation = "http://docs.diesel.rs" | ||
homepage = "http://diesel.rs" | ||
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_codegen" | ||
keywords = ["orm", "database", "postgres", "sql", "codegen"] | ||
|
||
[dependencies] | ||
syn = "0.8.5" | ||
quote = "0.2.1" | ||
diesel = { version = "0.7.1", default-features = false } | ||
diesel_codegen_shared = { path = "../diesel_codegen_shared", default-features = false } | ||
diesel = { version = "0.8.0", default-features = false } | ||
diesel_codegen_shared = { version = "0.8.0", default-features = false } | ||
|
||
[lib] | ||
proc-macro = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "diesel_codegen_shared" | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
authors = ["Sean Griffin <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
description = "Shared code between `diesel_codegen` and `diesel_codegen_syntex`" | ||
|
@@ -9,7 +9,7 @@ homepage = "http://diesel.rs" | |
repository = "https://github.com/diesel-rs/diesel" | ||
|
||
[dependencies] | ||
diesel = { version = "0.7.0", default-features = false } | ||
diesel = { version = "0.8.0", default-features = false } | ||
dotenv = { version = "0.8.0", optional = true } | ||
|
||
[dev-dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "diesel_codegen_syntex" | ||
version = "0.7.2" | ||
version = "0.8.0" | ||
authors = ["Sean Griffin <[email protected]>"] | ||
license = "MIT OR Apache-2.0" | ||
build = "build.rs" | ||
|
@@ -17,8 +17,8 @@ syntex_syntax = { version = "0.44.0" } | |
[dependencies] | ||
syntex = { version = "0.44.0" } | ||
syntex_syntax = { version = "0.44.0" } | ||
diesel = { version = "0.7.0", default-features = false } | ||
diesel_codegen_shared = { path = "../diesel_codegen_shared", default-features = false } | ||
diesel = { version = "0.8.0", default-features = false } | ||
diesel_codegen_shared = { version = "0.8.0", default-features = false } | ||
|
||
[features] | ||
default = ["postgres", "dotenv"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,6 @@ version = "0.1.0" | |
authors = ["Sean Griffin <[email protected]>"] | ||
|
||
[dependencies] | ||
diesel = { version = "0.7.1", features = ["sqlite", "postgres"] } | ||
diesel_codegen = { version = "0.7.2" } | ||
diesel = { version = "0.8.0", features = ["sqlite", "postgres"] } | ||
diesel_codegen = { version = "0.8.0" } | ||
compiletest_rs = "0.2.3" | ||
|
||
|
||
[replace] | ||
"diesel:0.7.1" = { path = "../diesel" } | ||
"diesel_codegen:0.7.2" = { path = "../diesel_codegen" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ version = "0.1.0" | |
authors = ["Sean Griffin <[email protected]>"] | ||
|
||
[dependencies] | ||
diesel = "0.7.1" | ||
diesel_codegen = { version = "0.7.2", features = ["postgres"] } | ||
diesel = "0.8.0" | ||
diesel_codegen = { version = "0.8.0", features = ["postgres"] } | ||
dotenv = "0.8.0" | ||
|
||
[replace] | ||
"diesel:0.7.1" = { path = "../../diesel" } | ||
"diesel_codegen:0.7.2" = { path = "../../diesel_codegen" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ version = "0.1.0" | |
authors = ["Sean Griffin <[email protected]>"] | ||
|
||
[dependencies] | ||
diesel = "0.7.1" | ||
diesel = "0.8.0" | ||
diesel_codegen = { version = "0.7.2", features = ["postgres"] } | ||
dotenv = "0.8.0" | ||
|
||
[replace] | ||
"diesel:0.7.1" = { path = "../../diesel" } | ||
"diesel_codegen:0.7.2" = { path = "../../diesel_codegen" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ version = "0.1.0" | |
authors = ["Sean Griffin <[email protected]>"] | ||
|
||
[dependencies] | ||
diesel = "0.7.1" | ||
diesel = "0.8.0" | ||
diesel_codegen = { version = "0.7.2", features = ["postgres"] } | ||
dotenv = "0.8.0" | ||
|
||
[replace] | ||
"diesel:0.7.1" = { path = "../../diesel" } | ||
"diesel_codegen:0.7.2" = { path = "../../diesel_codegen" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters