v1.0.32
What's Changed
- Async methods are now cancelleable via CancellationTokens
- A general performance guide is now available on the docs
- Optional parameters are marked as nullable even when they don't have a default value of
None
- Optional returns are typed as nullable
General Improvements
- Add
CancellationToken
parameter to generated async methods by @atifaziz in #431 - Make generator iterator disposal idempotent by @atifaziz in #423
- Make GIL acquisition a
ref struct
by @atifaziz in #430 - Make coroutine task result to be just
TYield
by @atifaziz in #425 - Add a doc page on performance considerations by @tonybaloney in #421
- Fix optionality of function parameters & return by @atifaziz in #299
Bug fixes
- Fix
CancellationToken
parameters to be non-nullable by @atifaziz in #424 - Fix
AsEnumerable
semantics by @atifaziz in #432
Other changes
- Add a generator buffer test by @tonybaloney in #422
- Use positional ordinals consistently for tuple test data by @atifaziz in #428
- Fix typo in GIL check error message by @atifaziz in #426
- Skip C# proxies for underscored functions by @atifaziz in #427
- Remove recognition of
typing.Buffer
that never was by @atifaziz in #429 - Use "Basic.Reference.Assemblies" to simplify test compilation setup by @atifaziz in #262
- Use
BenchmarkSwitcher
in profiling project by @atifaziz in #433 - Add memory diagnoser to benchmarks by @atifaziz in #434
- Refresh doc on
CancellationToken
support by @atifaziz in #436
Full Changelog: v1.0.31...v.1.32.0