Added
- Updated to info v2.1.0
- Queen environment & color scheme
- Legacy beatmap v1 (incomplete; contain mixed information)
- Info wrapper class
- Beatmap object class validation
- Tagged log method
- Prefixed with,
t
followed by capital letter, for consistent tagging style print - Non-tagged log will automatically apply
script
tag - Able to customise tag print and untagged string
- Prefixed with,
Changed
- Wrapper class now have their own protected attributes instead of using
data
- Unspecified difficulty version will now return base wrapper class instead of version specific
- This means it won't automagically convert v2 map to v3 map when unspecified
- Renamed
slider
andburstSlider
toarc
andchain
respectively- This reduce the confusion between internal and common name
- Schema remained unchanged for obvious reason
- Renamed
fileName
tofilename
for consistency - Renamed couple of functions and constants
- Allow object class constructor to be used (similar to static
create
but as single object) - Allow object class
func
to have any arguments - Changed modded object value method behaviour
- Changed custom data type structure
- Changed type from
Record
toObject
for known constants - Updated converter functions
- Updated Heck stuff
- Logger can now be instantiated
- Small refactor for BPM and NJS class
- Recommended Deno version to 1.34.0+
- Only root-level file can contain platform-specific API
Fixed
- Copy object/array in class object when copying to prevent accidental referenced mutation
- Missing NE and Chroma check
- Missing wrapper and types export
- Chroma gradient event convert properly
- Possible floating-point error in NJS HJD calculation
- Constants should throw TS error if modified (
environment
,colorScheme
, etc.)
Removed
data
in class object (Array
andObject
are never modified and could cause confusing usage)- Prompting in conversion (this should now be handled by script user)
swapPosition
andswapRotation
in class object (seemingly unnecessary utility)Required
object in concrete class (overall less visual noise)- Unused optimize option
- FS utility (now uses standard module)
Full Changelog: 1.3.4...1.4.0