Skip to content

Release 2.0.0 - #19

Merged
dennisdornon merged 2 commits into
mainfrom
release/v1.2.0
Nov 25, 2026
Merged

dennisdornon merged 2 commits into
mainfrom
release/v1.2.0

Conversation

@dennisdornon

@dennisdornon dennisdornon commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Bumps @mainwp/control to 2.0.0 and moves the Unreleased changelog entries to [2.0.0] - 2026-11-25. It's a major version because the minimum Dashboard version changes.

Breaking: requires MainWP Dashboard 6.4.2 or later. GET ability input is sent as input_json and DELETE input as a JSON body, and earlier Dashboards read neither.

Included since 1.1.1:

Typecheck, lint, npm test (1155), npm run test:process (115), build and npm audit --omit=dev --audit-level=high pass locally, and mainwpcontrol --version reports 2.0.0.

Publishing to npm and tagging v2.0.0 happen after merge.

Summary by CodeRabbit

  • Release

    • Published version 2.0.0, a major release with breaking changes to request formatting and confirmation behavior for Dashboard 6.4.2 and later.
  • Documentation

    • Updated the changelog with details about Safe Updates safety classifications, login prompts, preview output, discovery warnings, confirmation safeguards, and writeOnly masking.
    • Included dependency update information and remaining security advisory details.

Version bump and changelog cut. The Unreleased entries move to [1.2.0] with fixed entries for the login prompt, Dashboard 6.4+ preview summaries and the WordPress 6.9 discovery warning, plus the dependency update. The Dashboard 6.4.2 minimum is the breaking change.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The changelog adds the 2.0.0 release notes and comparison links. The package version changes from 1.1.1 to 2.0.0.

Changes: Release update

Layer / File(s) Summary
Release notes and package version
CHANGELOG.md, package.json
The changelog documents Dashboard compatibility and request changes, fixes, security behavior, and dependency updates. The package version changes to 2.0.0.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

Merge Risk: Minimal · up to d8363 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Architecture risk: Low · up to d8363

The change affects 2 systems.

Changed systems: CHANGELOG.md, package.json

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — CHANGELOG.md (service) was modified; 1 changed file maps to changed impact.
  • observed — package.json (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CHANGELOG.md: Adds the 2.0.0 changelog heading and Changed notes covering the Dashboard minimum version and GET/DELETE input formats, confirmation-field handling, and destructive classification of five Safe Updates write abilities; Safe Updates reads remain unchanged.
  • observed — Modified behavior in CHANGELOG.md: Adds Fixed notes describing the login password-prompt fix, readable dry-run previews for Dashboard 6.4+, and suppression of the invalid-entry warning for unversioned core/* abilities while retaining it for malformed entries.
  • observed — Modified behavior in CHANGELOG.md: Adds Security notes documenting destructive-ability refusal for ambiguous confirmation or unavailable previews, handling of pinned confirm_* fields, writeOnly preview masking, dependency versions, and the remaining moderate minimatch advisory.
  • observed — Modified behavior in CHANGELOG.md: Updates the Unreleased comparison link to start at v2.0.0 and adds the v2.0.0 comparison link from v1.1.1.
Pre-merge checks: Passed 6

Check name Status Explanation
Title check Passed The title "Release 2.0.0" matches the main change in this PR. The package.json version moves from 1.1.1 to 2.0.0, and CHANGELOG.md adds a 2.0.0 entry. The title names the release but not the breaking …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Public Contract Compatibility Passed The reviewed range changes only three files: package.json (version 1.1.1 to 2.0.0), package-lock.json (the matching root version fields), and CHANGELOG.md (a 2.0.0 entry and link updates). No ho…
Validation Evidence Passed The changed-file inventory (refs/coderabbit/pre-merge-check/base to head) shows three modified files: CHANGELOG.md (documentation), package.json (version bump from 1.1.1 to 2.0.0), and package-lock.js…
Full details: Title check

Explanation

The title "Release 2.0.0" matches the main change in this PR. The package.json version moves from 1.1.1 to 2.0.0, and CHANGELOG.md adds a 2.0.0 entry. The title names the release but not the breaking Dashboard 6.4.2 minimum that drives the major bump. That is a reasonable level of detail for a release PR. The title is short and specific, though it says little about the content.

Full details: Public Contract Compatibility

Explanation

The reviewed range changes only three files: package.json (version 1.1.1 to 2.0.0), package-lock.json (the matching root version fields), and CHANGELOG.md (a 2.0.0 entry and link updates). No hook, REST route, ability, schema, serialized format, or Dashboard-to-Child payload code changes in this PR. The changelog and PR description list breaking behavior: GET ability input moves to input_json, DELETE input moves to a JSON body, and Dashboard 6.4.2 becomes the minimum version. Those changes are described as already included since 1.1.1. The diff does not add them, so this PR does not introduce them. The PR also documents the coordinated consumer requirement (upgrade to Dashboard 6.4.2 or later) and the major version bump under SemVer. Even if the check counted these described changes, the PR would explain the strategy and the consumer update. No incompatible public-contract change is introduced by this PR's diff, so the check passes. Linked consumer repositories were not inspected, and the check does not require that inspection for this diff.

Full details: Validation Evidence

Explanation

The changed-file inventory (refs/coderabbit/pre-merge-check/base to head) shows three modified files: CHANGELOG.md (documentation), package.json (version bump from 1.1.1 to 2.0.0), and package-lock.json (dependency updates). The lockfile change is executable-adjacent, so the validation criterion applies. The PR description records validation evidence: typecheck, lint, npm test (1155 tests), npm run test:process (115), build, and npm audit --omit=dev --audit-level=high, plus a mainwpcontrol --version check reporting 2.0.0. The check requires either validation evidence or an explicit verification limitation, and the description provides the former. Per the check, the reported outcomes are author-provided and were not re-executed here. The criterion is satisfied.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

package.json

Parsing error: ESLint was configured to run on <tsconfigRootDir>/package.json using parserOptions.project: /tsconfig.json
The extension for the file (.json) is non-standard. You should add parserOptions.extraFileExtensions to your config.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fdac8124-6265-40ab-bf6d-09fd0235d53c
Commits

Reviewing files that changed from the base of the PR and between 43639cc and d8363d7.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json and included by **
Files selected for processing: 2

  • CHANGELOG.md
  • package.json
Files skipped from review as they are similar to previous changes: 1

  • CHANGELOG.md

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

Recent review details

Context from checks skipped due to timeout: 8

  • GitHub Check: CodeRabbit
  • GitHub Check: CodeRabbit Security
  • GitHub Check: test (20.18.1, windows-latest)
  • GitHub Check: test (20.18.1, ubuntu-latest)
  • GitHub Check: test (22, macos-latest)
  • GitHub Check: test (22, windows-latest)
  • GitHub Check: test (22, ubuntu-latest)
  • GitHub Check: test (20.18.1, macos-latest)
Additional context used

Learnings: 1

Common learnings

Learnt from: dennisdornon
Repo: mainwp/mainwp-control PR: 5
File: CHANGELOG.md:8-24
Timestamp: 2026-03-26T15:13:07.622Z
Learning: In mainwp/mainwp-control's CHANGELOG.md, when a PR represents an actual release (i.e., the version bump in package.json corresponds to a release being cut), changelog entries should be moved into a new versioned section (e.g., `[1.1.0-beta.1] - YYYY-MM-DD`) rather than left under `[Unreleased]`. The `[Unreleased]` section should only hold changes not yet tied to a specific release. Only keep entries in `[Unreleased]` if the PR is a non-release feature/fix branch where no release is being cut.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Additional comments: 1

package.json-3-3: 1

3-3: Major · Data Integrity & Integration · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Release the breaking change as a major version.

A caller using an earlier Dashboard can receive 1.2.0 through a ^1.1.1 dependency range, but that Dashboard cannot read the new GET and DELETE input formats. This breaks the changelog’s SemVer commitment. Release as 2.0.0 and update the lockfile and release links to match.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI; Enforced overrides: Organization
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2e0c570d-4015-408a-b449-4afccef129fe
Commits

Reviewing files that changed from the base of the PR and between b2f85c0 and 43639cc.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json and included by **
Files selected for processing: 2

  • CHANGELOG.md
  • package.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 10 reviews per hour.

Review details

Context from checks skipped due to timeout: 8

  • GitHub Check: CodeRabbit
  • GitHub Check: CodeRabbit Security
  • GitHub Check: test (20.18.1, ubuntu-latest)
  • GitHub Check: test (22, ubuntu-latest)
  • GitHub Check: test (22, windows-latest)
  • GitHub Check: test (22, macos-latest)
  • GitHub Check: test (20.18.1, macos-latest)
  • GitHub Check: test (20.18.1, windows-latest)
Additional context used

Learnings: 1

Common learnings

Learnt from: dennisdornon
Repo: mainwp/mainwp-control PR: 5
File: CHANGELOG.md:8-24
Timestamp: 2026-03-26T15:13:07.622Z
Learning: In mainwp/mainwp-control's CHANGELOG.md, when a PR represents an actual release (i.e., the version bump in package.json corresponds to a release being cut), changelog entries should be moved into a new versioned section (e.g., `[1.1.0-beta.1] - YYYY-MM-DD`) rather than left under `[Unreleased]`. The `[Unreleased]` section should only hold changes not yet tied to a specific release. Only keep entries in `[Unreleased]` if the PR is a non-release feature/fix branch where no release is being cut.

The Dashboard 6.4.2 minimum is a breaking change, so this release is a major version under SemVer. The entries are unchanged from the 1.2.0 cut.
@dennisdornon dennisdornon changed the title Release 1.2.0 Release 2.0.0 Nov 25, 2026
@dennisdornon

Copy link
Copy Markdown
Member Author

The version is now 2.0.0 (d8363d7). The Dashboard 6.4.2 minimum is a breaking change, so it gets a major version, as the review pointed out.

@dennisdornon

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@dennisdornon
dennisdornon merged commit a204f9a into main Nov 25, 2026
11 checks passed
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.

1 participant