Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #301

Merged
merged 3 commits into from
Jun 15, 2024
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
16 changes: 16 additions & 0 deletions libs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.39](https://github.com/LukeMathWalker/pavex/compare/0.1.38...0.1.39) - 2024-06-15

### Added
- Add a workspace-hack crate to the generated starter project to minimise (re)build times
- Introduce prebuilt types ([#298](https://github.com/LukeMathWalker/pavex/pull/298))
- Add a new '--template' option to 'pavex new' and 'pavexc new'. It includes a dedicated 'quickstart' template as well as the 'api' template, the default.
- In the starter project, use a meaningful example to showcase how the configuration system works, rather than a dummy with no usage
- Shorthand methods (`.clone_if_necessary()` and `.never_clone()`) to tweak the default cloning strategy on constructors and prebuilt types

### Fixed
- Set new Cargo lint to allow 'cfg(pavex_ide_hint)' in Pavex, its snapshot tests and its scaffolded projects
- Use the [env] section of .cargo/config.toml to store non-sensitive env variables used for local development. It fixes configuration for newly generated projects.
- Don't use colored logs if color is not enabled.
- Include `super` and `self` as valid prefixes for relative paths in error messages ([#296](https://github.com/LukeMathWalker/pavex/pull/296))
- You can no longer register a type with a non-`'static` lifetime parameter (implicit or explicit) as a singleton. ([#298](https://github.com/LukeMathWalker/pavex/pull/298))

## [0.1.38](https://github.com/LukeMathWalker/pavex/compare/0.1.37...0.1.38) - 2024-04-28

### Added
Expand Down
90 changes: 14 additions & 76 deletions libs/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 libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
repository = "https://github.com/LukeMathWalker/pavex"
homepage = "https://pavex.dev"
license = "Apache-2.0"
version = "0.1.38"
version = "0.1.39"

[workspace.dependencies]
vergen = { version = "8.0.0", features = ["build", "git", "gitcl"] }
Expand Down
1 change: 0 additions & 1 deletion libs/generate_from_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ indicatif = { workspace = true }
walkdir = { workspace = true }
sanitize-filename = { workspace = true }
regex = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
9 changes: 4 additions & 5 deletions libs/pavex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ futures-util = { workspace = true }
mime = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true, features = ["derive"] }
pavex_macros = { path = "../pavex_macros", version = "0.1.38" }
pavex_macros = { path = "../pavex_macros", version = "0.1.39" }
paste = { workspace = true }
tracing = { workspace = true }
http-body-util = { workspace = true }
pin-project-lite = { workspace = true }
ubyte = { workspace = true, features = ["serde"] }
pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.38" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.38" }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.38" }
pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.39" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.39" }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.39" }

# Route parameters
matchit = { version = "0.7", package = "pavex_matchit" }
Expand Down Expand Up @@ -70,7 +70,6 @@ hyper = { workspace = true, features = ["full"], optional = true }
hyper-util = { workspace = true, features = ["tokio", "server", "server-auto"], optional = true }
socket2 = { workspace = true, optional = true }
smallvec = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }

[dev-dependencies]
tokio = { workspace = true, features = ["macros"] }
Expand Down
3 changes: 1 addition & 2 deletions libs/pavex_bp_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ license.workspace = true

[dependencies]
serde = { workspace = true, features = ["derive"] }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.38" }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.39" }
5 changes: 2 additions & 3 deletions libs/pavex_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ harness = false
vergen = { workspace = true }

[dependencies]
pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.38" }
pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.39" }
clap = { workspace = true, features = ["derive", "env"] }
pavex_miette = { path = "../pavex_miette", version = "0.1.38" }
pavex_miette = { path = "../pavex_miette", version = "0.1.39" }
miette = { workspace = true }
fs-err = { workspace = true }
tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] }
Expand Down Expand Up @@ -63,7 +63,6 @@ jsonwebtoken = { workspace = true }
ring = { workspace = true }
pem = { workspace = true }
time = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }

[dev-dependencies]
pavex_test_runner = { path = "../pavex_test_runner" }
Expand Down
3 changes: 1 addition & 2 deletions libs/pavex_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ license.workspace = true

[dependencies]
anyhow = { workspace = true }
pavex = { path = "../pavex", version = "0.1.38" }
pavex = { path = "../pavex", version = "0.1.39" }
thiserror = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
1 change: 0 additions & 1 deletion libs/pavex_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ proc-macro = true
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }

[dev-dependencies]
trybuild = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion libs/pavex_miette/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ supports-hyperlinks = { workspace = true }
supports-color = { workspace = true }
supports-unicode = { workspace = true }
terminal_size = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
1 change: 0 additions & 1 deletion libs/pavex_reflection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ license.workspace = true

[dependencies]
serde = { workspace = true, features = ["derive"] }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
3 changes: 1 addition & 2 deletions libs/pavex_test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ walkdir = { workspace = true }
serde_json = { workspace = true }
itertools = { workspace = true }
sha2 = { workspace = true }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.38" }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.39" }
object-pool = { workspace = true }
num_cpus = { workspace = true }
globwalk = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
regex = { workspace = true }
once_cell = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
3 changes: 1 addition & 2 deletions libs/pavex_tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ readme = "README.md"

[dependencies]
tracing = { workspace = true, features = ["std"] }
pavex = { version = "0.1.38", path = "../pavex" }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
pavex = { version = "0.1.39", path = "../pavex" }
Loading