You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses [Changesets](https://github.com/changesets/changesets) to manage versioning and changelogs. **Only create changesets when user-facing APIs change or break.**
457
+
458
+
### When to Create a Changeset
459
+
460
+
**CREATE a changeset when:**
461
+
462
+
- ✅ Adding new public functions, classes, or methods
463
+
- ✅ Modifying signatures of exported functions/methods
464
+
- ✅ Adding/removing/changing public exports
465
+
- ✅ Fixing bugs that affect user-facing behavior
466
+
- ✅ Changing the behavior of existing APIs
467
+
- ✅ Adding new features users can utilize
468
+
- ✅ Deprecating or removing public APIs
469
+
470
+
**DO NOT create a changeset for:**
471
+
472
+
- ❌ Internal refactoring (no API changes)
473
+
- ❌ Test-only changes
474
+
- ❌ Documentation updates (unless they reflect API changes)
- Internal refactoring (if it fixes user-facing issues)
489
+
490
+
```markdown
491
+
---
492
+
"nostrudel": patch
493
+
---
494
+
495
+
Fix memory leak in event handler cleanup
496
+
```
497
+
498
+
**MINOR (0.X.0) - New Features (Backwards Compatible)**
499
+
500
+
- New public functions/classes/methods
501
+
- New optional parameters
502
+
- New exports
503
+
- Deprecation warnings (not removal)
504
+
505
+
```markdown
506
+
---
507
+
"nostrudel": minor
508
+
---
509
+
510
+
Add `getGroupMembers()` method to retrieve all members in a group
511
+
```
512
+
513
+
**MAJOR (X.0.0) - Breaking Changes**
514
+
515
+
- Removing public APIs
516
+
- Changing required parameters
517
+
- Removing/renaming exports
518
+
- Incompatible behavior changes
519
+
520
+
```markdown
521
+
---
522
+
"nostrudel": major
523
+
---
524
+
525
+
**Breaking:** Remove deprecated `sendMessage()` method. Use `send()` instead.
526
+
```
527
+
528
+
### One Changeset Per Logical Change
529
+
530
+
**IMPORTANT: When a single PR or commit contains multiple distinct user-facing changes, create one changeset per change — not one combined changeset.**
531
+
532
+
Each changeset should describe exactly one thing. This keeps the generated changelog readable: entries map to individual features, fixes, or breaking changes rather than a mixed list.
533
+
534
+
```bash
535
+
# Example: a PR that adds a new method AND removes a deprecated one
0 commit comments