Skip to content

chore: modify how changelog is generated#248

Merged
seqre merged 1 commit intomasterfrom
release-plz-config-updates
Mar 18, 2025
Merged

chore: modify how changelog is generated#248
seqre merged 1 commit intomasterfrom
release-plz-config-updates

Conversation

@seqre
Copy link
Member

@seqre seqre commented Mar 18, 2025

Changes to the config:

  • do not generate changelog for cot-codegen and cot-macros
  • extract security changes to separate category
  • preprocess commit messages to include links, so that the changelog is useful outside of GitHub
  • removed pointless comments
  • always output breaking commits

With those changes, the changelog for this version for cot will look like this:

0.2.0 - 2025-03-18

Security

  • cycle session ID on login, flush session on logout (#246)

New features

  • add a user-friendly message for AddrInUse error (#233)
  • add support for remove field in automatic migration generator (#232)
  • add basic pagination support for admin panel (#217)
  • support "Remove Model" in Automatic Migration Generator (#221)

Fixes

  • panic backtrace/location not displayed on the error page (#237)
  • include APP_NAME in model (#228)

Other

  • [breaking] upgrade edition to 2024 (#244)
  • (clippy) add --all-targets to clippy CI and fix all warnings (#240)
  • add test for reverse!() reversing in the current app first (#239)
  • more docs (up to 100% doc coverage) (#229)

@seqre seqre requested a review from m4tx March 18, 2025 10:49
@seqre seqre self-assigned this Mar 18, 2025
@codecov
Copy link

codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
rust 81.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@m4tx m4tx left a comment

Choose a reason for hiding this comment

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

Should we also remove the already existing changelogs for cot-codegen and cot-macros?

@seqre
Copy link
Member Author

seqre commented Mar 18, 2025

Should we also remove the already existing changelogs for cot-codegen and cot-macros?

There are none on master or I'm blind. The ones in the release PR should (I hope) disappear once release-plz reruns with that config. If not, we can delete them from there.

@seqre seqre merged commit 382ed4d into master Mar 18, 2025
30 checks passed
@seqre seqre deleted the release-plz-config-updates branch March 18, 2025 12:28
@seqre
Copy link
Member Author

seqre commented Mar 18, 2025

Should we also remove the already existing changelogs for cot-codegen and cot-macros?

There are none on master or I'm blind. The ones in the release PR should (I hope) disappear once release-plz reruns with that config. If not, we can delete them from there.

Yup, that's what happened @m4tx: https://github.com/cot-rs/cot/pull/215/files

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.

2 participants