jack zhang
2cb1203aa4
refactor(client)!: application, router and plugin ( #2068 )
...
BREAKING CHANGE:
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: complete basic functional refactor
* fix: performance Application
* feat: support client and server build
* refactor: nocobase build-in plugin and providers
* fix: server can't start
* refactor: all plugins package `Prodiver` change to `Plugin`
* feat: nested router and change mobile client
* feat: delete application-v1 and router-switch
* feat: improve routes
* fix: change mobile not nested
* feat: delete RouteSwitchContext and change buildin Provider to Plugin
* feat: delete RouteSwitchContext plugins
* fix: refactor SchemaComponentOptions
* feat: improve SchemaComponentOptions
* fix: add useAdminSchemaUid
* fix: merge master error
* fix: vitest error
* fix: bug
* feat: bugs
* fix: improve code
* fix: restore code
* feat: vitest
* fix: bugs
* fix: bugs
* docs: update doc
* feat: improve code
* feat: add docs and imporve code
* fix: bugs
* feat: add tests
* fix: remove deps
* fix: muti app router error
* fix: router error
* fix: workflow error
* fix: cli error
* feat: change NoCobase -> Nocobase
* fix: code review
* fix: type error
* fix: cli error and plugin demo
* feat: update doc theme
* fix: build error
* fix: mobile router
* fix: code rewview
* fix: bug
* fix: test bug
* fix: bug
* refactor: add the "client" directory to all plugins
* refactor: modify samples client and plugin template
* fix: merge error
* fix: add files in package.json
* refactor: add README to files in package.json
* fix: adjust plugins depencies
* refactor: completing plugins' devDependencies and dependencies
* fix: bug
* refactor: remove @emotion/css
* refactor: jsonwebtoken deps
* refactor: remove sequelize
* refactor: dayjs and moment deps
* fix: bugs
* fix: bug
* fix: cycle detect
* fix: merge bug
* feat: new plugin bug
* fix: lang bug
* fix: dynamic import bug
* refactor: plugins and example add father config
* feat: improve code
* fix: add AppSpin and AppError components
* Revert "refactor: plugins and example add father config"
This reverts commit 483315bca5
.
# Conflicts:
# packages/plugins/auth/package.json
# packages/plugins/multi-app-manager/package.json
# packages/samples/command/package.json
# packages/samples/custom-collection-template/package.json
# packages/samples/ratelimit/package.json
# packages/samples/shop-actions/package.json
# packages/samples/shop-events/package.json
# packages/samples/shop-modeling/package.json
* feat: update doc
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-07 14:35:22 +08:00
chenos
15f028295c
chore(versions): 😊 publish v0.10.1-alpha.1
2023-07-07 06:56:04 +08:00
chenos
560c00cc3e
chore(versions): 😊 publish v0.10.0-alpha.5
2023-06-29 15:34:40 +08:00
chenos
f3f91bd649
chore(versions): 😊 publish v0.10.0-alpha.4
2023-06-27 13:50:59 +08:00
chenos
83bf8ea3bb
chore(versions): 😊 publish v0.10.0-alpha.3
2023-06-25 14:04:19 +08:00
chenos
0b06e2cd69
chore(versions): 😊 publish v0.10.0-alpha.2
2023-06-20 11:51:16 +08:00
jack zhang
d76e8fb87f
refactor: upgrade umi
, react
and react-router-dom
( #1921 )
...
* refactor: update umi version 3.x to version 4.x
* refactor: update react-router-dom version to 6.x
* refactor(react-router-dom): change Layout Component `props.children` to `<Outlet />`
* refactor(react-router-dom): change <Route /> props and <RouteSwitch /> correct
* refactor(react-router-dom): replace `<Redirect />` to `<Navigate replace />`
* refactor(react-router-dom): replace `useHistory` to `useNavigate`
* refactor(react-router-dom): replace `useRouteMatch` to `useParams`
* refactor(react-router-dom & dumi): fix <RouteSwitch /> & umi document bug
* refactor(react-router-dom): `useRoutes` Optimize `<RouteSwitch />` code
* refactor(react-router-dom): update `Route` types and docs
* refactor(react-router-dom): optimize RouteSwitch code
* refactor(react-router-dom): `useLocation` no generics type
* refactor(react-router-dom): add `less v3.9.0` to `resolutions` to solve the error of `gulp-less`
* refactor(react-router-dom): fix `<RouteSwitch />` `props.routes` as an array is not handled
* chore: upgrade `dumi` and refactor docs
* fix: completed code review, add `targets` to solve browser compatibility & removed `chainWebpack`
* refactor(dumi): upgraded dumi under `packages/core/client`
* refactor(dumi): delete `packages/core/dumi-theme-nocobase`
* refactor(dumi): degrade `react` & replace `dumi-theme-antd` to `dumi-theme-nocobase`
* refactor(dumi): solve conflicts between multiple dumi applications
* fix: login page error in react 17
* refactor(dumi): remove less resolutions
* refactor(dumi): umi add `msfu: true` config
* fix: merge bug
* fix: self code review
* fix: code reivew and test bug
* refactor: upgrade react to 18
* refactor: degrade react types to 17
* chore: fix ci error
* fix: support routerBase & fix workflow page params
* fix(doc): menu externel link
* fix: build error
* fix: delete
* fix: vitest error
* fix: react-router new code replace
* fix: vitest markdown error
* fix: title is none when refresh
* fix: merge error
* fix: sidebar width is wrong
* fix: useProps error
* fix: side-menu-width
* fix: menu selectId is wrong & useProps is string
* fix: menu selected first default & side menu hide when change
* fix: test error & v0.10 change log
* fix: new compnent doc modify
* fix: set umi `fastRefresh=false`
* refactor: application v2
* fix: improve code
* fix: bug
* fix: page = 0 error
* fix: workflow navigate error
* feat: plugin manager
* fix: afterAdd
* feat: update docs
* feat: update docs
* fix: page tab change not work
* fix: login redirect query param doesn't work
* fix: bug and doc
* feat: update docs
* fix: ci error
* fix: merge main
* feat: update docs
* feat: update docs
* feat: update docs
* chore(versions): 😊 publish v0.10.0-alpha.1
* fix: translations
* chore: backend node test max old space size
* docs: add useSearchParams
---------
Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: ChengLei Shao <chareice@live.com>
2023-06-20 11:48:02 +08:00
chenos
d7f21460c6
chore(versions): 😊 publish v0.9.4-alpha.2
2023-05-26 17:05:46 +08:00
chenos
9c94840c6b
chore(versions): 😊 publish v0.9.4-alpha.1
2023-05-25 22:48:39 +08:00
chenos
cf0a921f85
chore(versions): 😊 publish v0.9.3-alpha.1
2023-05-11 12:49:18 +08:00
chenos
923f6e7884
chore(versions): 😊 publish v0.9.2-alpha.4
2023-04-26 22:33:55 +08:00
chenos
9756dd134b
chore(versions): 😊 publish v0.9.2-alpha.3
2023-04-25 13:15:40 +08:00
chenos
883f1e6fd1
fix: eslint ( #1759 )
...
* fix: eslint
* fix: eslint --fix
* fix: changelog
2023-04-25 13:12:14 +08:00
chenos
3dfd5a1f7a
chore(versions): 😊 publish v0.9.2-alpha.2
2023-04-19 13:10:55 +08:00
chenos
bc5156d458
chore(versions): 😊 publish v0.9.1-alpha.2
2023-03-09 12:45:30 +08:00
chenos
946c8f25a3
chore(versions): 😊 publish v0.9.1-alpha.1
2023-03-03 09:34:06 +08:00
chenos
daa91e95a6
chore(versions): 😊 publish v0.9.0-alpha.2
2023-01-14 12:07:20 +08:00
chenos
013f0916a5
chore(versions): 😊 publish v0.9.0-alpha.1
2023-01-11 12:08:24 +08:00
chenos
8d30bee757
feat: change license ( #1350 )
2023-01-11 11:58:47 +08:00
chenos
d062c8fd99
chore(versions): 😊 publish v0.8.1-alpha.4 ( #1331 )
2023-01-05 23:22:18 +08:00
chenos
4ecd2ee40d
chore(versions): 😊 publish v0.8.1-alpha.2
2023-01-05 18:29:47 +08:00
chenos
e73695fd1e
fix: yarn dev error in windows system
2022-12-01 23:44:02 +08:00
chenos
9ad4bff62b
feat: improve resolveNocobasePackagesAlias
2022-11-15 15:04:21 +08:00
chenos
dcee3dd94a
chore(versions): 😊 publish v0.8.0-alpha.13
2022-11-04 21:23:02 +08:00
chenos
def0f642d7
fix: support pro plugins
2022-11-03 15:56:27 +08:00
chenos
642e04490d
chore(versions): 😊 publish v0.8.0-alpha.9
2022-11-02 22:27:03 +08:00
chenos
d5680f80d7
chore(versions): 😊 publish v0.8.0-alpha.8
2022-11-01 18:34:12 +08:00
chenos
85ead5375a
chore(versions): 😊 publish v0.8.0-alpha.7 ( #1002 )
2022-11-01 17:29:49 +08:00
chenos
3453f46997
chore(versions): 😊 publish v0.8.0-alpha.5
2022-11-01 00:50:00 +08:00
chenos
249dff16d3
refactor: plugin manager ( #965 )
...
* feat: improve code
* chore: update version
* feat: api service
* fix: api services
* feat: improve code
* feat: improve code
* feat: improve code
* feat: pm socket
* fix: test errors
* feat: add built-in plugins before upgrade
* feat: update docs
* feat: improve code
* fix: after load
2022-10-27 13:00:16 +08:00
chenos
50286e2c3c
fix: some bugs
2022-09-26 14:52:10 +08:00
chenos
f9f8dc78f4
refactor: plugin manager ( #775 )
...
* feat: dynamic import plugin client
* refactor: pm
* chore: improve cli
* feat: improve code
* feat: update dependences
* feat: hello plugin
* fix: plugin.enabled
* fix: test error
* feat: improve code
* feat: pm command
* feat: add samples
* fix: redirect
* feat: transitions
* feat: bookmark
* feat: add pm script
2022-09-18 14:10:01 +08:00
chenos
7fde444a60
chore(versions): 😊 publish v0.7.4-alpha.7 ( #740 )
2022-08-15 16:12:12 +08:00
chenos
a3810ac61a
chore(versions): 😊 publish v0.7.4-alpha.4 ( #727 )
2022-08-12 10:54:10 +08:00
chenos
bc12c92091
chore(versions): 😊 publish v0.7.4-alpha.1 ( #696 )
...
* docs: update release notes
* chore(versions): 😊 publish v0.7.4-alpha.1
* feat: update docker image version
2022-07-28 23:16:17 +08:00
Dunqing
cd41eb08ae
chore: fix eslint not work ( #670 )
2022-07-23 12:30:32 +08:00
chenos
83f2e19ef3
chore(versions): 😊 publish v0.7.3-alpha.1 ( #657 )
2022-07-20 15:28:13 +08:00
chenos
451d6ae974
chore(versions): 😊 publish v0.7.2-alpha.7 ( #611 )
...
* fix(cli): db sync error
* fix(cli): upgrade error
* feat: update docker image version
2022-07-10 00:41:36 +08:00
chenos
307c4ca1dc
chore(versions): 😊 publish v0.7.2-alpha.3 ( #608 )
2022-07-08 11:02:33 +08:00
chenos
654f0380b6
chore(versions): 😊 publish v0.7.2-alpha.2 ( #606 )
2022-07-07 18:38:30 +08:00
chenos
1e7746292f
chore(versions): 😊 publish v0.7.2-alpha.1 ( #578 )
...
* chore(versions): 😊 publish v0.7.2-alpha.1
* feat: update docker image version
2022-07-05 09:55:22 +08:00
chenos
a8f951dfab
chore(versions): 😊 publish v0.7.1-alpha.7 ( #539 )
...
* fix(cli): upgrade from docker
* chore(versions): 😊 publish v0.7.1-alpha.6
* fix: export bug
* chore(versions): 😊 publish v0.7.1-alpha.7
* docs: update release notes
2022-06-26 11:25:13 +08:00
chenos
c9159c6cf4
chore(versions): 😊 publish v0.7.1-alpha.5
2022-06-26 07:36:22 +08:00
chenos
570d039f19
chore(versions): 😊 publish v0.7.1-alpha.4
2022-06-26 07:21:10 +08:00
chenos
cd5bd09c50
chore(create-nocobase-app): fix some bugs ( #538 )
...
* fix: tsconfig
* chore(versions): 😊 publish v0.7.1-alpha.1
* fix: update gitHead
* fix: update gitHead
* chore(versions): 😊 publish v0.7.1-alpha.2
* fix: update client/server entry file
* chore(versions): 😊 publish v0.7.1-alpha.3
* fix: check core dir
* fix: missing core dir
* feat: relationship fields are loaded on demand
2022-06-26 07:19:03 +08:00
SemmyWong
d831a9b889
feat: plugin export ( #479 )
...
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* feat: init export plugin
* feat: add client export
* fix: fix the word spell
* feat: export plugin done
* ci: change plugin-export version
* refactor: renders add ctx params
* fix: fix select and multipleSelect export
* fix: array convert string
* refactor: move SchemaInitializerPluginProvider
* fix: build error
* fix: change umijs config
* fix: update SchemaInitializerPluginProvider
* fix: import server
* fix: fix some bug
* fix: fix some bug
* refactor: export plugin refactor
* refactor: create all export fields by default
* fix: fix export plugin bug
* fix(plugin-collection-manager): uiSchema toJSON
* fix: update yarn.lock
* fix: fix init fields bug
* refactor: enum params pass by client
* fix: fix export table header title
* refactor: refactor dataIndex
* fix: fix dataIndex maybe complex object
* fix: add checkboxGroup in export plugin
* fix: add checkbox and i18n
* feat: improve code
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-06-14 15:01:53 +08:00
chenos
3fa13d8465
feat: audit logs ( #494 )
...
* feat: audit logs
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* feat: improve code
* fix: field load
2022-06-10 17:46:46 +08:00
chenos
838f4f18dc
chore(versions): 😊 publish v0.7.0-alpha.83
2022-06-01 12:49:30 +08:00
chenos
4820fd0937
chore(versions): 😊 publish v0.7.0-alpha.82
2022-05-27 00:02:32 +08:00
chenos
4412efc145
feat(client,sdk): improve api client ( #425 )
...
* feat(client,sdk): improve api client
* feat: add test cases
* docs: update doc
* fix(sdk): cannot destructure property 'authClass' of 'instance' as it is undefined
2022-05-27 00:00:59 +08:00
chenos
735581d20d
feat: add create-plugin command ( #423 )
...
* feat: add create-plugin command
* chore(versions): 😊 publish v0.7.0-alpha.79
* chore(versions): 😊 publish v0.7.0-alpha.80
* chore(versions): 😊 publish v0.7.0-alpha.81
2022-05-25 23:21:19 +08:00
chenos
c071217fff
fix: "typescript": "4.5.5"
2022-05-25 22:23:51 +08:00
chenos
45e756c558
fix(devtools): unexpected token '.'
2022-05-24 22:57:32 +08:00
chenos
b1313763e3
chore: unexpected token '.'
2022-05-24 22:55:09 +08:00
chenos
cd39e927b6
chore(versions): 😊 publish v0.7.0-alpha.78 ( #419 )
...
* chore(versions): 😊 publish v0.7.0-alpha.68
* chore(versions): 😊 publish v0.7.0-alpha.69
* chore(versions): 😊 publish v0.7.0-alpha.70
* chore(versions): 😊 publish v0.7.0-alpha.71
* chore(versions): 😊 publish v0.7.0-alpha.72
* chore(versions): 😊 publish v0.7.0-alpha.78
2022-05-24 19:37:15 +08:00
chenos
326297936b
chore(versions): 😊 publish v0.7.0-alpha.67
2022-05-24 15:53:45 +08:00
chenos
9c19e4d67f
chore(versions): 😊 publish v0.7.0-alpha.66
2022-05-24 15:52:21 +08:00
chenos
35d01a5fb0
chore(versions): 😊 publish v0.7.0-alpha.64
2022-05-24 15:26:13 +08:00
chenos
c01c6952a5
chore(versions): 😊 publish v0.7.0-alpha.63
2022-05-24 15:10:31 +08:00
chenos
c851033406
feat: update docs ( #413 )
...
* feat: add alert message
* chore(versions): 😊 publish v0.7.0-alpha.61
* fix(create-nocobase-app): add storage folder
* fix(docs): storage path error
* chore(versions): 😊 publish v0.7.0-alpha.62
* docs: update upgrading
* docs: update release notes
2022-05-23 18:48:15 +08:00
chenos
f0d0afbb19
chore(versions): 😊 publish v0.7.0-alpha.60
2022-05-23 15:02:29 +08:00
chenos
c90e5aee4c
chore(versions): 😊 publish v0.7.0-alpha.59
2022-05-23 09:34:53 +08:00
chenos
19ee42257e
chore(versions): 😊 publish v0.7.0-alpha.58
2022-05-22 15:04:15 +08:00
chenos
33f076e430
chore(versions): 😊 publish v0.7.0-alpha.57
2022-05-19 12:02:20 +08:00
chenos
6410bc8a75
feat: build, cli, devtools, sdk, docs...
...
* feat: nocobase build
* chore: update build scripts
* chore: update build scripts
* chore(versions): 😊 publish v0.7.0-alpha.33
* chore: independent version
* chore: nocobase build
* chore(versions): 😊 publish v0.7.0-alpha.34
* feat: nocobase-cli
* feat: nocobase-cli
* chore: update dependencies
* feat: improve code
* refactor: create-nocobase-app
* chore(versions): 😊 publish v0.7.0-alpha.35
* feat: @nocobase/devtools
* chore(versions): 😊 publish v0.7.0-alpha.36
* chore: update dependencies
* chore(versions): 😊 publish v0.7.0-alpha.37
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.38
* feat: improve code
* chore(versions): 😊 publish v0.7.0-alpha.39
* feat: update deps
* chore(versions): 😊 publish v0.7.0-alpha.40
* chore: update devDependencies
* chore(versions): 😊 publish v0.7.0-alpha.41
* fix: postinstall
* chore(versions): 😊 publish v0.7.0-alpha.42
* chore: improve code
* chore(versions): 😊 publish v0.7.0-alpha.43
* chore: execa
* chore(versions): 😊 publish v0.7.0-alpha.44
* chore(cli): allow unknown option
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: default envs
* chore(versions): 😊 publish v0.7.0-alpha.45
* fix: package argument for build command
* chore(versions): 😊 publish v0.7.0-alpha.46
* fix: improve code
* chore(versions): 😊 publish v0.7.0-alpha.48
* feat: clean & doc
* chore(versions): 😊 publish v0.7.0-alpha.49
* feat: compilation tips
* feat: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.50
* fix: unexpected token ] in JSON
* chore(versions): 😊 publish v0.7.0-alpha.51
* fix: upgrade command
* chore(versions): 😊 publish v0.7.0-alpha.52
* fix: remove export action from available action
* fix: db sync after upgrade
* chore(versions): 😊 publish v0.7.0-alpha.53
* feat: upgrade log
* chore(versions): 😊 publish v0.7.0-alpha.54
* docs: updates
* feat: updates
* docs(cli): update usage description
* feat: updates
* docs: updates
* docs: updates
* docs: toc
* feat: sdk
* docs: updates
* docs: updates
* docs: updates
* Update index.md
* docs: updates
* Update release-notes.md
* Update roadmap.md
* Update index.md
* Update contributing.md
* Update contributing.md
* Update index.md
* Update index.md
* Update nocobase-cli.md
* Update nocobase-cli.md
* fix: user plugin initialization data
* Update env.md
* Update env.md
* Update directory-structure.md
* Update index.md
* Update action-api.md
* Update filter-operators.md
* docs: update thanks.md
* Update index.md
* Update javascript-sdk.md
* Update rest-api.md
* Update installation.md
* Update installation.md
* Update upgrading.md
* Update upgrading.md
* Update upgrading.md
* Update installation.md
* Update installation.md
* Create release-notes.md
* Update release-notes.md
* feat: updates
* feat: update docs
* feat: update release-notes.md
* feat: switch language
* feat: updates
* Add files via upload
* Add files via upload
* Update important-features.md
* Update thanks.md
* feat: nocobase postinstall
* Update index.md
* Create why-different.md
* Update why-different.md
* Create who-is-for.md
* Rename who-is-for.md to who.md
* feat: update docs
* Rename why-different.md to why.md
* Update why.md
* Update menus.ts
* Update why-nocobase.md
* Create who.md
* Create why.md
* feat: updates
* chore(versions): 😊 publish v0.7.0-alpha.55
* feat: tips
* Update who.md
* Update who.md
* feat: update docs
* feat: update doc menus
* fix: plugin client dist
* docs: update contributing.md
* docs: update readme.md
* docs: update readme.md
* docs: update readme.md
* Update functional-zoning.md
* fix: br
Co-authored-by: Zhou <zhou.working@gmail.com>
2022-05-19 00:40:55 +08:00