@tspro/web-music-score 3.2.0 → 4.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.
- package/CHANGELOG.md +26 -10
- package/README.md +189 -331
- package/dist/audio/index.d.ts +1 -1
- package/dist/audio/index.js +1 -1
- package/dist/audio/index.mjs +2 -2
- package/dist/audio-cg/index.js +1 -1
- package/dist/audio-cg/index.mjs +2 -2
- package/dist/{chunk-LCTM7BID.mjs → chunk-D643HZHM.mjs} +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +3 -3
- package/dist/{guitar-C2Cp71NZ.d.ts → guitar-cNmE-EvH.d.ts} +1 -1
- package/dist/iife/index.global.js +11 -11
- package/dist/{interface-BlNl69uT.d.ts → interface-7k8qGG44.d.ts} +89 -81
- package/dist/{interface-Bn5HFt_U.d.mts → interface-XoKiryoV.d.mts} +88 -80
- package/dist/{note-BFa43I86.d.ts → note-CcVdUFqS.d.ts} +1 -1
- package/dist/pieces/index.d.mts +2 -2
- package/dist/pieces/index.d.ts +3 -3
- package/dist/pieces/index.js +4 -7
- package/dist/pieces/index.mjs +8 -11
- package/dist/react-ui/index.d.mts +3 -3
- package/dist/react-ui/index.d.ts +5 -5
- package/dist/react-ui/index.js +1 -1
- package/dist/react-ui/index.mjs +2 -2
- package/dist/{scale-DRR-t4Kr.d.mts → scale-C2pCNxdE.d.mts} +4 -3
- package/dist/{scale-ebJm37q1.d.ts → scale-CvPbJvfN.d.ts} +5 -4
- package/dist/score/index.d.mts +98 -31
- package/dist/score/index.d.ts +99 -32
- package/dist/score/index.js +748 -567
- package/dist/score/index.mjs +755 -574
- package/dist/tempo-BAYoZ_Li.d.mts +187 -0
- package/dist/tempo-r2sb6Ku2.d.ts +187 -0
- package/dist/theory/index.d.mts +3 -3
- package/dist/theory/index.d.ts +6 -6
- package/dist/theory/index.js +221 -78
- package/dist/theory/index.mjs +218 -76
- package/package.json +2 -2
- package/dist/tempo-B4h5Ktob.d.mts +0 -104
- package/dist/tempo-DgqDEsn0.d.ts +0 -104
package/CHANGELOG.md
CHANGED
|
@@ -1,50 +1,66 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.0.0] - 2025-09-24
|
|
4
|
+
Another major update was required by new features.
|
|
5
|
+
|
|
6
|
+
### **Breiking Changes**
|
|
7
|
+
- `RhythmProps` had major redesign.
|
|
8
|
+
- `DocumentBuilder.addExtension()` was changed.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Generic tuples with `DocumentBuilder.addTuplet()`.
|
|
12
|
+
- Support multiple dot count.
|
|
13
|
+
- Added `NoteLengthProps` to support note lengths.
|
|
14
|
+
- Support for "1n", "2n", "4n", etc. string note lengths alongside `NoteLength` enum.
|
|
15
|
+
- Support for all other string arguments alongside typescript enums.
|
|
16
|
+
|
|
17
|
+
**Lots of other undocumented small changes, updates and fixes!**
|
|
18
|
+
|
|
3
19
|
## [3.2.0] - 2025-09-12
|
|
4
|
-
|
|
20
|
+
### Added
|
|
5
21
|
- Added getter functions to score interface (MDocument, MMeasure, etc.)
|
|
6
22
|
|
|
7
|
-
|
|
23
|
+
### Fixed
|
|
8
24
|
- Extension line tip direction.
|
|
9
25
|
- Cursor top was always 0 (top of document instead of top of row).
|
|
10
26
|
- Pick accidental.
|
|
11
27
|
|
|
12
|
-
|
|
28
|
+
### Changed
|
|
13
29
|
- Do not pick note groups, rests and rhythm columns (only visible with multiple staff/tab anyway).
|
|
14
30
|
|
|
15
31
|
## [3.1.1] - 2025-09-10
|
|
16
|
-
|
|
32
|
+
### Fixed
|
|
17
33
|
- Accept array of staff/tab/group for addFermataTo(), addNavigationTo(), addAnnotationTo() and addLabelTo().
|
|
18
34
|
- Better infinite recursion detection for staff groups.
|
|
19
35
|
|
|
20
36
|
## [3.1.0] - 2025-09-09
|
|
21
|
-
|
|
37
|
+
### Added
|
|
22
38
|
- Staff/TabConfig.name.
|
|
23
39
|
- DocumentBuilder.addStaffGroup().
|
|
24
40
|
- DocumentBuilder.addFermataTo(), .addNavigationTo(), .addAnnotationTo() and .addLabelTo().
|
|
25
41
|
|
|
26
42
|
## [3.0.1] - 2025-09-03
|
|
27
|
-
|
|
43
|
+
### Fixed
|
|
28
44
|
- Draw arpeggio curly arrow also to guitar tab.
|
|
29
45
|
|
|
30
46
|
## [3.0.0] - 2025-08-31
|
|
31
47
|
Major update and brought some important changes.
|
|
32
|
-
### **
|
|
48
|
+
### **Breaking Changes**
|
|
33
49
|
- Removed old way of creating scores using MDocument, MMeasure, etc. Use DocumentBuilder instead.
|
|
34
50
|
- Removed DocumentOptions. Replaced using functions addScoreConfiguration() and setMeasuresPerRow() in DocumentBuilder.
|
|
35
51
|
- Tie and slur removed from NoteOptions. Use addConnective() in DocumentBuilder.
|
|
36
52
|
|
|
37
|
-
|
|
53
|
+
### Added
|
|
38
54
|
- Score configuration with multiple staves and tabs per row.
|
|
39
55
|
- Connective.Slide.
|
|
40
56
|
- Draw Connectives in tabs.
|
|
41
57
|
|
|
42
|
-
|
|
58
|
+
### Changed
|
|
43
59
|
- Lots of undocumented fixes, changes and improvements.
|
|
44
60
|
|
|
45
61
|
## [2.0.0] - 2025-07-28
|
|
46
62
|
Major update and brought many changes.
|
|
47
|
-
### **
|
|
63
|
+
### **Breaking Changes**
|
|
48
64
|
- Use subpath modules. There is no main export.
|
|
49
65
|
- Refactored musical terms that were wrong (e.g. pitch => diatonicId, noteId => chromaticId).
|
|
50
66
|
- Score module stayed mostly same. Some changes (e.g. enum StaffKind => StaffPreset) but nothing major.
|