Change startupjs
and all @startupjs/*
dependencies in your package.json
to ^0.33
.
-
remove global wrapper
Portal.Provider
from App or Layout`s and use now ui plugin for appimport { registerPlugins } from '@startupjs/plugin' import { uiAppPlugin } from '@startupjs/ui' ... registerPlugins({ '@startupjs/app': [ [uiAppPlugin, { defaultEnable: true }] ] })
-
bump peer dependency
react-native-svg
to^12.1.0
(packages that requires the module -@startupjs/ui
,@startupjs/bundler
,startupjs/bundler
) -
add
react-native-tab-view
to dependency of your project if you are using@startupjs/ui
-
add
text-encoding-polyfill@^0.6.7
to dependency of your project if you are using@startupjs/auth-local
package -
add
@react-native-async-storage/async-storage@^1.13.2
to dependency of your project if you are using@startupjs/auth
package -
add
react-native-restart@^0.0.22
to dependency of your project if you are using one of the@startupjs/auth
,@startupjs/app
,startupjs/app
packages -
startupjs/auth
no longer requireslodash
package -
startupjs/auth
onAfterUserCreationHook
now takes object withuserId
in first param andreq
in second param -
if you are using
startupjs/auth-google
, replace@react-native-community/google-signin
(deprecated) dependency of your project with@react-native-google-signin/google-signin
-
modules that using ESM modules are now automatically force compiled and you can remove all startupjs dependencies and their peer dependencies from
forceCompileModules
of webpack configs (checkpackage.json
of module that you are using and if module havetype: module
then you can remove it fromforceCompileModules
) -
@startupjs/auth-common:
createAuthButton
is no longer needed, jsx is used for the new api micro frontend -
@startupjs/auth-local -> LoginForm:
onChangeAuthPage
rename toonChangeSlide
-
@startupjs/auth-local -> LoginForm: remove
config
property, useproperties
,validateSchema
,renderActions
properties instead -
@startupjs/auth-local -> RecoverForm:
onChangeAuthPage
rename toonChangeSlide
-
@startupjs/auth-local -> RegisterForm:
onChangeAuthPage
rename toonChangeSlide
-
@startupjs/auth-local -> RegisterForm: remove
config
property, useproperties
,validateSchema
,renderActions
properties instead -
@startupjs/auth-local -> ResetPasswordForm:
onChangeAuthPage
rename toonChangeSlide
-
@startupjs/auth: remove
SuccessRedirect
component -
@startupjs/auth -> AuthForm:
onChangeAuthPage
rename toonChangeSlide
-
@startupjs/auth -> AuthForm: remove configs, use jsx to write forms
-
@startupjs/auth -> AuthForm: remove
initSlide
, use propertiesslide
instead