1 # Release Notes Format
2
3 ## Section Order
4
5 Do NOT add a title or heading at the top. The release notes start directly with the first section. Maintain this order:
6
7 ```markdown
8 ## Highlights
9 (only include if there are qualifying highlights — see release-types.md)
10
11 ## Features
12
13 ## Bugs
14
15 ## Documentation
16
17 ## Chores
18
19 ## Other Changes
20
21 ## New Contributors
22
23 **Full Changelog**: [vX.Y.Z-prev...vX.Y.Z](https://github.com/medusajs/medusa/compare/vX.Y.Z-prev...vX.Y.Z)
24 ```
25
26 The Full Changelog line is **always last**, always present, always bold, not a heading.
27
28 ---
29
30 ## Bullet Format
31
32 Every entry in Features, Bugs, Documentation, Chores, and Other Changes must use this exact format:
33
34 ```
35 * <type>(<scope>): <description> by [@username](https://github.com/username) in [#NNNN](https://github.com/medusajs/medusa/pull/NNNN)
36 ```
37
38 - Three spaces after the asterisk: `* `
39 - Author: `[@username](https://github.com/username)` — use the GitHub handle from PR metadata
40 - PR: `[#NNNN](https://github.com/medusajs/medusa/pull/NNNN)` — always linked
41 - Use the conventional commit prefix from the commit/PR title as-is (e.g. `feat(cart):`, `fix(order):`, `chore(deps):`)
42
43 **Example:**
44 ```
45 * feat(cart): add support for gift card line items by [@shahednasser](https://github.com/shahednasser) in [#14500](https://github.com/medusajs/medusa/pull/14500)
46 ```
47
48 ---
49
50 ## Commit Prefix → Section Mapping
51
52 | Conventional commit prefix | Section |
53 |---------------------------|---------|
54 | `feat:` / `feat(scope):` | Features |
55 | `fix:` / `fix(scope):` | Bugs |
56 | `docs:` / `docs(scope):` | Documentation |
57 | `chore:` / `chore(scope):` | Chores |
58 | `refactor:`, `perf:`, `build:`, `ci:` | Chores |
59 | `test:` | Chores |
60 | Translation / i18n PRs | Other Changes |
61 | Anything that doesn't fit cleanly | Other Changes |
62
63 ---
64
65 ## New Contributors Section
66
67 Add this section when there are first-time contributors. Format:
68
69 ```markdown
70 ## New Contributors
71 * @username made their first contribution in [#NNNN](https://github.com/medusajs/medusa/pull/NNNN)
72 ```
73
74 ---
75
76 ## Full Changelog Line
77
78 Always the final line of the release body. Format:
79
80 ```markdown
81 **Full Changelog**: [vX.Y.Z-prev...vX.Y.Z](https://github.com/medusajs/medusa/compare/vX.Y.Z-prev...vX.Y.Z)
82 ```
83
84 Replace `X.Y.Z-prev` with the previous release tag (without `v` prefix in the display text, with `v` prefix in the URL path).