From 3ed951b1eb1979d8c2205c55eff30b20e6c7ebf5 Mon Sep 17 00:00:00 2001 From: pdenert Date: Fri, 17 Jan 2025 14:48:05 +0100 Subject: [PATCH 1/4] Prepare patrol and patrol_cli to releases --- docs/compatibility-table.mdx | 3 ++- packages/patrol/CHANGELOG.md | 12 ++++++------ packages/patrol/pubspec.yaml | 6 +++--- packages/patrol_cli/lib/src/base/constants.dart | 2 +- .../compatibility_checker/compatibility_checker.dart | 8 ++++++++ 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/docs/compatibility-table.mdx b/docs/compatibility-table.mdx index 47595f1d7..093c183b2 100644 --- a/docs/compatibility-table.mdx +++ b/docs/compatibility-table.mdx @@ -11,7 +11,8 @@ the table below to assess which version you should use. | patrol_cli | patrol | Min Flutter Version | | -------------- | -------------- | ------------------- | -| 3.4.1+ | 3.13.1+ | 3.24.0 | +| 3.5.0+ | 3.14.0+ | 3.24.0 | +| 3.4.1-3.4.2 | 3.13.1-3.13.2 | 3.24.0 | | 3.4.0 | 3.13.0 | 3.24.0 | | 3.3.0 | 3.12.0 | 3.24.0 | | 3.2.1 | 3.11.2 | 3.24.0 | diff --git a/packages/patrol/CHANGELOG.md b/packages/patrol/CHANGELOG.md index 2630379a9..ce830bc0b 100644 --- a/packages/patrol/CHANGELOG.md +++ b/packages/patrol/CHANGELOG.md @@ -1,14 +1,14 @@ -## Unreleased +## 3.14.0 -- Remove `exception` from `StepEntry`. When it was too long, it caused crash because of badly formed JSON. +- Remove `exception` from `StepEntry`. When it was too long, it caused crash because of badly formed JSON. (#2481) - Bump `patrol_finders` and `patrol_log` versions. -- Bump compileSdk to 35. -- Bump gradle to 8.9.0. -- Make Patrol works with Java 21. +- Bump compileSdk to 35. (#2488) +- Bump gradle to 8.9.0. (#2488) +- Make Patrol works with Java 21. (#2488) ## 3.13.2 -- Bump `patrol_finders` and `patrol_log` - use version with patched enterText. +- Bump `patrol_finders` and `patrol_log` - use version with patched enterText. (#2468) ## 3.13.1 diff --git a/packages/patrol/pubspec.yaml b/packages/patrol/pubspec.yaml index dac014fc8..d7bf2a286 100644 --- a/packages/patrol/pubspec.yaml +++ b/packages/patrol/pubspec.yaml @@ -2,7 +2,7 @@ name: patrol description: > Powerful Flutter-native UI testing framework overcoming limitations of existing Flutter testing tools. Ready for action! -version: 3.13.2 +version: 3.14.0 homepage: https://patrol.leancode.co repository: https://github.com/leancodepl/patrol/tree/master/packages/patrol issue_tracker: https://github.com/leancodepl/patrol/issues @@ -26,8 +26,8 @@ dependencies: http: '^1.1.0' json_annotation: ^4.8.1 meta: ^1.10.0 - patrol_finders: ^2.6.0 - patrol_log: ^0.2.2 + patrol_finders: ^2.7.0 + patrol_log: ^0.3.0 shelf: ^1.4.1 test_api: '^0.7.0' diff --git a/packages/patrol_cli/lib/src/base/constants.dart b/packages/patrol_cli/lib/src/base/constants.dart index 173085a39..5f14a4018 100644 --- a/packages/patrol_cli/lib/src/base/constants.dart +++ b/packages/patrol_cli/lib/src/base/constants.dart @@ -1,3 +1,3 @@ /// Version of Patrol CLI. Must be kept in sync with pubspec.yaml. /// If you update this, make sure that compatibility-table.mdx is updated (if needed) -const version = '3.4.1'; +const version = '3.5.0'; diff --git a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart index cc57c40e8..50dd4e3be 100644 --- a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart +++ b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart @@ -219,6 +219,10 @@ final _patrolVersionRange = [ ), VersionRange( min: Version.parse('3.13.1'), + max: Version.parse('3.13.2'), + ), + VersionRange( + min: Version.parse('3.14.0'), ), ]; @@ -273,5 +277,9 @@ final _patrolCliVersionRange = [ ), VersionRange( min: Version.parse('3.4.1'), + max: Version.parse('3.4.2'), + ), + VersionRange( + min: Version.parse('3.5.0'), ), ]; From dee716eb9c02ad7fdf149cc38be0d35531eadc8e Mon Sep 17 00:00:00 2001 From: pdenert Date: Fri, 17 Jan 2025 14:55:54 +0100 Subject: [PATCH 2/4] Remove non-existent version form compatibility files --- docs/compatibility-table.mdx | 2 +- .../lib/src/compatibility_checker/compatibility_checker.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/compatibility-table.mdx b/docs/compatibility-table.mdx index 093c183b2..1cd1280f3 100644 --- a/docs/compatibility-table.mdx +++ b/docs/compatibility-table.mdx @@ -12,7 +12,7 @@ the table below to assess which version you should use. | patrol_cli | patrol | Min Flutter Version | | -------------- | -------------- | ------------------- | | 3.5.0+ | 3.14.0+ | 3.24.0 | -| 3.4.1-3.4.2 | 3.13.1-3.13.2 | 3.24.0 | +| 3.4.1 | 3.13.1 - 3.13.2| 3.24.0 | | 3.4.0 | 3.13.0 | 3.24.0 | | 3.3.0 | 3.12.0 | 3.24.0 | | 3.2.1 | 3.11.2 | 3.24.0 | diff --git a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart index 50dd4e3be..4f53d551d 100644 --- a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart +++ b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart @@ -219,7 +219,7 @@ final _patrolVersionRange = [ ), VersionRange( min: Version.parse('3.13.1'), - max: Version.parse('3.13.2'), + max: Version.parse('3.13.1'), ), VersionRange( min: Version.parse('3.14.0'), From 4845ce0524454ba93fa4cc451be1208dcc644ec1 Mon Sep 17 00:00:00 2001 From: pdenert Date: Fri, 17 Jan 2025 14:58:17 +0100 Subject: [PATCH 3/4] Fix compatibility checker versions --- .../lib/src/compatibility_checker/compatibility_checker.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart index 4f53d551d..6453a9926 100644 --- a/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart +++ b/packages/patrol_cli/lib/src/compatibility_checker/compatibility_checker.dart @@ -277,7 +277,7 @@ final _patrolCliVersionRange = [ ), VersionRange( min: Version.parse('3.4.1'), - max: Version.parse('3.4.2'), + max: Version.parse('3.4.1'), ), VersionRange( min: Version.parse('3.5.0'), From c296899b91986652f0e3ed762b9902d0573bc1b3 Mon Sep 17 00:00:00 2001 From: Piotr Denert Date: Fri, 17 Jan 2025 06:08:24 -0800 Subject: [PATCH 4/4] Update packages/patrol/CHANGELOG.md Co-authored-by: Mateusz Wojtczak <62799148+mateuszwojtczak@users.noreply.github.com> --- packages/patrol/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patrol/CHANGELOG.md b/packages/patrol/CHANGELOG.md index ce830bc0b..996cbf20a 100644 --- a/packages/patrol/CHANGELOG.md +++ b/packages/patrol/CHANGELOG.md @@ -3,7 +3,7 @@ - Remove `exception` from `StepEntry`. When it was too long, it caused crash because of badly formed JSON. (#2481) - Bump `patrol_finders` and `patrol_log` versions. - Bump compileSdk to 35. (#2488) -- Bump gradle to 8.9.0. (#2488) +- Bump Gradle to 8.9.0. (#2488) - Make Patrol works with Java 21. (#2488) ## 3.13.2