Skip to content

chore: upgrade dependencies to latest stable go & js#1998

Merged
gnPy merged 3 commits into
mainfrom
gnPy-fix_upgradeSaaSLibraryPy
Jul 2, 2026
Merged

chore: upgrade dependencies to latest stable go & js#1998
gnPy merged 3 commits into
mainfrom
gnPy-fix_upgradeSaaSLibraryPy

Conversation

@lucaseduoli

@lucaseduoli lucaseduoli commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Updated several frontend, SDK, and Kubernetes-related dependencies to newer versions.
    • Refreshed TypeScript and build/test tooling versions for the web and TypeScript SDKs.
    • Expanded TypeScript compiler settings to better support newer language features and Node.js types.

@github-actions github-actions Bot added documentation 📘 Improvements or additions to documentation frontend 🟨 Issues related to the UI/UX ignore-for-release and removed documentation 📘 Improvements or additions to documentation labels Jul 2, 2026
@lucaseduoli
lucaseduoli requested a review from mfortman11 July 2, 2026 13:06
@lucaseduoli lucaseduoli self-assigned this Jul 2, 2026
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR updates dependency versions across multiple project manifests: docs/package.json, frontend/package.json, kubernetes/operator/go.mod, and sdks/typescript/package.json, plus tsconfig.json compiler option changes for the TypeScript SDK.

Changes

Dependency Updates

Layer / File(s) Summary
Docs package bumps
docs/package.json
lucide-react and baseline-browser-mapping versions bumped.
Frontend package bumps
frontend/package.json
Radix UI packages, react-query, ag-grid, lucide-react, motion, react-hook-form, and dev tooling (biome, playwright, autoprefixer, knip, lint-staged, postcss) versions bumped.
Kubernetes operator Go module bumps
kubernetes/operator/go.mod
k8s.io/api, apimachinery, client-go, code-generator bumped to v0.36.2; k8s.io/utils updated to newer revision.
TypeScript SDK updates
sdks/typescript/package.json, sdks/typescript/tsconfig.json
devDependencies (@types/node, tsup, typescript, vitest) bumped; tsconfig adds ESNext lib, ignoreDeprecations, and node types.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: upgrading Go and JavaScript dependencies.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch gnPy-fix_upgradeSaaSLibraryPy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

@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.

Actionable comments posted: 1

🤖 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.

Inline comments:
In `@frontend/package.json`:
- Around line 38-39: The knowledge grid selection setup still uses the legacy AG
Grid selection props, so update the grids in knowledge page handling to the v36
object-based API. In the component that renders both AG Grid instances, replace
string rowSelection usage like rowSelection="multiple" with the new selection
config object, and remove or migrate suppressRowClickSelection to the equivalent
v36 selection behavior. Keep the changes localized to the grid configuration so
both grids continue to support multi-select without regressions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d8bc9f2d-e99c-42ca-b451-fb7dfb602c72

📥 Commits

Reviewing files that changed from the base of the PR and between 08b68ed and 1bac1fb.

⛔ Files ignored due to path filters (4)
  • docs/package-lock.json is excluded by !**/package-lock.json
  • frontend/package-lock.json is excluded by !**/package-lock.json
  • kubernetes/operator/go.sum is excluded by !**/*.sum
  • sdks/typescript/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (5)
  • docs/package.json
  • frontend/package.json
  • kubernetes/operator/go.mod
  • sdks/typescript/package.json
  • sdks/typescript/tsconfig.json

Comment thread frontend/package.json
Comment on lines +38 to +39
"ag-grid-community": "^36.0.0",
"ag-grid-react": "^36.0.0",

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.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

What are the breaking changes in ag-grid v36.0.0 migration guide for React?

💡 Result:

AG Grid v36.0.0, released on June 24, 2026, introduces new features such as user-defined calculated columns, automatic column generation, and a new show values as capability [1][2]. Official documentation indicates that migration guides for this version are available on the AG Grid website [3][4]. Notably, AG Grid has discontinued the use of Codemods for version 36.0.0 and later, meaning that developers must manually address any breaking, behavioral, or styling changes during the upgrade process [4]. Unlike previous versions that offered automated transformation scripts, there is no Codemod available for this major release [4]. For detailed information regarding specific breaking changes, behavior modifications, and styling updates required for your project, refer to the official 36.0.0 Migration Guide located in the React Grid documentation section of the AG Grid website [3][5]. The release also includes updates to AG Charts (v14.0.0), which may necessitate additional adjustments depending on your chart configuration [5].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the package and knowledge page usage
printf '\n== package.json ==\n'
cat -n frontend/package.json | sed -n '1,140p'

printf '\n== knowledge page ==\n'
cat -n frontend/app/knowledge/page.tsx | sed -n '1,240p'

printf '\n== ag-grid usages ==\n'
rg -n "AgGridReact|ag-grid|gridOptions|columnDefs|defaultColDef|theme=|themeClass|rowSelection|suppress|domLayout|enableCharts|sideBar|statusBar" frontend -g '!**/node_modules/**'

Repository: langflow-ai/openrag

Length of output: 20623


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Map and inspect AG Grid-related files with line numbers
git ls-files 'frontend/**' | rg 'ag-grid|knowledge/page\.tsx|package\.json$'

Repository: langflow-ai/openrag

Length of output: 245


🌐 Web query:

AG Grid v36 migration guide breaking changes themeQuartz.withParams browserColorScheme rowSelection suppressRowClickSelection AgGridReact React

💡 Result:

AG Grid v36 was released on June 24, 2026 [1][2]. Unlike previous major versions (v31–v35), there are no automated Codemods available for upgrading to v36 [1][3]. You should consult the official "Upgrading to AG Grid 36" migration guide on the AG Grid website to identify breaking changes, behavioral adjustments, and styling updates specific to your implementation [1][4]. Regarding your specific configuration queries: 1. themeQuartz.withParams and browserColorScheme: The Theming API (introduced in v32.2) allows you to use themeQuartz.withParams() to configure theme parameters [5]. The browserColorScheme parameter is a color scheme value that accepts standard CSS color-scheme values (e.g., 'light', 'dark', 'normal', 'inherit') [6][7]. This is used to define how the grid responds to system or application-level theme preferences [7]. 2. Row Selection Configuration: The property suppressRowClickSelection was deprecated in version 32.2 [8][9]. If you are still using it, you should migrate to the rowSelection object configuration [8][9]. The modern approach is to use rowSelection.enableClickSelection to manage whether clicking a row triggers selection [8][9]. Note that modern rowSelection options also require using an object configuration (e.g., rowSelection = { mode: 'singleRow' | 'multiRow', ... }) rather than the older string-based 'single' or 'multiple' values [9]. For React developers using AgGridReact, ensure your gridOptions or component props reflect these modern configuration structures, as the underlying grid engine enforces these validation rules regardless of the framework [9]. Given the lack of automated codemods for v36, manual review of your grid configurations is recommended [1][3].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Read the two AgGridReact instances and nearby config in frontend/app/knowledge/page.tsx
sed -n '980,1095p' frontend/app/knowledge/page.tsx | cat -n

Repository: langflow-ai/openrag

Length of output: 5924


Migrate the knowledge grids to the AG Grid v36 selection API. frontend/app/knowledge/page.tsx still uses the legacy string rowSelection="multiple" in both grids, and one grid also relies on suppressRowClickSelection; switch those to the object-based rowSelection config to avoid selection regressions.

🤖 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 `@frontend/package.json` around lines 38 - 39, The knowledge grid selection
setup still uses the legacy AG Grid selection props, so update the grids in
knowledge page handling to the v36 object-based API. In the component that
renders both AG Grid instances, replace string rowSelection usage like
rowSelection="multiple" with the new selection config object, and remove or
migrate suppressRowClickSelection to the equivalent v36 selection behavior. Keep
the changes localized to the grid configuration so both grids continue to
support multi-select without regressions.

@gnPy gnPy self-assigned this Jul 2, 2026

@edwinjosechittilappilly edwinjosechittilappilly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

code LGTM

@github-actions github-actions Bot added the lgtm label Jul 2, 2026
@gnPy
gnPy merged commit 8f8b456 into main Jul 2, 2026
48 of 54 checks passed
@github-actions
github-actions Bot deleted the gnPy-fix_upgradeSaaSLibraryPy branch July 2, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend 🟨 Issues related to the UI/UX ignore-for-release lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants