Skip to content

Commit 51d78b3

Browse files
dbantyGitHub
and
GitHub
authored
chore: prepare releases (#1004)
This PR was created by Knope. Merging it will create a new release --------- Co-authored-by: GitHub <[email protected]>
1 parent ad76af7 commit 51d78b3

9 files changed

+47
-51
lines changed

.changeset/add_get_version_default_workflow.md

-15
This file was deleted.

.changeset/add_option_to_ignore_conventional_commits.md

-16
This file was deleted.

.changeset/allow_omitting_the_variables_field_for_createpullrequest_title_and_body.md

-5
This file was deleted.

.changeset/created_a_new_recipe_for_converting_a_single_package_repo_into_a_monorepo.md

-7
This file was deleted.

.changeset/initial_release.md

-5
This file was deleted.

CHANGELOG.md

+39
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,45 @@ 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.16.2 (2024-04-14)
14+
15+
### Features
16+
17+
#### Add `get-version` default workflow
18+
19+
For **single-package repositories** with no custom workflows defined,
20+
there is now a [default workflow](https://knope.tech/reference/default-config/#workflows) called `get-version` that
21+
prints out the current package version.
22+
23+
If you want similar functionality for multi-package repositories, please add your ideas to [issue #988](https://github.com/knope-dev/knope/issues/988).
24+
25+
Thanks to @BatmanAoD for the suggestion and @alex-way for the implementation!
26+
27+
PR #994 closed #885.
28+
29+
#### Add option to ignore conventional commits
30+
31+
You can now add `ignore_conventional_commits = true` to a [`PrepareRelease` step](https://knope.tech/reference/config-file/steps/prepare-release/)
32+
to ignore commit messages (and only consider changesets):
33+
34+
```toml
35+
[[workflows.steps]]
36+
type = "PrepareRelease"
37+
ignore_conventional_commits = true
38+
```
39+
40+
PR #1008 closes #924. Thanks for the suggestion @ematipico!
41+
42+
### Fixes
43+
44+
- Allow omitting the `variables` field for `CreatePullRequest` title and body
45+
46+
### Documentation
47+
48+
#### Created a new recipe for converting a single-package repo into a monorepo
49+
50+
Knope itself is now a monorepo—the process of converting it was documented [here](https:/knope.tech/recipes/convert-to-monorepo).
51+
1352
## 0.16.1 (2024-03-24)
1453

1554
### Features

crates/knope-versioning/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## 0.0.1 (2024-04-14)
2+
3+
### Features
4+
5+
- Initial release

crates/knope-versioning/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "knope-versioning"
33
description = "A library for handling all the versioned files supported by Knope"
4-
version = "0.0.0"
4+
version = "0.0.1"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"

crates/knope/Cargo.toml

+2-2
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.16.1"
4+
version = "0.16.2"
55
authors = ["Dylan Anthony <[email protected]>"]
66
edition = "2021"
77
license = "MIT"
@@ -34,7 +34,7 @@ inquire = { version = "0.7.4", default-features = false, features = [
3434
"crossterm",
3535
] }
3636
itertools = "0.12.1"
37-
knope-versioning = { path = "../knope-versioning", version = "0.0.0", features = [
37+
knope-versioning = { path = "../knope-versioning", version = "0.0.1", features = [
3838
"miette",
3939
] }
4040
log = "0.4.21"

0 commit comments

Comments
 (0)