Paul Berry | feed66b | 2022-09-15 09:53:28 -0700 | [diff] [blame] | 1 | ## 2.1.3 |
Collin Jackson | c1bdc81 | 2022-01-20 14:05:22 -0800 | [diff] [blame] | 2 | |
stuartmorgan | 3993fa7 | 2022-05-11 11:48:47 -0400 | [diff] [blame] | 3 | * Minor fixes for new analysis options. |
Collin Jackson | c1bdc81 | 2022-01-20 14:05:22 -0800 | [diff] [blame] | 4 | * Adds additional tests for `PlatformInterface` and `MockPlatformInterfaceMixin`. |
Paul Berry | feed66b | 2022-09-15 09:53:28 -0700 | [diff] [blame] | 5 | * Modifies `PlatformInterface` to use an expando for detecting if a customer |
| 6 | tries to implement PlatformInterface using `implements` rather than `extends`. |
| 7 | This ensures that `verify` will continue to work as advertized after |
| 8 | https://github.com/dart-lang/language/issues/2020 is implemented. |
Collin Jackson | c1bdc81 | 2022-01-20 14:05:22 -0800 | [diff] [blame] | 9 | |
stuartmorgan | b44b979 | 2022-01-07 16:00:21 -0800 | [diff] [blame] | 10 | ## 2.1.2 |
| 11 | |
| 12 | * Updates README to demonstrate `verify` rather than `verifyToken`, and to note |
| 13 | that the test mixin applies to fakes as well as mocks. |
| 14 | * Adds an additional test for `verifyToken`. |
| 15 | |
stuartmorgan | 7a64cad | 2022-01-07 10:01:18 -0800 | [diff] [blame] | 16 | ## 2.1.1 |
| 17 | |
| 18 | * Fixes `verify` to work with fake objects, not just mocks. |
| 19 | |
Collin Jackson | 72634e0 | 2022-01-05 17:43:43 -0800 | [diff] [blame] | 20 | ## 2.1.0 |
| 21 | |
| 22 | * Introduce `verify`, which prevents use of `const Object()` as instance token. |
| 23 | * Add a comment indicating that `verifyToken` will be deprecated in a future release. |
| 24 | |
stuartmorgan | cf40966 | 2021-09-30 13:30:26 -0400 | [diff] [blame] | 25 | ## 2.0.2 |
| 26 | |
| 27 | * Update package description. |
| 28 | |
Ryo Kamimura | 744730c | 2021-07-08 16:01:06 +0900 | [diff] [blame] | 29 | ## 2.0.1 |
| 30 | |
| 31 | * Fix `federated flutter plugins` link in the README.md. |
| 32 | |
Kevin Moore | 73a75b8 | 2021-02-18 13:45:01 -0800 | [diff] [blame] | 33 | ## 2.0.0 |
Emmanuel Garcia | ad6d03c | 2020-12-14 13:33:59 -0800 | [diff] [blame] | 34 | |
| 35 | * Migrate to null safety. |
| 36 | |
Kevin Moore | ede370e | 2020-09-29 13:09:42 -0700 | [diff] [blame] | 37 | ## 1.0.3 |
| 38 | |
| 39 | * Fix homepage in `pubspec.yaml`. |
| 40 | |
Chris Yang | bc6def2 | 2020-02-20 15:41:18 -0800 | [diff] [blame] | 41 | ## 1.0.2 |
| 42 | |
| 43 | * Make the pedantic dev_dependency explicit. |
| 44 | |
Amir Hardon | 189fa93 | 2019-12-13 12:20:43 -0800 | [diff] [blame] | 45 | ## 1.0.1 |
| 46 | |
| 47 | * Fixed a bug that made all platform interfaces appear as mocks in release builds (https://github.com/flutter/flutter/issues/46941). |
| 48 | |
Amir Hardon | be04f32 | 2019-12-10 13:15:02 -0800 | [diff] [blame] | 49 | ## 1.0.0 - Initial release. |
| 50 | |
| 51 | * Provides `PlatformInterface` with common mechanism for enforcing that a platform interface |
| 52 | is not implemented with `implements`. |
| 53 | * Provides test only `MockPlatformInterface` to enable using Mockito to mock platform interfaces. |