Skip to content

chore(deps): bump @placekit/autocomplete-react to 2.3.0 - #1

Merged
raphi merged 3 commits into
mainfrom
chore/autocomplete-react-2.3.0
Oct 24, 2026
Merged

raphi merged 3 commits into
mainfrom
chore/autocomplete-react-2.3.0

Conversation

@raphi

@raphi raphi commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps the 8 autocomplete-react-* examples to @placekit/autocomplete-react ^2.3.0 (React 19 support, see the v2.3.0 release).

Changes

  • examples/autocomplete-react-*/package.json: ^2.1.7 -> ^2.3.0.
  • package-lock.json refreshed. Resolved versions that change:
    • @placekit/autocomplete-react 2.1.7 -> 2.3.0
    • @placekit/autocomplete-js 2.1.6 -> 2.2.1 and @placekit/client-js 2.2.0 -> 2.3.0 (required by autocomplete-react 2.3.0, hoisted for all examples)
    • @types/react 18.2.42 -> 18.3.31, csstype 3.1.3 -> 3.2.3
    • Removed orphans: @rollup/plugin-replace, @rollup/pluginutils, top-level rollup (no longer depended on by client-js 2.3.0), @types/scheduler (dropped by @types/react 18.3).
    • Generated with npm 10.9: npm 11.5.x drops the esbuild and rollup platform binaries from this lockfile, which breaks npm ci on other platforms (npm 11.21 is not affected).
  • autocomplete-react-typescript/src/FormField.tsx: props typed as React.InputHTMLAttributes<HTMLInputElement> & { label: string }. The previous index signature broke forwardRef inference with @types/react 18.3.

Testing

  • npm ci --ignore-scripts (npm 10) and npm run lint: pass.
  • vite build: all 22 examples with a build script pass.
  • tsc --noEmit: autocomplete-react-typescript and autocomplete-js-typescript pass.
  • Node examples (client-js-node*): @placekit/client-js imports and requires correctly.
  • The 8 React examples were loaded in a browser before and after the bump: same rendering (input, placeholder, geolocation and clear buttons), same console output.

Known issue (not introduced here)

client-js-node-typescript fails a standalone tsc --noEmit with TS1016 from @placekit/client-js type declarations (patch.create has a required parameter after an optional one). Present in client-js 2.2.0 and 2.3.0, so main is equally affected. Only tsc without skipLibCheck fails; npm run dev (ts-node) runs. To be fixed in placekit/client-js.

🤖 Generated with Claude Code

raphi and others added 3 commits October 24, 2026 13:12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The index signature broke forwardRef inference with @types/react 18.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated with npm 10 (npm 11 drops the esbuild and rollup platform
binaries from this lockfile).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@raphi
raphi merged commit e5ce30f into main Oct 24, 2026
1 check passed
@raphi
raphi deleted the chore/autocomplete-react-2.3.0 branch October 24, 2026 12:43
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