Skip to content

Commit 04bf2fc

Browse files
committed
Release v0.8.0
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
1 parent d72765a commit 04bf2fc

12 files changed

Lines changed: 29 additions & 50 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ All user visible changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/), as described
55
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md)
66

7-
## Unreleased
7+
## [0.8.0] - 2016-10-10
88

99
### Added
1010

11-
* Added support for composite primary keys.
11+
* Added partial support for composite primary keys.
1212

1313
* Added support for PostgreSQL `NULLS FIRST` and `NULLS LAST` when sorting.
1414
See http://docs.diesel.rs/diesel/prelude/trait.SortExpressionMethods.html

diesel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel"
3-
version = "0.7.1"
3+
version = "0.8.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55
license = "MIT OR Apache-2.0"
66
description = "A safe, extensible ORM and Query builder"

diesel_cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel_cli"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55
license = "MIT OR Apache-2.0"
66
description = "Provides the CLI for the Diesel crate"
@@ -15,7 +15,7 @@ name = "diesel"
1515
[dependencies]
1616
chrono = "0.2.17"
1717
clap = "2.11"
18-
diesel = { version = "0.7.0", default-features = false }
18+
diesel = { version = "0.8.0", default-features = false }
1919
dotenv = "0.8.0"
2020

2121
[dev-dependencies]

diesel_codegen/Cargo.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
[package]
22
name = "diesel_codegen"
3-
version = "0.7.2"
3+
version = "0.8.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
5+
license = "MIT OR Apache-2.0"
6+
description = "Custom derive and procedural macros for Diesel"
7+
documentation = "http://docs.diesel.rs"
8+
homepage = "http://diesel.rs"
9+
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_codegen"
10+
keywords = ["orm", "database", "postgres", "sql", "codegen"]
511

612
[dependencies]
713
syn = "0.8.5"
814
quote = "0.2.1"
9-
diesel = { version = "0.7.1", default-features = false }
10-
diesel_codegen_shared = { path = "../diesel_codegen_shared", default-features = false }
15+
diesel = { version = "0.8.0", default-features = false }
16+
diesel_codegen_shared = { version = "0.8.0", default-features = false }
1117

1218
[lib]
1319
proc-macro = true

diesel_codegen_shared/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel_codegen_shared"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55
license = "MIT OR Apache-2.0"
66
description = "Shared code between `diesel_codegen` and `diesel_codegen_syntex`"
@@ -9,7 +9,7 @@ homepage = "http://diesel.rs"
99
repository = "https://github.com/diesel-rs/diesel"
1010

1111
[dependencies]
12-
diesel = { version = "0.7.0", default-features = false }
12+
diesel = { version = "0.8.0", default-features = false }
1313
dotenv = { version = "0.8.0", optional = true }
1414

1515
[dev-dependencies]

diesel_codegen_syntex/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel_codegen_syntex"
3-
version = "0.7.2"
3+
version = "0.8.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55
license = "MIT OR Apache-2.0"
66
build = "build.rs"
@@ -17,8 +17,8 @@ syntex_syntax = { version = "0.44.0" }
1717
[dependencies]
1818
syntex = { version = "0.44.0" }
1919
syntex_syntax = { version = "0.44.0" }
20-
diesel = { version = "0.7.0", default-features = false }
21-
diesel_codegen_shared = { path = "../diesel_codegen_shared", default-features = false }
20+
diesel = { version = "0.8.0", default-features = false }
21+
diesel_codegen_shared = { version = "0.8.0", default-features = false }
2222

2323
[features]
2424
default = ["postgres", "dotenv"]

diesel_compile_tests/Cargo.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ version = "0.1.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55

66
[dependencies]
7-
diesel = { version = "0.7.1", features = ["sqlite", "postgres"] }
8-
diesel_codegen = { version = "0.7.2" }
7+
diesel = { version = "0.8.0", features = ["sqlite", "postgres"] }
8+
diesel_codegen = { version = "0.8.0" }
99
compiletest_rs = "0.2.3"
10-
11-
12-
[replace]
13-
"diesel:0.7.1" = { path = "../diesel" }
14-
"diesel_codegen:0.7.2" = { path = "../diesel_codegen" }

diesel_tests/Cargo.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dotenv = "0.8.0"
1515
assert_matches = "1.0.1"
1616
chrono = { version = "^0.2.17" }
1717
diesel = { path = "../diesel", default-features = false, features = ["quickcheck", "chrono", "uuid"] }
18-
diesel_codegen = { version = "0.7.2", optional = true }
18+
diesel_codegen = { version = "0.8.0", optional = true }
1919
dotenv = "0.8.0"
2020
quickcheck = { version = "0.3.1", features = ["unstable"] }
2121
uuid = { version = ">=0.2.0, <0.4.0" }
@@ -40,8 +40,3 @@ harness = true
4040
name = "benchmarks"
4141
path = "tests/bench.rs"
4242
bench = true
43-
44-
[replace]
45-
"diesel:0.7.1" = { path = "../diesel" }
46-
"diesel_codegen:0.7.2" = { path = "../diesel_codegen" }
47-
"diesel_codegen_syntex:0.7.2" = { path = "../diesel_codegen_syntex" }

examples/getting_started_step_1/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ version = "0.1.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55

66
[dependencies]
7-
diesel = "0.7.1"
8-
diesel_codegen = { version = "0.7.2", features = ["postgres"] }
7+
diesel = "0.8.0"
8+
diesel_codegen = { version = "0.8.0", features = ["postgres"] }
99
dotenv = "0.8.0"
10-
11-
[replace]
12-
"diesel:0.7.1" = { path = "../../diesel" }
13-
"diesel_codegen:0.7.2" = { path = "../../diesel_codegen" }

examples/getting_started_step_2/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ version = "0.1.0"
44
authors = ["Sean Griffin <sean@seantheprogrammer.com>"]
55

66
[dependencies]
7-
diesel = "0.7.1"
7+
diesel = "0.8.0"
88
diesel_codegen = { version = "0.7.2", features = ["postgres"] }
99
dotenv = "0.8.0"
10-
11-
[replace]
12-
"diesel:0.7.1" = { path = "../../diesel" }
13-
"diesel_codegen:0.7.2" = { path = "../../diesel_codegen" }

0 commit comments

Comments
 (0)