Upgrade 0.27 to 0.28

Change startupjs and all @startupjs/* dependencies in your package.json to ^0.28.

BREAKING CHANGES

  • Div: remove default background-color setting when shadow is present (you need to add background-color manually from style sheet now)

  • Link: remove block property, it will be detected automatically if not specified

  • sharedb-access in ORM: There was changed parameters of functions in access object in your ORM-model (added backend and collection to the start). Now they look like this:

    static access = {
      create: async (backend, collection, docId, doc, session) => { your code }
      read: async (backend, collection, docId, doc, session) => { your code },
      update: async (backend, collection, docId, oldDoc, session, ops, newDoc) => { your code },
      delete: async (backend, collection, docId, doc, session) => { your code }
    }

Bug fixes

  • Div: fix incorrect shadows work on ios
  • Checkbox: fix readonly view on mobile
  • docs: fix inline code view on android
  • docs: fix jumping to top of the page on initial render when you are scrolled

Features

  • docs: add anchors for headers
  • sharedb-access in ORM: add ability to use access for models that register to path collection.* using static access={...}
  • Link: add ability to use button as link, see more

Documentation

  • Menu: add example how to use Menu.Item as link

For full list of new features and bug fixes see CHANGELOG