@oakoss/oakum 0.11.1 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.1 (2026-11-17)
4
+
5
+ ### Fixed
6
+
7
+ The `.changeset/README.md` that `init` writes names the two markdown-lint settings oakum's files need (MD041 off for `.changeset/*.md`, MD024 `siblings_only` for changelogs), and `migrate` names them itself rather than claiming `init` prints them. The same README says a clean `check` prints its `check:` and `coverage:` lines, not nothing. `upgrade` refreshes a README v0.10.0 through v0.12.0 wrote.
8
+
9
+ ## 0.12.0 (2026-11-16)
10
+
11
+ ### Added
12
+
13
+ `dependency-updates = "release"` in `.changeset/_config.toml` releases each versioned package a dependency update reached since its last tag, with no bump file: a build at `patch`, a library at `patch` for compatible requirement moves and the next major otherwise, under a note naming what moved (`serde ^1.0.100 → ^1.0.200`). `status --json` marks such a release `"source": {"kind": "dependency-update"}` and lists under `updates_unread` the packages whose updates it cannot read for want of a tag. The default, `"ignore"`, releases nothing for them.
14
+
15
+ ### Changed
16
+
17
+ A change that only moves dependencies needs no intent, whatever its commit says. `check` reports a package every path of which is a `Cargo.lock` row or `pnpm-lock.yaml` entry for a dependency it takes at runtime, a `[workspace.dependencies]` or catalog entry it resolves differently, or an existing entry's requirement, features, `default-features` or source in its own manifest as `covered by a dependency update` (`"kind": "dependency-update"` in `check --json`), so a Renovate or Dependabot pull request committed as `fix(deps)` passes `check --strict` without a bump file. An edit confined to a package's own development dependencies asks nothing. A root package holding a lockfile or `pnpm-workspace.yaml` is reached by their entries rather than as files in its directory.
18
+
19
+ `check` recognises a version commit by the version it moved and the changelog section it added, not by a bump file it deleted, so a release that consumed no bump file is not read as an uncovered change.
20
+
3
21
  ## 0.11.1 (2026-11-15)
4
22
 
5
23
  ### Fixed
@@ -647,4 +665,4 @@ Release workflow checks out the homebrew tap in a subdirectory so the composite
647
665
 
648
666
  Self-host release CI uploads cargo-dist artifacts into the GitHub Release oakum already created, instead of calling create again.
649
667
 
650
- Generated by oakum 0.11.0.
668
+ Generated by oakum 0.12.0.
package/README.md CHANGED
@@ -16,14 +16,6 @@ A library whose published range still covers the new version does not need repub
16
16
 
17
17
  Oakum derives which is which — from the binary targets Cargo resolves for a package, from the `bin` field in npm — rather than asking you to declare it. Reading resolved targets rather than looking for `src/main.rs` is what makes `autobins = false` and explicit `[[bin]]` entries come out right.
18
18
 
19
- ## Design rules
20
-
21
- **Config expresses preference; facts are derived.** What depends on what, what is publishable, what needs a bump, and which artifact ships are all read from the repository on every run. Templates, titles, the tag format oakum writes, and commit messages are yours, because they describe output rather than the repository, so they cannot go stale. One key is neither: `resolves-dependencies-at`, set per package under `[packages.<name>]`, which states when your package manager fixes a dependency — a fact about the ecosystem that oakum cannot read from your repository. `init` writes a `#:schema ./_schema.json` line, and `init` and `upgrade` keep `_schema.json` next to `_config.toml`, unless `_schema.json` has been deleted and the line names another schema, such as the `schema.json` the npm package ships; that directive is taplo's, not part of TOML, so editor support varies. Every key, with its type and any default, is in the [configuration reference](docs/guide/configuration.md).
22
-
23
- **Every command writes only the files it owns.** Oakum does not install git hooks, touch git config, edit `AGENTS.md`, write CI workflows, or create commits you did not ask for. `version` owns the manifests it bumps, the lockfile entries those bumps invalidate, and declared `extra-files`. A Cargo version bump invalidates `Cargo.lock`, and a rewritten workspace range invalidates its `pnpm-lock.yaml` entry, so leaving either stale would break the next `--locked` build or frozen install. Nothing beyond that is written. `check` is pure: it reports drift and names the fix, never applies it.
24
-
25
- **Failure is loud, and "we didn't look" is never reported as "it's fine."** Every verification has three outcomes, not two. A version that could not be confirmed says so.
26
-
27
19
  ## Install
28
20
 
29
21
  Three install channels, one cargo-dist build behind all of them, so the versions cannot diverge ([ADR-0021](docs/decisions/0021-distribute-through-three-channels.md)):
@@ -34,6 +26,30 @@ Three install channels, one cargo-dist build behind all of them, so the versions
34
26
 
35
27
  None of these works offline, and the npm channel needs **two** origins at install time — the registry for the package, then `github.com` for the binary. An environment with an internal npm mirror but no route to GitHub installs the package and then fails in `postinstall`; there, `cargo install oakum` through a crates.io mirror is the only channel that avoids GitHub entirely, since the shell installer and Homebrew fetch from the GitHub release too.
36
28
 
29
+ ## Quick start
30
+
31
+ In an npm or Cargo repository:
32
+
33
+ 1. `oakum init` writes `.changeset/` and prints a GitHub Actions workflow and the install pin your repository needs. Save the workflow under `.github/workflows/` and add the pin; oakum writes neither, and `add` refuses until the pin exists.
34
+ 2. On a branch, `oakum add --packages <name>:<level> --message "<what users see>"` writes a bump file naming a package your change releases and how far (`patch`, `minor` or `major`); `oakum add --interactive` asks instead. With conventional commits on, `oakum generate` writes one from your commits.
35
+ 3. `oakum status` shows the next release: each package, its new version, and why.
36
+ 4. On every pull request, the workflow runs `oakum check --strict`, which fails when a changed package has nothing saying what the change releases, and comments the release plan.
37
+ 5. On the default branch, it keeps a version pull request open with the bumped manifests and changelogs. Merging that pull request is the release: the workflow tags it and publishes the GitHub release.
38
+
39
+ Already on changesets, knope or bumpy? `oakum migrate` converts their config and pending bump files in place of step 1 ([Migrating](docs/guide/migrating.md)).
40
+
41
+ ## Documentation
42
+
43
+ Start with the [user guide](docs/README.md#using-oakum): writing bump files, what covers a change, running oakum in GitHub Actions, and every config key. Design decisions and their reasons are in [docs/decisions/](docs/decisions/).
44
+
45
+ ## Design rules
46
+
47
+ **Config expresses preference; facts are derived.** What depends on what, what is publishable, what needs a bump, and which artifact ships are all read from the repository on every run. Templates, titles, the tag format oakum writes, and commit messages are yours, because they describe output rather than the repository, so they cannot go stale. One key is neither: `resolves-dependencies-at`, set per package under `[packages.<name>]`, which states when your package manager fixes a dependency — a fact about the ecosystem that oakum cannot read from your repository. `init` writes a `#:schema ./_schema.json` line, and `init` and `upgrade` keep `_schema.json` next to `_config.toml`, unless `_schema.json` has been deleted and the line names another schema, such as the `schema.json` the npm package ships; that directive is taplo's, not part of TOML, so editor support varies. Every key, with its type and any default, is in the [configuration reference](docs/guide/configuration.md).
48
+
49
+ **Every command writes only the files it owns.** Oakum does not install git hooks, touch git config, edit `AGENTS.md`, write CI workflows, or create commits you did not ask for. `version` owns the manifests it bumps, the lockfile entries those bumps invalidate, and declared `extra-files`. A Cargo version bump invalidates `Cargo.lock`, and a rewritten workspace range invalidates its `pnpm-lock.yaml` entry, so leaving either stale would break the next `--locked` build or frozen install. Nothing beyond that is written. `check` is pure: it reports drift and names the fix, never applies it.
50
+
51
+ **Failure is loud, and "we didn't look" is never reported as "it's fine."** Every verification has three outcomes, not two. A version that could not be confirmed says so.
52
+
37
53
  ## Non-goals
38
54
 
39
55
  No plugin runtime. Support only for the package managers this repository's projects actually use. No prerelease channels, snapshot releases, or staged publishing until a real repository needs them. No template value may execute a shell command — templates render, and anything that needs generating runs in your workflow and arrives as a file.
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@oakoss/oakum",
22
- "version": "0.11.1"
22
+ "version": "0.12.1"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.11.1"
51
+ "version": "0.12.1"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/oakoss/oakum/releases/download/v0.11.1"
3
+ "https://github.com/oakoss/oakum/releases/download/v0.12.1"
4
4
  ],
5
5
  "author": "Jace Babin",
6
6
  "bin": {
@@ -105,7 +105,7 @@
105
105
  "zipExt": ".tar.xz"
106
106
  }
107
107
  },
108
- "version": "0.11.1",
108
+ "version": "0.12.1",
109
109
  "volta": {
110
110
  "node": "18.14.1",
111
111
  "npm": "9.5.0"
package/schema.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "type": "boolean"
20
20
  },
21
21
  "commit-message": {
22
- "description": "Commit message for the version commit. Receives the `oakum status --json` document: `awaiting_tag`, `changed`, `coverage`, `hand_set`, `manages_nothing`, `named_unmanaged`, `packages`, `retired`, `retired_look`, `schema_version`, `selection_empty`, `target`, `uncovered`, `unlinked`, `unmanaged`, `unresolved_scopes`. A string is inline; `{ file = \"path\" }` loads a repository-relative file. Templates render; they do not execute (ADR-0006).",
22
+ "description": "Commit message for the version commit. Receives the `oakum status --json` document: `awaiting_tag`, `changed`, `coverage`, `hand_set`, `manages_nothing`, `named_unmanaged`, `packages`, `retired`, `retired_look`, `schema_version`, `selection_empty`, `target`, `uncovered`, `unlinked`, `unmanaged`, `unresolved_scopes`, `updates_unread`. A string is inline; `{ file = \"path\" }` loads a repository-relative file. Templates render; they do not execute (ADR-0006).",
23
23
  "oneOf": [
24
24
  {
25
25
  "type": "string"
@@ -43,6 +43,12 @@
43
43
  "description": "When true, commits can feed `generate`, and the plan if change-files is off (ADR-0029).",
44
44
  "type": "boolean"
45
45
  },
46
+ "dependency-updates": {
47
+ "default": "ignore",
48
+ "description": "A change that only moves dependencies needs no intent either way. `ignore` ships it with the package's next release, unannounced; `release` releases each managed package a dependency update reaches in its range since its last tag, at a level read from the move, with a note naming what moved (ADR-0040).",
49
+ "enum": ["ignore", "release"],
50
+ "type": "string"
51
+ },
46
52
  "exclude": {
47
53
  "default": [],
48
54
  "description": "Exact package names to leave alone after include filtering (ADR-0027).",
@@ -183,7 +189,7 @@
183
189
  ]
184
190
  },
185
191
  "title": {
186
- "description": "Title for the version pull request. Defaults to the version commit's built-in message; a configured `commit-message` does not change it. Where a repository takes its squash subject from the title, that default keeps the subject conventional. Receives the `oakum status --json` document: `awaiting_tag`, `changed`, `coverage`, `hand_set`, `manages_nothing`, `named_unmanaged`, `packages`, `retired`, `retired_look`, `schema_version`, `selection_empty`, `target`, `uncovered`, `unlinked`, `unmanaged`, `unresolved_scopes`. A string is inline; `{ file = \"path\" }` loads a repository-relative file. One template per surface, with conditionals in the body (ADR-0015).",
192
+ "description": "Title for the version pull request. Defaults to the version commit's built-in message; a configured `commit-message` does not change it. Where a repository takes its squash subject from the title, that default keeps the subject conventional. Receives the `oakum status --json` document: `awaiting_tag`, `changed`, `coverage`, `hand_set`, `manages_nothing`, `named_unmanaged`, `packages`, `retired`, `retired_look`, `schema_version`, `selection_empty`, `target`, `uncovered`, `unlinked`, `unmanaged`, `unresolved_scopes`, `updates_unread`. A string is inline; `{ file = \"path\" }` loads a repository-relative file. One template per surface, with conditionals in the body (ADR-0015).",
187
193
  "oneOf": [
188
194
  {
189
195
  "type": "string"