Skip to content

Commit 547365e

Browse files
committed
Merge branch 'release-command' into jcamp
2 parents 18c6abf + 929497e commit 547365e

128 files changed

Lines changed: 3794 additions & 1574 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Add non-interactive options to the `add` command. `--empty` writes a changeset with no releases, which is useful for forcing a release run, and `-m`/`--message` supplies the changeset summary directly instead of prompting for it. The changeset parser now also tolerates empty changesets.

.changeset/add-open-status-flags-autorun.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Three smaller parity additions:

.changeset/adopt-dotnet-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Adopt .NET 10 with multi-targeting. The tool and tests now target net8.0 and net10.0, the SDK and CI use .NET 10, and the test suite runs against both runtimes.

.changeset/changelog-generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Support the `changelog-git` and `changelog-github` changelog generators, selected via the shared `changelog` config key (a generator name string, or `["@changesets/changelog-github", { "repo": "owner/repo" }]`). `changelog-git` prepends the short hash of the commit that added each changeset; `changelog-github` adds the pull-request link, commit link, and `Thanks @author!`, resolving PR and author data through the GitHub CLI (`gh`) and degrading gracefully when git/`gh` data is unavailable. The default format is unchanged, and dependency-update lines continue to use it.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Match the @changesets file formats so changeset files and changelogs are interchangeable with the Node tool: write lowercase bump types in changesets, and use H3 changelog section headers (`### Minor Changes`), no blank line after the `## x.y.z` version header, and nested `- Updated dependencies` / ` - Name@x.y.z` bullets.

.changeset/cli-help-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Show usage examples on `changeset --help` to match the @changesets help output, and fix the per-command help examples that rendered the application name twice.

.changeset/config-json-compat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Read the shared @changesets config.json schema so a polyglot repo can keep a single config both tools understand. The standard keys (baseBranch, access, ignore, fixed, linked, updateInternalDependencies) are read with changesets-matching defaults, the .NET-only settings move under a nested `dotnet` key the Node tool ignores, and `init` now writes a config valid for both tools. Existing configs with top-level sourcePath/packageSource keep working. updateInternalDependencies is now honored: dependent packages bump by patch or minor as configured, instead of always patch.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Extend front-door delegation to every release command. With `autoRunNode`, `status` and `publish` now delegate to the Node tool in a repository with no .NET projects (matching `version`), and a snapshot `version --snapshot <tag>` passes its tag through to the Node tool when delegating. The delegation loop guard is now set on the Node child process only (never on net's own environment), so it cannot leak between invocations.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Patch
2+
"Changesets": Patch
33
---
44

55
Fix `version` only bumping one dependent when a project is referenced by multiple projects.

.changeset/formatter-pass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
"SolarWinds.Changesets": Minor
2+
"Changesets": Minor
33
---
44

55
Honor the `format` config key. After writing changelogs, `version` runs the configured formatter over them, matching how `@changesets` formats its output, so a formatter-configured repo stays consistent. Supports prettier, biome, oxfmt, deno, and dprint; `format: "auto"` detects the formatter from its config files (same order as `@changesets`). Native formatters run directly and the npm-based ones run through the detected package manager (npx/pnpm/yarn/bun). `format: false` (the default) skips formatting, and a missing or failing formatter degrades gracefully with a warning, leaving the canonical changelog as written.

0 commit comments

Comments
 (0)