From 8657465b438d93c707aff4346fdcf74c742b4a53 Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Fri, 19 Aug 2022 12:33:59 +0200 Subject: [PATCH] Update version, gemspec, and CHANGELOG for 2.8.1 (#474) --- CHANGELOG.md | 16 ++++++++++++++++ addressable.gemspec | 6 +++--- lib/addressable/version.rb | 2 +- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a9f8668..c15168dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# Addressable 2.8.1 +- refactor `Addressable::URI.normalize_path` to address linter offenses ([#430](https://github.com/sporkmonger/addressable/pull/430)) +- remove redundant colon in `Addressable::URI::CharacterClasses::AUTHORITY` regex ([#438](https://github.com/sporkmonger/addressable/pull/438)) +- update gemspec to reflect supported Ruby versions ([#466], [#464], [#463]) +- compatibility w/ public_suffix 5.x ([#466], [#465], [#460]) +- fixes "invalid byte sequence in UTF-8" exception when unencoding URLs containing non UTF-8 characters ([#459](https://github.com/sporkmonger/addressable/pull/459)) +- `Ractor` compatibility ([#449](https://github.com/sporkmonger/addressable/pull/449)) +- use the whole string instead of a single line for template match ([#431](https://github.com/sporkmonger/addressable/pull/431)) +- force UTF-8 encoding only if needed ([#341](https://github.com/sporkmonger/addressable/pull/341)) + +[#460]: https://github.com/sporkmonger/addressable/pull/460 +[#463]: https://github.com/sporkmonger/addressable/pull/463 +[#464]: https://github.com/sporkmonger/addressable/pull/464 +[#465]: https://github.com/sporkmonger/addressable/pull/465 +[#466]: https://github.com/sporkmonger/addressable/pull/466 + # Addressable 2.8.0 - fixes ReDoS vulnerability in Addressable::Template#match - no longer replaces `+` with spaces in queries for non-http(s) schemes diff --git a/addressable.gemspec b/addressable.gemspec index 1ee6542e..d51f4655 100644 --- a/addressable.gemspec +++ b/addressable.gemspec @@ -1,15 +1,15 @@ # -*- encoding: utf-8 -*- -# stub: addressable 2.8.0 ruby lib +# stub: addressable 2.8.1 ruby lib Gem::Specification.new do |s| s.name = "addressable".freeze - s.version = "2.8.0" + s.version = "2.8.1" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Bob Aman".freeze] - s.date = "2021-07-03" + s.date = "2022-08-19" s.description = "Addressable is an alternative implementation to the URI implementation that is\npart of Ruby's standard library. It is flexible, offers heuristic parsing, and\nadditionally provides extensive support for IRIs and URI templates.\n".freeze s.email = "bob@sporkmonger.com".freeze s.extra_rdoc_files = ["README.md".freeze] diff --git a/lib/addressable/version.rb b/lib/addressable/version.rb index 76670295..d8e1644b 100644 --- a/lib/addressable/version.rb +++ b/lib/addressable/version.rb @@ -23,7 +23,7 @@ module Addressable module VERSION MAJOR = 2 MINOR = 8 - TINY = 0 + TINY = 1 STRING = [MAJOR, MINOR, TINY].join('.') end