From 2bb77afa06e6abeafab9dfb4692bb8f0b71fc1f4 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Mon, 19 Aug 2024 12:01:19 +0200 Subject: [PATCH] Format CHANGELOG The release process uses the CHANGELOG to determine the next version. With v7.18.1 this went wrong and became `vIn` because the version was assumed to be `In Git` as this was the first version header according to the format. --- CHANGELOG.md | 142 +++++++++++++++++++++++++++------------------------ 1 file changed, 74 insertions(+), 68 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2b6d32..108ea63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,120 +1,126 @@ # Changelog -## In Git - -## [7.18.1] - 2024-07-25 - -* handle multiple classes (features) and methods (scenarios) specified in `class` argument to better align with tools which requests specific scenarios to be executed -* support fields injection in steps classes with Hilt -* fix [#131](https://github.com/cucumber/cucumber-android/issues/131) -* update `cucumber-jvm` dependencies to `7.18.1` -* update Kotlin to `2.0.0` - -## [7.14.0] - 2023-09-25 +All notable changes to this project will be documented in this file. +The format is based on [Keep a Changelog](http://keepachangelog.com/) +and this project adheres to [Semantic Versioning](http://semver.org/). -* update `cucumber-jvm` dependencies to `7.14.0` - From now `cucumber-android` requires Java 8 api and Android API >= 26 or [desugaring](https://developer.android.com/studio/write/java8-support-table) +## [Unreleased] - For changes in behaviour of `cucumber-jvm` check https://github.com/cucumber/cucumber-jvm/tree/main/release-notes -* target android sdk version `34` -* rewritten most of classes to [Kotlin](https://kotlinlang.org/) and moved to package `io.cucumber.android` -* removed support for some of the arguments passed by instrumentation, check `CucumberAndroidJUnitArguments.PublicArgs` method for supported properties +## [7.18.1] - 2024-07-25 +### Changed +- handle multiple classes (features) and methods (scenarios) specified in `class` argument to better align with tools which requests specific scenarios to be executed +- support fields injection in steps classes with Hilt +- fix [#131](https://github.com/cucumber/cucumber-android/issues/131) +- update `cucumber-jvm` dependencies to `7.18.1` +- update Kotlin to `2.0.0` +## 7.14.0 - 2023-09-25 ### Added +- tag expression support in `@WithJunitRule` to execute particular rules in specific scenarios only -* tag expression support in `@WithJunitRule` to execute particular rules in specific scenarios only +### Changed +- update `cucumber-jvm` dependencies to `7.14.0`. From now `cucumber-android` requires Java 8 api and Android API >= 26 or [desugaring](https://developer.android.com/studio/write/java8-support-table). For changes in behaviour of `cucumber-jvm` check https://github.com/cucumber/cucumber-jvm/tree/main/release-notes. +- target android sdk version `34` +- rewritten most of classes to [Kotlin](https://kotlinlang.org/) and moved to package `io.cucumber.android` +- removed support for some of the arguments passed by instrumentation, check `CucumberAndroidJUnitArguments.PublicArgs` method for supported properties ### Fixed - -* [#118 @WithJunitRule executes rule for every scenario](https://github.com/cucumber/cucumber-android/issues/118) -* [#102 Testing reusable composables without activity not possible](https://github.com/cucumber/cucumber-android/issues/102) - +- [#118 @WithJunitRule executes rule for every scenario](https://github.com/cucumber/cucumber-android/issues/118) +- [#102 Testing reusable composables without activity not possible](https://github.com/cucumber/cucumber-android/issues/102) ## [4.10.0] - 2023-02-17 - ### Added +- add `HiltObjectFactory` -* add `HiltObjectFactory` -* ### Fixed -* [#111 Hilt gives me "Called inject() multiple times" exception](https://github.com/cucumber/cucumber-android/issues/111) +- [#111 Hilt gives me "Called inject() multiple times" exception](https://github.com/cucumber/cucumber-android/issues/111) ## [4.9.0] - 2021-11-16 - ### Added - -* add support for Junit rules +- add support for Junit rules ### Fixed -* [#87 Jetpack Compose support](https://github.com/cucumber/cucumber-android/issues/87) -* [#81 Hilt support](https://github.com/cucumber/cucumber-android/issues/81) +- [#87 Jetpack Compose support](https://github.com/cucumber/cucumber-android/issues/87) +- [#81 Hilt support](https://github.com/cucumber/cucumber-android/issues/81) ## 4.8.2 -* exclude kotlin generated classes for inlined functions from glue scanning -* does not fail if `Class.getMethods()` throws `NoClassDefFoundError` +### Fixed +- exclude kotlin generated classes for inlined functions from glue scanning +- does not fail if `Class.getMethods()` throws `NoClassDefFoundError` ## 4.8.1 -* upgrade `cucumber-core` to `4.8.1` +### Changed +- upgrade `cucumber-core` to `4.8.1` ## 4.7.4 -* upgrade `cucumber-core` to `4.7.4` -* extract the 'create backend supplier' method into the factory. +### Changed +- upgrade `cucumber-core` to `4.7.4` +- extract the 'create backend supplier' method into the factory. ## 4.6.0 -* upgrade `cucumber-core` to `4.6.0` +### Changed +- upgrade `cucumber-core` to `4.6.0` ## 4.5.4 -* upgrade `cucumber-core` to `4.5.4` -* upgrade package names to match JVM project package names. +### Changed +- upgrade `cucumber-core` to `4.5.4` +- upgrade package names to match JVM project package names. ## 4.4.1 -* [#43](https://github.com/cucumber/cucumber-android/issues/43) resolved by PR [#39](https://github.com/cucumber/cucumber-android/pull/39) - (Roman Havran) - - option to run regular android junit tests with `CucumberAndroidJUnitRunner` +### Changed +- [#43](https://github.com/cucumber/cucumber-android/issues/43) resolved by PR [#39](https://github.com/cucumber/cucumber-android/pull/39) - (Roman Havran) +- option to run regular android junit tests with `CucumberAndroidJUnitRunner` ## 4.4.0 -* upgrade `cucumber-core` to `4.4.0` -* upgrade `junit` to `4.13` +### Changed +- upgrade `cucumber-core` to `4.4.0` +- upgrade `junit` to `4.13` ## 4.3.1 -* upgrade `cucumber-core` to `4.3.1` -* properly create `JUnitOptions` to respect strict setting +### Changed +- upgrade `cucumber-core` to `4.3.1` +- properly create `JUnitOptions` to respect strict setting ## 4.3.0 -* upgrade `cucumber-core` to `4.3.0` +### Changed +- upgrade `cucumber-core` to `4.3.0` ## 4.2.5 ### Fixed - -* [#17](https://github.com/cucumber/cucumber-android/pull/17) - reports & rerun require TestRunFinishedEvent to be posted (kaskasi) +- [#17](https://github.com/cucumber/cucumber-android/pull/17) - reports & rerun require TestRunFinishedEvent to be posted (kaskasi) ## 4.2.4 ### Changed -From PR [#14](https://github.com/cucumber/cucumber-android/pull/14) (Viacheslav Iankovyi, Łukasz Suski) - * set target sdk to `28` - * migrate to `androidx` and `AndroidJunitRunner` - * add support for Android Test Orchestrator and spoon sharding - * ensure uniqueness of `#` - * each scenario outline example receives continues number starting from 1 - * if duplicate feature name or scenario in single feature is detected then error is thrown - +- From PR [#14](https://github.com/cucumber/cucumber-android/pull/14) (Viacheslav Iankovyi, Łukasz Suski) +- set target sdk to `28` +- migrate to `androidx` and `AndroidJunitRunner` +- add support for Android Test Orchestrator and spoon sharding +- ensure uniqueness of `#` +- each scenario outline example receives continues number starting from 1 +- if duplicate feature name or scenario in single feature is detected then error is thrown + ### Fixed - * [#2](https://github.com/cucumber/cucumber-android/issues/2) - cucumber-android does not integrate very well with Android Orchestrator +- [#2](https://github.com/cucumber/cucumber-android/issues/2) - cucumber-android does not integrate very well with Android Orchestrator ## 4.2.2 - - * upgrade cucumber-java to `4.2.2` +### Changed +- upgrade cucumber-java to `4.2.2` ## 4.0.0 - ### Changed - * migrate everything to Gradle - -### Removed - * android-studio sample - now [cukeulator](https://github.com/cucumber/cucumber-android/tree/master/cukeulator) is the only valid sample (for Gradle and Android Studio) - * cukeulator-test and cucumber-android-test +- migrate everything to Gradle ### Fixed - * [#5](https://github.com/cucumber/cucumber-android/issues/5) - Sample Does Not Work - * [#4](https://github.com/cucumber/cucumber-android/issues/4) - Support for parallel cukes - * [#3](https://github.com/cucumber/cucumber-android/issues/3) - Reported duration time of scenario is about 0ms on Android \ No newline at end of file +- [#5](https://github.com/cucumber/cucumber-android/issues/5) - Sample Does Not Work +- [#4](https://github.com/cucumber/cucumber-android/issues/4) - Support for parallel cukes +- [#3](https://github.com/cucumber/cucumber-android/issues/3) - Reported duration time of scenario is about 0ms on Android + +### Removed +- android-studio sample - now [cukeulator](https://github.com/cucumber/cucumber-android/tree/master/cukeulator) is the only valid sample (for Gradle and Android Studio) +- cukeulator-test and cucumber-android-test + +[Unreleased]: https://github.com/cucumber/cucumber-jvm/compare/v7.18.1...HEAD +[7.18.1]: https://github.com/cucumber/cucumber-jvm/compare/v7.18.0...v7.18.1 +[4.10.0]: https://github.com/cucumber/cucumber-jvm/compare/v4.10.0...v7.18.0 +[4.9.0]: https://github.com/cucumber/cucumber-jvm/compare/v4.9.0...v4.10.0