Skip to content

Commit

Permalink
Release 1.3.0
Browse files Browse the repository at this point in the history
Full Changelog: 1.2.1...1.3.0

Implemented enhancements:
- (#483) allow passing a `signature` argument to constructors, to force selection of the desired one
- (#497) support for more "dunder" methods/protocols on compatible interfaces than just `__len__`, and allow users to provide their own.
- (#500) allow ignoring private methods and fields in autoclass (both default to False)
- (#503) auto detect java_home on OSX, using `/usr/libexec/java_home` (if JAVA_HOME is not declared)
- (#514) writing to static fields (and fix reading from them)
- (#517) make signature exceptions more useful
- (#502) provide a stacktrace for where JVM was started.
- (#523) expose the class's class attribute
- (#524) fix handling of Java chars > 256 in Python3
- (#519) Always show the exception name

Fixed bugs:
- (#481) wrong use of strip on JRE path
- (#465) correct reflection to avoid missing any methods from parent classes or interfaces
- (#508) don't had error details with a custom exception when java class is not found
- (#510) add missing references to .pxi files in setup.py, speeding up recompilation
- (#518) ensure autoclass prefers methods over properties
- (#520) improved discovery of libjvm.so + provide a workaround if it doesn't work

Documentation:
- (#478) document automatic Thread detach feature
- (#512) document the requirement to keep reference to object/functions passed to java, for as long as it might use them
- (#521) fix inheritance in example

Many thanks to the contributors that stepped up to help this release, it wouldn't have been possible without them.

Craig Macdonald, Gabriel Pettier, Jim, André Miras, Young Ryul Bae, yyang, Pascal Chambon, Kevin Ollivier, Guillaume Gay, Christian M. Salamut, collaborated for this release.
  • Loading branch information
tshirtman committed May 3, 2020
1 parent d039a38 commit c083fce
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Change Log

## [1.3.0](https://github.com/kivy/pyjnius/tree/1.3.0) (2020-05-03)
[Full Changelog](https://github.com/kivy/pyjnius/compare/1.2.1...1.3.0)

**Implemented enhancements:**
- [\#483](https://github.com/kivy/pyjnius/pull/483)/[\#489](https://github.com/kivy/pyjnius/pull/489) allow passing a `signature` argument to constructors, to force selection of the desired one
- [\#497](https://github.com/kivy/pyjnius/pull/497)/[\#506](https://github.com/kivy/pyjnius/pull/506)/[\#507](https://github.com/kivy/pyjnius/pull/507) support for more "dunder" methods/protocols on compatible interfaces than just `__len__`, and allow users to provide their own.
- [\#500](https://github.com/kivy/pyjnius/pull/500)[\#522](https://github.com/kivy/pyjnius/pull/522) allow ignoring private methods and fields in autoclass (both default to False)
- [\#503](https://github.com/kivy/pyjnius/pull/503) auto detect java_home on OSX, using `/usr/libexec/java_home` (if JAVA_HOME is not declared)
- [\#514](https://github.com/kivy/pyjnius/pull/514) writing to static fields (and fix reading from them)
- [\#517](https://github.com/kivy/pyjnius/pull/517) make signature exceptions more useful
- [\#502](https://github.com/kivy/pyjnius/pull/502) provide a stacktrace for where JVM was started.
- [\#523](https://github.com/kivy/pyjnius/pull/523) expose the class's class attribute
- [\#524](https://github.com/kivy/pyjnius/pull/524) fix handling of Java chars > 256 in Python3
- [\#519](https://github.com/kivy/pyjnius/pull/519) Always show the exception name

**Fixed bugs:**
- [\#481](https://github.com/kivy/pyjnius/pull/481) wrong use of strip on JRE path
- [\#465](https://github.com/kivy/pyjnius/pull/465) correct reflection to avoid missing any methods from parent classes or interfaces
- [\#508](https://github.com/kivy/pyjnius/pull/508) don't had error details with a custom exception when java class is not found
- [\#510](https://github.com/kivy/pyjnius/pull/510) add missing references to .pxi files in setup.py, speeding up recompilation
- [\#518](https://github.com/kivy/pyjnius/pull/518) ensure autoclass prefers methods over properties
- [\#520](https://github.com/kivy/pyjnius/pull/520) improved discovery of libjvm.so + provide a workaround if it doesn't work

**Documentation**
- [\#478](https://github.com/kivy/pyjnius/pull/478) document automatic Thread detach feature
- [\#512](https://github.com/kivy/pyjnius/pull/512) document the requirement to keep reference to object/functions passed to java, for as long as it might use them
- [\#521](https://github.com/kivy/pyjnius/pull/521) fix inheritance in example


## [1.2.1](https://github.com/kivy/pyjnius/tree/1.2.1) (2019-12-04)
[Full Changelog](https://github.com/kivy/pyjnius/compare/1.2.0...1.2.1)

Expand Down
2 changes: 1 addition & 1 deletion jnius/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
All the documentation is available at: http://pyjnius.readthedocs.org
'''

__version__ = '1.2.2-dev0'
__version__ = '1.3.0'

from .env import get_jnius_lib_location, get_jdk_home

Expand Down

0 comments on commit c083fce

Please sign in to comment.