mirror of
https://github.com/langchain-ai/langgraphjs.git
synced 2026-07-22 17:15:25 -04:00
69a7c01313
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @langchain/langgraph-api@1.2.1 ### Patch Changes - [#2366](https://github.com/langchain-ai/langgraphjs/pull/2366) [`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e) Thanks [@christian-bromann](https://github.com/christian-bromann)! - fix(sdk): update endpoints - Updated dependencies \[]: - @langchain/langgraph-ui@1.2.1 ## @langchain/langgraph-cli@1.2.1 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-api@1.2.1 ## @langchain/langgraph-sdk@1.9.1 ### Patch Changes - [#2366](https://github.com/langchain-ai/langgraphjs/pull/2366) [`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e) Thanks [@christian-bromann](https://github.com/christian-bromann)! - fix(sdk): update endpoints ## @langchain/angular@1.0.1 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 ## @langchain/react@1.0.1 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 ## @langchain/svelte@1.0.1 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 ## @langchain/vue@1.0.1 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 ## @langchain/langgraph-ui@1.2.1 ## @example/ai-elements@0.1.16 ### Patch Changes - Updated dependencies \[]: - @langchain/react@1.0.1 ## @examples/assistant-ui-claude@0.1.16 ### Patch Changes - Updated dependencies \[]: - @langchain/react@1.0.1 ## @examples/ui-angular@0.0.26 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 - @langchain/angular@1.0.1 ## @examples/ui-multimodal@0.0.2 ### Patch Changes - Updated dependencies \[]: - @langchain/react@1.0.1 ## @examples/ui-react@0.0.2 ### Patch Changes - Updated dependencies \[[`2bb66bf`](https://github.com/langchain-ai/langgraphjs/commit/2bb66bf816a8b18b2968ed885ef2df15f684cb4e)]: - @langchain/langgraph-sdk@1.9.1 - @langchain/react@1.0.1 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is enabled on this template. See this documentation for more information.
Note: This will impact Vite dev & build performances.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])