|
| 1 | +## 2.1.1 |
| 2 | + |
| 3 | +- Require Dart 3.3.0 or greater. |
| 4 | +- Migrate `elementAt` use to `operator +`. |
| 5 | + |
| 6 | +## 2.1.0 |
| 7 | + |
| 8 | +- Require Dart 3.0.0 or greater. |
| 9 | +- Expose native equivalent to `free` (`nativeFree`) from `malloc` and |
| 10 | + `calloc` allocators. |
| 11 | + |
| 12 | +## 2.0.2 |
| 13 | + |
| 14 | +- Fixed a typo in a doc comment. |
| 15 | +- Added package topics to the pubspec file. |
| 16 | + |
| 17 | +## 2.0.1 |
| 18 | + |
| 19 | +- Only zero out memory on successful allocation on Windows. |
| 20 | +- Upgrade test dev dependency. |
| 21 | + |
| 22 | +## 2.0.0 |
| 23 | + |
| 24 | +- Switch Windows memory allocation to use `CoTaskMemAlloc` and `CoTaskMemFree`, |
| 25 | + which will enable support for `NativeFinalizer`. |
| 26 | +- Require Dart 2.17.0 or greater. |
| 27 | + |
| 28 | +## 1.2.1 |
| 29 | + |
| 30 | +Revert added common C integer types as ABI-specific integers. |
| 31 | +Instead, these are available in Dart 2.17. |
| 32 | + |
| 33 | +## 1.2.0 (retracted) |
| 34 | + |
| 35 | +This release requires Dart `2.16.0` or greater. |
| 36 | + |
| 37 | +## 1.2.0-dev.0 |
| 38 | + |
| 39 | +Added common C integer types as ABI-specific integers. These common C integer |
| 40 | +types will make their way into `dart:ffi` in 2.17 and be deprecated from this |
| 41 | +package. Having them in this package enables using them in Dart 2.16. |
| 42 | + |
| 43 | +This pre-release requires Dart `2.16.0-118.0.dev` or greater. |
| 44 | + |
| 45 | +## 1.1.2 |
| 46 | + |
| 47 | +Fixed unhandled exception in `withZoneArena` (#107). |
| 48 | + |
| 49 | +## 1.1.1 |
| 50 | + |
| 51 | +Adds a sanity check to `Pointer<Utf8>` and `Pointer<Utf16>` extension methods |
| 52 | +that receiver is not `nullptr`. |
| 53 | + |
| 54 | +## 1.1.0 |
| 55 | + |
| 56 | +Adds the `arena` allocator. |
| 57 | + |
| 58 | +Moves from static analysis with lints in package:pedantic to package:lints. |
| 59 | + |
| 60 | +## 1.0.0 |
| 61 | + |
| 62 | +Bumping the version of this package to `1.0.0`. |
| 63 | + |
| 64 | +Removes all deprecated methods, use `0.3.0-nullsafety.3` for migration. |
| 65 | + |
| 66 | +## 0.3.1-nullsafety.0 |
| 67 | + |
| 68 | +Deprecates the static methods on `Utf8` and `Utf16` and introduces |
| 69 | +extension methods to replace them. |
| 70 | + |
| 71 | +## 0.3.0-nullsafety.3 |
| 72 | + |
| 73 | +Adds back in deprecated `allocate` and `free` to ease migration. |
| 74 | +These will be removed in the next release. |
| 75 | + |
| 76 | +This pre-release requires Dart `2.12.0-259.9.beta` or greater. |
| 77 | + |
| 78 | +## 0.3.0-nullsafety.1 |
| 79 | + |
| 80 | +This pre-release requires Dart `2.12.0-259.8.beta` or greater. |
| 81 | + |
| 82 | +Note that this pre-release does _not_ work in Flutter versions containing Dart |
| 83 | +`2.12.0-260.0.dev` - `2.12.0-264.0.dev`. |
| 84 | +Using `Allocator.call` throws a `NoSuchMethodError` in these versions. |
| 85 | +See [Flutter Engine #23954](https://github.com/flutter/engine/pull/23954) for more info. |
| 86 | + |
| 87 | +## 0.3.0-nullsafety.0 |
| 88 | + |
| 89 | +Changes `Utf8` and `Utf16` to extend `Opaque` instead of `Struct`. |
| 90 | +This means `.ref` is no longer available and `Pointer<Utf(..)>` should be used. |
| 91 | +See [breaking change #44622](https://github.com/dart-lang/sdk/issues/44622) for more info. |
| 92 | + |
| 93 | +Removes `allocate` and `free`. |
| 94 | +Instead, introduces `calloc` which implements the new `Allocator` interface. |
| 95 | +See [breaking change #44621](https://github.com/dart-lang/sdk/issues/44621) for more info. |
| 96 | + |
| 97 | +This pre-release requires Dart `2.12.0-265.0.dev` or greater. |
| 98 | + |
| 99 | +## 0.2.0-nullsafety.1 |
| 100 | + |
| 101 | +Adds an optional named `length` argument to `Utf8.fromUtf8()`. |
| 102 | + |
| 103 | +## 0.2.0-nullsafety.0 |
| 104 | + |
| 105 | +Pre-release (non-stable) release supporting null safety. |
| 106 | +Requires Dart 2.12.0 or greater. |
| 107 | + |
| 108 | +## 0.1.3 |
| 109 | + |
| 110 | +Stable release incorporating all the previous dev release changes. |
| 111 | + |
| 112 | +Bump SDK constraint to `>= 2.6.0`. |
| 113 | + |
| 114 | +## 0.1.3-dev.4 |
| 115 | + |
| 116 | +Bump SDK constraint to `>= 2.6.0-dev.8.2` which contains the new API of `dart:ffi`. |
| 117 | + |
| 118 | +## 0.1.3-dev.3 |
| 119 | + |
| 120 | +Replace use of deprecated `asExternalTypedData` with `asTypedList`. |
| 121 | + |
| 122 | +## 0.1.3-dev.2 |
| 123 | + |
| 124 | +Incorporate struct API changes, drop type argument of structs. |
| 125 | + |
| 126 | +## 0.1.3-dev.1 |
| 127 | + |
| 128 | +* Adds top-level `allocate<T>()` and `free()` methods which can be used as a |
| 129 | + replacement for the deprecated `Pointer.allocate<T>()` and `Pointer.free()` |
| 130 | + members in `dart:ffi`. |
| 131 | + |
| 132 | +## 0.1.1+2 |
| 133 | + |
| 134 | +* Expand readme |
| 135 | + |
| 136 | +## 0.1.1+1 |
| 137 | + |
| 138 | +* Fix documentation link |
| 139 | + |
| 140 | +## 0.1.1 |
| 141 | + |
| 142 | +* Add basic Utf16 support |
| 143 | + |
| 144 | +## 0.1.0 |
| 145 | + |
| 146 | +* Initial release supporting Utf8 |
0 commit comments