Repository navigation
Funix 0.4.0
0.4.0 (2023-04-08)
Highlights
- Support lazy mode, with the
-larguments, helps to addfunixdecorators to all functions in this script, and then export them directly; - Support directory mode, with the
-darguments, 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], likefunix -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
Filetype), then the same can be displayed in the output panel; - In the input panel, press
Ctrl+EnterorControl+Enterto call the function; - All built-in components are available in
funix.hint; - Add the
secretparameter infunixdecorator, 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)
dividerin theme palette (df25009)- add
radioin__basic_widgets(23a48c9)
Features
- add secret mode (8cc4c36)
- no
app.run, replace withgunicorn(37599d3) - add
ToolbartoDataGridin 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-dirargument (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_betterto 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
- @forrestbao
- @Yazawazi