From 25b7832efb19bc8548174145ec42cc53a63e03a7 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 13 Feb 2019 19:48:14 +0000 Subject: [PATCH 1/2] Fix jinja template example The `templates` kwarg to `eel.start` takes a string rather than a boolean now, where the string is a filepath relative to eel's root directory. --- examples/06 - jinja_templates/hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/06 - jinja_templates/hello.py b/examples/06 - jinja_templates/hello.py index 6a419649..c3b13ad6 100644 --- a/examples/06 - jinja_templates/hello.py +++ b/examples/06 - jinja_templates/hello.py @@ -9,4 +9,4 @@ def say_hello_py(x): say_hello_py('Python World!') eel.say_hello_js('Python World!') # Call a Javascript function -eel.start('templates/hello.html', size=(300, 200), templates=True) # Start +eel.start('templates/hello.html', size=(300, 200), templates='templates') # Start From 9f3ab56ffd645a504dd753c44465de29ff4cb6d8 Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 13 Feb 2019 19:51:29 +0000 Subject: [PATCH 2/2] Add changelog and bump version to 0.10.0 Add a changelog to the project in order to track significant/relevant changes made to the codebase and ease the process for developers updating versions. Also bumps the version to 0.10.0 to account for the new feature added in 0.9.13. This keeps us roughly in line with [semantic versioning](https://semver.org/). --- CHANGELOG.md | 11 +++++++++++ setup.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..0b897447 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Change log + +## v0.10.0 +* Corrective version bump after new feature included in 0.9.13 +* Fix a bug with example 06 for Jinja templating; the `templates` kwarg to `eel.start` takes a filepath, not a bool. + +## v0.9.13 +* Add support for Jinja templating. + +## Earlier +* No changelog notes for earlier versions. diff --git a/setup.py b/setup.py index 38e5f7df..f7a7501a 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='Eel', - version='0.9.13', + version='0.10.0', author='Chris Knott', author_email='chrisknott@hotmail.co.uk', packages=['eel'],