Skip to content

Releases: denosaurs/deno_python

Deno Python v0.2.4

24 Feb 18:34
c3ae19b
Compare
Choose a tag to compare

What's Changed

  • fix: adapt to ffi breaking changes by @load1n9 in #31

New Contributors

Full Changelog: 0.2.3...0.2.4

v0.2.3

25 Dec 11:08
293a73c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.2...0.2.3

v0.2.2

29 Aug 12:10
0626ad6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.1...0.2.2

0.2.1

02 Jul 18:13
16f6f2f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.0...0.2.1

v0.2.0

25 Jun 16:38
Compare
Choose a tag to compare

What's Changed

  • fix: rework python shared library finder by @DjDeveloperr in #15
  • feat: check for ProxiedPyObject symbol when converting object by @tjosepo in #19
  • feat: add array slicing (#18) by @tjosepo in #20
  • feat: callbacks support by @DjDeveloperr in #21
  • fix: updates for new breaking changes to Deno FFI in v1.23.1

New Contributors

Full Changelog: 0.1.4...0.2.0

v0.1.4

15 Feb 14:54
35325bb
Compare
Choose a tag to compare

What's Changed

  • Fix PyObject call segmentation fault when calling with combination of both named and positional arguments by @hoangpq in #13

New Contributors

Full Changelog: 0.1.3...0.1.4

v0.1.3

15 Feb 04:42
6ec96bf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.2...0.1.3

v0.1.2

31 Jan 17:58
444f3ff
Compare
Choose a tag to compare

What's Changed

  • fix: use dlopen instead of private __libc_dlopen_mode on linux by @ahgilak in #9

New Contributors

Full Changelog: 0.1.1...0.1.2

v0.1.1

30 Jan 15:26
21bb371
Compare
Choose a tag to compare

This release fixes importing Python modules that make use of native libraries on Linux/macOS, such as NumPy.

For those modules to work, we need to open Python C library with RTLD_GLOBAL flag (passed to dlopen) to allow subsequently loaded libraries to be able to use symbols from the Python library. But Deno.dlopen does not support those additional flags and always loads with RTLD_LOCAL.

As a workaround, I have added an FFI call to libc's dlopen with required flags.

v0.1.0

02 Jan 12:02
657faa7
Compare
Choose a tag to compare

Changelog

  • fix: type of PythonConvertible. Now its Array, Map, Set, etc. types reference to itself instead of only primitives.
  • feat: support Sets
  • feat: support accessing/setting list indexes using JS list[index]
  • feat: support setting object attributes
  • feat: support in operator by implementing has proxy accessor
  • feat: support accessing/setting dict items using JS dict[key]
  • feat: support importing module from code string using runModule
  • feat: add isInstance on PyObject
  • feat: support Named Arguments in function calls (via NamedArgument class)
  • feat: support tuples
  • feat: support accessing tuple indexes using JS tuple[index]
  • docs: explain advanced usage of the module.