github KivalEvan/BeatSaber-JSMap 1.4.0

latest releases: 1.6.0, 1.5.3, 1.5.2...
20 months ago

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

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 and burstSlider to arc and chain respectively
    • This reduce the confusion between internal and common name
    • Schema remained unchanged for obvious reason
  • Renamed fileName to filename 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 to Object 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 and Object are never modified and could cause confusing usage)
  • Prompting in conversion (this should now be handled by script user)
  • swapPosition and swapRotation 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

Don't miss a new BeatSaber-JSMap release

NewReleases is sending notifications on new releases.