PythonNet v3.1.0 Release Notes
Release Date: 2026-05-23 // 19 days ago-
What's Changed
- 👷 ci: properly exclude job by @RobPasMue in #2542
__delitem__forIList<T>andIDictionary<K,V>by @lostmsu in #2533- 🛠 Fix docs workflow by @filmor in #2584
- ⬇️ Drop EOLd Python versions by @filmor in #2632
- ⬆️ Bump setuptools and adjust license information by @filmor in #2633
- Minimal .NET 8 usage changes by @filmor in #2634
- 🐎 Drop performance tests by @filmor in #2636
- Properly detect availability of BinaryFormatter by @filmor in #2639
- 👉 Use last compiler toolset version that support .NET 8 by @filmor in #2640
- ➕ Add dependabot file by @filmor in #2642
- 👉 Use official ARM runners by @filmor in #2641
- ⬆️ Bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #2644
- ⬆️ Bump actions/setup-python from 2 to 6 by @dependabot[bot] in #2646
- ⬆️ Bump actions/checkout from 2 to 5 by @dependabot[bot] in #2648
- ⬆️ Bump actions/setup-dotnet from 1 to 5 by @dependabot[bot] in #2645
- 👉 Use uv and derive as much as possible from the environment, if available by @filmor in #2652
- 🛠 Fixes for the uv CI by @filmor in #2654
- ⬆️ Bump astral-sh/setup-uv from 6 to 7 by @dependabot[bot] in #2656
- ⬆️ Bump actions/checkout from 5 to 6 by @dependabot[bot] in #2663
- ✅ Ensure that the tests work even if BinaryFormatter is not available by @filmor in #2638
- ⬆️ Bump NUnit3TestAdapter from 5.2.0 to 6.0.0 by @dependabot[bot] in #2667
- 🛠 Fix line endings by @filmor in #2668
- Switch to .NET SDK 10 by @lostmsu in #2684
- Python 3.14 by @filmor in #2611
- CI Improvements by @filmor in #2669
- ⬆️ Bump System.Reflection.Emit from 4.3.0 to 4.7.0 by @dependabot[bot] in #2694
- ⬆️ Bump pytest from 9.0.2 to 9.0.3 in the uv group across 1 directory by @dependabot[bot] in #2705
- CI Improvements by @filmor in #2707
- 🛠 Fix method memleak test by @filmor in #2708
- ⬆️ Bump actions/upload-pages-artifact from 4 to 5 by @dependabot[bot] in #2709
- ⚡️ Update furo requirement from >=2022.9.15 to >=2025.12.19 by @dependabot[bot] in #2711
- 📚 Move documentation deps to pyproject.toml by @filmor in #2714
- 👌 Support .NET Framework 4.6.1 by @Metadorius in #2701
- 🛠 Fix wheel tags by @filmor in #2716
- Name missing from all on re-import by @filmor in #2717
- ➕ Add context manager protocol for .NET IDisposable types by @den-run-ai in #2568
- 🛠 Fix MethodBinding/OverloadMapper memory leak (#691) by @greateggsgreg in #2719
- ⬆️ Bump urllib3 from 2.6.3 to 2.7.0 in the uv group across 1 directory by @dependabot[bot] in #2723
- ⚡️ Update NUnit by @filmor in #2724
- ⚠ Silence compile-time warnings by @filmor in #2725
- 👍 Implement support for DLR get/set by @filmor in #2706
- ⬆️ Bump idna from 3.13 to 3.15 in the uv group across 1 directory by @dependabot[bot] in #2726
🆕 New Contributors
- @RobPasMue made their first contribution in #2542
- @dependabot[bot] made their first contribution in #2644
- @Metadorius made their first contribution in #2701
Full Changelog : v3.0.5...v3.1.0
Previous changes from v3.1.0-rc1
-
What's Changed
- CI Improvements by @filmor in #2669
- ⬆️ Bump System.Reflection.Emit from 4.3.0 to 4.7.0 by @dependabot[bot] in #2694
- ⬆️ Bump pytest from 9.0.2 to 9.0.3 in the uv group across 1 directory by @dependabot[bot] in #2705
- CI Improvements by @filmor in #2707
- 🛠 Fix method memleak test by @filmor in #2708
- ⬆️ Bump actions/upload-pages-artifact from 4 to 5 by @dependabot[bot] in #2709
- ⚡️ Update furo requirement from >=2022.9.15 to >=2025.12.19 by @dependabot[bot] in #2711
- 📚 Move documentation deps to pyproject.toml by @filmor in #2714
- 👌 Support .NET Framework 4.6.1 by @Metadorius in #2701
- 🛠 Fix wheel tags by @filmor in #2716
- Name missing from all on re-import by @filmor in #2717
- ➕ Add context manager protocol for .NET IDisposable types by @den-run-ai in #2568
- 🛠 Fix MethodBinding/OverloadMapper memory leak (#691) by @greateggsgreg in #2719
- ⬆️ Bump urllib3 from 2.6.3 to 2.7.0 in the uv group across 1 directory by @dependabot[bot] in #2723
- ⚡️ Update NUnit by @filmor in #2724
- ⚠ Silence compile-time warnings by @filmor in #2725
- 👍 Implement support for DLR get/set by @filmor in #2706
🆕 New Contributors
- @Metadorius made their first contribution in #2701
Full Changelog : v3.1.0-rc0...v3.1.0-rc1