Skip to content

Commit

Permalink
Prepare version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sitegui committed Jun 28, 2023
1 parent ca959a3 commit 36bf01c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 13 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [feattle 1.0.0] - 2023-06-28

### Changed
- Remove generic type from `Feattles` trait

## [feattle-core 1.0.0] - 2023-06-28

### Changed
- Remove generic type from `Feattles` trait
This generic represented the persistence layer, because each concrete implementation was free to declare their own associate error type.
However, this feature caused "generics contamination" in the API, forcing users to carry the generic type parameter around.
Instead, we can force persistent implementation to use a boxed error, removing this syntax complexity.
This means that the constructor now takes `Arc<dyn Persist>` instead of a direct instance of `Persist`.

## [feattle-sync 1.0.0] - 2023-06-28

### Changed
- Remove generic type from `Feattles` trait
- Added `BackgroundSync::start()` that waits for the first update to complete
- Deprecate `BackgroundSync::spawn()` since it will be replaced in favor of `start()`, that is more flexible.
- Added a new parameter to `S3::new()`: the `timeout`. Any operation will return an error after this time has elapsed.

## [feattle-ui 1.0.0] - 2023-06-28

### Changed
- Remove generic type from `Feattles` trait

## [feattle 0.10.0] - 2023-04-21

### Changed
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feattle-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "feattle-core"
version = "0.9.0"
version = "1.0.0"
authors = ["Guilherme Souza <[email protected]>"]
edition = "2018"
description = "Featture toggles for Rust, extensible and with background synchronization and administration UI"
Expand Down
4 changes: 2 additions & 2 deletions feattle-sync/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "feattle-sync"
version = "0.9.0"
version = "1.0.0"
authors = ["Guilherme Souza <[email protected]>"]
edition = "2018"
description = "Featture toggles for Rust, extensible and with background synchronization and administration UI"
Expand All @@ -17,7 +17,7 @@ s3 = ["rusoto_core", "rusoto_s3"]

[dependencies]
async-trait = "0.1.40"
feattle-core = { path = "../feattle-core", version = "0.9.0" }
feattle-core = { path = "../feattle-core", version = "1.0.0" }
log = "0.4.11"
rusoto_core = { version = "0.48.0", optional = true }
rusoto_s3 = { version = "0.48.0", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions feattle-ui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "feattle-ui"
version = "0.10.0"
version = "1.0.0"
authors = ["Guilherme Souza <[email protected]>"]
edition = "2018"
description = "Featture toggles for Rust, extensible and with background synchronization and administration UI"
Expand All @@ -15,7 +15,7 @@ categories = ["config", "data-structures", "development-tools", "web-programming
[dependencies]
axum = { version = "0.6.16", optional = true, default-features = false, features = ["form", "json"] }
chrono = { version = "0.4.15", features = ["serde"] }
feattle-core = { path = "../feattle-core", version = "0.9.0" }
feattle-core = { path = "../feattle-core", version = "1.0.0" }
futures = "0.3.5"
handlebars = "4.1.2"
log = "0.4.11"
Expand Down
8 changes: 4 additions & 4 deletions feattle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "feattle"
version = "0.10.0"
version = "1.0.0"
authors = ["Guilherme Souza <[email protected]>"]
edition = "2018"
description = "Featture toggles for Rust, extensible and with background synchronization and administration UI"
Expand All @@ -19,9 +19,9 @@ warp = ["feattle-ui/warp"]
axum = ["feattle-ui/axum"]

[dependencies]
feattle-core = { path = "../feattle-core", version = "0.9.0" }
feattle-sync = { path = "../feattle-sync", version = "0.9.0" }
feattle-ui = { path = "../feattle-ui", version = "0.10.0" }
feattle-core = { path = "../feattle-core", version = "1.0.0" }
feattle-sync = { path = "../feattle-sync", version = "1.0.0" }
feattle-ui = { path = "../feattle-ui", version = "1.0.0" }

[dev-dependencies]
axum = { version = "0.6.16", features = ["tokio"] }
Expand Down

0 comments on commit 36bf01c

Please sign in to comment.