chartjs-plugin-trendline 3.0.0-beta.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/changelog.md +27 -0
  2. package/package.json +1 -1
package/changelog.md ADDED
@@ -0,0 +1,27 @@
1
+ # Changelog 3.0.0
2
+
3
+ ### Breaking Changes
4
+ - Updated to version 3.0.0-beta.1 with modular code structure
5
+
6
+ ### New Features
7
+ - Added trendline offset setting (`trendoffset`)
8
+ - Added two new example files (barChartWithNullValues.html, scatterProjection.html)
9
+
10
+ ### Bug Fixes
11
+ - Fixed trendline accuracy and boundary calculations
12
+ - Corrected trendline rendering, projection, and data accuracy
13
+ - Fixed trendline data processing issues
14
+
15
+ ### Testing & CI
16
+ - Added comprehensive unit tests for all components (trendline, label, drawing utils, lineFitter)
17
+ - Added GitHub Actions workflow for automated testing on PRs and main branch
18
+ - Updated Node.js version to 22 in CI
19
+
20
+ ### Code Quality
21
+ - Split code into modular structure with separate components
22
+ - Added Copilot instructions for development
23
+ - Updated Chart.js dependency to version 4.4.9
24
+
25
+ ### Documentation
26
+ - Updated README with new features
27
+ - Added agent instructions for development workflow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chartjs-plugin-trendline",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0",
4
4
  "description": "Trendline for Chart.js",
5
5
  "main": "src/index.js",
6
6
  "scripts": {