Skip to content

Releases: Widen/urlbuilder

Content-Disposition fixes

09 Mar 20:40
354ada3
Compare
Choose a tag to compare

Fixed

  • Fix produced Content-Disposition headers for filenames containing ASCII characters that are not recommended by RFC 6266 as they can cause problems in some browsers. (#13)
  • Fix some readme links.

Get path segments

09 May 21:20
96b69b7
Compare
Choose a tag to compare

Added

  • Add ability to get all path segments in a URL via getPathSegments(). This is computationally cheaper and easier to use than splitting on / from getPath() if you need to inspect the path more closely.

Package change, new features

09 May 20:06
694c7ed
Compare
Choose a tag to compare

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.

Gradle and publishing changes

09 May 16:41
cfc56eb
Compare
Choose a tag to compare

This release only changes publishing and build configuration.

Changed

  • Gradle has been upgraded to 5.x.
  • Releases are now published publicly to Bintray.

Gradle and publishing changes

09 May 16:31
f4c0d63
Compare
Choose a tag to compare
Pre-release

This release only changes publishing and build configuration.

Changed

  • Gradle has been upgraded to 5.x.
  • Releases are now published publicly to Bintray.

Added: Better UTF-8 attachment handling

04 Jan 17:09
5e6c3b6
Compare
Choose a tag to compare

Added

  • There is now a HttpUtils public class with a createContentDispositionHeader() static method for generating proper UTF-8 encoded Content-Disposition header values supporting both ASCII and UTF-8 for browsers implementing RFC 5987. This is used by the url builders themselves, but is also part of the public API and can be used independently. (#4)

Fixed

  • Both CloudFrontUrlBuilder and S3UrlBuilder support full UTF-8 attachment filenames by using the above method. (#4)

1.0.0

05 Dec 20:55
Compare
Choose a tag to compare

First stable release of UrlBuilder! Only one important change since the latest unstable version (0.10.6), but this release marks the library's stabilization.

Fixed

  • Normalize and convert attachment filenames to ASCII for S3UrlBuilder and CloudfrontUrlBuilder to fix issues with special characters (#2).