From f3dc36310317c9c166043e3e4bcc96664e11379c Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Mon, 5 Feb 2024 05:04:01 +0100 Subject: [PATCH] Release v5.2.0 --- CHANGELOG.md | 41 ++++++++++++++++++++++++++++++++++++ CHANGES.md => CHANGES_OLD.md | 0 lib/http/version.rb | 2 +- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md rename CHANGES.md => CHANGES_OLD.md (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..bdee86d5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,41 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [5.2.0] - 2024-02-05 + +### Added + +- Add `Connection#finished_request?` + ([#743](https://github.com/httprb/http/pull/743)) +- Add `Instrumentation#on_error` + ([#746](https://github.com/httprb/http/pull/746)) +- Add `base64` dependency (suppresses warnings on Ruby 3.0) + ([#759](https://github.com/httprb/http/pull/759)) +- Add `PURGE` HTTP verb + ([#757](https://github.com/httprb/http/pull/757)) +- Add Ruby-3.3 support + +### Changed + +- **BREAKING** Process features in reverse order + ([#766](https://github.com/httprb/http/pull/766)) +- **BREAKING** Downcase Content-Type charset name + ([#753](https://github.com/httprb/http/pull/753)) +- **BREAKING** Make URI normalization more conservative + ([#758](https://github.com/httprb/http/pull/758)) + +### Fixed + +- Close sockets on initialize failure + ([#762](https://github.com/httprb/http/pull/762)) +- Prevent CRLF injection due to broken URL normalizer + ([#765](https://github.com/httprb/http/pull/765)) + +[unreleased]: https://github.com/httprb/http/compare/v5.2.0...5-x-stable +[5.2.0]: https://github.com/httprb/http/compare/v5.1.1...v5.2.0 diff --git a/CHANGES.md b/CHANGES_OLD.md similarity index 100% rename from CHANGES.md rename to CHANGES_OLD.md diff --git a/lib/http/version.rb b/lib/http/version.rb index 37dbd144..1c348cfe 100644 --- a/lib/http/version.rb +++ b/lib/http/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module HTTP - VERSION = "5.1.1" + VERSION = "5.2.0" end