Skip to content

Releases: 5monkeys/django-bananas.js

4.0.0

09 Feb 10:24
Compare
Choose a tag to compare

Support for material UI v.5

Official migration docs:
https://mui.com/guides/migration-v4/

Allow passing an errorHandler function to api requests

29 Sep 11:38
Compare
Choose a tag to compare
  • Allow passing an errorHandler function to api requests

Expose Context hooks, add PageContext

27 Sep 11:55
Compare
Choose a tag to compare
  • Add a PageContext, giving a new way to access a Pages props
  • Expose useApp and usePage for a nicer way to access the contexts

Correctly set document titles

23 Sep 12:21
Compare
Choose a tag to compare

Fix a bug where a custom set title for a nav-item would not be passed through to document.title

3.6.0

21 Sep 09:29
Compare
Choose a tag to compare

Changes

  • Enable passing in a custom container that wraps pages

3.5.3

08 Sep 08:16
Compare
Choose a tag to compare

Changes

Potential side-effects

  • Fixed issue highlighted by updated tests, where underlying <AutoField/> components did not spread fieldProps onto underlying elements

misc

  • Rework the linter setup
  • Move to Github Actions
  • Switch to 5monkeys/cobertura-action from coveralls
  • Remove unnecessary dependencies
  • Bump devDependencies
  • Bump peerDependencies
  • Bump dependencies
  • Use webpack 5

Allow URI-encoded read-parameters

16 Jun 13:34
1808be6
Compare
Choose a tag to compare

Problem
URI-encoded strings and files are right now not parsed correctly in the router, resulting in a 404 when a value like this is used in the read/-view.

example:
/messages/hello%20there
/images/hello.jpg

In the above cases the router would interpret only the first part and query for hello.

Solution:
Add % and . to the router param-regex

Bug fixes concerning Custom Logo and PermissionRequired

11 May 15:03
Compare
Choose a tag to compare
  • Fix error where a passed in logo component was wrongfully returned as <src />
  • Added makeUser function to login response before setting user in context to make sure user object is populated with hasPermission function

Allow nested menu items

26 Nov 13:44
Compare
Choose a tag to compare

This release allows users to nest menu items.

Final Form mutators

18 Oct 11:50
Compare
Choose a tag to compare

This version allows passing custom mutators to Final Form's form via Django-bananas form-implementation.