Skip to content

Commit 7f4ef16

Browse files
committed
chore: simplify PR template
chore: add contributor credits to release notes
1 parent 25186eb commit 7f4ef16

4 files changed

Lines changed: 111 additions & 78 deletions

File tree

.github/pull_request_template.md

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,16 @@
1-
## Description
1+
## What does this PR do?
22

3-
<!-- Brief description of changes -->
3+
<!-- A short description of the change and why it's needed -->
44

5-
## Type of Change
5+
## Type
66

7-
- [ ] Bug fix (non-breaking change which fixes an issue)
8-
- [ ] New feature (non-breaking change which adds functionality)
9-
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10-
- [ ] Documentation update
11-
- [ ] Refactoring (no functional changes)
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Breaking change
10+
- [ ] Docs / refactor
1211

13-
## Testing
12+
## Notes
1413

15-
<!-- How has this been tested? -->
14+
<!-- Anything the reviewer should know: edge cases, related issues, testing notes -->
1615

17-
- [ ] Tests pass locally
18-
- [ ] Added new tests for new features
19-
- [ ] Updated existing tests
20-
21-
## Checklist
22-
23-
- [ ] My code follows the project's code style
24-
- [ ] I have updated the documentation (if needed)
25-
- [ ] My commit messages follow conventional commits format
26-
- [ ] All tests pass
27-
28-
## Related Issues
29-
30-
Fixes #(issue number)
16+
<!-- Fixes #(issue) -->

.releaserc.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
// .releaserc.js
2+
// Commits from external contributors (anyone not 'hamidi-dev') get a
3+
// "thanks @author" suffix automatically in the release notes.
4+
const MAINTAINER_NAMES = ['mohamed hamidi', 'hamidi-dev']
5+
6+
module.exports = {
7+
branches: ['main'],
8+
plugins: [
9+
[
10+
'@semantic-release/commit-analyzer',
11+
{
12+
preset: 'conventionalcommits',
13+
releaseRules: [
14+
{ type: 'feat', release: 'minor' },
15+
{ type: 'fix', release: 'patch' },
16+
{ type: 'perf', release: 'patch' },
17+
{ type: 'revert', release: 'patch' },
18+
{ type: 'docs', release: false },
19+
{ type: 'chore', release: false },
20+
{ type: 'refactor', release: 'patch' },
21+
{ type: 'test', release: false },
22+
{ breaking: true, release: 'major' },
23+
],
24+
},
25+
],
26+
[
27+
'@semantic-release/release-notes-generator',
28+
{
29+
preset: 'conventionalcommits',
30+
presetConfig: {
31+
types: [
32+
{ type: 'feat', section: 'Features' },
33+
{ type: 'fix', section: 'Bug Fixes' },
34+
{ type: 'perf', section: 'Performance' },
35+
{ type: 'refactor', section: 'Code Refactoring' },
36+
{ type: 'docs', section: 'Documentation', hidden: false },
37+
{ type: 'chore', hidden: true },
38+
{ type: 'test', hidden: true },
39+
],
40+
},
41+
gitRawCommitsOpts: {
42+
format: '%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an',
43+
},
44+
writerOpts: {
45+
transform: (commit, context) => {
46+
if (!commit.type) return commit
47+
48+
// authorName is injected via the custom gitRawCommitsOpts format
49+
const login = commit.authorName || ''
50+
if (login && !MAINTAINER_NAMES.includes(login.toLowerCase())) {
51+
commit.subject = `${commit.subject} — thanks @${login}`
52+
}
53+
54+
return commit
55+
},
56+
},
57+
},
58+
],
59+
[
60+
'@semantic-release/changelog',
61+
{
62+
changelogFile: 'CHANGELOG.md',
63+
changelogTitle: '# Changelog\n\nAll notable changes to this project will be documented in this file.',
64+
},
65+
],
66+
[
67+
'@semantic-release/git',
68+
{
69+
assets: ['CHANGELOG.md'],
70+
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
71+
},
72+
],
73+
'@semantic-release/github',
74+
],
75+
}

.releaserc.json

Lines changed: 0 additions & 54 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.0.0](https://github.com/hamidi-dev/org-super-agenda.nvim/compare/v1.1.0...v2.0.0) (2026-03-08)
6+
7+
### ⚠ BREAKING CHANGE
8+
9+
* users on the old PID-file hide_command must update their
10+
tmux script and remove the manual popup_mode config block.
11+
12+
### chore
13+
14+
* add contributor credits to release notes ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/ad45898a55ceb33113e928ea71ff62b0bb430942))
15+
* add stylua + editorconfig and apply consistent formatting ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/52d3d45e1b24b8587463fcd99e3cdc0b39892175))
16+
* simplify PR template ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/9c210cd043c92fb0ce44b22afe82e288e5ada1e9))
17+
18+
### feat
19+
20+
* add agenda clock in/out integration ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/4de352faf6972033e5dba0f7813e49db485ccfe3))
21+
* add custom agenda views with picker and command support ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/241ffe102737ff8080f7b9e004612c982ec1e5ca))
22+
* add foldable groups with item counts ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/abe6ae429e4550b2e57bc503a9dc985cb91cd8f7))
23+
* add marking + bulk state/reschedule/deadline actions ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/3725ef8fd2ee62a57900b5e383c252f7cf6cbae8))
24+
* make goto and fold keymaps configurable ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/79072a3448a97a6ec43f1667572b24a78f153aef))
25+
* simplify popup_mode with auto-detection via env var ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/0296d55933ec0d7b5517028b398cef53cd25ee98))
26+
* streamline window and buffer handling ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/597e6e8af56078fe76c208a108dc27d368675197))
27+
* support custom todo order sorting per group ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/caaf26e21f44f9eaa87e62baa069cc31541cc91c))
28+
* support filetags ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/c29f73e75f1b6bc793770aba0298999049bfaf12))
29+
* support filtering archived items ([](https://github.com/hamidi-dev/org-super-agenda.nvim/commit/33dc0a72cdf8c1b447d59a6e3ee64d6d9dd7bce2))
30+
531
## [1.1.0](https://github.com/hamidi-dev/org-super-agenda.nvim/compare/v1.0.0...v1.1.0) (2026-02-25)
632

733
### Features

0 commit comments

Comments
 (0)