Releases: TexteaInc/funix
Releases · TexteaInc/funix
Funix 0.5.2.1
The following changes have been made in this version relative to 0.5.2:
- rollback of code that failed to run properly due to a merge error
- automatic recursive mode
You can read here to see the changes in 0.5.2, but the release at PyPI has been removed.
Funix 0.5.2
0.5.2 (2023-10-31)
Highlights
- Recursive mode can support duplication names, and when importing themes, the relative path's theme file cannot import issue is fixed.
- Support default function , use
-D [file:name|name]in command line or adddefaultargument in decorator. - Support rate limit, see examples for details.
Bug Fixes
- wide images not scaled, exceed the width of the page (509e3d8, @Yazawazi)
Unionparse error (780509b, @Yazawazi)- cannot use relative path when importing theme (253cd4c, @Yazawazi)
- incorrect indentation (793d7e1, @Yazawazi)
- add module name back (57c2cab, @Yazawazi)
- password wrong check, frontend dataframe and examples (47b7ea2, @Yazawazi)
- frontend: rate limit (ae7cd34, @Yazawazi)
- allow top level module (aa0c522, @Yazawazi)
- frontend: menu function order (9fab4a3, @Yazawazi)
rate_limitargs parse (b88c536, @Colerar)- wrong path difference (9b8ac8c, @Yazawazi)
- rollback
FunixFunctionList.tsx(494bfc3, @Yazawazi)
Features
- try to support duplicate function names (08ee62c, @Yazawazi)
- try to support duplicate function names (aa6e6bd, @Yazawazi)
- use full local paths (with python file name) as URL path (7336d09, @Yazawazi)
- support resizeable function list (5edb4d1, @Yazawazi)
- add list sort, remove base dir and the module file (0994067, @Yazawazi)
- build frontend for testing (b4f0fd5, @Yazawazi)
- host check (0d2dbd9, @Colerar)
- ratelimit (1d09047, @Colerar)
- session ratelimit, flexible config (f72e546, @Colerar)
- JSON config for ratelimit (e8883b5, @Colerar)
- add
time_frameparameter for static methods ofLimiter(5943282, @Colerar) - ratelimit
periodJSON config (71ca3c6, @Colerar) - decorator: add
is_defaultargument (82973fe, @Yazawazi) - rename
is_defaulttodefault(361acbf, @Yazawazi) - support
.funixignorein recursive mode (49167d7, @Yazawazi) .funixignoreis expected to be parsed as an ignore list on github. (cd2a8bf, @Yazawazi)- global rate limiter (f04ccd0, @Colerar)
- support
-D(default) in command line and fix ignore bugs (7ba5f61, @Yazawazi) - add
ip_headersfor reverse proxy (d85a553, @Colerar)
Documents
- update examples for ipywidgets and pandera types (6a6fa70, @forrestbao)
- update examples for ipywidgets and pandera types (9c86d46, @forrestbao)
- update examples (042c198, @forrestbao)
- remove archive (a809092, @forrestbao)
- update and clean up examples after FEPs 11 and 13 (baba606, @forrestbao)
- minor fix in simple session demo (027d7c8, @forrestbao)
- update examples and fix a bug in rate limiter (eb606a1, @forrestbao)
- update examples (a846c13, @forrestbao)
- update examples for Ploomber review (7be3327, @forrestbao)
- minor updates in examples (0c300f9, @forrestbao)
Refactors
Code Style
Chores
- auto build frontend (32da3f2, workflow)
- build frontend for testing (d652e73, @Yazawazi)
- update
caniuse(4b3cdb0, @Colerar)
Merges
Funix 0.5.1
0.5.1 (2023-10-14)
Released 0.5.1 for testing by Kumo.
Highlights
-
The function selection menu has been rewritten so that multiple levels can now be displayed correctly
-
You can use the keyword
menuin the decorator to create the menu, for example:from funix import funix @funix(menu="user") def login(): pass @funix(menu="user") def register(): pass @funix(menu="instance") def create(): pass @funix(menu="instance") def delete(): pass
-
Initial support for the Kumo report function
Bug Fixes
Features
- remove CORS (87f3be2, @Yazawazi)
- recursive show multi-level menu (2495a94, @Yazawazi)
- initial support for kumo callback (d9ba404, @Yazawazi)
- add kumo timeout (83368e9, @Yazawazi)
Chores
Funix 0.5.0
0.5.0 (2023-10-05)
Highlights
- The logic of
themehas been changed again (yes), and the old way of importing from URLs has been added to Funix again. textareais 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_typeto better support custom types and widgets.
Breaking Changes
- Theme system and
new_funix_typehave been heavily modified, please read theexamplesand the in-doc to learn the newest usage.
Bug Fixes
- mpld3 import error (8ac9a75, @Yazawazi)
- use IPython's Markdown (c7a48f8, @Yazawazi)
- default value of sheet is sometimes invalid due to asynchrony (c2c64ba, @Yazawazi)
Features
- merge
set_themetoimport_theme; removeno_debug, usedevinstead (19cf153, @Yazawazi) - support
@mui/x-data-grid-pro(75b0644, @Yazawazi) - ignore backend build (491f826, @Yazawazi)
Literalnow useradiowidget by default (f6f1d5e, @Yazawazi)- try to support IPython's Markdown and HTML (3c1298e, @Yazawazi)
- auto replace
_with whitespace (4900d9b, @Yazawazi) - try to support IPython's Audio, Video and Image (3e4d3ff, @Yazawazi)
- turn
textareato configurable widget (055de3f, @Yazawazi) - add
new_funix_typefor custom widget (6157dbc, @Yazawazi) - add simple custom type support (863b699, @Yazawazi)
- try to support ipywidgets's password (7ab5485, @Yazawazi)
- try to support pandas and pandera as input widget (7f666fe, @Yazawazi)
- try to support pandas and pandera as output widget (1d7b518, @Yazawazi)
Documents
- update usage and mui pro section (21d334c, @Yazawazi)
- add some parts (7e6c4df, @Yazawazi)
- minor change on examples (94d3772, @forrestbao)
- update bioinformatics examples (96d3159, @forrestbao)
- minor update in conditional_simple.py (6e5a4ce, @forrestbao)
- advance docs submodule (ac5d48d, @forrestbao)
- update image links in README (a79ac02, @forrestbao)
- update Readme (6d4e474, @forrestbao)
- updating bioinfo examples (0e585e4, @forrestbao)
- clean up examples (22c7e50, @forrestbao)
- updata openAI_minimal examples with POST method (830253c, @forrestbao)
- update hangman example and other minor example updates (b0f1a12, @forrestbao)
- update examples (75dd189, @forrestbao)
- add HuggingFace example (48ac9c6, @forrestbao)
- add HuggingFace example (1aac292, @forrestbao)
- fix openAI minimal demos (9085490, @forrestbao)
- update README (246ec69, @forrestbao)
- polishing README before grand opening (c5406f4, @forrestbao)
- Upload new video to README.md (55f22c4, @forrestbao)
- Create Funix_vs_them.md (b5de148, @forrestbao)
- update chatGPT multiturn example (53d2506, @forrestbao)
- update examples to use IPython.display.{HTML, Markdown} (90c452b, @forrestbao)
- update README (d5545a4, @forrestbao)
- clean up hangman example after new variable label creation method (fa57101, @forrestbao)
- update examples (47fe454, @forrestbao)
- Update README.md with new video (292d545, @forrestbao)
Chores
Funix 0.4.8
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
lazymode; - Fixed pre_fill not updating in time;
- The naming of some elements of the layout has changed, see
Breaking Changesbelow.
Breaking Changes
dividingis renamed todivider;indexis renamed toreturn_index;return_indexcan accept a single index or multiple indexes in a list.
Bug Fixes
lazymode should skip hidden functions (29cacd3, @Yazawazi)Nonetype error and do not display switch in output (9d91a37, @Yazawazi)- functions with
pre_fillupdate delays (bf5efd3, @Yazawazi) input_layoutdivider rename (5999da4, @Yazawazi)
Features
- rename
dividingtodivider, support listindex(b219278, @Yazawazi) - rename
indextoreturn_index(85e4f5a, @Yazawazi)
Chores
- auto build frontend (e8270e2, workflow)
- build frontend (99f8fe9, @Yazawazi)
- auto build frontend (bfb94a4, workflow)
- auto build frontend (d65d28a, workflow)
- auto build frontend (2570b5a, workflow)
Documents
- update examples (ae45117, @forrestbao)
- partial reorg exampls (7c95127, @forrestbao)
- update slider_table_plot example (764f93e, @forrestbao)
- update examples (c802cfe, @forrestbao)
- advance docs (4cbcbeb, @forrestbao)
Funix 0.4.7
0.4.7 (2023-08-24)
Highlights & Breaking Changes
- The conditional visible
all_ifandthenwere renamed towhenandshow; - Big change to the
themesystem: 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
-toption).
Bug Fixes
ConditionalVisiblekey (b2102b7, @Yazawazi)- with the
repo_dirparameter, usechdir(0c833c2, @Yazawazi) - theme import and hokusai prop name (219f55f, @Yazawazi)
Features
- update keywords for conditional visible to 'when' and 'show' (24599f7, @forrestbao)
- change
import_themearguments name (5f063e2, @Yazawazi) - support tuple widgets in theme (28ed81e, @Yazawazi)
- change
import_themeargument name again (1b213e6, @Yazawazi) - convert global directly to session variables (84571cc, @Yazawazi)
- back to using theme styles in json format (d446eaf, @Yazawazi)
- remove tuple and list support in theme key (498df03, @Yazawazi)
Documents
- link docs to a submodule repo (2bd25b6, @forrestbao)
- Update ReadMe (a494b0a, @forrestbao)
- advance docs commit (b8f9041, @forrestbao)
- make
pre_fillexample back (591b481, @Yazawazi)
Funix 0.4.6
0.4.6 (2023-08-03)
Highlights
- Fixed an issue where history was not working because of
window.crypto.randomUUIDis 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
- replace
window.crypto.randomUUIDwithuuidmodule (26f1afa, @Yazawazi) - wrong
yield(16ff56f, @Yazawazi) - function tree render (f61ccc6, @Yazawazi)
- existing function disappears after
updateTree(b275eec, @Yazawazi)
Chores
- auto build frontend (82881fc, workflow)
Funix 0.4.5
Funix 0.4.4
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
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.pyinstance 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.