v5.0.0-beta.0
版本发布时间: 2024-03-20 23:07:46
strapi/strapi最新发布版本:v5.0.2(2024-10-02 22:52:46)
What's Changed
- chore(tooling): add commitlint by @joshuaellis in https://github.com/strapi/strapi/pull/18402
- feat(core/database): add internal migrations by @alexandrebodin in https://github.com/strapi/strapi/pull/18437
- chore(core/strapi): remove postinstall by @alexandrebodin in https://github.com/strapi/strapi/pull/18467
- fix: re add deleted afterSync hook by @Marc-Roig in https://github.com/strapi/strapi/pull/18559
- fix: add react resolutions into root package json by @Marc-Roig in https://github.com/strapi/strapi/pull/18561
- [v5] Replace fast-deep-equal with lodash/fp isEqual by @innerdvations in https://github.com/strapi/strapi/pull/18512
- [v5] Remove support for MySQL v5 by @innerdvations in https://github.com/strapi/strapi/pull/18499
- [v5] Only support better-sqlite3 package for sqlite by @innerdvations in https://github.com/strapi/strapi/pull/18500
- [v5] Use mysql2 as the package for mysql by @innerdvations in https://github.com/strapi/strapi/pull/18503
- [v5] Run dialect initializations on every new connection in the pool by @innerdvations in https://github.com/strapi/strapi/pull/18588
- V5: add Document ID by @Marc-Roig in https://github.com/strapi/strapi/pull/18303
- [v5] use fetch api for strapi.fetch by @innerdvations in https://github.com/strapi/strapi/pull/18508
- [v5] Replace usage of http/https for requests with fetch api by @innerdvations in https://github.com/strapi/strapi/pull/18510
- chore: remove ee direct imports by @alexandrebodin in https://github.com/strapi/strapi/pull/18897
- [v5] ] Set default log level to 'info' by @innerdvations in https://github.com/strapi/strapi/pull/18904
- feat: Document Service by @Marc-Roig in https://github.com/strapi/strapi/pull/18558
- chore: update typescript module by @innerdvations in https://github.com/strapi/strapi/pull/18938
- chore: update knex to 3.0.1 by @innerdvations in https://github.com/strapi/strapi/pull/18936
- [Upgrade Tool] Refactor by @Convly in https://github.com/strapi/strapi/pull/18995
- [Upgrade Tool] Upgrade package.json dependencies by @Convly in https://github.com/strapi/strapi/pull/19005
- [Upgrade Tool] Dependencies installation during the upgrade process by @Convly in https://github.com/strapi/strapi/pull/19009
- chore(core): split strapi/strapi & strapi/core by @alexandrebodin in https://github.com/strapi/strapi/pull/18927
- Upgrade tool minor and patch commands by @Bassel17 in https://github.com/strapi/strapi/pull/19027
- chore(strapi/strapi): simplify code by @alexandrebodin in https://github.com/strapi/strapi/pull/19031
- chore: lint test scripts by @innerdvations in https://github.com/strapi/strapi/pull/19057
- [Upgrade Tool] Chores / Quality of Life Improvements by @Convly in https://github.com/strapi/strapi/pull/19053
- [Content manager] Refactor useContentManagerInitData to remove ModelsContext by @jhoward1994 in https://github.com/strapi/strapi/pull/19042
- chore: move commands from admin back to strapi/strapi by @alexandrebodin in https://github.com/strapi/strapi/pull/19091
- Select and run codemods only by @christiancp100 in https://github.com/strapi/strapi/pull/19083
- Add unit tests for upgrade tool by @christiancp100 in https://github.com/strapi/strapi/pull/19056
- Add tests for the upgrade task by @christiancp100 in https://github.com/strapi/strapi/pull/19111
- [TS] Add types for configuration files by @innerdvations in https://github.com/strapi/strapi/pull/17612
- Initialize CLI e2e testing framework by @innerdvations in https://github.com/strapi/strapi/pull/19071
- Upgrade Tool by @innerdvations in https://github.com/strapi/strapi/pull/19148
- Only support better-sqlite3 package for sqlite by @christiancp100 in https://github.com/strapi/strapi/pull/19155
- Refactor cli code by @alexandrebodin in https://github.com/strapi/strapi/pull/19181
- chore: fix minor ts issues in cli by @alexandrebodin in https://github.com/strapi/strapi/pull/19180
- feat: ignore locale parameter on non localized content types by @Marc-Roig in https://github.com/strapi/strapi/pull/19191
- [CLI Tests] Add seeding capabilities by @Convly in https://github.com/strapi/strapi/pull/19170
- feat: extend i18n attributes to every content type by @Marc-Roig in https://github.com/strapi/strapi/pull/19058
- chore: migration ListSettingsView to ts by @alexandrebodin in https://github.com/strapi/strapi/pull/19214
- chore: update to use react-router@6+ by @joshuaellis in https://github.com/strapi/strapi/pull/19184
- Upgrade to Apollo v4 by @innerdvations in https://github.com/strapi/strapi/pull/19173
- [Upgrade Tool] Add internal support for upgrading to any version by @Convly in https://github.com/strapi/strapi/pull/19213
- feat: rename document engine by @Marc-Roig in https://github.com/strapi/strapi/pull/19060
- [CLI Tests] Init GitHub CI Workflow by @Convly in https://github.com/strapi/strapi/pull/19221
- chore: remove comment about deprecation by @innerdvations in https://github.com/strapi/strapi/pull/19232
- Migrate EditSettingsView to ts by @alexandrebodin in https://github.com/strapi/strapi/pull/19223
- Add seed data and schemas to CLI e2e app template by @innerdvations in https://github.com/strapi/strapi/pull/19226
- Fix uncaught ts issues by @alexandrebodin in https://github.com/strapi/strapi/pull/19243
- fix(cm): create entries by @joshuaellis in https://github.com/strapi/strapi/pull/19254
- Remove deprecated isSupportedImage by @innerdvations in https://github.com/strapi/strapi/pull/19204
- chore: flatten core files structure by @alexandrebodin in https://github.com/strapi/strapi/pull/19260
- fix: remove useless codemod by @innerdvations in https://github.com/strapi/strapi/pull/19268
- Move dts commands back to strapi/strapi by @alexandrebodin in https://github.com/strapi/strapi/pull/19261
- chore: remove last circular dep by @alexandrebodin in https://github.com/strapi/strapi/pull/19263
- chore: remove default index page from public middleware by @alexandrebodin in https://github.com/strapi/strapi/pull/19270
- fix(content-manager): navigation issues by @jhoward1994 in https://github.com/strapi/strapi/pull/19220
- chore: remove experimental logs for plugin CLI commands by @joshuaellis in https://github.com/strapi/strapi/pull/19287
- chore(cm): refactor to use redux-toolkit-query by @joshuaellis in https://github.com/strapi/strapi/pull/19281
- enhancement: U&P config register.allowedFields defaults to empty array by @innerdvations in https://github.com/strapi/strapi/pull/19236
- enhancement: refactor env-only values into configuration by @innerdvations in https://github.com/strapi/strapi/pull/19250
- chore: make vite the default bundler for the admin by @joshuaellis in https://github.com/strapi/strapi/pull/19283
- chore: simplify content-type logic by @alexandrebodin in https://github.com/strapi/strapi/pull/19303
- chore: setup configuration in one place only by @alexandrebodin in https://github.com/strapi/strapi/pull/19273
- chore: set up content history files by @remidej in https://github.com/strapi/strapi/pull/19298
- Remove V4 credentials structure by @christiancp100 in https://github.com/strapi/strapi/pull/19264
- chore: cleanup core utils org by @alexandrebodin in https://github.com/strapi/strapi/pull/19307
- feat(cm): set up history page by @remidej in https://github.com/strapi/strapi/pull/19309
- feat(history): add history-version content type by @remidej in https://github.com/strapi/strapi/pull/19316
- fix: skip flakey test by @Marc-Roig in https://github.com/strapi/strapi/pull/19326
- chore: lift compontent logic out of the db and start exposing models by @alexandrebodin in https://github.com/strapi/strapi/pull/19324
- feat: Draft & Publish V5 by @Marc-Roig in https://github.com/strapi/strapi/pull/18941
- enhancement: restrict config filenames by @innerdvations in https://github.com/strapi/strapi/pull/19255
- docs: initialize configuration contributor docs by @innerdvations in https://github.com/strapi/strapi/pull/19288
- chore: add a simple model registry by @alexandrebodin in https://github.com/strapi/strapi/pull/19342
- Improve Type Inference for Subtypes in Attribute.Relation Properties by @Convly in https://github.com/strapi/strapi/pull/19334
- [breaking change] Remove the TOrigin Type Param for Attribute.Relation by @Convly in https://github.com/strapi/strapi/pull/19335
- [core] document unique field validation per content type and locale by @jhoward1994 in https://github.com/strapi/strapi/pull/19153
- feat(history): capture content types history by @remidej in https://github.com/strapi/strapi/pull/19343
- Prevent Type Generation From Failing on Functions as Default Value by @Convly in https://github.com/strapi/strapi/pull/19367
- [breaking change] Remove the TOrigin Type Param for Attribute.UID by @Convly in https://github.com/strapi/strapi/pull/19336
- fix unique and UID validation logic by @jhoward1994 in https://github.com/strapi/strapi/pull/19410
- feat: add history versions endpoint by @remidej in https://github.com/strapi/strapi/pull/19386
- chore: rename webhooks & allow custom joinColumn by @alexandrebodin in https://github.com/strapi/strapi/pull/19344
- feat: list history versions in the history page sidebar by @remidej in https://github.com/strapi/strapi/pull/19421
- Chore: fix playwright test issue by @innerdvations in https://github.com/strapi/strapi/pull/19453
- feat: enable CLI tests by @christiancp100 in https://github.com/strapi/strapi/pull/19242
- feat: modify the default value of Attribute.Component Repeatable by @Convly in https://github.com/strapi/strapi/pull/19338
- enh: add logger level to server config by @innerdvations in https://github.com/strapi/strapi/pull/19371
- enhancement: make policy error public by @innerdvations in https://github.com/strapi/strapi/pull/19374
- feat(content-history): add version header by @markkaylor in https://github.com/strapi/strapi/pull/19462
- feat(content-manager): display history versions by @remidej in https://github.com/strapi/strapi/pull/19458
- fix: q search flakey test by @Marc-Roig in https://github.com/strapi/strapi/pull/19479
- test(e2e): re-enable suite related to content-manager by @joshuaellis in https://github.com/strapi/strapi/pull/19493
- fix: validate query populate by @innerdvations in https://github.com/strapi/strapi/pull/19372
- fix(history): fetch single-types by @markkaylor in https://github.com/strapi/strapi/pull/19506
- fix: history page back button by @remidej in https://github.com/strapi/strapi/pull/19553
- fix: prevent infinite loop opening pool connections in mysql by @innerdvations in https://github.com/strapi/strapi/pull/19572
- test(database): init unit tests for createMetadata by @innerdvations in https://github.com/strapi/strapi/pull/19560
- fix(history): refetch history versions on mount by @remidej in https://github.com/strapi/strapi/pull/19566
- chore: use db model instead of content type by @remidej in https://github.com/strapi/strapi/pull/19563
- feat(cm): D&P pt2 by @joshuaellis in https://github.com/strapi/strapi/pull/19380
- chore: add centralized methods for replacing hardcoded strings for database identifiers by @innerdvations in https://github.com/strapi/strapi/pull/19460
- chore(database): use naming functions for identifiers in metadata by @innerdvations in https://github.com/strapi/strapi/pull/19561
- chore(database): refactor database schema to use naming functions by @innerdvations in https://github.com/strapi/strapi/pull/19596
- chore(database): add long db identifiers shortening algorithm by @innerdvations in https://github.com/strapi/strapi/pull/19567
- chore(database): clean up db naming methods by @innerdvations in https://github.com/strapi/strapi/pull/19608
- chore: begin work on dismantling helper-plugin by @joshuaellis in https://github.com/strapi/strapi/pull/19607
- chore: start content-api v5 migration by @alexandrebodin in https://github.com/strapi/strapi/pull/19531
- test(e2e): add i18n e2e tests by @joshuaellis in https://github.com/strapi/strapi/pull/19588
- feat(history): delete expired history versions by @markkaylor in https://github.com/strapi/strapi/pull/19620
- feat(document-service): document id to id by @Marc-Roig in https://github.com/strapi/strapi/pull/19573
- chore: merge draft & publish into history by @remidej in https://github.com/strapi/strapi/pull/19632
- chore(helper-plugin)!: remove form by @joshuaellis in https://github.com/strapi/strapi/pull/19612
- fix(content-releases): remove argument passed to test render by @markkaylor in https://github.com/strapi/strapi/pull/19638
- feat(dts): support models and contentTypes by @markkaylor in https://github.com/strapi/strapi/pull/19604
- chore(strapi): make watch-admin default on develop by @joshuaellis in https://github.com/strapi/strapi/pull/19647
- chore(history): add e2e tests by @markkaylor in https://github.com/strapi/strapi/pull/19525
- fix(cm): fetch the init data on every mount by @joshuaellis in https://github.com/strapi/strapi/pull/19650
- test(e2e): fix transfer token tests by @joshuaellis in https://github.com/strapi/strapi/pull/19672
- chore: merge repo & doc-engine into one before cleaning up by @alexandrebodin in https://github.com/strapi/strapi/pull/19665
- chore(helper-plugin)!: remove some components by @joshuaellis in https://github.com/strapi/strapi/pull/19640
- chore: content-api response format header by @alexandrebodin in https://github.com/strapi/strapi/pull/19675
- chore(helper-plugin)!: remove page decorators by @joshuaellis in https://github.com/strapi/strapi/pull/19662
- fix(content-manager): compute document status based on locale by @jhoward1994 in https://github.com/strapi/strapi/pull/19653
- feat(cm): add content history by @remidej in https://github.com/strapi/strapi/pull/19315
- feat: add history document action by @remidej in https://github.com/strapi/strapi/pull/19683
- Fix: audit logs content type by @Bassel17 in https://github.com/strapi/strapi/pull/19694
- chore!: remove GenericInput by @joshuaellis in https://github.com/strapi/strapi/pull/19677
- chore(helper-plugin)!: remove useCollator, useFilter & useCallbackRef by @joshuaellis in https://github.com/strapi/strapi/pull/19680
- feat: handle history version pagination params by @remidej in https://github.com/strapi/strapi/pull/19594
- chore: clean i18n code that is no longer necessary by @alexandrebodin in https://github.com/strapi/strapi/pull/19700
- fix: list-view delete action by @joshuaellis in https://github.com/strapi/strapi/pull/19711
- feat(history): protect history page by @markkaylor in https://github.com/strapi/strapi/pull/19689
- chore: graphql v5 schema changes by @alexandrebodin in https://github.com/strapi/strapi/pull/19685
- chore: refactor utils by @alexandrebodin in https://github.com/strapi/strapi/pull/19725
- chore!: remove aliases from webpack & force installing deps by @joshuaellis in https://github.com/strapi/strapi/pull/19716
- fix: use module uid for config namespace instead of dot notation by @innerdvations in https://github.com/strapi/strapi/pull/19365
- chore(helper-plugin): deprecate MORE components by @joshuaellis in https://github.com/strapi/strapi/pull/19718
- chore: cleanup i18n dead code by @alexandrebodin in https://github.com/strapi/strapi/pull/19733
- chore: refactor CM, CTB & i18n to accomodate option D&P by @joshuaellis in https://github.com/strapi/strapi/pull/19712
- feat: add basic pagination to history frontend by @remidej in https://github.com/strapi/strapi/pull/19729
- fix: remove regex validation when validating locale by @Marc-Roig in https://github.com/strapi/strapi/pull/19713
- feat: relations no dp by @Marc-Roig in https://github.com/strapi/strapi/pull/19682
- feat: disable dp by @Marc-Roig in https://github.com/strapi/strapi/pull/19671
- feat(cm): reimplement relations for draft & publish by @joshuaellis in https://github.com/strapi/strapi/pull/19642
- fix(admin): wip allow empty list view configuration by @jhoward1994 in https://github.com/strapi/strapi/pull/19695
- feat: migrate on dp enabling disabling by @Marc-Roig in https://github.com/strapi/strapi/pull/19697
- feat: disable dp by default by @Marc-Roig in https://github.com/strapi/strapi/pull/19743
- fix(strapi): vite crashes because files can't be found by @joshuaellis in https://github.com/strapi/strapi/pull/19751
- chore: helper plugin remove utils: wrapAxiosInstance, setHexOpacity, awaitToJs by @simotae14 in https://github.com/strapi/strapi/pull/19753
- fix(i18n): close modal after successful locale creation by @jhoward1994 in https://github.com/strapi/strapi/pull/19755
- chore: deprecate entity-service and delegate to document service by @alexandrebodin in https://github.com/strapi/strapi/pull/19728
- fix(cm): errors leaking from draft to published tab by @joshuaellis in https://github.com/strapi/strapi/pull/19747
- chore: helper plugin remove difference util by @simotae14 in https://github.com/strapi/strapi/pull/19757
- fix: updated at value when enabling DP by @Marc-Roig in https://github.com/strapi/strapi/pull/19766
- chore: remove getFileExtension and replace it with its code where used by @simotae14 in https://github.com/strapi/strapi/pull/19762
- chore!: refactor filters by @joshuaellis in https://github.com/strapi/strapi/pull/19739
- chore: database enhancements by @alexandrebodin in https://github.com/strapi/strapi/pull/19770
- chore: remove pxToRem and replace it with the returning value of the function by @simotae14 in https://github.com/strapi/strapi/pull/19771
- chore: mark doc service as beta by @Marc-Roig in https://github.com/strapi/strapi/pull/19767
- chore: remove request and once from the helper plugin utils by @simotae14 in https://github.com/strapi/strapi/pull/19775
- chore: helper-plugin remove prefixFileUrlWithBackendUrl by @simotae14 in https://github.com/strapi/strapi/pull/19764
- fix: reserve attribute name 'locale' in CTB by @innerdvations in https://github.com/strapi/strapi/pull/19784
- ci: use only mysql 8 in workflows by @innerdvations in https://github.com/strapi/strapi/pull/19785
- fix(history): save status on version create by @markkaylor in https://github.com/strapi/strapi/pull/19737
- feat(admin): create internal history for universal back button by @joshuaellis in https://github.com/strapi/strapi/pull/19746
- feat: clone refactor by @Marc-Roig in https://github.com/strapi/strapi/pull/19765
- chore!: remove DynamicTable and move Table by @joshuaellis in https://github.com/strapi/strapi/pull/19781
- test: update d&p snapshot by @innerdvations in https://github.com/strapi/strapi/pull/19789
- feat: add drag-and-drop to relations by @joshuaellis in https://github.com/strapi/strapi/pull/19788
- chore!: move confirm dialog to admin package and refactor by @joshuaellis in https://github.com/strapi/strapi/pull/19782
- fix: fix cm metadata when dp is disabled by @Marc-Roig in https://github.com/strapi/strapi/pull/19792
- chore: design-updates by @joshuaellis in https://github.com/strapi/strapi/pull/19795
- chore!: remove CheckPermissions component by @joshuaellis in https://github.com/strapi/strapi/pull/19793
- chore(helper-plugin)!: move GuidedTour by @joshuaellis in https://github.com/strapi/strapi/pull/19808
- chore(helper-plugin)!: move tracking feature by @joshuaellis in https://github.com/strapi/strapi/pull/19809
- feat: do not send status relations by @Marc-Roig in https://github.com/strapi/strapi/pull/19776
- feat: handle db errors on document service by @Marc-Roig in https://github.com/strapi/strapi/pull/19806
- feat: get relation default locale by @Marc-Roig in https://github.com/strapi/strapi/pull/19803
- chore!: remove translatedErrors from the helper-plugin by @simotae14 in https://github.com/strapi/strapi/pull/19814
- fix: failed to dynamically load chunk by @Marc-Roig in https://github.com/strapi/strapi/pull/19821
- fix(admin): CM access when using custom conditions by @jhoward1994 in https://github.com/strapi/strapi/pull/19820
- chore(helper-plugin)!: move getPrefixedId, useAPIErrorHandler, normalizeAPIError and getAPIInnerErrors by @simotae14 in https://github.com/strapi/strapi/pull/19823
- chore(deps): update some by @joshuaellis in https://github.com/strapi/strapi/pull/19810
- chore(helper-plugin)!: move useStrapiApp and remove Library / CustomFields by @joshuaellis in https://github.com/strapi/strapi/pull/19822
- chore: set default log level to 'http' by @innerdvations in https://github.com/strapi/strapi/pull/19827
- chore(helper-plugin)!: remove auto-reload blockers by @joshuaellis in https://github.com/strapi/strapi/pull/19828
- chore(helper-plugin)!: remove getYupInnerErrors by @simotae14 in https://github.com/strapi/strapi/pull/19825
- chore(helper-plugin)!: move Notifications & AppInfo to admin by @joshuaellis in https://github.com/strapi/strapi/pull/19831
- feat: make relation status handling smarter by @Marc-Roig in https://github.com/strapi/strapi/pull/19833
- chore: remove locale when disabling i18n by @Marc-Roig in https://github.com/strapi/strapi/pull/19819
- chore: update u&p by @alexandrebodin in https://github.com/strapi/strapi/pull/19834
- chore!(helper-plugin): remove useLockScroll / useClipboard / useFocusWhenNavigate / useQuery / useFocusInputField by @joshuaellis in https://github.com/strapi/strapi/pull/19835
- feat: disabled dp with content releases by @Marc-Roig in https://github.com/strapi/strapi/pull/19756
- fix(cm): send status & locale with disconnect array by @joshuaellis in https://github.com/strapi/strapi/pull/19832
- fix: cm relation bugs by @Marc-Roig in https://github.com/strapi/strapi/pull/19842
- chore(helper-plugin)!: remove useSelectionState by @simotae14 in https://github.com/strapi/strapi/pull/19841
- fix: make ctb refetch data after save or update by @Bassel17 in https://github.com/strapi/strapi/pull/19844
- chore(helper-plugin)!: move getFetchClient and useFetchClient by @simotae14 in https://github.com/strapi/strapi/pull/19840
- chore(helper-plugin)!: remove prefixPluginTranslations by @simotae14 in https://github.com/strapi/strapi/pull/19845
- chore(helper-plugin)!: remove stopPropagation by @simotae14 in https://github.com/strapi/strapi/pull/19846
- chore: make i18n plugin a dep & required by @alexandrebodin in https://github.com/strapi/strapi/pull/19843
- chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState by @joshuaellis in https://github.com/strapi/strapi/pull/19847
Full Changelog: https://github.com/strapi/strapi/compare/v4.21.0...v5.0.0-beta.0