Skip to content

Commit 3672338

Browse files
dbantyGitHub
and
GitHub
authored
chore: prepare release 0.14.0 (#820)
This PR was created by Knope. Merging it will create a new release ### Breaking Changes #### `Cargo.toml` files must now have a `package.name` property This was already required by Cargo, but wasn't enforced by Knope until now. Before, a `Cargo.toml` file like ```toml [package] version = "0.1.0" ``` was acceptable, but now it must be ```toml [package] name = "my-package" version = "0.1.0" ``` ### Features #### Add basic Cargo workspace support If you have a `Cargo.toml` file in the working directory which represents a Cargo workspace containing fixed members, like: ```toml [workspace] members = [ "my-package", "my-other-package", ] ``` then Knope will now treat each member like a package. There must be a `Cargo.toml` file in each member directory, or Knope will error. This doesn't work with path globbing yet, only manual directory entries. See [the new docs](https://knope.tech/reference/default-config/#cargo-workspaces) for more details. #### Use default packages/workflows even when `knope.toml` exists If you define a `knope.toml` file without any packages, Knope will assume the default packages (as if you had no `knope.toml` file at all). Likewise, if you have no `[[workflows]]` in a `knope.toml` file, Knope will assume the default workflows. ### Fixes #### Homebrew tap now contains Apple Silicon binaries and auto-publishes new versions (#827) Co-authored-by: GitHub <[email protected]>
1 parent 1367ad7 commit 3672338

5 files changed

+51
-50
lines changed

.changeset/add_basic_cargo_workspace_support.md

-20
This file was deleted.

.changeset/cargotoml_files_must_now_have_a_packagename_property.md

-20
This file was deleted.

.changeset/use_default_packagesworkflows_even_when_knopetoml_exists.md

-9
This file was deleted.

CHANGELOG.md

+50
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,56 @@ The results are changes to the current directory, calls to external commands, an
1010
Notably, anything written to standard output or standard error
1111
(what you see in the terminal) is _not_ considered part of the public API and may change between any versions.
1212

13+
## 0.14.0 (2024-02-04)
14+
15+
### Breaking Changes
16+
17+
#### `Cargo.toml` files must now have a `package.name` property
18+
19+
This was already required by Cargo, but wasn't enforced by Knope until now. Before, a `Cargo.toml` file like
20+
21+
```toml
22+
[package]
23+
version = "0.1.0"
24+
```
25+
26+
was acceptable, but now it must be
27+
28+
```toml
29+
[package]
30+
name = "my-package"
31+
version = "0.1.0"
32+
```
33+
34+
### Features
35+
36+
#### Add basic Cargo workspace support
37+
38+
If you have a `Cargo.toml` file in the working directory which represents a Cargo workspace containing fixed members, like:
39+
40+
```toml
41+
[workspace]
42+
members = [
43+
"my-package",
44+
"my-other-package",
45+
]
46+
```
47+
48+
then Knope will now treat each member like a package.
49+
There must be a `Cargo.toml` file in each member directory, or Knope will error.
50+
51+
This doesn't work with path globbing yet, only manual directory entries. See [the new docs](https://knope.tech/reference/default-config/#cargo-workspaces) for more details.
52+
53+
#### Use default packages/workflows even when `knope.toml` exists
54+
55+
If you define a `knope.toml` file without any packages, Knope will assume the default packages (as if you had no `knope.toml` file at all).
56+
57+
Likewise, if you have no `[[workflows]]` in a `knope.toml` file, Knope will assume the default workflows.
58+
59+
### Fixes
60+
61+
#### Homebrew tap now contains Apple Silicon binaries and auto-publishes new versions (#827)
62+
1363
## 0.13.4 (2024-01-13)
1464

1565
### Features

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope"
33
description = "A command line tool for automating common development tasks"
4-
version = "0.13.4"
4+
version = "0.14.0"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"

0 commit comments

Comments
 (0)