diff --git a/CHANGELOG.md b/CHANGELOG.md index 8126d000..99ed88c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,18 @@ 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/1.10.2...main) +# [main](https://github.com/szabolcsdombi/zengl/compare/1.11.0...main) + +# [1.11.0](https://github.com/szabolcsdombi/zengl/compare/1.10.2...1.11.0) + +- Implemented the `Context.new_frame()`and `Context.end_frame()` methods +- Removed the flush parameter from `Image.blit` method +- Changed the `Context.pipeline()` blending parameter to blend +- Removed the skip_validation, primitive_restart, color_mask parameters from the `Context.pipeline()` method +- Primitive restart default index is enabled by default +- Changed the `Context.info` tuple to a dictionary +- Removed `glcontext` dependency for windowed rendering +- Added `zengl.__version__` string # [1.10.2](https://github.com/szabolcsdombi/zengl/compare/1.10.1...1.10.2) diff --git a/docs/conf.py b/docs/conf.py index 17af6046..73b85b9c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,7 @@ copyright = '2022, Szabolcs Dombi' author = 'Szabolcs Dombi' -release = '1.10.2' +release = '1.11.0' extensions = [] templates_path = [] diff --git a/setup.py b/setup.py index e7676d2d..1082be14 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setup( name='zengl', - version='1.10.2', + version='1.11.0', ext_modules=[ext], py_modules=['_zengl'], license='MIT', diff --git a/zengl.cpp b/zengl.cpp index 1709c0ce..bb1c3bd0 100644 --- a/zengl.cpp +++ b/zengl.cpp @@ -3472,6 +3472,8 @@ static int module_exec(PyObject * self) { PyModule_AddObject(self, "calcsize", (PyObject *)new_ref(PyObject_GetAttrString(state->helper, "calcsize"))); PyModule_AddObject(self, "bind", (PyObject *)new_ref(PyObject_GetAttrString(state->helper, "bind"))); + PyModule_AddObject(self, "__version__", PyUnicode_FromString("1.11.0")); + return 0; }