-
Notifications
You must be signed in to change notification settings - Fork 43
Comparing changes
Open a pull request
base repository: ABTSoftware/SciChart.JS.Examples
base: master
head repository: ABTSoftware/SciChart.JS.Examples
compare: v6-api-cleanup-migration
- 5 commits
- 275 files changed
- 2 contributors
Commits on Aug 1, 2026
-
chore(v6): migrate BoilerPlates to the union wasm
Applied with scichart-migrate. One scichart.wasm + scichart-nosimd.wasm replace the 2D/3D pairs in every copy config, and the self-clobbering two-call configure pattern is gone. 13 of the 16 projects pin scichart 6.0.0-alpha.145, so the codemod applied no boundary and skipped them on the first pass — they had been version-bumped to a v6 prerelease without their configs ever being migrated, so they still named scichart2d.wasm. They are re-run explicitly from 5.2.0. Hand-tidied afterwards, because the codemod deliberately will not delete a statement: renaming SciChart3DSurface.configure to SciChartSurface.configure leaves two identical calls where there were two different ones. Seven such duplicates collapsed across four files, plus the now-unused SciChart3DSurface import in next/pages/index.tsx, plus three README sentences naming the renamed and the dropped file in the same breath (correctly escalated to review by the tool rather than guessed at). Also repairs two pre-existing defects that this change surfaced, both invalid on the base branch and both blocking the repo's prettier pre-commit hook: - scichart-angular/angular.json was not valid JSON — the "test" target sat inside the production "budgets" array and "cli" inside "configurations". The Angular CLI would reject it, so this boilerplate was already broken. Structure only; asset entries left exactly as the codemod produced them. - scichart-angular/README.md had a JSON block that was a bare "scripts": {...} fragment merged with stray angular.json asset entries. Split into two valid, separately labelled blocks. IMPORTANT release-sequencing note: the published 6.0.0-alpha.145 still ships scichart2d/3d.wasm and no union binary, so these configs are correct for v6 final and wrong for the alpha now on npm. The package.json pins must be bumped once a build carrying scichart.wasm is published; only then can these boilerplates be built. Do not revert to the split names. Pre-existing and untouched: BoilerPlates/react-typescript/src/SciChart.tsx has an unused SciChart3DSurface import on the base branch too. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>Configuration menu - View commit details
-
Copy full SHA for f921998 - Browse repository at this point
Copy the full SHA f921998View commit details -
chore(v6): migrate Tutorials to the union wasm
Applied with scichart-migrate. 28 files across 27 projects. Three tutorials pin scichart ^3.x, so the v4, v5, v5.2 and v6 packs all chain over them; only the filename rules actually fired — none of those tutorials uses a symbol the older packs rename. Two references are deliberately NOT migrated, because for them the split name is the correct one: - 2D_Browser_CDN_Tutorials_JavaScript/Tutorial_1_.../index.js pins its CDN URL to scichart@5.0.0-alpha.135, so scichart2d.wasm is the file that version actually serves. - Tutorial_2_Include_IndexMin_Wasm_Files_Offline/index.js points at the vendored scichart/5.0.0-alpha.135/ copy, and that tutorial's entire subject is running that exact version offline. Its index.min.js is untouched for the same reason. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 672ac12 - Browse repository at this point
Copy the full SHA 672ac12View commit details -
chore(v6): migrate Sandbox demos to the union wasm
Applied with scichart-migrate. 178 files across 97 projects — the largest area, and the only one where the older rule packs do substantial work: 82 of these were pinned to scichart ^3.0.284, so the v4, v5, v5.2 and v6 packs all chain. 377 rewrites, by shape: 131 scichart2d.wasm renames, 117 .data entry drops (those files have not existed since v5), 17 scichart3d.wasm drops, 72 dataSeriesName -> seriesName from the v3->v4 pack, 3 subChartPadding -> padding, 2 annotationsGripsBackroundBrush spelling fixes, and one SciChart3DSurface.loadWasmFromCDN. Six projects declare "latest" rather than a version, which is not a version the tool can reason about, so they are migrated from 5.2.0 explicitly. Checked for the three damage shapes this migration has produced before — an emptied configure({}), a link/script tag left without its href/src, and invalid JSON among the changed .json files. None present. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>Configuration menu - View commit details
-
Copy full SHA for efcbc6d - Browse repository at this point
Copy the full SHA efcbc6dView commit details -
chore(v6): migrate the remaining Examples projects to the union wasm
Covers Examples, AdvancedLicensing, Addons, ExampleDependencies, Profiler, perf-tools-demo and ProfilingTestSetup — 20 files across 14 projects. Documentation/ is excluded by decision: it is superseded by SciChart.JS.Docs and stays on its pinned version. Verified untouched. The dotnet and java-spring licensing samples commit vendored copies of scichart.browser.mjs and webpack bundle.js output. Those are skipped, and the codemod now reports each skip rather than passing over them silently. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for a315973 - Browse repository at this point
Copy the full SHA a315973View commit details -
chore(v6): finish the sites the codemod deliberately would not touch
The codemod escalates to review rather than guessing, and these are what it handed back — plus the .gitignore files, which it cannot see at all because it classifies by file extension and a dotfile has none. - Removed dead `dataUrl: "/scichart*.data"` properties from configure calls in 8 places. The tool renames and drops list entries but will not delete a property from a call, which is right: it cannot know the call still makes sense without it. .data files have not existed since v5. - Rewrote 9 prose passages that named a renamed and a vanished file in the same sentence, so a find/replace would have produced a half-true sentence. - Collapsed the duplicate configure call and dangling @ts-ignore in Examples/src/scichart-react/SciChart.tsx. - PerformanceCheatSheet.md's four preload tags become one. - 11 .gitignore files: scichart2d.wasm renamed, the 3D and .data patterns dropped as now-redundant. Three things are deliberately left naming the split binaries: - Documentation/ and its ignore patterns in the root .gitignore — excluded by decision, superseded by SciChart.JS.Docs, staying on its pinned version. - Both 2D_Browser_CDN tutorials, whose URLs pin scichart@5.0.0-alpha.135 and one of which loads a vendored copy of it. scichart2d.wasm is the file that version actually ships, so renaming it would break the tutorials. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 44558bd - Browse repository at this point
Copy the full SHA 44558bdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...v6-api-cleanup-migration