Skip to content

build: Add yarn changelog command #7016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2023
Merged

build: Add yarn changelog command #7016

merged 1 commit into from
Feb 1, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Feb 1, 2023

Since I got slightly annoyed about manually sorting the commits, I wrote a small script to automate that for us.

Now, you can just run yarn changelog to get all commits since the last release, alphabetized.

E.g. for the current release it output this:

- build(deps): bump simple-git in /packages/replay/metrics
- build(utils): Add build constant for cdn vs. npm bundles (#6904)
- chore: Upgrade Node to 16.9.0 (#6971)
- chore(deps): bump default node to latest v16 for e2e-tests (#6962)
- ci: Add labels to gitflow PRs (#6997)
- ci: Fix gitflow workflows (#6995)
- ci: Setup gitflow process (#6890)
- ci(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2 (#6994)
- docs(replay): Add changelog entry and migration log for privacy API (#7008)
- feat: Add aria label to breadcrumb attributes (#6955)
- feat(browser): Track if cdn or npm bundle (#6976)
- feat(core): Add Offline Transport wrapper (#6884)
- feat(loader): Add SENTRY_SDK_SOURCE to track loader stats (#6985)
- feat(replay): Deprecate privacy options in favor of a new API, remove some recording options (#6645)
- feat(replay): Move sample rate tags into event context (#6659)
- fix(nextjs): Add isomorphic versions of `ErrorBoundary`, `withErrorBoundary` and `showReportDialog` (#6987)
- fix(nextjs): Don't modify require calls in wrapping loader (#6979)
- fix(nextjs): Don't share I/O resources in between requests (#6980)
- fix(nextjs): Inject client config into `_app` instead of `main` (#7009)
- fix(nextjs): Use Proxies to wrap to preserve static methods (#7002)
- fix(replay): Catch style mutation handling & null events in rrweb (#7010)
- fix(replay): Handle compression failures more robustly (#6988)
- fix(replay): Only call `scope.getLastBreadcrumb` if available (#6969)
- fix(utils): Account for null prototype during normalization (#6925)
- ref(replay): Log warning if sample rates are all undefined (#6959)

You still need to manually remove stuff etc., but it should help a bit.

@mydea mydea requested review from lforst, Lms24 and AbhiPrasad February 1, 2023 10:55
@mydea mydea self-assigned this Feb 1, 2023
Copy link
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol. Reminds me of this https://xkcd.com/1205/

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@mydea
Copy link
Member Author

mydea commented Feb 1, 2023

Lol. Reminds me of this https://xkcd.com/1205/

I think it pans out, I'd put it takes 30 seconds weekly, which gives me 2h - and it only took me 5 min to write this, so I think we're good 😂

@mydea mydea merged commit 8c0d918 into develop Feb 1, 2023
@mydea mydea deleted the fn/add-changelog-script branch February 1, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants