Repository navigation
chore: update dev with main (graduate v4.3.0) - #3397
Conversation
## 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.
|
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. |
WalkthroughAll nine Changesv4.3.0 Release Graduation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
There was a problem hiding this comment.
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 winPublished package must use exact version for
@faststore/components, notworkspace:*.The coding guidelines require that all
@faststore/*packages use exact internal package versions since they're published to npm. Theworkspace:*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
⛔ Files ignored due to path filters (3)
CHANGELOG.mdis excluded by none and included by nonelerna.jsonis excluded by none and included by nonepackages/core/@generated/graphql.tsis excluded by!**/@generated/**,!**/@generated/**and included bypackages/**
📒 Files selected for processing (18)
packages/api/CHANGELOG.mdpackages/api/package.jsonpackages/cli/CHANGELOG.mdpackages/cli/package.jsonpackages/components/CHANGELOG.mdpackages/components/package.jsonpackages/core/CHANGELOG.mdpackages/core/package.jsonpackages/diagnostics/CHANGELOG.mdpackages/diagnostics/package.jsonpackages/lighthouse/CHANGELOG.mdpackages/lighthouse/package.jsonpackages/sdk/CHANGELOG.mdpackages/sdk/package.jsonpackages/storybook/CHANGELOG.mdpackages/storybook/package.jsonpackages/ui/CHANGELOG.mdpackages/ui/package.json
@faststore/api
@faststore/cli
@faststore/components
@faststore/core
@faststore/diagnostics
@faststore/lighthouse
@faststore/sdk
@faststore/ui
commit: |
|

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (21.20% Estimated after merge)
Summary
Back-merge the stable 4.3.0 release from
mainintodev, so thedevprerelease cycle is rebased on4.3.0.lerna.json+ allpackage.json) to4.3.04.3.0block on top, dev prerelease history preserved below)devandmainalready share the same@generated/__generated__output, so this sync intentionally touches none of them.Expected version bump
A local
lerna versiondry-run (same flags asrelease:dev) on this branch proposes4.4.0-dev.0(minor) for all packages.This is because graduation PR #3396 landed on
mainasfeat: graduate v4.3.0, and the back-merge brings thatfeatinto the rangev4.3.0-dev.8..HEAD. Lerna's conventional bump picks it up regardless of this PR'schore:title.Effect on merge
Merging this PR triggers
release:devCD ondev, publishing4.4.0-dev.0under thedevdist-tag. From then on, new work ondevcontinues the4.4.0-dev.Ncycle.Test plan
4.4.0-dev.0underdev