From 53d0558eeaa4012cc1f8509a0c0721f5c66473b7 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sat, 28 Mar 2026 10:35:34 -0400 Subject: [PATCH 1/4] Update CHANGELOG for 5.5.0 release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b94195..6110213 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,18 @@ -## 5.4.0 (Next) +## Next (Next) + +* Your contribution here. + +## 5.5.0 (2026/03/15) * [#131](https://github.com/radar/distance_of_time_in_words/pull/131): Deprecates `highest_measure_only`. Adds alternate form of `highest_measures` option to permit rounding up whatever part of the duration was previously silently discarded - [@seansfkelley](https://github.com/seansfkelley). * [#133](https://github.com/radar/distance_of_time_in_words/pull/133): Test on Ruby 3.0 and 3.1 - [@dblock](https://github.com/dblock). * [#134](https://github.com/radar/distance_of_time_in_words/pull/134): Add support for Dzongkha, the National language of Bhutan - [@KinWang-2013](https://github.com/KinWang-2013). * [#135](https://github.com/radar/distance_of_time_in_words/pull/135): Add support for Ruby 2.7 and 3.2, removed support for ruby 2.4, 2.5, 2.6 and Rails 4 - [@KinWang-2013](https://github.com/KinWang-2013). * [#136](https://github.com/radar/distance_of_time_in_words/pull/136): Add support for Rails 7 - [@KinWang-2013](https://github.com/KinWang-2013). -* [#139](https://github.com/radar/distance_of_time_in_words/pull/139): Fix bug with pluralization of Russian translations for numbers ending in 1 - [bitberry-dev](https://github.com/bitberry-dev). -* Your contribution here. +* [#139](https://github.com/radar/distance_of_time_in_words/pull/139): Fix bug with pluralization of Russian translations for numbers ending in 1 - [@bitberry-dev](https://github.com/bitberry-dev). +* [#140](https://github.com/radar/distance_of_time_in_words/pull/140): Add Ruby 3.3 and 3.4 support, added logger - [@dblock](https://github.com/dblock). +* [#141](https://github.com/radar/distance_of_time_in_words/pull/141): Fix flaky time calculation test by explicitly setting timezone - [@bitberry-dev](https://github.com/bitberry-dev). +* Fix bug when accumulating on years - [@radar](https://github.com/radar). ## 5.3.3 (2022/04/25) From 35433ef3388b0725d295ab5c7297ae8e6ec0d977 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sat, 28 Mar 2026 10:36:14 -0400 Subject: [PATCH 2/4] Preparing for next developer iteration, 5.5.1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- CHANGELOG.md | 2 +- lib/dotiw/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6110213..5666dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Next (Next) +## 5.5.1 (Next) * Your contribution here. diff --git a/lib/dotiw/version.rb b/lib/dotiw/version.rb index b02beb1..8cb8f64 100644 --- a/lib/dotiw/version.rb +++ b/lib/dotiw/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module DOTIW - VERSION = '5.5.0' + VERSION = '5.5.1' end From de4cc4c115e4d37d698757e13ecc91c4892e07a4 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sat, 28 Mar 2026 10:38:03 -0400 Subject: [PATCH 3/4] Added RELEASING.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- RELEASING.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 RELEASING.md diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..e7c1e79 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,67 @@ +# Releasing DOTIW + +There are no hard rules about when to release dotiw. Release bug fixes frequently, features not so frequently and breaking API changes rarely. + +## Release + +Run tests, check that all tests succeed locally. + +``` +bundle install +rake +``` + +Check that the last build succeeded in [GitHub Actions](https://github.com/radar/distance_of_time_in_words/actions) for all supported platforms. + +Add a date to this release in [CHANGELOG.md](CHANGELOG.md). + +``` +## 5.5.1 (2026/03/28) +``` + +Remove the line with "Your contribution here.", since there will be no more contributions to this release. + +Commit your changes. + +``` +git add CHANGELOG.md lib/dotiw/version.rb +git commit -m "Preparing for release, 5.5.1." +git push origin master +``` + +Release. + +``` +rake release +``` + +This builds the gem, creates and pushes a git tag, and pushes the gem to [RubyGems](https://rubygems.org/gems/dotiw). + +``` +dotiw 5.5.1 built to pkg/dotiw-5.5.1.gem. +Tagged v5.5.1. +Pushed git commits and tags. +Pushed dotiw 5.5.1 to rubygems.org. +``` + +Create a [GitHub release](https://github.com/radar/distance_of_time_in_words/releases/new) for the tag `v5.5.1`, using the CHANGELOG entries for this version as the release notes. + +## Prepare for the Next Version + +Add the next release to [CHANGELOG.md](CHANGELOG.md). + +``` +## 5.5.2 (Next) + +* Your contribution here. +``` + +Increment the patch version number in [lib/dotiw/version.rb](lib/dotiw/version.rb). + +Commit your changes. + +``` +git add CHANGELOG.md lib/dotiw/version.rb +git commit -m "Preparing for next developer iteration, 5.5.2." +git push origin master +``` From 33ce4e3e363ea8b98d087a76d1fb7745bdffb8ec Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Sat, 28 Mar 2026 10:39:00 -0400 Subject: [PATCH 4/4] Use gh CLI to create GitHub release. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- RELEASING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASING.md b/RELEASING.md index e7c1e79..e3ad265 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -44,7 +44,11 @@ Pushed git commits and tags. Pushed dotiw 5.5.1 to rubygems.org. ``` -Create a [GitHub release](https://github.com/radar/distance_of_time_in_words/releases/new) for the tag `v5.5.1`, using the CHANGELOG entries for this version as the release notes. +Create a GitHub release for the tag using the `gh` CLI, passing the CHANGELOG entries for this version as the release notes. + +``` +gh release create v5.5.1 --title "5.5.1" --notes "$(sed -n '/^## 5.5.1/,/^## /p' CHANGELOG.md | sed '$d')" +``` ## Prepare for the Next Version