Skip to content

Version 6.0.0

Compare
Choose a tag to compare
@robflop robflop released this 12 Sep 19:22
· 538 commits to master since this release

Version 6.0.0

Gotta love breaking old, bad code.

See the Upgrading file for instructions to upgrade from prev. versions.

Front-end

  • API link updated
  • Wrap soundboard source titles + button wrappers into one big source wrapper for each source
  • Add crazy mode toggle
  • Use localStorage for settings instead of cookies
  • Rename background script to extras and include crazy mode code in it

Back-end

  • "yamero_counter" table renamed to "main_counter"
  • Default db adjusted for this change
  • API routes updated to make sense
    • All routes moved to /api/
    • /conInfo moved to /api/conInfo
    • /counter moved to /api/counter
    • /counter?statistics moved to /api/statistics/summary
    • /stats moved to /api/statistics
    • /sounds moved to /api/sounds
  • Add proper documentation for sounds endpoint and add source, over, under and equals filter parameters
  • Refactor statistics endpoint
  • Make api routes respond with consistent data format (JSON)
  • Add "crazy mode" in which every sound played in any other user's session is mirrored for whoever has said mode enabled
  • Replace moment.js with date-fns and replace node-schedule with node-cron

Misc

  • Dependencies updated
  • Readme updated
  • eslintrc adjusted
  • Uppercase all comments
  • Wiki page renamed + updated
  • soundQueries page refunctioned to Upgrading info page
  • Migration script for v5 -> v6 created, it and the one for v4 -> v5 moved to upgrading_legacy folder