Skip to content

Conversation

@JPeer264
Copy link
Member

closes #1190
closes WIZARD-118

This adds the question if the logs should be enabled for Cloudflare

Screenshot 2026-01-15 at 10 13 21

@JPeer264 JPeer264 self-assigned this Jan 15, 2026
@linear
Copy link

linear bot commented Jan 15, 2026

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features

  • (cloudflare) Add enableLogs when setting up Cloudflare by JPeer264 in #1191

Bug Fixes

  • (apple) Prevent duplicate init() in SwiftUI apps with existing initializer by betegon in #1188

Internal Changes

  • (release) Switch from action-prepare-release to Craft by BYK in #1186

🤖 This preview updates automatically when you update the PR.

Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JPeer264 JPeer264 enabled auto-merge (squash) January 15, 2026 13:40
@JPeer264 JPeer264 merged commit 4862b02 into master Jan 15, 2026
54 checks passed
@JPeer264 JPeer264 deleted the jp/cloudflare-logs branch January 15, 2026 13:40
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
When a custom .github/release.yml is used without semver fields on categories,
PRs appear in the changelog but don't contribute to version bump detection.
This causes the changelog preview to show "None" for semver impact.

Changes:
- Add warning when normalizing custom configs with missing semver fields
- Update docs to clarify semver field requirement for version detection
- Add tests for the warning behavior

Fixes getsentry/sentry-wizard#1191 investigation
BYK added a commit to getsentry/craft that referenced this pull request Jan 15, 2026
## Summary

- Adds a warning when custom `.github/release.yml` has categories
without `semver` fields
- Updates documentation to clarify that `semver` is required for version
bump detection
- Adds tests for the warning behavior

## Background

When investigating
[getsentry/sentry-wizard#1191](getsentry/sentry-wizard#1191),
the changelog preview showed "None" for semver impact despite the PR
having a `feat:` prefix. The root cause was that sentry-wizard's custom
`.github/release.yml` defined categories with `labels` and
`commit_patterns` but no `semver` fields.

Without `semver` fields, PRs are correctly categorized in the changelog
but don't contribute to version bump detection.

## Changes

### Warning
When Craft normalizes a custom release config, it now warns about
categories missing `semver`:

```
The following changelog categories have no 'semver' field and won't contribute to 
version bump detection: "Features", "Bug Fixes". 
See: https://getsentry.github.io/craft/configuration/#auto-mode
```

The warning:
- Only fires for custom configs (not default config)
- Only fires once per Craft invocation (deduplicated)
- Includes link to documentation

### Documentation
- Added caution admonition in `configuration.md` explaining `semver`
requirement
- Added note in `github-actions.md` about version bump detection
requirements

## Related

- Fix for sentry-wizard:
getsentry/sentry-wizard#1193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloudflare add logs option into .init

3 participants