Skip to content

Releases: TexteaInc/funix

Funix 0.5.9

29 Jul 00:09
Compare
Choose a tag to compare

0.5.9 (2024-07-29)

Highlights

  • Funix now parses the docstring of your function as a description of the app and its arguments.
  • Initial support for jupyter through a simple iframe.
  • It is now possible to use the List[Literal[...]] type to create dropdown menus.
  • The whitelist and example can be dynamically updated by functions.

Bug Fixes

Features

Refactors

Documents

Funix 0.5.8

17 May 13:36
Compare
Choose a tag to compare

0.5.8 (2024-05-17)

Highlights

This release brings some fixes and documentation changes:

  • Important Fixes: Form Height, CORS Requests, Secret Authentication
  • Now for dependencies, matplotlib, mpld3, pandera and pandas become mandatory.

Bug Fixes

Documents

Chores

Funix 0.5.7

27 Apr 10:30
94cc179
Compare
Choose a tag to compare

There are no feature updates or logic fixes compared to Funix 0.5.6. Only dependencies have been fixed.

Funix 0.5.6

21 Apr 08:58
Compare
Choose a tag to compare

0.5.6 (2024-04-21)

Highlights

  • You can now dynamically fetch variable as description from session, use session_description argument, fill your variable name in session
  • Provide a new boolean parameter: keep_last, whose function is to keep the last inputs and outputs of the session in the function page when it is opened again
  • Funix app that do not have a default function will now use one of the functions used in the list as the default function
  • Outdated hints will now be displayed when previewing historical functions

Bug Fixes

Features

Documentations

Funix 0.5.5

28 Feb 11:36
Compare
Choose a tag to compare

0.5.5 (2024-02-28)

Highlights

  • Initial implementation of autorun allows the frontend to automatically re-run the function as parameters are changed, you can use autorun=True in the decorator to enable this feature
  • Once again, any function or class will be decorated with funix or funix_class (default lazy is back again), which you can turn off with @funix(disable=True)
  • Now allowed to generate static images directly from the Figure type (if mpld3 doesn't work for you) by using figure_to_image=True in the parameter of the decorator
  • IPython.display.Javascript is now supported
  • You can now customize widgets with widgets and props in the widgets and theme
    theme = {
        "widgets": {
            "YOUR_WIDGET_NAME": {
                "widget": "WidgetComponent, e.g. '@mui/material/TextField'",
                "props": {
                    # props for the widget
                    "type": "password"
                }
            }
        }
    }
  • The privacy message can now be updated with funix.app.privacy_policy function

Bug Fixes

Features

Documentation

Refactors

Funix 0.5.4

23 Dec 02:07
Compare
Choose a tag to compare

0.5.4 (2023-12-23)

Highlights

  • Fixed issue where external scripts could not be loaded due to security checks in DOM updates
  • For users using @funix_class, the AST is now used to parse the source code
  • docstring is now used as a function description
  • HTML code now allows developers to embed JavaScript
  • Improved error message when limiter limit is exceeded and class is not initialized
  • Added reactive parameter to help update/calculate parameters in real time
  • For parameters such as label, the *, glob or regex are now supported
  • Camera (picture or video) and microphone inputs are supported on the front end

Bug Fixes

Features

Documents

Funix 0.5.3

28 Nov 15:28
Compare
Choose a tag to compare

0.5.3 (2023-11-28)

Highlights

  • Support class with funix, you can use funix.funix_class and funix.funix_method for class and class's method
  • Support generator function with websocket, and you can use yield to send message to frontend
  • For websocket, we add print_to_web option in decorator for printing message to frontend directly by print function
  • Normal pandas type is now supported
  • Now funix can run offline
  • The memory leak of web histories is fixed, and for any input with file, the history will be disabled

Bug Fixes

Features

Documents

Chores

Funix 0.5.2.1

01 Nov 08:20
Compare
Choose a tag to compare

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

31 Oct 10:55
Compare
Choose a tag to compare

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 add default argument in decorator.
  • Support rate limit, see examples for details.

Bug Fixes

Features

Documents

Refactors

Code Style

Chores

Merges

Funix 0.5.1

14 Oct 08:54
Compare
Choose a tag to compare

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 menu in 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

Chores

  • auto build frontend (4db4b9d, workflow)
  • auto build frontend (797f791, workflow)