Upgrade 0.28 to 0.29

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

BREAKING CHANGES

  • App: remove deprecated initUpdateApp from app/server. Change initUpdateApp function to initApp function. See more

  • App: restored support for critical versions of applications. They can now reactively notify users of a required update. CRITICAL_VERSION is now stored directly in DB. See more

  • Select: changed deprecated Picker from react-native to Picker from @react-native-picker/picker. It also fixed error on Android with conditional rendering Picker.Item when using the Select property showEmptyValue = {false}. Need to install a new library yarn add @react-native-picker/picker from version 1.9.3 and above through the your package manager and pod for IOS.

  • Sidebar

    • remove forceClosed property
    • remove defaultOpen property
  • DrawerSidebar

    • remove forceClosed property
    • remove defaultOpen property
  • SmartSidebar

    • rename property forceClosed to disabled
    • add defaultOpen (desktop only) property for opening sidebar on first render

Bug fixes

  • docs move restore scroll functionality to separate component to prevent re-renders
  • Popover change incorrect propTypes of placements property
  • Link make link text size as common text size
  • TextInput fix of incorrect use of inputStyleName
  • TextInput fix curved line-height for ios
  • Tooltip rework logic of use it on mobile devices
  • Tag change incorrect propTypes of size property
  • SmartSidebar fix bug when the sidebar does not open for desktop after passing through layout breakpoint
  • Link fix non-clickability on mobile devices when link is like a button
  • Link fix full page reload on web when link is like a button

Features

  • add NumberInput component
  • add authorization library
  • add Badge component
  • TextInput
    • add new properties secondaryIcon, secondaryIconStyleName, onSecondaryIconPress to use the second icon
    • pressing the tab key on web moves focus from input

For full list of new features and bug fixes see CHANGELOG