New
v0.5.1
Highlights :tada:
- Add initial support for Scala 3. To create static facades use
classinstead oftraitin Scala 3 (PR #195, PR #225) - Add support for bracket syntax to facades. The annotation
@PyBracketAccesscan be used on methods to mark them as representing bracket access on an object. The target method must have one (to read the value) or two parameters (to update the value) (PR #194). - The version of the Python native library can now be controlled with the
scalapy.python.librarysystem property (PR #198) - Enable running
Py_SetProgramNamewith user provided input prior toPy_Initializeto set the correct paths to Python run-time libraries. Input toPy_SetProgramName, the Python interpreter executable, can be controlled with either thescalapy.python.programnamesystem property or theSCALAPY_PYTHON_PROGRAMNAMEenvironment variable (PR #200) - Add instructions on how to set up a ScalaPy sbt project using
python-native-libs(PR #210)
Bug Fixes :bug:
- Raise a
NameErrorexception when attempting to call a function or access a variable that does not exist in the global namespace (PR #207)