From 5ff74c8df2dafadbd7d55ec1f3661e699a6df232 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 4 Jan 2025 20:18:28 +1300 Subject: [PATCH] Add release notes. --- .github/workflows/test.yaml | 1 + bake.rb | 11 +++++++++++ gems.rb | 1 + releases.md | 23 +++++++++++++++++++++++ 4 files changed, 36 insertions(+) create mode 100644 bake.rb create mode 100644 releases.md diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 704d1a5..f2c55cd 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,6 +7,7 @@ permissions: env: CONSOLE_OUTPUT: XTerm + BUNDLE_WITHOUT: maintenance jobs: test: diff --git a/bake.rb b/bake.rb new file mode 100644 index 0000000..7e756a4 --- /dev/null +++ b/bake.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +# Released under the MIT License. +# Copyright, 2024, by Samuel Williams. + +# Update the project documentation with the new version number. +# +# @parameter version [String] The new version number. +def after_gem_release_version_increment(version) + context["releases:update"].call(version) +end diff --git a/gems.rb b/gems.rb index 27a6e1b..4fd02e3 100644 --- a/gems.rb +++ b/gems.rb @@ -11,6 +11,7 @@ gem "bake" gem "bake-gem" gem "bake-modernize" + gem "bake-releases" gem "rubocop", require: false gem "rubocop-packaging", require: false diff --git a/releases.md b/releases.md new file mode 100644 index 0000000..eb646c4 --- /dev/null +++ b/releases.md @@ -0,0 +1,23 @@ +# Releases + +## Unreleased + + - Improved compatibility with Ruby 3.3+ and Rack 3+. + - Add support for cookie option `partitioned`. + - Introduce `assume_ssl` option to allow secure session cookies through insecure proxy. + +## v2.0.0 + + - Initial migration of code from Rack 2, for Rack 3 release. + +## v1.0.2 + + - Fix missing `rack/session.rb` file. + +## v1.0.1 + + - Pin to `rack < 3`. + +## v1.0.0 + + - Empty shim release for Rack 2.