Skip to content

feat: add getVersionLine to changelog functions, update docs - #1127

Open
cellog wants to merge 2 commits into
changesets:mainfrom
braze-inc:configure-version-line
Open

cellog wants to merge 2 commits into
changesets:mainfrom
braze-inc:configure-version-line

Conversation

@cellog

@cellog cellog commented Mar 30, 2023

Copy link
Copy Markdown

Our team needs to be able to have more control over the changelog format than what is provided. By adding getVersionLine as an optional new changelog generator, this gives us the flexibility we need without introducing any risk for existing users.

I also took it upon myself to document changelog functions because it wasn't that hard.

In addition, I fixed a crash that I encountered while trying to test the github changelog generator locally.

@changeset-bot

changeset-bot Bot commented Mar 30, 2023 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d740b31

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@changesets/apply-release-plan Minor
@changesets/get-github-info Patch
@changesets/types Minor
@changesets/cli Patch
@changesets/changelog-github Patch
@changesets/assemble-release-plan Patch
@changesets/changelog-git Patch
@changesets/config Patch
@changesets/get-dependents-graph Patch
@changesets/get-release-plan Patch
get-workspaces Patch
@changesets/git Patch
@changesets/parse Patch
@changesets/pre Patch
@changesets/read Patch
@changesets/release-utils Patch
@changesets/write Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codesandbox-ci

codesandbox-ci Bot commented Mar 30, 2023 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d740b31:

Sandbox Source
Vanilla Configuration

@adhorodyski

Copy link
Copy Markdown

I like it, can be helpful for producing more user friendly backlogs. Is there any way we can push this forward?

@mdorda

mdorda commented Apr 19, 2025

Copy link
Copy Markdown

Any plans to merge that?

@cellog

cellog commented Dec 15, 2025

Copy link
Copy Markdown
Author

hello anyone there?

@cryptodev-2s

Copy link
Copy Markdown

Hey @cellog, we need this too. We built the same hook in a fork of apply-release-plan to get Keep a Changelog output, so I'd rather help land yours than open a competing PR.

It conflicts with main now. Two ways forward, your call:

  1. You rebase it and I'll review and help push it along.
  2. If you're done with it, I open a fresh PR that cherry picks your commits so authorship stays intact, credited and marked as superseding this one. Keeping your getVersionLine naming and your changeset notes.

Happy either way, just don't want to step on three years of your work. If I don't hear back in a week or two I'll go with option 2.

@cryptodev-2s

Copy link
Copy Markdown

@bluwy you merged #2295 in this same function recently, so you're probably the right person to ask: is a configurable version line something you'd accept in principle?

Asking before anyone spends time rebasing. This PR is 12 files and three years stale. A fresh one would scope down to apply-release-plan, types, one doc page and a changeset. No point doing that if the answer is no.

Our use case is Keep a Changelog style headings (## [1.2.3]) instead of the hardcoded ## 1.2.3. #1178 has the broader thread on changelog customization.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants