| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,45 +5,66 @@ 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 `PyExport` attribute to hide .NET types from Python | ||
| 17 | - - Added PythonException.Format method to format exceptions the same as traceback.format_exception | ||
| 18 | - - Added Runtime.None to be able to pass None as parameter into Python from .NET | ||
| 19 | - - Added PyObject.IsNone() to check if a Python object is None in .NET. | ||
| 12 | + ### Changed | ||
| 13 | + | ||
| 14 | + ### Fixed | ||
| 15 | + | ||
| 16 | + ## [2.5.0-rc2][] - 2020-06-07 | ||
| 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. | ||
| 20 | 31 | - Support for Python 3.8 | |
| 32 | + - Codecs as the designated way to handle automatic conversions between | ||
| 33 | + .NET and Python types | ||
| 21 | 34 | ||
| 22 | 35 | ### Changed | |
| 23 | 36 | ||
| 24 | 37 | - Added argument types information to "No method matches given arguments" message | |
| 25 | 38 | - Moved wheel import in setup.py inside of a try/except to prevent pip collection failures | |
| 26 | - - Removes PyLong_GetMax and PyClass_New when targetting Python3 | ||
| 39 | + - Removes `PyLong_GetMax` and `PyClass_New` when targetting Python3 | ||
| 27 | 40 | - Improved performance of calls from Python to C# | |
| 28 | 41 | - Added support for converting python iterators to C# arrays | |
| 29 | - - Changed usage of obselete function GetDelegateForFunctionPointer(IntPtr, Type) to GetDelegateForFunctionPointer<TDelegate>(IntPtr) | ||
| 30 | - - 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]) | ||
| 31 | 48 | - Added support for kwarg parameters when calling .NET methods from Python | |
| 32 | 49 | - Changed method for finding MSBuild using vswhere | |
| 33 | - - Reworked `Finalizer`. Now objects drop into its queue upon finalization, which is periodically drained when new objects are created. | ||
| 34 | - - Marked `Runtime.OperatingSystemName` and `Runtime.MachineName` as `Obsolete`, should never have been `public` in the first place. They also don't necessarily return a result that matches the `platform` module's. | ||
| 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. | ||
| 35 | 55 | ||
| 36 | 56 | ### Fixed | |
| 37 | 57 | ||
| 38 | - - Fixed runtime that fails loading when using pythonnet in an environment | ||
| 39 | - together with Nuitka | ||
| 40 | - - Fixes bug where delegates get casts (dotnetcore) | ||
| 41 | - - Determine size of interpreter longs at runtime | ||
| 42 | - - Handling exceptions ocurred in ModuleObject's getattribute | ||
| 43 | - - Fill `__classcell__` correctly for Python subclasses of .NET types | ||
| 44 | - - Fixed issue with params methods that are not passed an array. | ||
| 58 | + - Fixed runtime that fails loading when using pythonnet in an environment | ||
| 59 | + together with Nuitka | ||
| 60 | + - Fixes bug where delegates get casts (dotnetcore) | ||
| 61 | + - Determine size of interpreter longs at runtime | ||
| 62 | + - Handling exceptions ocurred in ModuleObject's getattribute | ||
| 63 | + - Fill `__classcell__` correctly for Python subclasses of .NET types | ||
| 64 | + - Fixed issue with params methods that are not passed an array. | ||
| 65 | + - Use UTF8 to encode strings passed to `PyRun_String` on Python 3 | ||
| 45 | 66 | ||
| 46 | - ## [2.4.0][] | ||
| 67 | + ## [2.4.0][] - 2019-05-15 | ||
| 47 | 68 | ||
| 48 | 69 | ### Added | |
| 49 | 70 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -400,7 +400,7 @@ def _build_monoclr(self): | |||
| 400 | 400 | mono_cflags = _check_output("pkg-config --cflags mono-2", shell=True) | |
| 401 | 401 | cflags = mono_cflags.strip() | |
| 402 | 402 | libs = mono_libs.strip() | |
| 403 | - | ||
| 403 | + | ||
| 404 | 404 | # build the clr python module | |
| 405 | 405 | clr_ext = Extension( | |
| 406 | 406 | "clr", | |
@@ -633,7 +633,7 @@ def run(self): | |||
| 633 | 633 | ||
| 634 | 634 | setup( | |
| 635 | 635 | name="pythonnet", | |
| 636 | - version="2.4.1-dev", | ||
| 636 | + version="2.5.0rc2", | ||
| 637 | 637 | description=".Net and Mono integration for Python", | |
| 638 | 638 | url="https://pythonnet.github.io/", | |
| 639 | 639 | license="MIT", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,4 +25,4 @@ | |||
| 25 | 25 | // Version Information. Keeping it simple. May need to revisit for Nuget | |
| 26 | 26 | // See: https://codingforsmarties.wordpress.com/2016/01/21/how-to-version-assemblies-destined-for-nuget/ | |
| 27 | 27 | // AssemblyVersion can only be numeric | |
| 28 | - [assembly: AssemblyVersion("2.4.1")] | ||
| 28 | + [assembly: AssemblyVersion("2.5.0")] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,7 +53,7 @@ public static void initclr() | |||
| 53 | 53 | { | |
| 54 | 54 | #if USE_PYTHON_RUNTIME_VERSION | |
| 55 | 55 | // Has no effect until SNK works. Keep updated anyways. | |
| 56 | - Version = new Version("2.4.1"), | ||
| 56 | + Version = new Version("2.5.0"), | ||
| 57 | 57 | #endif | |
| 58 | 58 | CultureInfo = CultureInfo.InvariantCulture | |
| 59 | 59 | }; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,7 +9,7 @@ | |||
| 9 | 9 | <RootNamespace>clrmodule</RootNamespace> | |
| 10 | 10 | <AssemblyName>clrmodule</AssemblyName> | |
| 11 | 11 | <PackageId>clrmodule</PackageId> | |
| 12 | - <VersionPrefix>2.4.1</VersionPrefix> | ||
| 12 | + <VersionPrefix>2.5.0</VersionPrefix> | ||
| 13 | 13 | <GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | |
| 14 | 14 | <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | |
| 15 | 15 | <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ | |||
| 8 | 8 | <AssemblyName>nPython</AssemblyName> | |
| 9 | 9 | <RootNamespace>Python.Runtime</RootNamespace> | |
| 10 | 10 | <PackageId>nPython</PackageId> | |
| 11 | - <VersionPrefix>2.4.1</VersionPrefix> | ||
| 11 | + <VersionPrefix>2.5.0</VersionPrefix> | ||
| 12 | 12 | <GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | |
| 13 | 13 | <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | |
| 14 | 14 | <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ | |||
| 10 | 10 | <AssemblyName>Python.EmbeddingTest</AssemblyName> | |
| 11 | 11 | <RootNamespace>Python.EmbeddingTest</RootNamespace> | |
| 12 | 12 | <PackageId>Python.EmbeddingTest</PackageId> | |
| 13 | - <VersionPrefix>2.4.1</VersionPrefix> | ||
| 13 | + <VersionPrefix>2.5.0</VersionPrefix> | ||
| 14 | 14 | <GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | |
| 15 | 15 | <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | |
| 16 | 16 | <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - <Project> | ||
| 1 | + <Project> | ||
| 2 | 2 | <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> | |
| 3 | 3 | <PropertyGroup> | |
| 4 | 4 | <TargetFrameworks>net40;netstandard2.0</TargetFrameworks> | |
@@ -8,7 +8,7 @@ | |||
| 8 | 8 | <RootNamespace>Python.Runtime</RootNamespace> | |
| 9 | 9 | <AssemblyName>Python.Runtime</AssemblyName> | |
| 10 | 10 | <PackageId>pythonnet</PackageId> | |
| 11 | - <VersionPrefix>2.4.1</VersionPrefix> | ||
| 11 | + <VersionPrefix>2.5.0</VersionPrefix> | ||
| 12 | 12 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | |
| 13 | 13 | <GenerateAssemblyInfo>false</GenerateAssemblyInfo> | |
| 14 | 14 | <Title>Python.NET</Title> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | Code in this module gets loaded into the main clr module. | |
| 3 | 3 | """ | |
| 4 | 4 | ||
| 5 | - __version__ = "2.4.1" | ||
| 5 | + __version__ = "2.5.0" | ||
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | 8 | class clrproperty(object): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,7 @@ | |||
| 7 | 7 | <AssemblyName>Python.Test</AssemblyName> | |
| 8 | 8 | <RootNamespace>Python.Test</RootNamespace> | |
| 9 | 9 | <PackageId>Python.Test</PackageId> | |
| 10 | - <VersionPrefix>2.4.1</VersionPrefix> | ||
| 10 | + <VersionPrefix>2.5.0</VersionPrefix> | ||
| 11 | 11 | <OutputPath>bin\</OutputPath> | |
| 12 | 12 | <AppendTargetFrameworkToOutputPath Condition="'$(TargetFramework)'=='net40'">false</AppendTargetFrameworkToOutputPath> | |
| 13 | 13 | <DocumentationFile Condition="'$(TargetFramework)'=='net40'">$(OutputPath)\$(AssemblyName).xml</DocumentationFile> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments