Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Mar 15, 2024
1 parent 4336f4e commit 30cf1a5
Show file tree
Hide file tree
Showing 53 changed files with 151 additions and 128 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## 3.0.0

- Rename option `--path` to `--lib-path`. For the time being, `--path` will continue to work as before when used to refer to a file as opposed to a directory. ([e52da02](https://github.com/trailofbits/dylint/commit/e52da024fada4ff4b353ca2de86ed12499076972))
- FEATURE: Add options `--git` and `--path` to allow naming library packages on the command line ([883e521](https://github.com/trailofbits/dylint/commit/883e5218734819d120c332e025aa726ab30dbd40))
- BREAKING CHANGE: Make `metadata` no longer a default `dylint` package feature ([#1052](https://github.com/trailofbits/dylint/issues/1052)) (see also renaming of `metadata` below)
- BREAKING CHANGE: No longer pass `-D warnings` to rustc by default in `dylint_testing`. To retain the previous behavior, enable the `deny_warnings` feature. ([#1053](https://github.com/trailofbits/dylint/issues/1053))
- BREAKING CHANGE: Rename the following package features ([42cb7a2](https://github.com/trailofbits/dylint/commit/42cb7a2d48b398f90bc5975c69f976f5fedd6c65)):
- `cargo-dylint` package: `metadata-cargo` -> `cargo-lib` (build library packages using `cargo` as a library)
- `cargo-dylint` package: `metadata-cli` -> `cargo-cli` (build library packages using the `cargo` executable)
- `dylint` package: `metadata` -> `library_packages` (enable library-package-related functionality, e.g., building them)
- BREAKING CHANGE: Remove the following deprecated options and their associated `Dylint` struct fields ([7fd2c4d](https://github.com/trailofbits/dylint/commit/7fd2c4d410eb0b7744f26c224e1eb3c23083e551)):
- `--allow-downgrade` (now part of the `upgrade` subcommand)
- `--bisect` (experimental and no longer deemed necessary)
- `--force` (renamed to `--allow-downgrade`)
- `--isolate` (now part of the `new` subcommand)
- `--list` (replaced with the `list` subcommand)
- `--new` (replaced with the `new` subcommand)
- `--rust-version` (now part of the `upgrade` subcommand)
- `--upgrade` (replaced with the `upgrade` subcommand)
- Update `cargo-dylint` MSRV to 1.74 ([965ebf5](https://github.com/trailofbits/dylint/commit/965ebf58d280db22a8143cbfbe88c17dea4f5617))
- Eliminate reliance on `sedregex` ([#1079](https://github.com/trailofbits/dylint/issues/1079))
- Make `cargo-cli` the default method for building library packages ([01aa9ba](https://github.com/trailofbits/dylint/commit/01aa9ba790ff15c3f3e20a71a455bee5424aff09))

## 2.6.1

- Fix two bugs ([#1014](https://github.com/trailofbits/dylint/issues/1014) and [#1021](https://github.com/trailofbits/dylint/issues/1021)) related to how warnings are displayed ([#1025](https://github.com/trailofbits/dylint/pull/1025))
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions cargo-dylint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-dylint"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "A tool for running Rust lints from dynamic libraries"
edition = "2021"
Expand All @@ -17,10 +17,10 @@ anyhow = { version = "1.0", features = ["backtrace"] }
clap = { version = "4.5", features = ["cargo", "derive", "wrap_help"] }
env_logger = "0.10"

dylint = { version = "=2.6.1", path = "../dylint", features = [
dylint = { version = "=3.0.0", path = "../dylint", features = [
"package_options",
] }
dylint_internal = { version = "=2.6.1", path = "../internal" }
dylint_internal = { version = "=3.0.0", path = "../internal" }

[dev-dependencies]
assert_cmd = "2.0"
Expand All @@ -38,7 +38,7 @@ similar-asserts = "1.5"
tempfile = "3.10"
walkdir = "2.5"

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"testing",
] }

Expand Down
4 changes: 2 additions & 2 deletions driver/Cargo.lock

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

4 changes: 2 additions & 2 deletions driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dylint_driver"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "Dylint driver library"
edition = "2021"
Expand All @@ -15,7 +15,7 @@ log = "0.4"
rustversion = "1.0"
serde_json = "1.0"

dylint_internal = { version = "=2.6.1", path = "../internal", features = ["rustup"] }
dylint_internal = { version = "=3.0.0", path = "../internal", features = ["rustup"] }

[workspace]

Expand Down
8 changes: 4 additions & 4 deletions dylint-link/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dylint-link"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "A wrapper around Rust's default linker to help create Dyling libraries"
edition = "2021"
Expand All @@ -13,19 +13,19 @@ env_logger = "0.10"
if_chain = "1.0"
toml_edit = "0.21"

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"cargo",
] }

[build-dependencies]
dylint_internal = { version = "=2.6.1", path = "../internal" }
dylint_internal = { version = "=3.0.0", path = "../internal" }

[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
tempfile = "3.10"

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"packaging",
] }

Expand Down
8 changes: 4 additions & 4 deletions dylint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dylint"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "A tool for running Rust lints from dynamic libraries"
edition = "2021"
Expand Down Expand Up @@ -42,22 +42,22 @@ curl-sys = { version = "0.4", features = [
"force-system-lib-on-osx",
], optional = true }

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"git",
"packaging",
"rustup",
"sed",
] }

[build-dependencies]
dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"cargo",
] }

[dev-dependencies]
env_logger = "0.10"

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"examples",
] }

Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "examples"
version = "2.6.1"
version = "3.0.0"
description = "A dummy package for testing the example Dylint libraries"
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -12,7 +12,7 @@ cargo_metadata = "0.18"
toml_edit = "0.21"
walkdir = "2.5"

dylint_internal = { version = "=2.6.1", path = "../internal", features = [
dylint_internal = { version = "=3.0.0", path = "../internal", features = [
"clippy_utils",
"examples",
] }
10 changes: 5 additions & 5 deletions examples/experimental/derive_opportunity/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 examples/experimental/derive_opportunity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "derive_opportunity"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "A lint to check for traits that could be derived"
edition = "2021"
Expand Down
10 changes: 5 additions & 5 deletions examples/experimental/missing_doc_comment_openai/Cargo.lock

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "missing_doc_comment_openai"
version = "2.6.1"
version = "3.0.0"
authors = ["Samuel E. Moelius III <sam@moeli.us>"]
description = "A lint that suggests doc comments using OpenAI"
edition = "2021"
Expand Down
Loading

0 comments on commit 30cf1a5

Please sign in to comment.