release: prepare 0.4.0 - #78
Merged
Merged
Conversation
Closes the [Unreleased] section as [0.4.0] and cuts the matching docs snapshot. 0.4 earns a snapshot rather than markers because it changes documented behaviour rather than only adding to it: `explain` now honours `rules:` after its own docs said it deliberately did not, `only:` no longer reaches the runtime or plan findings, and `slow-query.threshold` moved under `rules.settings`. `/docs/` has to keep describing 0.3 for anyone still on it. Only the changelog and the snapshot are here. Per CONTRIBUTING the root tag comes first and the satellites are pinned to it afterwards, so the eight go.mod files still require v0.3.0 and are updated once v0.4.0 exists.
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: KARTIKrocks/sqlguard/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the
[Unreleased]section as[0.4.0]and cuts the matching docs snapshot. No code changes.0.4 gets a snapshot rather than version markers because it changes documented behaviour rather than only adding to it:
/docs/must keep describing 0.3explainhonoursrules:only:no longer reaches runtime or plan findingsslow-query.thresholdmoved underrules.settingsVerified the snapshot actually captured the change:
versioned_docs/version-0.4/carries the new "Whatonly:reaches" section and the reversedexplainstance, andversion-0.3/correctly does not.Type of change
Checklist
make cipasses (fmt-check, vet, lint, vuln, test-race, lint-docs) across all moduleswebsite/docs/with a version marker — neverwebsite/versioned_docs/AGENTS.md/.sqlguard.example.ymlif a convention or config key changed## [Unreleased]inCHANGELOG.mdanalyzer/middleware/reporterResult)No tests and no
AGENTS.mdchange: this adds no behaviour.versioned_docs/is written here, which is the one time that is correct —cut-version.mjscreates the snapshot; no existing snapshot was edited.What is deliberately not here
The satellite pinning.
CONTRIBUTING.mdhas the root tag first and the satellites pinned to it afterwards, so the eightgo.modfiles still requirev0.3.0— they cannot point atv0.4.0until it exists. Sequence after this merges:git tag v0.4.0 && git push origin v0.4.0go mod edit -require …@v0.4.0across the eight satellites,make tidy && make testVerification
GOWORK=off make test— all 14 packages pass. The check that matters for a release:go.worknormally hides a satellite compiling against a core version it does not actually require, so this is the only run that sees what a consumer's build sees.onBrokenLinks: 'throw'.make cistages green —fmt-check,vet,lint,vuln(0 affecting),test;lint-docsfails only on untracked local scratch files outside this branch.maxLiveVersionsis 4 andversions.jsonis now["0.4", "0.3", "0.2"], so nothing was pushed out of the served set.Release notes will lead with the breaking changes
Unlike 0.3.0, which led with a security fix, this one needs its migrations up front:
and
middleware.NewQueryTrackergains aseverityargument — passanalyzer.SeverityWarningto keep the previous behaviour.