Skip to content

Package change, new features

Compare
Choose a tag to compare
@sagebind sagebind released this 09 May 20:06
· 9 commits to master since this release
694c7ed

Breaking Changes

  • All classes have been moved from the com.widen.util package to the more specific com.widen.urlbuilder package.
  • Java 8+ is now the minimum required Java version.

Added

  • Accessing existing query parameters is now easier with the new getQueryParameters() method, which returns a map of parameter values for each parameter name. Parameters without an explicit value are represented by the empty string "".
  • You can now easily convert a UrlBuilder to an URI or URL using the new toURI() and toURL() methods respectively.

Fixed

  • Fixed an issue where "value-less" query parameters (e.g. /foo/bar?valueless) parsed from a string were not being preserved and were being lost when converting back into a string.