Skip to content

Releases: jwkvam/bowtie

v0.11.0

13 Oct 06:17
Compare
Choose a tag to compare

Added

  • Start of Authentication API
  • Better interoperability with Flask
  • Views have a layout attribute that is run a build time, which can save time at serve time.

Breaking

  • Apps layout now happens in global state or in layout functions.
  • Remove server.py and templates, bundle.js{,.gz} is placed directly in build directory.
  • load and subscribe are decorators now, simplifying usage.
  • Sidebar now defaults to False.
  • Removed respond function, moved feature to subscribe.

v0.10.1

04 Oct 05:40
Compare
Choose a tag to compare

Added

  • Minimum node version check.

Fixed

  • v0.10.0 had a bunch of extra junk generated in it.

v0.10.0

03 Oct 15:44
Compare
Choose a tag to compare

Added

  • Mostly internal changes so that dynamic layout can be supported.
  • Dropped Python 3.5 compatibility.
  • Added Python 3.7 support. (#233)
  • Update random walk so it can be used with multiple users. (#126)
  • Views now have a border attribute for specifying a margin around the whole page, defaults to 7 pixels.
  • Add multiple components to a cell or span, for example:

    app = App()
    app[0, 0] = button
    app[0, 0] += button2
    Or
    app = App()
    app[0, 0] = button, button2

  • Moved link component from control to html module

Fixed

  • Bug with rebuilding apps due to caching problems.
  • Bug when refreshing apps with date pickers, the stored state wasn't being restored correctly.

Breaking

  • Captions in controllers have been removed, they can be replaced with HTML components.

v0.9.1

03 Mar 21:23
Compare
Choose a tag to compare

Added

  • Upgraded to webpack 4, users shouldn't see much of a difference other than
    slightly improved build times.

Fixed

  • Readthedocs wasn't rendering due to type hints, fixed with conda.

v0.9.0

23 Feb 07:17
4ea67fd
Compare
Choose a tag to compare

Added

  • Jupyter integration.
  • Basic HTML components: Div and H1-H6.
  • Add multiple components into a single span/cell.
    This can be useful for adding multiple control or html elements into a single cell.

Breaking

  • Drop support for Python 2.
  • Moved Markdown widget to HTML components.

v0.8.1

11 Feb 18:53
Compare
Choose a tag to compare

Fixed

  • Error if only the gzipped bundle is available.

v0.8.0

10 Feb 08:04
Compare
Choose a tag to compare

Added

  • Improved widget handling, now use a dict to store components instead of parsing code.
    Makes it possible to subscribe to events with expressions for the component.
  • Cache behaves like dict, e.g. cache['data'] = [1, 2, 3].
  • Support Ant theme to customize all Ant components, added in the App class.
  • Vertical option for slider. (#204)
  • Document run command.
  • Document exceptions.

Breaking

  • Removed cache save and load functions in favor of dict functionality.

v0.7.0

04 Feb 07:34
Compare
Choose a tag to compare

Added

  • Implemented __getitem__ for the layout enabling for example: app[1, 0:2] = widget.
  • Added "on_relayout" event for Plotly widgets.
  • Serialize Pandas series objects and Pandas datetime objects.

Breaking

  • row_end and column_end are now exclusive instead of inclusive.
  • Simplified the add function in favor of the new getitem functionality,
    which is easier to use and familiar to Python programmers.

v0.6.1

02 Feb 02:45
2d5d364
Compare
Choose a tag to compare

Added

  • Docstring examples of sizing components.
  • More checks to ensure adding components works as expected.

Fixed

  • Bug which incorrectly tracked which parts of the grid were occupied by widgets.

v0.6.0

01 Feb 07:10
6632641
Compare
Choose a tag to compare

Added

  • Removed node and webpack dependencies, the only dependency is yarn.
  • Added a run command that simply combines build and serve together.
  • Smarter build process that saves time on subsequent builds.
  • Handle scheduled tasks when running with debug=True (#185)
  • Improve the Docker experience and docs.
  • Always use the latest compiled bundle.

Breaking

  • Instead of building the app by running app.build() you simply return the App instance.
    See the quick start guide for an example.