Skip to content

chore: revert accidental 4.2.1 release - #3375

Merged
lemagnetic merged 3 commits into
mainfrom
revert/release-4.2.1
Jun 1, 2026
Merged

lemagnetic merged 3 commits into
mainfrom
revert/release-4.2.1

Conversation

@lemagnetic

@lemagnetic lemagnetic commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

Reverts an accidental 4.2.1 release

This PR restores main to the last legitimate release state (4.2.0).

No npm publish happened: the local script had the pnpm -r publish step removed, so 4.2.1 only exists as git history (now being reverted). The v4.2.1 tag was already deleted.

How it works?

Reverts the three commits that landed on main, newest → oldest:

  • 516e784 — [no ci] Release: 4.2.1 (version bump + CHANGELOGs)
  • e9b2105 — fix: fix vtex message (test-only log string change in generate-i18n.ts)
  • 6a13c8c — chore: lern force-publish release (test edit to the release script in package.json)

After the revert, package.json/lerna.json/CHANGELOG.md are back at 4.2.0, the release script has its pnpm publish step restored, and generate-i18n.ts keeps the original message.

Summary by CodeRabbit

  • Revert

    • Version reverted from 4.2.1 to 4.2.0.
  • Bug Fixes

    • Enhanced error messaging for missing credentials to provide clearer feedback.

@lemagnetic
lemagnetic requested a review from a team as a code owner June 1, 2026 23:51
@lemagnetic
lemagnetic requested review from hellofanny and lucasfp13 and removed request for a team June 1, 2026 23:51
@coderabbitai

coderabbitai Bot commented Jun 1, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Version rollback from 4.2.1 to 4.2.0 across package manifest and changelog, paired with an error message clarification in the i18n generation command to specifically reference "VTEX credentials."

Changes

Version Rollback and Error Message Clarification

Layer / File(s) Summary
Version Rollback with Error Message Clarification
packages/cli/package.json, packages/cli/src/commands/generate-i18n.ts, packages/cli/CHANGELOG.md
Package version downgraded from 4.2.1 to 4.2.0 in the manifest. The "missing credentials" error in the i18n generation command is clarified to "Missing VTEX credentials." The 4.2.1 changelog entry is removed, with 4.2.0 becoming the first release entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • vtex/faststore#3222: Updates GenerateI18n.run() error messaging for missing VTEX credentials validation.

Suggested reviewers

  • hellofanny
  • lucasfp13
  • gabpaladino

Poem

📦 Back we go to point-two-oh,
A rollback dance, a gentle flow,
Clear the changelog, say the name—
"VTEX credentials" sets things right again! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: reverting an accidental 4.2.1 release, which is reflected in the downgrade from 4.2.1 to 4.2.0 across multiple files and the removal of the changelog entry.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert/release-4.2.1

Comment @coderabbitai help to get the list of available commands and usage tips.

@codesandbox-ci

codesandbox-ci Bot commented Jun 1, 2026

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@sonar-workflows

Copy link
Copy Markdown

@lemagnetic
lemagnetic merged commit da907bc into main Jun 1, 2026
14 checks passed
@lemagnetic
lemagnetic deleted the revert/release-4.2.1 branch June 1, 2026 23:59
thiagopereira-vtex pushed a commit that referenced this pull request Jun 8, 2026
## What's the purpose of this pull request?

Reverts an accidental `4.2.1` release
This PR restores `main` to the last legitimate release state (`4.2.0`).

> No npm publish happened: the local script had the `pnpm -r publish`
step removed, so `4.2.1` only exists as git history (now being
reverted). The `v4.2.1` tag was already deleted.

## How it works?

Reverts the three commits that landed on `main`, newest → oldest:

- `516e784` — `[no ci] Release: 4.2.1` (version bump + CHANGELOGs)
- `e9b2105` — `fix: fix vtex message` (test-only log string change in
`generate-i18n.ts`)
- `6a13c8c` — `chore: lern force-publish release`

After the revert, `package.json`/`lerna.json`/`CHANGELOG.md` are back at
`4.2.0`, the `release` script has its `pnpm publish` step restored, and
`generate-i18n.ts` keeps the original message.
@eduardoformiga eduardoformiga mentioned this pull request Jun 17, 2026
2 tasks
eduardoformiga added a commit that referenced this pull request Jun 17, 2026
## Summary

Graduate the `4.3.0-dev.8` prerelease cycle to the stable `4.3.0`
release on `latest`.

Merging this PR triggers CD on `main`, which runs `lerna version
--conventional-graduate` and publishes all `@faststore/*` packages to
the `latest` dist-tag.

### Features
- Password Protection (v4) (#3276)
- File upload via Order Entry Service (OES) (#3334)
- Add sitemap to CMS Landing Page content-type (#3386)

### Bug Fixes
- **core:** use authenticator route for setpassword (#3380)
- migrate partytown `@builder.io` → `@[email protected]` (#3394)
- **api:** use account-scoped cookie in orderEntry headers (#3395)
- forward auth token only via account-scoped cookie (#3381)
- **core:** propagate upstream error status instead of always 500
(#3379)

## Pre-flight (faststore-release skill)
- Working tree clean; `release.yml` has `fetch-depth: 0`
- All 8 packages have `repository.url`
- No breaking changes since `v4.2.0`
- `dev → main` merges cleanly (no CHANGELOG/codegen conflicts)
- No unmerged hotfixes on `main` (accidental `4.2.1` was fully reverted
in #3375)

## Test plan
- [ ] CI green on this PR
- [ ] After merge, confirm CD publishes all 8 packages at `4.3.0` under
`latest`

Made with [Cursor](https://cursor.com)

---------

Co-authored-by: Matheus P. Silva <[email protected]>
Co-authored-by: vtexgithubbot <[email protected]>
Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Luiz Falcão <[email protected]>
Co-authored-by: Artur Santiago <[email protected]>
Co-authored-by: Larícia Mota <[email protected]>
Co-authored-by: Sahan Jayawardana <[email protected]>
Co-authored-by: Mateus Pontes <[email protected]>
Co-authored-by: Matheus Martins <[email protected]>
Co-authored-by: renatomaurovtex <[email protected]>
Co-authored-by: Leandro Rodrigues <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Arthur Andrade <[email protected]>
Co-authored-by: Leandro Rodrigues <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Thiago Pereira <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Giuliana Rigaud <[email protected]>
Co-authored-by: renato <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: BrunaCubos <[email protected]>
Co-authored-by: Ícaro Oliveira <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Everton Ataide <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Otavio Moreira Meirelles <[email protected]>
Co-authored-by: Marco Cardoso <[email protected]>
Co-authored-by: Gabriel Paladino <[email protected]>
Co-authored-by: CodeRabbit <[email protected]>
Co-authored-by: dk-portal[bot] <134092483+dk-portal[bot]@users.noreply.github.com>
Co-authored-by: Rodrigo Tavares <[email protected]>
Co-authored-by: vitorflg <[email protected]>
Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: Válber Laux <[email protected]>
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.

2 participants