From f1cd7dff0f9051febc8f5f8fbe41a9786488ce73 Mon Sep 17 00:00:00 2001 From: Szabolcs Dombi Date: Sat, 2 Nov 2024 22:56:16 +0200 Subject: [PATCH] bump to version 2.7.0 --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 4 +++- _zengl.py | 2 +- docs/conf.py | 2 +- examples/pyodide/public/index.html | 2 +- setup.py | 2 +- zengl.c | 2 +- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74a9d2b..aebdcf1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,5 +46,5 @@ jobs: steps: - uses: actions/upload-artifact/merge@v4 with: - name: zengl-2.6.1 + name: zengl-2.7.0 delete-merged: true diff --git a/CHANGELOG.md b/CHANGELOG.md index d7078fe..3b8fdb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ 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.6.1...main) +# [main](https://github.com/szabolcsdombi/zengl/compare/2.7.0...main) + +# [2.7.0](https://github.com/szabolcsdombi/zengl/compare/2.6.1...2.7.0) - Removed the `frame_time` parameter from `Context.new_frame` method - Removed the `sync` parameter from `Context.end_frame` method diff --git a/_zengl.py b/_zengl.py index 6cc1157..be495f0 100644 --- a/_zengl.py +++ b/_zengl.py @@ -3,7 +3,7 @@ import sys import textwrap -__version__ = '2.6.1' +__version__ = '2.7.0' VERTEX_FORMAT = { 'uint8x2': (0x1401, 2, 0, 1), diff --git a/docs/conf.py b/docs/conf.py index c16069c..e5313c5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,7 @@ copyright = '2024, Szabolcs Dombi' author = 'Szabolcs Dombi' -release = '2.6.1' +release = '2.7.0' extensions = [] templates_path = [] diff --git a/examples/pyodide/public/index.html b/examples/pyodide/public/index.html index b49c0e3..fbb05f9 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.6.1-cp312-cp312-pyodide_2024_0_wasm32.whl', + 'zengl-2.7.0-cp312-cp312-pyodide_2024_0_wasm32.whl', ]); const main = await fetch('main.py'); pyodide.runPython(await main.text()); diff --git a/setup.py b/setup.py index 419b5e5..86f78dc 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( name='zengl', - version='2.6.1', + version='2.7.0', ext_modules=[ext], py_modules=['_zengl'], license='MIT', diff --git a/zengl.c b/zengl.c index 688e9e7..612abaa 100644 --- a/zengl.c +++ b/zengl.c @@ -3792,7 +3792,7 @@ static int module_exec(PyObject * self) { PyModule_AddObject(self, "_extern_gl", new_ref(Py_None)); #endif - PyModule_AddObject(self, "__version__", PyUnicode_FromString("2.6.1")); + PyModule_AddObject(self, "__version__", PyUnicode_FromString("2.7.0")); return 0; }