Skip to content

Commit

Permalink
bump to version 1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
szabolcsdombi committed Mar 14, 2023
1 parent 76e254b commit 1924470
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
copyright = '2022, Szabolcs Dombi'
author = 'Szabolcs Dombi'

release = '1.10.2'
release = '1.11.0'

extensions = []
templates_path = []
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

setup(
name='zengl',
version='1.10.2',
version='1.11.0',
ext_modules=[ext],
py_modules=['_zengl'],
license='MIT',
Expand Down
2 changes: 2 additions & 0 deletions zengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1924470

Please sign in to comment.