Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@98kmc 98kmc released this 11 May 23:47

Description:

In this latest release of the Networking library, we've focused on eliminating legacy code and deprecated features, while also optimizing internal code for improved performance and abstraction. Additionally, significant changes have been made to the request building functions, such as 'withBody()' and 'withHeaders()', which now accept varargs Pair<K,V> instead of Map<K,V>. Moreover, when making requests to a URL different from the baseURL, you must now call the request or safeRequest functions with a url argument of type URL. These changes provide a more streamlined and efficient experience for users of the library.

Key Changes:

  • Removal of legacy code and deprecated features: We've eliminated all legacy code and deprecated functionalities from the library, ensuring a modern and efficient codebase.
  • Enhanced request building functions: The functions for constructing requests, such as 'withBody()' and 'withHeaders()', now accept varargs Pair<K,V> instead of Map<K,V>, offering improved flexibility and readability.
  • URL parameter for non-baseURL requests: When making requests to a URL different from the baseURL, users must now pass a URL argument to the request or safeRequest functions, ensuring proper URL handling.
  • Internal optimizations and abstractions: We've implemented numerous optimizations and abstractions internally, enhancing performance and maintainability of the codebase.

Upgrading from Previous Versions:

  • Ensure that all deprecated features and functions are replaced with their latest implementations as per the updated API.
  • Update request building code to use varargs Pair<K,V> instead of Map<K,V> for improved functionality.
  • When making requests to non-baseURL endpoints, pass a URL argument to the request or safeRequest functions.

We're excited about these changes and believe they will greatly enhance the usability and performance of the Networking library. As always, we welcome feedback and contributions from the community to further improve the library.