Skip to content

Funix 0.4.2

Compare
Choose a tag to compare
@Yazawazi Yazawazi released this 26 May 18:41
· 313 commits to main since this release

0.4.2 (2023-05-27)

Highlights

  • Now we use paths instead of module names, please read the first note of breaking changes;
  • In the past sheet was not available because of rollback, this time it is fixed, but there may be performance issues;
  • Now there is no need to build the frontend manually, commit changes to the frontend folder in the main branch and workflow will automatically build the frontend and commit it. For PR, workflow will automatically run unit tests for changes to the backend;
  • For plot support as an additional requirement, please use pip install funix[plot] to install the dependencies;
  • Now that Funix supports session, variables can no longer be shared by all users! You can simply implement this with a global statement and session_variables configuration, and start funix with the -t flag (Uses AST, but still not enough, so if you find it doesn't work, try using the functions provided in funix.session, and read global_hand.py and global_test.py in examples);
  • The decorator provides a new parameter: direction, which supports column, row, column-reverse and row-reverse to indicate the input/output arrangement;
  • The backend code was cleaned up, added comments and several unit tests.

Breaking Changes

  • You now need to start funix using the path instead of the module name. In the past, starting it like funix test would cause funix to import test (in Python) instead of test.py in the directory, now please start it with funix test.py;
  • The past YAML and JSON support (theme and decorator configuration) is no longer supported, and Python configuration for themes will be documented in the future.

Bug Fixes

Features

Refactors

Documents

Code Style

Chores

  • auto build frontend (0e9016b, workflow)
  • auto build frontend (be6f3f8, workflow)