Repository navigation
v3.0.0 - #14
Merged
Merged
v3.0.0#14
Conversation
- Migrate `dart:html` (deprecated) to package `web`. - sdk: '>=3.6.0 <4.0.0' - dom_tools: ^3.0.0-beta.4 - amdjs: ^3.0.0-beta.2 - web: ^1.1.0 - web_utils: ^1.0.6 - js_interop_utils: ^1.0.5
- dom_tools: ^3.0.0-beta.6 - web_utils: ^1.0.9 - intl: ^0.20.2
- sdk: '>=3.10.0 <4.0.0' - Update dependencies to latest versions. - Fix RenderedChart.chartJSObject/refresh, typed axis scales, ChartData.from, matches* with non-Iterable values, sorting of untyped categories, ChartSeriesOptions.copy (steppedLines), DateAdapter `Do` token. - New unit tests (ChartData, options, DateAdapter) and browser integration tests for ChartJS and ApexCharts. - CI: run tests on VM and Chrome. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v3.0.0: migrates
dart:html(deprecated) to packageweb, raises the minimum SDK to 3.10, updates dependencies, and fixes several bugs found by a much larger test suite.Migration
dart:html(deprecated) to packageweb(viaweb_utils).Fixes
RenderedChart.chartJSObject/hasChartJSObjectalways threw (theisJSObjectextension was called on adynamic), sorefresh()broke on every chart.xAxisScale/yAxisScalecrashed for typed data (e.g.ChartSet<String, int>):ScaleNum<num>→Scale<int>cast.ChartData.fromcrashed with inline map literals.matchesSeries/matchesTimeSeries/matchesSeriesPair/matchesChartDatathrew on non-Iterablevalues instead of returningfalse.sortCategories = truecrashed for untyped series (seriesSortedByCategory,setSorted).ChartSeriesOptions.copydroppedsteppedLines.DateAdapter.format: theDotoken output a strayo; multiple[...]literals were merged.ChartEngine.VERSIONwas stale (2.0.3).Tests
7 → 93 tests.
test/chart_engine_data_test.dart: unit tests for theChartDataimplementations, options, andVerticalLine.test/chart_engine_date_test.dart:DateAdapter, on both VM and Chrome.test/chart_engine_integration_test.dart: renders every chart type with real ChartJS and ApexCharts in Chrome, plus ChartJS financial charts,ChartEngineSwitchable, andrefresh. It replaces the old browser test, which never awaited its assertions.dart test --platform vm,chrome(the VM version test was never run before).Dependencies
The 3.10 language version brings the new
dart formatstyle, so most oflib/was reformatted.🤖 Generated with Claude Code