Skip to content

v1.0.8 - Bug Fixes and Performance Improvements

Choose a tag to compare

@BytePhilHD BytePhilHD released this 09 Dec 18:48
· 41 commits to master since this release

Dependency Updates:

  • Updated the version of the project from 1.0-SNAPSHOT to 1.0.8 in pom.xml.
  • Upgraded the spotify-web-api-java dependency from version 8.4.1 to 9.0.0 in pom.xml.

Code Refactoring:

  • Refactored constant variables clientId and clientSecret to uppercase (CLIENT_ID and CLIENT_SECRET) in AuthenticationURI.java, SpotifyAPIConnector.java, and SearchRequest.java [1] [2] [3].
  • Removed unused import statements and reordered them in AuthenticationURI.java, SearchRequest.java, and ServerConfiguration.java [1] [2] [3].

WebSocket Enhancements:

  • Enhanced WebSocket setup to support both ws and wss protocols in adminscript.js and mainpage.js [1] [2].
  • Modified the WebSocket refresh function to send "refresh-Admin" instead of "refresh" in adminscript.js.

Error Handling Improvements:

  • Improved error handling in Main.java by catching specific exceptions (IOException, ParseException, SpotifyWebApiException) and printing stack traces for unexpected errors.

Documentation Update:

  • Added a new section "Developing" to README.md with instructions on setting clientID and clientSecret values and building the project with Maven.