Skip to content

Funix 0.4.0

Choose a tag to compare

@Konoyoru435 Konoyoru435 released this 08 Apr 09:15
· 507 commits to main since this release

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