Skip to content

2.3.0

Choose a tag to compare

@benoitc benoitc released this 29 Mar 18:42
· 75 commits to main since this release

Removed

  • ASGI/WSGI Support - The py_asgi and py_wsgi modules have been removed
    • py_asgi:run/4,5 - ASGI application runner
    • py_wsgi:run/3,4 - WSGI application runner
    • For web framework integration, use py:call with event loop contexts or the Channel API
    • See Migration Guide for alternatives

Added

  • SharedDict - Process-scoped shared dictionaries for cross-process state
    • py:shared_dict_new/0 - Create a new SharedDict
    • py:shared_dict_get/2,3 - Get value with optional default
    • py:shared_dict_set/3 - Set key-value pair
    • py:shared_dict_del/2 - Delete a key
    • py:shared_dict_keys/1 - List all keys
    • py:shared_dict_destroy/1 - Explicit cleanup
    • Python access via erlang.SharedDict with dict-like interface
    • Mutex-protected for concurrent access (~300k ops/sec)
    • Pickle serialization for complex types
    • See SharedDict documentation for details