Skip to content

Funix 0.4.1

Choose a tag to compare

@Konoyoru435 Konoyoru435 released this 04 May 20:20
· 483 commits to main since this release

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

  • treat title as markdown in appbar title and functions list (514dae8, @yazawazi)
  • cli recursive and package opt (c67a2df, @yazawazi)
  • parsed_secret is None (48f986c, @yazawazi)
  • treat_as not in json_schema_props (d3db671, @yazawazi)
  • infinite re-rendering due to incorrect useEffect (3053e46, @yazawazi)
  • alert box content rendering misalignment (2f3d76a, @yazawazi)
  • secret: bypass secret auth for with -s funix app (important) (b6b0700, @yazawazi)
  • custom sheet widget roll back state (3f7fc3d, @yazawazi)
  • try to fix infinite re-rendering due to incorrect jotai using (3b00b73, @yazawazi)
  • out of memory (3a77a90, @yazawazi)

Features

  • change footer slogan (4c67220, @yazawazi)
  • add no_debug argument (02d75e7, @yazawazi)
  • support history in frontend (73c98f8, @yazawazi)
  • support side bar history list (fd04e70, @yazawazi)
  • add the menu to the side bar history list (e793c56, @yazawazi)
  • add secret argument (79861b3, @yazawazi)
  • do not show untitled in side bar history list (a9b5411, @yazawazi)
  • add custom markdown render to support MUI components (f54bed5, @yazawazi)
  • major changes in history (238bcba, @yazawazi)
  • support app secret setting in frontend (7ef49eb, @yazawazi)
  • pop-up snackbar when history cannot be saved (ae45e62, @yazawazi)
  • change the file size limit to 15 MB (4689389, @yazawazi)

Chores

  • do not generate source map in funix:build (3c984b6, @yazawazi)