blob: 0b5a6b63a52f28bef89d1bf599e961ad31fe5b49 [file] [log] [blame] [view]
Paul Berryfeed66b2022-09-15 09:53:28 -07001## 2.1.3
Collin Jacksonc1bdc812022-01-20 14:05:22 -08002
stuartmorgan3993fa72022-05-11 11:48:47 -04003* Minor fixes for new analysis options.
Collin Jacksonc1bdc812022-01-20 14:05:22 -08004* Adds additional tests for `PlatformInterface` and `MockPlatformInterfaceMixin`.
Paul Berryfeed66b2022-09-15 09:53:28 -07005* 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 Jacksonc1bdc812022-01-20 14:05:22 -08009
stuartmorganb44b9792022-01-07 16:00:21 -080010## 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
stuartmorgan7a64cad2022-01-07 10:01:18 -080016## 2.1.1
17
18* Fixes `verify` to work with fake objects, not just mocks.
19
Collin Jackson72634e02022-01-05 17:43:43 -080020## 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
stuartmorgancf409662021-09-30 13:30:26 -040025## 2.0.2
26
27* Update package description.
28
Ryo Kamimura744730c2021-07-08 16:01:06 +090029## 2.0.1
30
31* Fix `federated flutter plugins` link in the README.md.
32
Kevin Moore73a75b82021-02-18 13:45:01 -080033## 2.0.0
Emmanuel Garciaad6d03c2020-12-14 13:33:59 -080034
35* Migrate to null safety.
36
Kevin Mooreede370e2020-09-29 13:09:42 -070037## 1.0.3
38
39* Fix homepage in `pubspec.yaml`.
40
Chris Yangbc6def22020-02-20 15:41:18 -080041## 1.0.2
42
43* Make the pedantic dev_dependency explicit.
44
Amir Hardon189fa932019-12-13 12:20:43 -080045## 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 Hardonbe04f322019-12-10 13:15:02 -080049## 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.