Skip to content

Releases: TexteaInc/funix

Funix 0.5.0

05 Oct 07:18
Compare
Choose a tag to compare

0.5.0 (2023-10-05)

Highlights

  • The logic of theme has been changed again (yes), and the old way of importing from URLs has been added to Funix again.
  • textarea is now a configurable widget.
  • Developers with MUI Data Grid Pro can now use their own pro version by passing in a token via .env.
  • Initial support for some types of IPython, ipywidgets, pandas (pandera).
  • The backend now remembers the type, and the data passed by the frontend will be transferred to the corresponding type (in the past it was only the base type), but some types without the __init__ method will be skipped for now, it will be improved in the future.
  • Rewrote new_funix_type to better support custom types and widgets.

Breaking Changes

  • Theme system and new_funix_type have been heavily modified, please read the examples and the in-doc to learn the newest usage.

Bug Fixes

Features

Documents

Chores

  • auto build frontend (3288b15, workflow)
  • auto build frontend (385207a, workflow)
  • auto build frontend (6d7ffa6, workflow)
  • auto build frontend (9562c06, workflow)

Funix 0.4.8

28 Aug 01:23
Compare
Choose a tag to compare

0.4.8 (2023-08-28)

Highlights

  • Fixed a function returning None causing the frontend to render to the wrong string and list;
  • Hidden functions will be skipped in lazy mode;
  • Fixed pre_fill not updating in time;
  • The naming of some elements of the layout has changed, see Breaking Changes below.

Breaking Changes

  • dividing is renamed to divider;
  • index is renamed to return_index;
  • return_index can accept a single index or multiple indexes in a list.

Bug Fixes

Features

Chores

Documents

Funix 0.4.7

24 Aug 11:36
Compare
Choose a tag to compare

0.4.7 (2023-08-24)

Highlights & Breaking Changes

  • The conditional visible all_if and then were renamed to when and show;
  • Big change to the theme system: now uses JSON instead of Python Dict, documentation will be updated soon;
  • For the session feature, session variables now do not need to be labeled in the decorator and all global variables will be transformed into session variables (to use this feature, turn on the -t option).

Bug Fixes

Features

Documents

Funix 0.4.6

03 Aug 14:17
Compare
Choose a tag to compare

0.4.6 (2023-08-03)

Highlights

  • Fixed an issue where history was not working because of window.crypto.randomUUID is not for HTTP environments;
  • Fixed funix not importing in directory mode due to incorrect yield;
  • Fixed an issue where the function tree could not support multi-level modules.

Bug Fixes

Chores

  • auto build frontend (82881fc, workflow)

Funix 0.4.5

04 Jul 15:40
Compare
Choose a tag to compare

0.4.5 (2023-07-04)

Quick fix for 0.4.4 misjudgment. Shame (sigh) 😔

Bug Fixes

Code Style

Funix 0.4.4

04 Jul 15:14
Compare
Choose a tag to compare

0.4.4 (2023-07-04)

Just a quick fix for the kumo not deployable issue, no feature improvements/additions or fixes.

  • Deployment from remote git repositories is now available as an option.

Funix 0.4.3

03 Jul 05:41
Compare
Choose a tag to compare

0.4.3 (2023-07-03)

Highlights

Just because kumo requires the get_flask_application method, upload version 0.4.3.

  • Support pre-fill: the output of a function will be used as an input parameter to another function and bound to the session. You can read and try the pre_fill.py instance in the examples folder;
  • You can now export the Flask app for funix via from funix import get_flask_application, which is convenient for you to modify externally.

Bug Fixes

Features

Funix 0.4.2

26 May 18:41
Compare
Choose a tag to compare

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)

Funix 0.4.1

04 May 20:20
Compare
Choose a tag to compare

0.4.1 (2023-05-05)

Highlights

  • Funix now has debug mode on by default to support hot reloading, but it may break Funix's logic for handling BytesFile, which you can turn off with -D/--no-debug;
  • Added a history function stored in the browser's IndexedDB, with all the history of this function in the right sidebar of the function, and full history in the history dialog. You can roll back history by using the View button (in the history dialog) / clicking on the history item (in the sidebar);
  • When the history cannot be saved, a snack bar will pop up alerting the user;
  • Added a custom Markdown render to support MUI components and KaTeX.

Breaking Changes

  • For frontend users, no more than 5 files can be uploaded, and no single file can exceed 15 MB; the Web API is not affected;
  • Users of 0.4.0 should upgrade to 0.4.1, which fixes a vulnerability that could bypass secret authentication (Funix app launched with -s)

Bug Fixes

Features

Chores

Funix 0.4.0

08 Apr 09:15
Compare
Choose a tag to compare

0.4.0 (2023-04-08)

Highlights

  • Support lazy mode, with the -l arguments, helps to add funix decorators to all functions in this script, and then export them directly;
  • Support directory mode, with the -d arguments, funix will traverse all py files in the directory and export them. Similarly, package mode is supported too, with the argument: -P, to export all the modules in the package;
  • The list of functions is now no longer a radio group, but a drawer list that opens by default on the left, and a tree-structured list display is supported in directory and /package modes;
  • Support importing external git repo's with -g [git repo link], like funix -g https://github.com/Yazawazi/FunixTest -dl;
  • Now PDF files, in the upload component can be previewed, if the return is a URL link containing a PDF extension (need File type), then the same can be displayed in the output panel;
  • In the input panel, press Ctrl+Enter or Control+Enter to call the function;
  • All built-in components are available in funix.hint;
  • Add the secret parameter in funix decorator, which you can use to generate a secret token if your function doesn't want to be called publicly.

Breaking Changes

It seems that there is no.

Bug Fixes

  • delete tempdir in git mode (2f98f9e)
  • no re-rendering when panel width is being adjusted (38cf02b)
  • divider in theme palette (df25009)
  • add radio in __basic_widgets (23a48c9)

Features

  • add secret mode (8cc4c36)
  • no app.run, replace with gunicorn (37599d3)
  • add Toolbar to DataGrid in the output panel (bd0729a)
  • add alias of built-in widget-types in funix.hint (4855325)
  • icon button now with text in file upload widget (1bfa954)
  • add --repo-dir argument (8486f8d)
  • add banner back and shortcut run (e1f8012)
  • add background color in tree viewer (bbf5402)
  • support import remote git repo (25ac044)
  • add basic tree viewer in dir or package mode (6256e56)
  • recursive fetch module (8b770ba)
  • support easy directory mode (74f604e)
  • support pdf preview (34ee6aa)
  • disable minimap in editor (808531f)
  • use __base__ to get type (5b5cfc1)
  • support lazy mode (fcecfa0)

Documents

  • split the theme examples in examples_better to a separate file (1230768)
  • update AI and shipping examples (355c074)
  • add EasyPost example (7aca1e9)
  • update ai and general examples (773acf7)
  • update examples (c26697d)
  • minor update on Readme and AI examples (4b54bd8)

Contributors