|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -All notable changes to Python for .NET will be documented in this file. |
4 | | -This project adheres to [Semantic Versioning][]. |
| 3 | +All notable changes to Python.NET will be documented in this file. This |
| 4 | +project adheres to [Semantic Versioning][]. |
5 | 5 |
|
6 | 6 | This document follows the conventions laid out in [Keep a CHANGELOG][]. |
7 | 7 |
|
8 | | -## [unreleased][] |
| 8 | +## [Unreleased][] |
9 | 9 |
|
10 | 10 | ### Added |
11 | 11 |
|
12 | | -- Added automatic NuGet package generation in appveyor and local builds |
13 | | -- Added function that sets Py_NoSiteFlag to 1. |
14 | | -- Added support for Jetson Nano. |
15 | | -- Added support for __len__ for .NET classes that implement ICollection |
16 | | -- Added `object.GetRawPythonProxy() -> PyObject` extension method, that bypasses any conversions |
| 12 | +### Changed |
| 13 | + |
| 14 | +### Fixed |
| 15 | + |
| 16 | +## [2.5.0][] - 2020-06-14 |
| 17 | + |
| 18 | +This version improves performance on benchmarks significantly compared to 2.3. |
| 19 | + |
| 20 | +### Added |
| 21 | + |
| 22 | +- Automatic NuGet package generation in appveyor and local builds |
| 23 | +- Function that sets `Py_NoSiteFlag` to 1. |
| 24 | +- Support for Jetson Nano. |
| 25 | +- Support for `__len__` for .NET classes that implement ICollection |
| 26 | +- `PyExport` attribute to hide .NET types from Python |
| 27 | +- `PythonException.Format` method to format exceptions the same as |
| 28 | + `traceback.format_exception` |
| 29 | +- `Runtime.None` to be able to pass `None` as parameter into Python from .NET |
| 30 | +- `PyObject.IsNone()` to check if a Python object is None in .NET. |
| 31 | +- Support for Python 3.8 |
| 32 | +- Codecs as the designated way to handle automatic conversions between |
| 33 | + .NET and Python types |
17 | 34 |
|
18 | 35 | ### Changed |
19 | 36 |
|
20 | 37 | - Added argument types information to "No method matches given arguments" message |
21 | 38 | - Moved wheel import in setup.py inside of a try/except to prevent pip collection failures |
22 | | -- Removes PyLong_GetMax and PyClass_New when targetting Python3 |
| 39 | +- Removes `PyLong_GetMax` and `PyClass_New` when targetting Python3 |
| 40 | +- Improved performance of calls from Python to C# |
23 | 41 | - Added support for converting python iterators to C# arrays |
24 | | -- Changed usage of obselete function GetDelegateForFunctionPointer(IntPtr, Type) to GetDelegateForFunctionPointer<TDelegate>(IntPtr) |
25 | | -- When calling C# from Python, enable passing argument of any type to a parameter of C# type `object` by wrapping it into `PyObject` instance. ([#881][i881]) |
| 42 | +- Changed usage of the obsolete function |
| 43 | + `GetDelegateForFunctionPointer(IntPtr, Type)` to |
| 44 | + `GetDelegateForFunctionPointer<TDelegate>(IntPtr)` |
| 45 | +- When calling C# from Python, enable passing argument of any type to a |
| 46 | + parameter of C# type `object` by wrapping it into `PyObject` instance. |
| 47 | + ([#881][i881]) |
26 | 48 | - Added support for kwarg parameters when calling .NET methods from Python |
| 49 | +- Changed method for finding MSBuild using vswhere |
| 50 | +- Reworked `Finalizer`. Now objects drop into its queue upon finalization, |
| 51 | + which is periodically drained when new objects are created. |
| 52 | +- Marked `Runtime.OperatingSystemName` and `Runtime.MachineName` as |
| 53 | + `Obsolete`, should never have been `public` in the first place. They also |
| 54 | + don't necessarily return a result that matches the `platform` module's. |
| 55 | +- Unconditionally depend on `pycparser` for the interop module generation |
27 | 56 |
|
28 | 57 | ### Fixed |
29 | 58 |
|
30 | | -- Fixed runtime that fails loading when using pythonnet in an environment |
31 | | - together with Nuitka |
32 | | -- Fixes bug where delegates get casts (dotnetcore) |
33 | | -- Determine size of interpreter longs at runtime |
34 | | -- Handling exceptions ocurred in ModuleObject's getattribute |
| 59 | +- Fixed runtime that fails loading when using pythonnet in an environment |
| 60 | + together with Nuitka |
| 61 | +- Fixes bug where delegates get casts (dotnetcore) |
| 62 | +- Determine size of interpreter longs at runtime |
| 63 | +- Handling exceptions ocurred in ModuleObject's getattribute |
| 64 | +- Fill `__classcell__` correctly for Python subclasses of .NET types |
| 65 | +- Fixed issue with params methods that are not passed an array. |
| 66 | +- Use UTF8 to encode strings passed to `PyRun_String` on Python 3 |
35 | 67 |
|
36 | | -## [2.4.0][] |
| 68 | +## [2.4.0][] - 2019-05-15 |
37 | 69 |
|
38 | 70 | ### Added |
39 | 71 |
|
|
0 commit comments