Skip to content

Releases: anvilistas/anvil-extras

v2.6.2

13 Jun 09:33
7da3823
Compare
Choose a tag to compare

v2.6.2 13-Jun-2024

Minor Changes

  • authorisation - added config option to avoid adding a roles column to the users table
    #516
  • storage - proxyobjects are passed to the underlying storage so that those implementing the serializable interface can be stored
    #533

Bug Fixes

  • Slider - allow connect and behaviour to be set at runtime
    #538
  • persistence - fix get method
    #523
  • persistence - fix handling of Linked Attributes with no row
    #534
  • MultiSelect - fix an issue with multiselect on the self hosted app server
    #525
  • routing - fix redirect with None conditions
    #532
  • MultiSelect - fix an issue where the dropdown menu would remain open when the form is hidden
    #536

v2.6.1

13 Jun 09:33
Compare
Choose a tag to compare

Bug Fixes

  • routing - fix initialisation of history state
    #519
  • multiselect - fix visible False property in the designer
    #510
  • multiselect - fix toggling enabled property loses selected state
    #513
  • switch - fix lever color when switch is checked
    #517
  • routing - fix on_form_load might fire stale value if form_show event is slow
    #521

Minor Changes

  • designer hints - add some designer hints to components
    #512
  • authorisation - added config option to avoid adding a roles column to the users table
    #516

v1.9.0

27 Jan 14:27
4e63a89
Compare
Choose a tag to compare

New Features

  • Select All functionality added to MultiSelect component
  • Dynamic serialisation of data tables rows
    #191
  • utils.correct_canvas_resolution() - canvas elements can look blurry on retina displays
    This function sharpens the resolution of a canvas element when called in the reset event
    #202
  • augment.remove_event_handler() added to the augment module
    #259
  • Slider - visual properties - handle_size, bar_height, and role added
    #261

Updates:

  • storage supports datetime and date objects
    #179
  • on_form_load() can be used in a routing.main_router Form
    This method will be fired with the current url_hash and the form that was added to the content_panel.
    #180
  • animate duration argument is no longer keyword only i.e. animate(self, fade_in, 300) is valid
    #182

Bug fixes

  • MultiSelect component works correctly in a popover
    #187
  • popover is_visible bug when using pop("toggle")
    #199
  • Using routing load_from_cache=False to reload the current form works correctly
    #243
  • PageBreak retains its thickness in print mode
    #263

v1.8.1

14 Oct 08:27
07f0463
Compare
Choose a tag to compare

Updates

  • has_popover() function added to the popover module #171

  • Transition class in the animate module is more flexible for combining transitions.
    Some pre-computed transitions adjusted. rotate_in/rotate_out replaced by rotate #173

v1.8.0

13 Oct 12:48
48170e3
Compare
Choose a tag to compare

New Features

  • animation module - Wrap the Web Animations API around a convenient set of python tools for anvil #169

Bug Fixes

  • MultiSelectDropdown - Fix "Hides menu when component is removed from the page" #170

v1.7.0

06 Oct 08:00
9812fd3
Compare
Choose a tag to compare

New Features

  • Pivot - Dynamic pivot table component
    #165

Bug Fixes

  • MultiSelectDropdown - Hides menu when component is removed from the page
    #149
  • Popover - content's show and hide events will be triggered when the popover shows and hides
    #150
  • Autocomplete - Add missing TextBox properties to design view
    #160

v1.6.0

17 Sep 08:31
651defe
Compare
Choose a tag to compare

New Features

  • Quill - dynamically add custom modules
    #117
  • routing - adjusts the behaviour of anvil.alert to ensure dismissible alerts are closed on navigation. And navigation prevented for non-dismissible alerts.
    #132
  • storage.indexed_db - Now supports the browser's IndexedDB with a dictionary like api
    #135
  • storage - additional store objects can be created inside the browsers localStorage or IndexedDB. e.g. todo_store = indexed_db.get_store('todos')
    Each store object behaves like a dictionary object.
    #135
  • PageBreak - border property added and documentation updated.
    #139

Bug Fixes

  • Autocomplete - can now be used inside an alert
    #114
  • Popover - fix stickyhover
    #121
  • storage - update and clear were missing from the documented api
    #125
  • PageBreak - fix margin_top property and make it optional
    #137
  • PageBreak and Multi-select - fix illegal HTML
    #139
  • Popover - remove the requirement for delays in show/hide/destroy transitions
    #146

Deprecated

  • storage.session_storage was deprecated. Use local_storage instead
    #135

Updates

  • Slider Component - bump javascript dependency and refactor. No changes to the component's public API.
    #112
  • Autocomple - duplicate suggestions are ignored and a warning is printed
    #116
  • Popover - documentation added and clone link updated. The example now imports anvil_extras
    #121

v1.5.2

23 Aug 08:53
7fa06ca
Compare
Choose a tag to compare

New Features

  • augment - add_event_handler() method added. original_event passed as an event_arg.
    #109

Bug Fixes

  • Add missing support for binding writeback on the Switch component
    #111

v1.5.1

23 Aug 08:51
580bed4
Compare
Choose a tag to compare

Bug Fixes

  • Autocompleter suggestions on mobile
    #103

v1.5.0

29 Jun 07:35
600bb6b
Compare
Choose a tag to compare

New Features

  • local_storage - wrapper around the browser localStorage object
    #93

Changes

  • Quill editor supports a toolbar and theme set at runtime.
    #80
  • Add navigation.go_to function, improved navigation error messages
    #99

Bug Fixes

  • Autocompleter focus method doesn't trigger autocomplete suggestions
    #94
  • Improve error reporting when passing an invalid content object to a popover
    #90
  • Fixed the publisher.unsubscribe method in the Messaging module, making it functional
    #92
  • Fix indeterminate progress bar not always displaying
    #95