Skip to content

Commit

Permalink
Prepare patrol 3.12.0 and patrol_cli 3.3.0 for release (#2392)
Browse files Browse the repository at this point in the history
* Add clear permissions test failing on ios

* POC - resetting camera permission on ios

* Use target 14

* Reset many permissions

* Remove unnecessary variable

* Add other permissions

* Add other permissions

* Update test and permissions, revert ios target

* Add clear-permissions flag to ios commands

* Format macro code

* Add changelog entry

* Do not mark clear-permissions as experimental

* Refactor permissions tests to test location permission

* Fix permission tests

* Prepare patrol 3.12.0 and patrol_cli 3.3.0 for release

* Add version requirements to changelogs

---------

Co-authored-by: karolinaoparczyk <[email protected]>
Co-authored-by: piotruela <[email protected]>
  • Loading branch information
3 people authored Nov 5, 2024
1 parent e88a8e3 commit 05287bb
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/compatibility-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ the table below to assess which version you should use.

| patrol_cli | patrol |
| -------------- | -------------- |
| 3.2.1 - | 3.11.2 - |
| 3.3.0+ | 3.12.0+ |
| 3.2.1 | 3.11.2 |
| 3.2.0 | 3.11.0 - 3.11.1|
| 3.1.0 - 3.1.1 | 3.10.0 |
| 2.6.5 - 3.0.1 | 3.6.0 - 3.10.0 |
Expand Down
4 changes: 3 additions & 1 deletion packages/patrol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Unreleased
## 3.12.0

- Add `clear-permissions` flag on ios commands. (#2367)

This version requires version 3.3.0 of `patrol_cli` package.

## 3.11.2

- Bump min Flutter SDK to 3.24.0 and Dart SDK to 3.5.0 (#2371)
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.11.2
version: 3.12.0
homepage: https://patrol.leancode.co
repository: https://github.com/leancodepl/patrol/tree/master/packages/patrol
issue_tracker: https://github.com/leancodepl/patrol/issues
Expand Down
4 changes: 3 additions & 1 deletion packages/patrol_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## Unreleased
## 3.3.0

- Add `clear-permissions` flag on ios commands. (#2367)

This version requires version 3.12.0 of `patrol` package.

## 3.2.1

- Allow running Patrol tests from any subfolder of the project (#2351)
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol_cli/lib/src/base/constants.dart
Original file line number Diff line number Diff line change
@@ -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.2.1';
const version = '3.3.0';
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ final _patrolVersionRange = [
),
VersionRange(
min: Version.parse('3.11.2'),
max: Version.parse('3.11.2'),
),
VersionRange(
min: Version.parse('3.12.0'),
),
];

Expand Down Expand Up @@ -249,5 +253,9 @@ final _patrolCliVersionRange = [
),
VersionRange(
min: Version.parse('3.2.1'),
max: Version.parse('3.2.1'),
),
VersionRange(
min: Version.parse('3.3.0'),
),
];
2 changes: 1 addition & 1 deletion packages/patrol_cli/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: patrol_cli
description: >
Command-line tool for Patrol, a powerful Flutter-native UI testing framework.
version: 3.2.1 # Must be kept in sync with constants.dart
version: 3.3.0 # Must be kept in sync with constants.dart
homepage: https://patrol.leancode.co
repository: https://github.com/leancodepl/patrol/tree/master/packages/patrol_cli
issue_tracker: https://github.com/leancodepl/patrol/issues?q=is%3Aopen+is%3Aissue+label%3A%22package%3A+patrol_cli%22
Expand Down

0 comments on commit 05287bb

Please sign in to comment.