Skip to content

Commit 044ede3

Browse files
authored
Merge branch 'master' into chore/add-envrc
2 parents e04de91 + cff055b commit 044ede3

21 files changed

+273
-328
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Bug report
33
about: Report a bug or unexpected behavior
4-
title: "[BUG]"
5-
labels: bug
4+
title: ''
5+
labels: bug, typescript
66
assignees: ''
77

88
---

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Feature request
33
about: Propose a new feature or enhancement
4-
title: "[FEATURE]"
4+
title: ''
55
labels: enhancement, typescript
66
assignees: ''
77

@@ -15,17 +15,17 @@ What problem are you trying to solve? What's the pain point?
1515

1616
Describe the expected behavior and functionality this feature will provide.
1717

18-
## Suggested Approach
18+
## Suggested Approach _(optional)_
1919

20-
Describe the technical implementation plan. Include architecture, key files/modules to modify, APIs, and any code patterns to follow.
20+
If known, describe the technical implementation plan. Include architecture, key files/modules to modify, APIs, and any code patterns to follow.
2121

2222
## Acceptance Criteria
2323

2424
How will we know this feature is complete and working correctly?
2525

26-
- [ ] Criterion 1
27-
- [ ] Criterion 2
28-
- [ ] Criterion 3
26+
- [ ] Feature behaves as described in the proposed solution
27+
- [ ] Tests are added or updated to cover the new functionality
28+
- [ ] No regressions in existing tests
2929

3030
## References
3131

.github/copilot-instructions.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,25 @@ Example: `feat(api): add player stats endpoint (#42)`
149149
- Port configuration (9000)
150150
- Production configurations or deployment secrets
151151

152+
### Creating Issues
153+
154+
This project uses Spec-Driven Development (SDD): discuss in Plan mode first, create a GitHub Issue as the spec artifact, then implement. Always offer to draft an issue before writing code.
155+
156+
**Feature request** (`enhancement` label):
157+
- **Problem**: the pain point being solved
158+
- **Proposed Solution**: expected behavior and functionality
159+
- **Suggested Approach** *(optional)*: implementation plan if known
160+
- **Acceptance Criteria**: at minimum — behaves as proposed, tests added/updated, no regressions
161+
- **References**: related issues, docs, or examples
162+
163+
**Bug report** (`bug` label):
164+
- **Description**: clear summary of the bug
165+
- **Steps to Reproduce**: numbered, minimal steps
166+
- **Expected / Actual Behavior**: one section each
167+
- **Environment**: runtime versions + OS
168+
- **Additional Context**: logs, screenshots, stack traces
169+
- **Possible Solution** *(optional)*: suggested fix or workaround
170+
152171
### Key workflows
153172

154173
**Add an endpoint**:

.github/pull_request_template.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Summary
2+
3+
Brief description of the changes and why they were made.
4+
5+
## Type of Change
6+
7+
- [ ] `feat` — new feature
8+
- [ ] `fix` — bug fix
9+
- [ ] `chore` — maintenance, tooling, or dependency update
10+
- [ ] `docs` — documentation only
11+
- [ ] `test` — adding or updating tests
12+
- [ ] `refactor` — code change that neither fixes a bug nor adds a feature
13+
- [ ] `ci` — CI/CD changes
14+
- [ ] `perf` — performance improvement
15+
16+
## Checklist
17+
18+
- [ ] `CHANGELOG.md` updated
19+
- [ ] All tests pass
20+
- [ ] No regressions introduced
21+
- [ ] Follows project coding guidelines

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ This project uses football/soccer terminology for release names:
5050

5151
### Changed
5252

53+
- `id` field in `Player` model migrated from `INTEGER` to `UUID` (`DataTypes.UUIDV4`, auto-generated on insert) — surrogate key, admin use only
54+
- `PUT /players/:id` route replaced by `PUT /players/squadNumber/:squadNumber` — natural key is now the domain identifier for mutations
55+
- `DELETE /players/:id` route replaced by `DELETE /players/squadNumber/:squadNumber` — natural key is now the domain identifier for mutations
56+
- `POST /players` conflict detection switched from `id`-based to `squadNumber`-based lookup
57+
- `IPlayer.id` type changed from `number` to `string` to reflect UUID
58+
- `updateAsync` and `deleteAsync` in service and database layers refactored to operate on `squadNumber`
59+
5360
### Deprecated
5461

5562
### Removed

package-lock.json

Lines changed: 29 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"commitlint": "^20.5.0",
5959
"eslint": "^10.1.0",
6060
"eslint-config-prettier": "^10.1.8",
61+
"globals": "^17.4.0",
6162
"jest": "^30.3.0",
6263
"nodemon": "^3.1.14",
6364
"pino-pretty": "^13.1.3",

0 commit comments

Comments
 (0)