Skip to content

Commit

Permalink
Release v0.9.0
Browse files Browse the repository at this point in the history
0.9.0 is a fairly large release, bringing several important quality of
life features. The main features of this release are:

- Support for composite primary keys
- Support for PG schemas other than public
- Batch insert support for SQLite

This release also includes numerous bug fixes. In particular several
bugs which occurred from using empty arrays have all been fixed. For
full release notes, see [the
CHANGELOG](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md#090---2016-12-08)
  • Loading branch information
sgrif committed Dec 8, 2016
1 parent edd145e commit 1ad455a
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 31 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All user visible changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/), as described
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md)

## Unreleased
## [0.9.0] - 2016-12-08

### Added

Expand Down Expand Up @@ -554,3 +554,4 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
[0.8.0]: https://github.com/diesel-rs/diesel/compare/v0.7.2...v0.8.0
[0.8.1]: https://github.com/diesel-rs/diesel/compare/v0.8.0...v0.8.1
[0.8.2]: https://github.com/diesel-rs/diesel/compare/v0.8.1...v0.8.2
[0.9.0]: https://github.com/diesel-rs/diesel/compare/v0.8.2...v0.9.0
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = [
]

[replace]
"diesel:0.8.2" = { path = "diesel" }
"diesel_codegen:0.8.2" = { path = "diesel_codegen" }
"diesel_codegen_shared:0.8.0" = { path = "diesel_codegen_shared" }
"diesel_codegen_syntex:0.8.0" = { path = "diesel_codegen_syntex" }
"diesel:0.9.0" = { path = "diesel" }
"diesel_codegen:0.9.0" = { path = "diesel_codegen" }
"diesel_codegen_shared:0.9.0" = { path = "diesel_codegen_shared" }
"diesel_codegen_syntex:0.9.0" = { path = "diesel_codegen_syntex" }
2 changes: 1 addition & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel"
version = "0.8.2"
version = "0.9.0"
authors = ["Sean Griffin <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "A safe, extensible ORM and Query builder"
Expand Down
4 changes: 2 additions & 2 deletions diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_cli"
version = "0.8.0"
version = "0.9.0"
authors = ["Sean Griffin <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Provides the CLI for the Diesel crate"
Expand All @@ -15,7 +15,7 @@ name = "diesel"
[dependencies]
chrono = "0.2.17"
clap = "2.11"
diesel = { version = "0.8.0", default-features = false }
diesel = { version = "0.9.0", default-features = false }
dotenv = "0.8.0"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions diesel_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_codegen"
version = "0.8.2"
version = "0.9.0"
authors = ["Sean Griffin <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Custom derive and procedural macros for Diesel"
Expand All @@ -12,8 +12,8 @@ keywords = ["orm", "database", "postgres", "sql", "codegen"]
[dependencies]
syn = "0.10.3"
quote = "0.3.10"
diesel = { version = "0.8.0", default-features = false }
diesel_codegen_shared = { version = "0.8.0", default-features = false }
diesel = { version = "0.9.0", default-features = false }
diesel_codegen_shared = { version = "0.9.0", default-features = false }

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion diesel_codegen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ It also provides the macros [`infer_schema!`][infer-schema],
First, add this crate to Cargo.toml as so:

```toml
diesel_codegen = { version = "0.8.1", features = ["postgres"] }
diesel_codegen = { version = "0.9.0", features = ["postgres"] }
```

If you are using SQLite, be sure to specify `sqlite` instead of `postgres` in
Expand Down
4 changes: 2 additions & 2 deletions diesel_codegen_shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_codegen_shared"
version = "0.8.0"
version = "0.9.0"
authors = ["Sean Griffin <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Shared code between `diesel_codegen` and `diesel_codegen_syntex`"
Expand All @@ -9,7 +9,7 @@ homepage = "http://diesel.rs"
repository = "https://github.com/diesel-rs/diesel"

[dependencies]
diesel = { version = "0.8.0", default-features = false }
diesel = { version = "0.9.0", default-features = false }
dotenv = { version = "0.8.0", optional = true }

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions diesel_codegen_syntex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_codegen_syntex"
version = "0.8.0"
version = "0.9.0"
authors = ["Sean Griffin <[email protected]>"]
license = "MIT OR Apache-2.0"
build = "build.rs"
Expand All @@ -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.8.0", default-features = false }
diesel_codegen_shared = { version = "0.8.0", default-features = false }
diesel = { version = "0.9.0", default-features = false }
diesel_codegen_shared = { version = "0.9.0", default-features = false }

[features]
default = ["postgres", "dotenv"]
Expand Down
2 changes: 1 addition & 1 deletion diesel_codegen_syntex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Add `diesel_codegen_syntex` to your `Cargo.toml`, specifying which backends you
use.

```toml
diesel_codegen_syntex = { version = "0.8.0", features = ["postgres"] }
diesel_codegen_syntex = { version = "0.9.0", features = ["postgres"] }
```

Next, move the `mod` declarations of any modules that need codegen to a separate
Expand Down
8 changes: 4 additions & 4 deletions diesel_compile_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ authors = ["Sean Griffin <[email protected]>"]
[workspace]

[dependencies]
diesel = { version = "0.8.2", features = ["sqlite", "postgres"] }
diesel_codegen = { version = "0.8.2" }
diesel = { version = "0.9.0", features = ["sqlite", "postgres"] }
diesel_codegen = { version = "0.9.0" }
compiletest_rs = "0.2.3"

[replace]
"diesel:0.8.2" = { path = "../diesel" }
"diesel_codegen:0.8.2" = { path = "../diesel_codegen" }
"diesel:0.9.0" = { path = "../diesel" }
"diesel_codegen:0.9.0" = { path = "../diesel_codegen" }
4 changes: 2 additions & 2 deletions examples/getting_started_step_1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
authors = ["Sean Griffin <[email protected]>"]

[dependencies]
diesel = "0.8.2"
diesel_codegen = { version = "0.8.2", features = ["postgres"] }
diesel = "0.9.0"
diesel_codegen = { version = "0.9.0", features = ["postgres"] }
dotenv = "0.8.0"
4 changes: 2 additions & 2 deletions examples/getting_started_step_2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
authors = ["Sean Griffin <[email protected]>"]

[dependencies]
diesel = "0.8.2"
diesel_codegen = { version = "0.8.2", features = ["postgres"] }
diesel = "0.9.0"
diesel_codegen = { version = "0.9.0", features = ["postgres"] }
dotenv = "0.8.0"
4 changes: 2 additions & 2 deletions examples/getting_started_step_3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ version = "0.1.0"
authors = ["Sean Griffin <[email protected]>"]

[dependencies]
diesel = "0.8.2"
diesel_codegen = { version = "0.8.2", features = ["postgres"] }
diesel = "0.9.0"
diesel_codegen = { version = "0.9.0", features = ["postgres"] }
dotenv = "0.8.0"
6 changes: 3 additions & 3 deletions examples/getting_started_step_4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ authors = ["Sean Griffin <[email protected]>"]
build = "build.rs"

[build-dependencies]
diesel_codegen_syntex = { version = "0.8.0", features = ["postgres"], optional = true }
diesel_codegen_syntex = { version = "0.9.0", features = ["postgres"], optional = true }

[dependencies]
diesel = "0.8.2"
diesel_codegen = { version = "0.8.2", features = ["postgres"], optional = true }
diesel = "0.9.0"
diesel_codegen = { version = "0.9.0", features = ["postgres"], optional = true }
dotenv = "0.8.0"

[features]
Expand Down

0 comments on commit 1ad455a

Please sign in to comment.