Skip to content

Commit 04729fd

Browse files
committed
chore: bump version to 1.1.0 in package.json
1 parent 81551e0 commit 04729fd

3 files changed

Lines changed: 136 additions & 1 deletion

File tree

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
name: release-note
3+
description: Generate a semver-compliant release note from git history
4+
user-invocable: true
5+
---
6+
7+
Generate a release note for this project following https://semver.org/.
8+
9+
## Steps
10+
11+
### 1. Gather git history
12+
13+
```bash
14+
git tag --sort=-version:refname | head -5
15+
```
16+
17+
Then get commits since the last tag (or last 30 if no tags exist):
18+
19+
```bash
20+
# with tags:
21+
git log <last-tag>..HEAD --oneline --no-merges
22+
# no tags:
23+
git log --oneline --no-merges -30
24+
```
25+
26+
### 2. Determine current version
27+
28+
- If a version tag exists (e.g. `v1.2.3`) → that is the **current version**
29+
- If no tags exist → current version is `v0.0.0`
30+
31+
### 3. Categorize commits
32+
33+
| Category | Bump | Signals |
34+
|---|---|---|
35+
| **Breaking Changes** | MAJOR | `BREAKING CHANGE:`, `!` after type (e.g. `feat!:`), words "breaking", "incompatible" |
36+
| **Features** | MINOR | `feat:`, `feature:`, "add ", "new ", "implement" |
37+
| **Bug Fixes** | PATCH | `fix:`, `bugfix:`, "fix ", "resolve ", "correct " |
38+
| **Other** | PATCH | `refactor`, `chore`, `docs`, `style`, `test`, `perf`, `ci`, `build` |
39+
40+
Use [Conventional Commits](https://www.conventionalcommits.org/) prefixes when present; otherwise classify by message keywords.
41+
42+
### 4. Calculate next version
43+
44+
Apply the **highest** bump found:
45+
- Any BREAKING CHANGE → bump MAJOR, reset minor + patch to 0
46+
- Any feat (no breaking) → bump MINOR, reset patch to 0
47+
- Only fixes/other → bump PATCH
48+
49+
> **Pre-1.0 rule:** If current major is `0`, treat BREAKING as MINOR (semver §4).
50+
51+
### 5. Print draft release note
52+
53+
```
54+
## Release v<next> — <YYYY-MM-DD>
55+
56+
> Suggested bump: <MAJOR|MINOR|PATCH> (v<current> → v<next>)
57+
58+
### 💥 Breaking Changes
59+
- <message> (<sha>)
60+
61+
### ✨ Features
62+
- <message> (<sha>)
63+
64+
### 🐛 Bug Fixes
65+
- <message> (<sha>)
66+
67+
### 🔧 Other Changes
68+
- <message> (<sha>)
69+
```
70+
71+
Omit empty sections.
72+
73+
### 6. Ask for confirmation
74+
75+
After the draft, ask the user:
76+
77+
> **Does `v<next>` look right?**
78+
> - Confirm → finalize and print the clean release note
79+
> - Provide a different version (e.g. `v2.0.0`) → reformat with that version
80+
> - Cancel → discard
81+
82+
Once confirmed:
83+
84+
1. **Update `package.json`** — read the file, set `"version"` to the confirmed version (without the `v` prefix, e.g. `"1.3.0"`), and write it back.
85+
86+
2. **Update `CHANGELOG.md`** — prepend the new release section (without the `> Suggested bump:` line) to the top of the entries in `CHANGELOG.md`. If the file doesn't exist, create it with a standard header:
87+
```markdown
88+
# Changelog
89+
90+
All notable changes to this project will be documented in this file.
91+
92+
This project adheres to [Semantic Versioning](https://semver.org/).
93+
94+
---
95+
```
96+
Then append the release section below the `---` separator.
97+
98+
3. **Output the final release note** ready to paste into a GitHub Release or PR description.

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
This project adheres to [Semantic Versioning](https://semver.org/).
6+
7+
---
8+
9+
## v1.1.0 — 2026-03-29
10+
11+
### ✨ Features
12+
- feat: enhance GistViewer with improved code and markdown rendering (81551e0)
13+
- feat: enhance Gist functionality and navigation (9bd333c)
14+
- feat: enable Partial Prerendering and ISR via cacheComponents (ecf3a6f)
15+
- feat: configure Next.js for standalone output (de04b18)
16+
- feat: enhance HomeLeftSidebar with dynamic tag fetching and user session handling (dde7f7a)
17+
- feat: improve SEO across metadata, sitemaps, and structured data (e8a0f0b)
18+
- feat: integrate WorkOS authentication and update user model to include auth_id (90ab3c6)
19+
- feat: make article title optional and generate unique untitled-{random} fallback (cd33107)
20+
- feat: add LivecodeTag component for interactive code examples and integrate Sandpack support (508a013)
21+
- feat: add gallery image support in ArticleCard and extract image URLs from markdown (eb01f71)
22+
23+
### 🐛 Bug Fixes
24+
- fix: handle edge case for bookmark status retrieval when user is authenticated (40b26f3)
25+
- fix: return bookmarked false for unauthenticated users in bookmarkStatus (6b3068f)
26+
- fix: update link text in ProfileNavigation from "My articles" to "Articles" (7b47c3e)
27+
- fix: limit gallery images to a maximum of 4 in ArticleFeed component (a1db74c)
28+
- fix: update avatar placeholder URL to use initials instead of personas (7cb7210)
29+
- fix: update avatar utility function for consistency (f70e1bb)
30+
31+
### 🔧 Other Changes
32+
- refactor: remove next.config.mjs and update file path handling in opengraph-image.tsx (5be4650)
33+
- chore: update dependencies and improve TypeScript configuration (517e709)
34+
- chore: update next dependency to ^16.1.6 (5051235)
35+
- refactor: update authentication links and streamline logout process in Navbar (56926e9)
36+
- chore: update zod to 3.25.0 and refactor imports to zod/v4 (434d72e)
37+
- refactor: replace AlertDialog with Dialog component (25a5804 / c0f89c0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "techdiary.dev-next",
3-
"version": "1.0.13",
3+
"version": "1.1.0",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbo",

0 commit comments

Comments
 (0)