Skip to content

sync: TRAC-1236 sync integrations/b2b-makeswift with integrations/makeswift@1.6.0 - #3145

Merged
chanceaclark merged 9 commits into
integrations/b2b-makeswiftfrom
sync-integrations-b2b-makeswift
Jul 29, 2026
Merged

sync: TRAC-1236 sync integrations/b2b-makeswift with integrations/makeswift@1.6.0#3145
chanceaclark merged 9 commits into
integrations/b2b-makeswiftfrom
sync-integrations-b2b-makeswift

Conversation

@chanceaclark

@chanceaclark chanceaclark commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Jira: TRAC-1236

What/Why?

Rung 5 of 9 in the makeswift catch-up climb (LTRAC-1297): 1.5.0 → 1.6.0. Small rung, 8 commits.

Register page: same pattern as rungs 2–4, makeswift's edit to the old page.tsx/register-customer.ts is moot since b2b's register/route.ts redirect is untouched and still live. Kept the deletion.

Interesting one: react-google-recaptcha came back. I'd removed this dependency in rung 2 as dead weight (its only consumer was the old register form, which b2b had already deleted). This rung, upstream reintroduced reCAPTCHA support more broadly, product reviews (new reviews/review-form.tsx), the contact form, and the shared dynamic-form component all now validate against a new ~/lib/recaptcha module. Confirmed these are real, newly-modified files with genuine react-google-recaptcha/~/lib/recaptcha usage, not leftover cruft, so kept the re-added dependency as-is.

Same package.json/CHANGELOG.md silent auto-merge, caught again (4th rung in a row): top-level version clobbered to raw 1.6.0 (reverted to b2b's actual 1.5.0); CHANGELOG.md had makeswift's own historical entry pasted in (reverted to ours).

Release-wiring guardrail: not conflicted this rung (nothing upstream touched those files), confirmed unchanged/correct regardless.

Per the deferred-issues plan, not investigating the e2e.yml/bundle-size.yml findings from rung 4 here, those get addressed at the canary level after all 9 rungs land.

Added .changeset/sync-makeswift-1-6-0.md for this rung's own bump.

Rollout/Rollback

Internal upgrade branch, no runtime/customer impact until eventually released and adopted. Rollback = revert the merge commit.

Do not squash or rebase-and-merge this PR. Use a true merge commit to preserve the merge base between integrations/makeswift and integrations/b2b-makeswift.

Testing

  • pnpm install --no-frozen-lockfile clean (Node 24).
  • pnpm --filter @bigcommerce/catalyst-b2b-makeswift typecheck — clean (0 errors).
  • pnpm --filter @bigcommerce/catalyst-b2b-makeswift lint — clean (0 errors, 0 warnings).
  • No conflict markers remain anywhere in the tree.
  • Known: CLI Tests (windows-latest) still red until rung 6 (1.7.0), the fix landed upstream after this tag.

matthewvolk and others added 9 commits March 13, 2026 19:28
Simplify Stage 2 of the release process by including the
@bigcommerce/catalyst-makeswift changeset directly in the sync merge
commit instead of requiring a separate bump-version branch and PR.
Also update the tags section with explicit commands for both packages.
* added recaptcha v3

* update recaptcha package and make visible on forms

* linting

* make recaptcha optional for dynamic-form

* remove comments

* remove comments

* remove recaptcha provider since it wasn't used

* make recaptcha required if enabled and use getValue to retrieve token

* add types for react-google-recaptcha

* fix linting

* fix linting

* fix linting

* fix linting

* refactor(recaptcha): validate in form actions and separate parse from validate

- Add validateRecaptchaToken() to validate reCAPTCHA in form actions and
  return formErrors so Conform displays them (contact, review, register).
- Add getRecaptchaFromForm() to parse site key and token from FormData.
- Make validateRecaptchaToken() a pure function (siteKey, token, message)
  so validation is separate from form parsing and easier to test/reuse.
- Contact, review, and register actions: parse via getRecaptchaFromForm(),
  then validate via validateRecaptchaToken(), and pass token to mutations.

Made-with: Cursor

* fix linting

* remove client side logic and error handling

* rename validat function for recaptha token to assertRecaptchaTokenPresent

* remove unused recaptcha settings in graphql

* fix linting

* remove client side logic and validation for recaptcha

* remove unused properties from RecaptchaSettings interface

* remove unnecessary DynamicFormInner wrapper component

Made-with: Cursor

* remove unused failedLoginLockoutDurationSeconds and isEnabledOnCheckout from getReCaptchaSettings

Made-with: Cursor

* add changeset

* chore: add tests for recaptcha

---------

Co-authored-by: Jorge Moya <jorge.moya@bigcommerce.com>
* feat(other): LOCAL-1444 delivery translation

* chore(core): create translations patch

---------

Co-authored-by: bc-svc-local <bc-svc-local@users.noreply.github.com>
# Conflicts:
#	core/app/[locale]/(default)/product/[slug]/page.tsx
#	core/app/[locale]/(default)/webpages/[id]/contact/page.tsx
#	pnpm-lock.yaml
Add two Claude Code skills that automate the Catalyst release process
and the integrations/makeswift branch sync workflow.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ons-b2b-makeswift

@bigcommerce/catalyst-makeswift@1.6.0

# Conflicts:
#	core/app/[locale]/(default)/(auth)/register/_actions/register-customer.ts
#	core/app/[locale]/(default)/(auth)/register/page.tsx
@chanceaclark
chanceaclark requested a review from a team as a code owner July 29, 2026 16:06
@changeset-bot

changeset-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2f21399

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-b2b-makeswift Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
catalyst Ready Ready Preview, Comment Jul 29, 2026 4:06pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Report

Comparing against baseline from 7a0cdc1 (2026-07-29).

Metric Baseline Current Delta
First Load JS 128.8 kB 118.6 kB -10.2 kB (-7.9%)
Total JS 448.2 kB 589.5 kB +141.3 kB (+31.5%) ⚠️

Per-Route First Load JS

Route Baseline Current Delta
/(default)/(auth)/change-password/page 332.5 kB 599.8 kB +267.3 kB (+80.4%) ⚠️
/(default)/(auth)/login/forgot-password/page 331.6 kB 599 kB +267.4 kB (+80.6%) ⚠️
/(default)/(auth)/login/page 332 kB 599.6 kB +267.6 kB (+80.6%) ⚠️
/(default)/(auth)/register/page 368.4 kB -- REMOVED
/(default)/(faceted)/brand/[slug]/page 344.1 kB 605.8 kB +261.7 kB (+76.1%) ⚠️
/(default)/(faceted)/category/[slug]/page 352.6 kB 614 kB +261.4 kB (+74.1%) ⚠️
/(default)/(faceted)/search/page 344.1 kB 605.8 kB +261.7 kB (+76.1%) ⚠️
/(default)/[...rest]/page 327.1 kB 601 kB +273.9 kB (+83.7%) ⚠️
/(default)/account/addresses/page 371.8 kB 603.5 kB +231.7 kB (+62.3%) ⚠️
/(default)/account/orders/[id]/page 335.2 kB 598.6 kB +263.4 kB (+78.6%) ⚠️
/(default)/account/orders/page 336.2 kB 599.5 kB +263.3 kB (+78.3%) ⚠️
/(default)/account/settings/page 373.3 kB 603 kB +229.7 kB (+61.5%) ⚠️
/(default)/account/wishlists/[id]/page 350 kB 608.2 kB +258.2 kB (+73.8%) ⚠️
/(default)/account/wishlists/page 345.1 kB 603 kB +257.9 kB (+74.7%) ⚠️
/(default)/blog/[blogId]/page 327.1 kB 601 kB +273.9 kB (+83.7%) ⚠️
/(default)/blog/page 328.1 kB 601.7 kB +273.6 kB (+83.4%) ⚠️
/(default)/cart/page 348.9 kB 607.8 kB +258.9 kB (+74.2%) ⚠️
/(default)/compare/page 339.3 kB 602.3 kB +263 kB (+77.5%) ⚠️
/(default)/gift-certificates/balance/page 331.1 kB 602.8 kB +271.7 kB (+82.1%) ⚠️
/(default)/gift-certificates/page 327.1 kB 601 kB +273.9 kB (+83.7%) ⚠️
/(default)/gift-certificates/purchase/page 370.9 kB 602.7 kB +231.8 kB (+62.5%) ⚠️
/(default)/page 344.3 kB 601 kB +256.7 kB (+74.6%) ⚠️
/(default)/product/[slug]/page 400.2 kB 614.1 kB +213.9 kB (+53.4%) ⚠️
/(default)/webpages/[id]/contact/page 369.3 kB 604.1 kB +234.8 kB (+63.6%) ⚠️
/(default)/webpages/[id]/normal/page 335.2 kB 601.5 kB +266.3 kB (+79.4%) ⚠️
/(default)/wishlist/[token]/page 340 kB 605 kB +265 kB (+77.9%) ⚠️
/maintenance/page 316.4 kB 597.5 kB +281.1 kB (+88.8%) ⚠️
/_global-error/page 142.8 kB 126.2 kB -16.6 kB (-11.6%)
/_not-found/page 142.8 kB 126.2 kB -16.6 kB (-11.6%)

Threshold: 5% increase. Routes with ⚠️ exceed the threshold.

@chanceaclark
chanceaclark merged commit 2f21399 into integrations/b2b-makeswift Jul 29, 2026
15 of 18 checks passed
@chanceaclark
chanceaclark deleted the sync-integrations-b2b-makeswift branch July 29, 2026 17:04
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.

6 participants