Skip to content

chore: update dev with main (graduate v4.3.0) - #3397

Merged
eduardoformiga merged 8 commits into
devfrom
chore/sync-dev-with-main-4.3.0
Jun 17, 2026
Merged

eduardoformiga merged 8 commits into
devfrom
chore/sync-dev-with-main-4.3.0

Conversation

@eduardoformiga

@eduardoformiga eduardoformiga commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Back-merge the stable 4.3.0 release from main into dev, so the dev prerelease cycle is rebased on 4.3.0.

  • Resolved version files (lerna.json + all package.json) to 4.3.0
  • Merged CHANGELOG entries (the 4.3.0 block on top, dev prerelease history preserved below)
  • No generated-file changes. dev and main already share the same @generated/__generated__ output, so this sync intentionally touches none of them.

Expected version bump

A local lerna version dry-run (same flags as release:dev) on this branch proposes 4.4.0-dev.0 (minor) for all packages.

This is because graduation PR #3396 landed on main as feat: graduate v4.3.0, and the back-merge brings that feat into the range v4.3.0-dev.8..HEAD. Lerna's conventional bump picks it up regardless of this PR's chore: title.

Follow-up convention: future graduation PRs (dev -> main) should use a chore:/fix: title. Since --conventional-graduate sets main's version independently of the commit title, this keeps the subsequent back-merge a patch (x.y.z+1-dev.0) instead of escalating the minor.

Effect on merge

Merging this PR triggers release:dev CD on dev, publishing 4.4.0-dev.0 under the dev dist-tag. From then on, new work on dev continues the 4.4.0-dev.N cycle.

Test plan

  • CI green on this PR
  • After merge, confirm dev CD publishes all packages at 4.4.0-dev.0 under dev

lemagnetic and others added 7 commits June 1, 2026 20:03
## 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.
## 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]>
Back-merge the stable 4.3.0 release from main into dev so the dev
prerelease cycle is based on 4.3.0. Resolved version files to 4.3.0,
merged CHANGELOG entries (4.3.0 on top), and regenerated codegen.

Note: graduation PR #3396 landed on main as `feat: graduate v4.3.0`,
so this back-merge carries a feat into dev's range. The next dev
prerelease will therefore bump as minor (4.4.0-dev.0). Future
graduation PRs should use a `chore:`/`fix:` title so the back-merge
produces a patch (x.y.z+1-dev.0) instead.
@eduardoformiga
eduardoformiga requested a review from a team as a code owner June 17, 2026 23:39
@eduardoformiga
eduardoformiga requested review from lariciamota and ommeirelles and removed request for a team June 17, 2026 23:39
@codesandbox-ci

codesandbox-ci Bot commented Jun 17, 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.

@coderabbitai

coderabbitai Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

All nine @faststore/* packages are promoted from the pre-release version 4.3.0-dev.8 to the stable 4.3.0. Each package receives a one-line version bump in package.json and a new 4.3.0 section prepended to CHANGELOG.md. The cli package additionally records a Bug Fix entry ("fix vtex message").

Changes

v4.3.0 Release Graduation

Layer / File(s) Summary
Version bumps and changelog entries
packages/api/package.json, packages/api/CHANGELOG.md, packages/cli/package.json, packages/cli/CHANGELOG.md, packages/components/package.json, packages/components/CHANGELOG.md, packages/core/package.json, packages/core/CHANGELOG.md, packages/diagnostics/package.json, packages/diagnostics/CHANGELOG.md, packages/lighthouse/package.json, packages/lighthouse/CHANGELOG.md, packages/sdk/package.json, packages/sdk/CHANGELOG.md, packages/storybook/package.json, packages/storybook/CHANGELOG.md, packages/ui/package.json, packages/ui/CHANGELOG.md
version field updated from 4.3.0-dev.8 to 4.3.0 in all nine packages; a new 4.3.0 release section (dated 2026-06-17) prepended to each CHANGELOG.md; cli also adds a Bug Fixes entry for "fix vtex message".

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • vtex/faststore#3330: Same monorepo version housekeeping pattern — package.json version bumps across the same packages/* manifests.
  • vtex/faststore#3331: Identical "graduate" release structure — version bumps plus prepended CHANGELOG.md entries for the same set of @faststore/* packages.
  • vtex/faststore#3373: Same release/versioning pattern modifying the same CHANGELOG.md files and package.json version fields across @faststore/* packages.

Suggested reviewers

  • renatomaurovtex
  • emersonlaurentino

Poem

🎓 From dev to stable, the flags are raised,
Four point three dot zero, the crowd is amazed.
Nine packages marching in lockstep today,
The -dev.8 suffix has finally gone away.
🚀 Ship it, tag it, let the changelogs sing!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the PR's main purpose: back-merging the stable v4.3.0 release from main into dev and graduating the version.
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 chore/sync-dev-with-main-4.3.0

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

The earlier codegen run picked up an out-of-date local @faststore/api
build (containing unmerged localization fields) and produced bogus
StoreProductLocale/otherLocales types plus orderEntry nullability
drift. dev and main already share the same graphql.ts, so this sync
must not change generated output. Restore the file to dev's version.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/ui/package.json (1)

50-50: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Published package must use exact version for @faststore/components, not workspace:*.

The coding guidelines require that all @faststore/* packages use exact internal package versions since they're published to npm. The workspace:* protocol is only valid for private/unpublished packages. This will cause resolution failures for npm consumers.

Suggested fix: Replace with the exact version (e.g., "@faststore/components": "4.3.0").

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/ui/package.json` at line 50, The `@faststore/components` dependency in
the package.json file uses the workspace:* protocol, which is invalid for
published packages on npm. Since this package is published to npm, it must use
an exact version number instead of the workspace protocol. Replace the
workspace:* value with the actual version number of the `@faststore/components`
package (for example, 4.3.0 or whatever the current version is) to ensure proper
dependency resolution for npm consumers.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@packages/ui/package.json`:
- Line 50: The `@faststore/components` dependency in the package.json file uses
the workspace:* protocol, which is invalid for published packages on npm. Since
this package is published to npm, it must use an exact version number instead of
the workspace protocol. Replace the workspace:* value with the actual version
number of the `@faststore/components` package (for example, 4.3.0 or whatever the
current version is) to ensure proper dependency resolution for npm consumers.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 62e5c37b-ea83-499b-8ea9-66a288ff3917

📥 Commits

Reviewing files that changed from the base of the PR and between ffa7558 and d4fa67d.

⛔ Files ignored due to path filters (3)
  • CHANGELOG.md is excluded by none and included by none
  • lerna.json is excluded by none and included by none
  • packages/core/@generated/graphql.ts is excluded by !**/@generated/**, !**/@generated/** and included by packages/**
📒 Files selected for processing (18)
  • packages/api/CHANGELOG.md
  • packages/api/package.json
  • packages/cli/CHANGELOG.md
  • packages/cli/package.json
  • packages/components/CHANGELOG.md
  • packages/components/package.json
  • packages/core/CHANGELOG.md
  • packages/core/package.json
  • packages/diagnostics/CHANGELOG.md
  • packages/diagnostics/package.json
  • packages/lighthouse/CHANGELOG.md
  • packages/lighthouse/package.json
  • packages/sdk/CHANGELOG.md
  • packages/sdk/package.json
  • packages/storybook/CHANGELOG.md
  • packages/storybook/package.json
  • packages/ui/CHANGELOG.md
  • packages/ui/package.json

@pkg-pr-new

pkg-pr-new Bot commented Jun 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

@faststore/api

npm i https://pkg.pr.new/vtex/faststore/@faststore/api@cdab42a

@faststore/cli

npm i https://pkg.pr.new/vtex/faststore/@faststore/cli@cdab42a

@faststore/components

npm i https://pkg.pr.new/vtex/faststore/@faststore/components@cdab42a

@faststore/core

npm i https://pkg.pr.new/vtex/faststore/@faststore/core@cdab42a

@faststore/diagnostics

npm i https://pkg.pr.new/vtex/faststore/@faststore/diagnostics@cdab42a

@faststore/lighthouse

npm i https://pkg.pr.new/vtex/faststore/@faststore/lighthouse@cdab42a

@faststore/sdk

npm i https://pkg.pr.new/vtex/faststore/@faststore/sdk@cdab42a

@faststore/ui

npm i https://pkg.pr.new/vtex/faststore/@faststore/ui@cdab42a

commit: cdab42a

@sonar-workflows

Copy link
Copy Markdown

@eduardoformiga
eduardoformiga merged commit 7a90ca4 into dev Jun 17, 2026
10 checks passed
@eduardoformiga
eduardoformiga deleted the chore/sync-dev-with-main-4.3.0 branch June 17, 2026 23:53
@renatomaurovtex renatomaurovtex mentioned this pull request Jun 18, 2026
2 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Jul 2, 2026
5 tasks
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.

3 participants