Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JavaScript dependencies #3654

Merged
merged 30 commits into from
Aug 30, 2024
Merged

Update JavaScript dependencies #3654

merged 30 commits into from
Aug 30, 2024

Conversation

falkoschindler
Copy link
Contributor

@falkoschindler falkoschindler commented Aug 30, 2024

This PR updates the Google fonts as well as the following JavaScript dependencies to their current stable version:

  • Vue: 3.3.6 → 3.4.38
  • Quasar: 2.13.0 → 2.16.9
  • TailwindCSS: 3.2.0 → 3.4.10
  • Socket.IO: 4.7.2 → 4.7.5
  • ES Module Shims: 1.8.0 → 1.10.0
  • AG Grid: 30.2.0 → 32.1.0
  • ECharts: 5.4.3 → 5.5.1
  • Mermaid: 10.5.1 → 11.0.2
  • nippleJS: 0.10.1 → 0.10.2
  • Plotly: 2.27.0 → 2.35.0
  • three.js: 0.157.0 → 0.168.0
  • tween.js: 21.0.0 → 25.0.0
  • vanilla-jsoneditor: 0.18.10 → 0.23.8

The following implications are worth mentioning:

  • Tailwind got some new options and the .tailwind API has been updated accordingly.
  • Mermaid needed a new hack to fix relative module paths, like for BufferGeometryUtils in three.js.
  • AG Grid moved the column API into the grid API, which is why ui.aggrid's run_column_method got deprecated and points to run_grid_method now.
  • Codemirror got some new themes, mostly for dark mode.
  • The new ui.echart version starts animating the chart with 100% width (like defined in nicegui.css) and only then shrinks to the correct size if, e.g., .classes('w-[600px]') is set. It helps to use .style('width: 600px') instead.
  • The JSON editor needs to use a new standalone.js instead of index.js.
  • The SVG rendering of Mermaid diagrams changed slightly, therefore some tests had to be adjusted.
  • Tween.js had some breaking changes. Luckily we only need to change a single update call.

Open tasks:

  • Fix some elements overflowing a given size, like ui.scene().classes('border-2 border-red-500 w-64').
  • Test all demos.
  • Test all examples. I'll do that after merging into the 2.0 branch.

@falkoschindler falkoschindler added the dependencies Pull requests that update a dependency file label Aug 30, 2024
@falkoschindler falkoschindler added this to the 2.0.0 milestone Aug 30, 2024
@falkoschindler falkoschindler marked this pull request as ready for review August 30, 2024 17:33
@falkoschindler falkoschindler merged commit 2cf863c into 2.0 Aug 30, 2024
5 of 6 checks passed
@falkoschindler falkoschindler deleted the dependencies branch August 30, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
1 participant