From 499469c625e7635217ba70a085b767ead5f83897 Mon Sep 17 00:00:00 2001 From: Szabolcs Dombi Date: Sat, 10 Feb 2024 20:48:10 +0200 Subject: [PATCH] bump to version 2.4.1 --- CHANGELOG.md | 8 ++++++-- docs/conf.py | 2 +- examples/pyodide/public/index.html | 2 +- setup.py | 2 +- zengl.c | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f905392..8b5eb29a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -# [main](https://github.com/szabolcsdombi/zengl/compare/2.4.0...main) +# [main](https://github.com/szabolcsdombi/zengl/compare/2.4.1...main) + +# [2.4.1](https://github.com/szabolcsdombi/zengl/compare/2.4.0...2.4.1) + +- Fixed detection for both egl and x11 context types # [2.4.0](https://github.com/szabolcsdombi/zengl/compare/2.3.0...2.4.0) - Improved wayland support -- Added automaic detection for both egl and x11 context types +- Added detection for both egl and x11 context types - Fixed default argument value for reset in `Context.new_frame` - Fixed the error message for multiple missing gl functions - Changed `Image.blit` parameters to `offset`, `size` and `crop` diff --git a/docs/conf.py b/docs/conf.py index b6578ce1..8d181bf9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,7 @@ copyright = '2024, Szabolcs Dombi' author = 'Szabolcs Dombi' -release = '2.4.0' +release = '2.4.1' extensions = [] templates_path = [] diff --git a/examples/pyodide/public/index.html b/examples/pyodide/public/index.html index fb86ae07..d615c8be 100644 --- a/examples/pyodide/public/index.html +++ b/examples/pyodide/public/index.html @@ -15,7 +15,7 @@ const pyodide = await loadPyodide(); pyodide.canvas.setCanvas3D(document.getElementById("canvas")); await pyodide.loadPackage([ - 'zengl-2.4.0-cp311-abi3-emscripten_3_1_46_wasm32.whl', + 'zengl-2.4.1-cp311-abi3-emscripten_3_1_46_wasm32.whl', ]); const main = await fetch('main.py'); pyodide.runPython(await main.text()); diff --git a/setup.py b/setup.py index 558317fd..64242ecf 100644 --- a/setup.py +++ b/setup.py @@ -77,7 +77,7 @@ def get_tag(self): setup( name='zengl', - version='2.4.0', + version='2.4.1', ext_modules=[ext], py_modules=['_zengl'], license='MIT', diff --git a/zengl.c b/zengl.c index 0e86f47c..9902d8d8 100644 --- a/zengl.c +++ b/zengl.c @@ -3716,7 +3716,7 @@ static int module_exec(PyObject * self) { PyModule_AddObject(self, "_extern_gl", new_ref(Py_None)); #endif - PyModule_AddObject(self, "__version__", PyUnicode_FromString("2.4.0")); + PyModule_AddObject(self, "__version__", PyUnicode_FromString("2.4.1")); return 0; }