Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## v0.6.2 (2026-03-01)

Breaking changes:

- Remove `#[cgp_context]` and simplify consumer trait implementation - [#205](https://github.com/contextgeneric/cgp/pull/205)
- Rename `ProvideType` to `TypeProvider` - [#211](https://github.com/contextgeneric/cgp/pull/#211)
- Remove `{Type}Of` type alias from `#[cgp_type]` - [#212](https://github.com/contextgeneric/cgp/pull/212)
- Use `Copy` instead of `Clone` for owned getter field values - [#213](https://github.com/contextgeneric/cgp/pull/#213)
- Update syntax for `check_components!` and `delegate_and_check_components!` - [#214](https://github.com/contextgeneric/cgp/pull/214)
- Change the default check trait name in `check_components!` - [#215](https://github.com/contextgeneric/cgp/pull/215)

New features:

- Implement `#[cgp_fn]` - [#197](https://github.com/contextgeneric/cgp/pull/197)
- Tests and Improvements for `#[cgp_fn]` - [#198](https://github.com/contextgeneric/cgp/pull/198)
- Support abstract type equality in `#[use_type]` - [#200](https://github.com/contextgeneric/cgp/pull/#200)
- Support `#[implicit]`, `#[uses]`, and `#[use_type]` in `#[cgp_impl]` - [#201](https://github.com/contextgeneric/cgp/pull/201)
- Support `#[use_type]` and `#[extend]` in `#[cgp_component]` - [#202](https://github.com/contextgeneric/cgp/pull/202)
- Add basic support for foreign abstract types in `#[use_type]` - [#203](https://github.com/contextgeneric/cgp/pull/203)
- Support `#[use_provider]` attribute inside `#[cgp_impl]` for higher order providers - [#204](https://github.com/contextgeneric/cgp/pull/204)
- Support use of `#[cgp_impl]` on consumer trait with concrete context - [#206](https://github.com/contextgeneric/cgp/pull/206)
- Support `#[use_provider]` inside `#[cgp_fn]` - [#210](https://github.com/contextgeneric/cgp/pull/210)

Bug fixes:

- Fix `#[cgp_type]` when associated types contain self-referential bounds - [#208](https://github.com/contextgeneric/cgp/pull/208)

## v0.6.1 (2026-02-01)

- Support implicit `Context` type in `#[cgp_impl]` - [#189](https://github.com/contextgeneric/cgp/pull/189)
Expand Down
46 changes: 23 additions & 23 deletions Cargo.lock

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

38 changes: 19 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ authors = ["Soares Chen <soares.chen@maybevoid.com>"]
keywords = ["cgp"]

[workspace.dependencies]
cgp = { version = "0.6.1", path = "./crates/cgp" }
cgp-core = { version = "0.6.1", path = "./crates/cgp-core" }
cgp-extra = { version = "0.6.1", path = "./crates/cgp-extra" }
cgp-async-macro = { version = "0.6.1", path = "./crates/cgp-async-macro" }
cgp-component = { version = "0.6.1", path = "./crates/cgp-component" }
cgp-macro = { version = "0.6.1", path = "./crates/cgp-macro" }
cgp-macro-lib = { version = "0.6.1", path = "./crates/cgp-macro-lib" }
cgp-type = { version = "0.6.1", path = "./crates/cgp-type" }
cgp-field = { version = "0.6.1", path = "./crates/cgp-field" }
cgp-field-extra = { version = "0.6.1", path = "./crates/cgp-field-extra" }
cgp-error = { version = "0.6.1", path = "./crates/cgp-error" }
cgp-error-extra = { version = "0.6.1", path = "./crates/cgp-error-extra" }
cgp-extra-macro = { version = "0.6.1", path = "./crates/cgp-extra-macro" }
cgp-extra-macro-lib = { version = "0.6.1", path = "./crates/cgp-extra-macro-lib" }
cgp-handler = { version = "0.6.1", path = "./crates/cgp-handler" }
cgp-monad = { version = "0.6.1", path = "./crates/cgp-monad" }
cgp-dispatch = { version = "0.6.1", path = "./crates/cgp-dispatch" }
cgp-run = { version = "0.6.1", path = "./crates/cgp-run" }
cgp-runtime = { version = "0.6.1", path = "./crates/cgp-runtime" }
cgp = { version = "0.7.0", path = "./crates/cgp" }
cgp-core = { version = "0.7.0", path = "./crates/cgp-core" }
cgp-extra = { version = "0.7.0", path = "./crates/cgp-extra" }
cgp-async-macro = { version = "0.7.0", path = "./crates/cgp-async-macro" }
cgp-component = { version = "0.7.0", path = "./crates/cgp-component" }
cgp-macro = { version = "0.7.0", path = "./crates/cgp-macro" }
cgp-macro-lib = { version = "0.7.0", path = "./crates/cgp-macro-lib" }
cgp-type = { version = "0.7.0", path = "./crates/cgp-type" }
cgp-field = { version = "0.7.0", path = "./crates/cgp-field" }
cgp-field-extra = { version = "0.7.0", path = "./crates/cgp-field-extra" }
cgp-error = { version = "0.7.0", path = "./crates/cgp-error" }
cgp-error-extra = { version = "0.7.0", path = "./crates/cgp-error-extra" }
cgp-extra-macro = { version = "0.7.0", path = "./crates/cgp-extra-macro" }
cgp-extra-macro-lib = { version = "0.7.0", path = "./crates/cgp-extra-macro-lib" }
cgp-handler = { version = "0.7.0", path = "./crates/cgp-handler" }
cgp-monad = { version = "0.7.0", path = "./crates/cgp-monad" }
cgp-dispatch = { version = "0.7.0", path = "./crates/cgp-dispatch" }
cgp-run = { version = "0.7.0", path = "./crates/cgp-run" }
cgp-runtime = { version = "0.7.0", path = "./crates/cgp-runtime" }
2 changes: 1 addition & 1 deletion crates/cgp-async-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
rust-version = { workspace = true }
version = "0.6.1"
version = "0.7.0"
keywords = { workspace = true }
description = """
Context-generic programming async macros
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-component/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-component"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-core"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-dispatch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-dispatch"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-anyhow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-anyhow"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-extra"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-eyre/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-eyre"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-std"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra-macro-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra-macro-lib"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra-macro"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-field-extra"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-field"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-handler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-handler"
version = "0.6.1"
version = "0.7.0"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
Loading
Loading