Upgrade 0.32 to 0.33
Change startupjs and all @startupjs/* dependencies in your package.json to ^0.33.
BREAKING CHANGES
-
remove global wrapper
Portal.Providerfrom App or Layout`s and use now ui plugin for app -
bump peer dependency
react-native-svgto^12.1.0(packages that requires the module -@startupjs/ui,@startupjs/bundler,startupjs/bundler) -
add
react-native-tab-viewto dependency of your project if you are using@startupjs/ui -
add
text-encoding-polyfill@^0.6.7to dependency of your project if you are using@startupjs/auth-localpackage -
add
@react-native-async-storage/async-storage@^1.13.2to dependency of your project if you are using@startupjs/authpackage -
add
react-native-restart@^0.0.22to dependency of your project if you are using one of the@startupjs/auth,@startupjs/app,startupjs/apppackages -
startupjs/authno longer requireslodashpackage -
startupjs/authonAfterUserCreationHooknow takes object withuserIdin first param andreqin 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
forceCompileModulesof webpack configs (checkpackage.jsonof module that you are using and if module havetype: modulethen you can remove it fromforceCompileModules) -
@startupjs/auth-common:
createAuthButtonis no longer needed, jsx is used for the new api micro frontend -
@startupjs/auth-local -> LoginForm:
onChangeAuthPagerename toonChangeSlide -
@startupjs/auth-local -> LoginForm: remove
configproperty, useproperties,validateSchema,renderActionsproperties instead -
@startupjs/auth-local -> RecoverForm:
onChangeAuthPagerename toonChangeSlide -
@startupjs/auth-local -> RegisterForm:
onChangeAuthPagerename toonChangeSlide -
@startupjs/auth-local -> RegisterForm: remove
configproperty, useproperties,validateSchema,renderActionsproperties instead -
@startupjs/auth-local -> ResetPasswordForm:
onChangeAuthPagerename toonChangeSlide -
@startupjs/auth: remove
SuccessRedirectcomponent -
@startupjs/auth -> AuthForm:
onChangeAuthPagerename toonChangeSlide -
@startupjs/auth -> AuthForm: remove configs, use jsx to write forms
-
@startupjs/auth -> AuthForm: remove
initSlide, use propertiesslideinstead