@sentry/junior-maintenance 0.107.1 → 0.109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-maintenance",
3
- "version": "0.107.1",
3
+ "version": "0.109.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -36,17 +36,18 @@ Stop if any package lacks the target on npm.
36
36
 
37
37
  ### 3. Build release context
38
38
 
39
- Junior does not publish GitHub releases, tags, or a changelog. Use npm publish timestamps to summarize merged PRs between `old_version` and `target_version`:
39
+ Summarize changes between `old_version` and `target_version` (exclusive of old, inclusive of target) from GitHub release notes. Do not read `CHANGELOG.md` or scrape PRs — release bodies carry the authoritative release context.
40
+
41
+ Tags match package versions with no `v` prefix (for example `0.107.1`):
42
+
43
+ Ask npm to resolve the semver range to the exact tags, then fetch only those releases:
40
44
 
41
45
  ```bash
42
- pnpm view @sentry/junior time --json
43
- gh pr list --repo getsentry/junior --state merged \
44
- --search "merged:>=<old_published_at> merged:<=<target_published_at>" \
45
- --limit 100 \
46
- --json number,title,url,mergedAt
46
+ pnpm view '@sentry/junior@><old_version> <=<target_version>' version --json
47
+ gh release view <version> --repo getsentry/junior --json tagName,name,body,publishedAt,url
47
48
  ```
48
49
 
49
- Save total PR count, breaking PRs (`!` or `BREAKING CHANGE`), and config-relevant PRs (`config`, `plugins`, `nitro`, `createApp`, `runtime`, `credentials`, `egress`, `example`). If any breaking PR exists, keep the PR draft and call out manual review, but continue the update.
50
+ Collect the corresponding release bodies. Stop if any expected GitHub release is missing; do not substitute another source. Save the target release's `publishedAt` as `target_published_at` for step 7. Save total change count, breaking changes (`Breaking Changes`, `!`, or `BREAKING CHANGE`), and config-relevant items (`config`, `plugins`, `nitro`, `createApp`, `runtime`, `credentials`, `egress`, `example`). If any breaking change exists, keep the PR draft and call out manual review, but continue the update.
50
51
 
51
52
  ### 4. Create or reuse branch
52
53
 
@@ -96,7 +97,7 @@ For `vercel.json`, do not normalize the whole file against the example. Use upst
96
97
  git -C /tmp/junior-upstream diff <old_ref>..<target_ref> -- apps/example/vercel.json
97
98
  ```
98
99
 
99
- Only act on Junior-owned deployment requirements proven by that diff or by release-window PRs/docs. If `old_ref` is unavailable, target-only example entries are context, not proof; mark the review approximate and leave a manual review item when needed.
100
+ Only act on Junior-owned deployment requirements proven by that diff or by release notes/docs. If `old_ref` is unavailable, target-only example entries are context, not proof; mark the review approximate and leave a manual review item when needed.
100
101
 
101
102
  ### 8. Verify
102
103
 
@@ -122,11 +123,12 @@ Mention `minimumReleaseAgeExclude` sync if `pnpm-workspace.yaml` changed.
122
123
 
123
124
  ### 10. Push and open/update draft PR
124
125
 
125
- Open a draft PR. Include version change, release-window summary with the no-changelog disclaimer, config comparison findings, optional workspace/plugin/vercel changes, check results, and unexpected diffs. Add **Manual review required** when breaking PRs, unresolved config drift, approximate Vercel review, or failed checks exist.
126
+ Open a draft PR. Include version change, release summary with links to the GitHub releases, config comparison findings, optional workspace/plugin/vercel changes, check results, and unexpected diffs. Add **Manual review required** when breaking changes, unresolved config drift, approximate Vercel review, or failed checks exist.
126
127
 
127
128
  ## Stop conditions
128
129
 
129
130
  - Any Junior package lacks the target version on npm.
131
+ - Any npm version in `(old_version, target_version]` lacks a matching GitHub release.
130
132
  - `pnpm install --frozen-lockfile` fails after repair.
131
133
  - Checks fail for non-pre-existing, non-environment reasons and no safe config fix is available from step 7.
132
134
  - `package.json` changed but `pnpm-lock.yaml` did not.