Releases: tcalmant/python-javaobj
Releases · tcalmant/python-javaobj
javobj-py3 0.4.4
- @madaaraisok : Added support for
java.lang.Class arrays
(#48) - @ElDavoo : Fixed marshalling of JavaByteArrays (#53)
- Tests ran with pytest manually on Python 2.7, 3.6-3.12
Full Changelog: 0.4.3...0.4.4
javobj-py3 0.4.3
- Added support for
TC_NULL
as array sub-type in_read_field_value
(see #46, thanks to @photoniker) javaobj
can now read GZipped files directly (trick done inload()
, which is also the underlying method used byloads()
)- Fixed a type issue in BlockData/str content comparison
javobj-py3 0.4.2
- NumPy is now loaded lately, only if the use of numpy arrays is expected.
This allows the calling modules to load and configure numpy beforehand.
Contribution from @sarimak
javobj-py3 0.4.1
- Added the custom transformer contributed by @UruDev, allowing a finer loading of custom Java streams
javobj-py3 0.4.0.1
Small fix on metadata:
setup.py
has been fixed, to include the requirements for Python < 3.4- Added a
manifest.in
to include README, LICENSE and AUTHORS in distribution.
javobj-py3 0.4.0
- Added a new implementation of the parser, based on the code of
jdeserialize
.
It is provided by thejavaobj.v2
package.
It can parse more cases than the previous implementation and provides a new API for the object transformers.
This implementation doesn't support writing serialized objects. - Moved the old implementation to the
javaobj.v1
package.
The import fromjavaobj
redirect to thev1
package.
javobj-py3 0.3.0
- Added support for custom post-loading operations on
JavaObject
returned by theDefaultObjectTransformer
(if the returned object implements an__extra_loading__(self, unmarshaller, ident=0)
method) - Added support for primitive classes (Boolean, Integer, Long), thanks to @qistoph (#27)
- Added support for
HashSet
,LinkedHashSet
andTreeSet
(#25) - Added support for
java.time
types (#15) - Better handling of unicode strings (#26): all loaded
java.lang.String
objects are now unicode - Added support for Java's modified UTFG-8, thanks to @guywithface (#24)
- Fixed handling of char arrays (see #16 and PR #21 by @moriyoshi)
javobj-py3 0.2.4
- Added use of
bytearray
forJavaByteArray
- Added support for decoding CESU-8 strings, thanks to @nlitsme (#17)
- Added class flags inheritance, thanks to @ggjspencer (#20)
javobj-py3 0.2.3
- Faster loading of bytes arrays, thanks to @vmarkovtsev. Bytes arrays are now loaded as a
bytes
Python object, not an array of integers JavaObjectUnmarshaller()
now supports ause_numpy_arrays
keyword argument, to load numeric arrays asnumpy
arrays (thanks to @vmarkovtsev)- Added theorical support of
TYPE_CHAR
(defined but not used in the Java specification)
javobj-py3 0.2.2
- Better marshalling of byte array, by @voetsjoeba
- Better handling of references while marshalling
- Marshalling of arrays and of child classes produces a byte array close to the Java output.