17.0.0
版本发布时间: 2023-09-30 20:44:56
plone/volto最新发布版本:17.5.0(2023-11-10 17:54:48)
17.0.0 (2023-09-30)
Breaking
-
Volto 17 drops support for NodeJS 14, and adds support for Node.js 18. Please see the upgrade guide for more information.
Volto 17 now uses Webpack 5. #4086
-
Add custom CSS animation to hamburger menu. Removed
hamburgers
dependency. @danalvrz #4433 -
Improve i18n script ordering of addons, so that addons can override translations from their dependencies. @davisagli #4495
-
Use proper heading tag (depending on the headline) in default listing template @sneridagh #4848
-
Remove useToken & useContent hooks-@Tishasoumya-02 #4951
-
Added new Image component to render optimized images @pnicolli @davisagli #3337
-
Update
@plone/scripts
to 3.0.0. @davisagli #5040 -
Spin off relation stats action. Get relation stats with getRelationStats() instead of with queryRelations(). @ksuess Refactor relations actions: slightly change the shape of the redux state for
queryRelations
to follow common signatures. @ksuess #5041 -
Upgrade to Cypress 13 @sneridagh #5163
-
Removed support for Node.js 16. It is no longer supported by the Node.js community. @davisagli #5166
-
Updated Prettier @sneridagh Upgrade Stylelint @sneridagh Fixed introduced violations due to the upgrades @sneridagh Updated HTML block and prettier loadables to match the new async Prettier plugin API @sneridagh #5216
-
Improve linked headlines after feedback: Disable the feature for anonymous users of the website Disable it for the page title Change the wording of the notification from "Link copied to clipboard" to "Anchor link copied to the clipboard" to make it more obvious that an anchor link has been copied Normalize the slug to use only ascii characters @sneridagh #5225
Feature
-
Add directive to cache stable resources in browser or intermediate server for 365 days by default directly in the SSR Express server, static resource that could change after a new deployment for 1 minute. @mamico #2216
-
Use popperjs in BlockChooser, move the markup to the bottom of the body tag. @sneridagh #4141
-
Improvements to the dev API proxy:
- Prefer RAZZLE_INTERNAL_API_PATH over RAZZLE_API_PATH as the target of the proxy. The target of the API proxy is now always logged on startup, even in production mode.
- Support proxying to a backend served over https. For this configuration it might be necessary to set RAZZLE_DEV_PROXY_INSECURE=1 if the backend certificate can't be verified.
[davisagli] #4434
-
Add option to hide empty listing blocks @ksuess #4393
-
Add Vale to CI for spell and style checks. @MAX-786 #4423
-
DefaultView (view of fields for content types with blocks disabled): Show field name as tip on hover of label. @ksuess #4598
-
Support RelationList field with named StaticCatalogVocabulary and SelectWidget. @ksuess #4614
-
Support for declaring a theme in
volto.config.js
or inpackage.json
Add two entry points to allow extension of a theme from other add-ons. @sneridagh #4625 -
Set sameSite in I18N_LANGUAGE cookie @sneridagh #4627
-
Added querystring search get option. @robgietema #4658
-
Changed control panel list to be fetched server-side not client-side @JeffersonBledsoe #3749
-
Add Finnish translation (contributed by @rioksane) @erral #4084
-
Search Block: Add support for advanced facets that are only displayed on demand. [pbauer, razvanMiu, claudiaifrim] #4783
-
Display PAS validation errors. [tschorr] #4801
-
Added a CSS identifier to the Slate style menu options. @razvanMiu #4846
-
Use a Container from the registry in the Form component and fallback to the Semantic UI one. @sneridagh #4849
-
Update Brazilian Portuguese translations @ericof #4853
-
Allow to deselect color in ColorPickerWidget. @ksuess #4838
-
Configurable Container component from registry for some key route views. @sneridagh #4871
-
Add and enforce a new config setting,
maxFileUploadSize
. @davisagli #4868 -
Added slug-based linked headings in
volto-slate
. @tiberiuichim, @nileshgulia1 #4287 -
Refactored Anontools components. @Tishasoumya-02 #4845
-
New block: Grid - A container of blocks, arranged in horizontal direction. @sneridagh New primitive: Container - A primitive to build blocks containing other blocks. @sneridagh #3180
-
Use container from component registry in content type views, if defined. @sneridagh #4962
-
Refactor CommentEdit -@Tishasoumya-02 #4075
-
Facets should be able to decide themselves if they should show or not. Made defaultShowFacet to be a fallback in case there is no custom function for each facet type. @tedw87 #4579
-
Add backward compatibility to
slate_richtext
with fields that are plain text @razvanMiu #4796 -
Refactor-Contact Form @Tishasoumya-02 #4850
-
Refactor BreadcrumbsComponent @Tishasoumya-02 #4858
-
Refactor SearchWidget @Tishasoumya-02 #4864
-
Refactor LinkView -@Tishasoumya-02 #4866
-
Use container from component registry in content type views, if defined. @sneridagh #4962
-
Add /ok route as an express middleware @ionlizarazu #4375
-
Add
Links to item
view (available via object's more menu) @pgrunewald #4787 -
Tune 'Links to item' view to 'Links and references' view. Show all relation types. @ksuess @stevepiercy #4842
-
Update browserlist to latest @sneridagh #4977
-
Use all the apiExpanders in use, so we perform a single request for getting all the required data. @sneridagh #4946
-
Add getFieldURL helper function used to get the url value of a field based on its structure. @razvanMiu #2252
-
Refactor Delete -@Tishasoumya #4890
-
Refactor workflow -@Tishasoumya-02 #4902
-
Refactor Request Reset Password-@Tishasoumya-02 #4938
-
Refactor Actions-@Tishasoumya-02 #4939
-
Refactor Blocks/Maps/Edit component -@Tishasoumya-02 #4958
-
Updated Italian translations @sabrina-bongiovanni #4987
-
Made selectedView and className props available in the SearchBlockView.jsx to improve styling development. @danalvrz #4997
-
Refactor Comment -@Tishasoumya-02 #4074
-
Refactor Logout component @Tishasoumya-02 #4860
-
Refactore SearchTags @Tishasoumya-02 #4873
-
Use the
@navroot
endpoint to build thetitle
tag. @erral Use the@site
endpoint to render the logo. @erral Register a widget to set the logo in the site control panel. @erral #3537 -
Refactor Navigation -@Tishasoumya-02 #4076
-
Added loading spinner and disable search button while data is fetching. @tedw87 #4551
-
User Control panel improvements. See #4551 @erral #4572
-
Messages Component Refactor - @Tishasoumya-02 #4926
-
Refactor Login -@Tishasoumya-02 #4933
-
Add external className to UniversalLink for external link. @iFlameing #5109
-
Updated Spanish translation @macagua #5120
-
(feat): Update toc block entries @dobri1408 #5146
-
Views cypress test -@Tishasoumya #5149
-
Added support for Node.js 20. @davisagli #5166
-
Cypress test to test if 'Search results: number' text is present @ionlizarazu #5171
-
TypeScript support in core @sneridagh @ninanoleto #4662
-
Add external className to slate Link view. @iFlameing #5109
-
Refactor PersonalTools component -@Tishasoumya-02 #4954
-
Refactor Sidebar component-@Tishasoumya-02 #4964
-
Refactor ContentsPropertiesModal -@Tishasoumya-02 #4968
-
Refactor ContentsWorkflowModal -@Tishasoumya-02 #4969
-
Refactor ContentsRenameModal -@Tishasoumya-02 #4970
-
Refactor ContentsTagsModal -@Tishasoumya-02 #4971
-
Updated Spanish translations @macagua #5200
-
add canonical link @mamico #5215
Bugfix
-
fix: newsitem and event views wrapper classNames @nzambello #4443
-
Fix weird GHA failure on config option not supported @sneridagh #4466
-
Fix history view dropdown for first entry, showing 'Revert to this version option' always @sneridagh #4471
-
Fix order of row of long table in edit and view mode @iFlameing #4473
-
Improve flaky test in autofocus Cypress tests @sneridagh #4475
-
Update build dependencies (razzle and react-dev-utils) @davisagli #3997
-
Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 #4110
-
Fix focus steal in Form @tedw87 #4230
-
Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. #4301
-
Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz #4316
-
bugfix: conditionally render all delete items in confirm widget #4336
-
Make the Site Setup control panel responsive for small screen devices. @lord2anil #4484
-
The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 #4492
-
Make Drag and Drop list work with container-type inline-size. @robgietema #4497
-
(fix): Paste button disappearing while coping from nested blocks @dobri1408 #4505
-
Patch updates for some dependencies. @davisagli #4520
-
Fix flaky Cypress test introduced in #4521 @sneridagh #4522
-
Fix Search is case sensitive in Block chooser @iRohitSingh #4526
-
InternalURl helper method should incorporate externalRoutes settings into consideration. @iFlameing #4559
-
Update message add-on control panel: remove 'buildout', update reference. @ksuess #4574
-
Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza #4159
-
Fix regexp that checks valid URLs and improve tests [cekk] #4601
-
Fixed wrong localization on password reset page @iRohitSingh #4656
-
fix sitemap.xml.gz not is not compressed @dobri1408 #4663
-
Generate a split sitemap @reebalazs #4638
-
Fix Move to top of folder ordering in folder content view @iFlameing #4690
-
Revert "Add current page parameter to the route in the listing and search block pagination (#4159)" @sneridagh #4695
-
Fix search block in edit mode re-queries multiple blocks with an empty search text @reebalazs #4697
-
Apply suggestion from browser for password field @lord2anil #3990
-
Open all accordion'd content in InlineForm by default, allow arbitrarily close any number of them. @sneridagh #4178
-
Fix duplicating listing block by removing block uid from blocks data. @ksuess #4234
-
The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 #4506
-
(fix):Object.normaliseMail: Cannot read properties of null @dobri1408 #4558
-
Update add-on control panel tranlsations: install -> activate. @ksuess #4582
-
Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs #4638
-
Fix Move to top of folder ordering in folder content view by searching also @iFlameing #4690
-
Fix faulty D&D elements in ObjectBrowserList widget @sneridagh #4703
-
Fix fetching API paths with urlencoded characters in the querystring. @davisagli #4718
-
Fix language negotiation for language codes that include a region (e.g.
pt-br
). @davisagli #4644 -
Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g #4693
-
Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli #4760
-
Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli #4764
-
Fix bug showing logs at the browsers when richtext widget is use @claytonc #4780
-
Update relations control panel layout @danalvrz #4794
-
Fix hot module reloading of changes to
@plone/volto
. @davisagli #4799 -
Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh #4802
-
Fix html tag lang attribute in SSR @sneridagh #4803
-
Add newest supported languages to
Language
constants list @sneridagh #4811 -
Fix special characters in request urls @pnicolli @mamico @luca-bellenghi @cekk #4825
-
Fix block is undefined in StyleWrapper helper when building classnames @sneridagh #4827
-
Fix navigation sections in 404 pages @sneridagh #4836
-
Convert header class to function. @gomez #4767
-
Do not break validation on required number field with value 0 @cekk #4841
-
Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza #4159
-
Fix regression in horizontal scroll in contents view, add it back @sneridagh #4872
-
Fix and improve the
addStyling
helper @sneridagh #4880 -
Update to version 6.0.5 of Plone backend. @davisagli #4897
-
Remove anonymous function calls. Remove default exports from. @sneridagh #4917
-
Fix Annontools StoryBook @sneridagh #4921
-
Fix the experimental add new block button position, compensate the icon width to center it correctly @sneridagh #4924
-
Fix temporary rendering of folder contents while query results are loading. @davisagli #4351
-
Fix isBlacklisted method check for volto externalRoutes #4725
-
Add a marker in the props passed to
RenderBlocks
in the Grid block view @sneridagh #4932 -
Fix handling of overriden image in Teaser, improve in case that a custom image component is present. @sneridagh #4964
-
Fix temporary rendering of folder contents while query results are loading. @davisagli #4351
-
Fix isBlacklisted method check for volto externalRoutes #4725
-
fix(styleMenu): Highlight selected block styles @nileshgulia1 #4851
-
Fix tablet main menu. #4859
-
Fix the table of contents block so that if one or more items get out of the viewport, a dropdown menu appears with all the items that do not fit the viewport and also added an option to make the TOC sticky. @MihaelaCretu11 #4907
-
Add a marker in the props passed to
RenderBlocks
in the Grid block view @sneridagh #4932 -
Typo in Italian locales @mamico #4944
-
Fix handling of overriden image in Teaser, improve in case that a custom image component is present. @sneridagh #4964
-
Fix slateTable still uses old style of sidebar generation @iFlameing #4972
-
Fix password autocomplete hint for login form. @davisagli #4976
-
Handle condition for yearly frequency in recurrence @BhuvaneshPatil #4498
-
Fix search block input clear button doesn't reset the search @iFlameing #4828
-
Fix the condition deciding on listing pagination format so it takes into account container blocks as well @sneridagh #4978
-
Fix delete confirmation to handle empty
breaches
. @davisagli #4832 -
Fix Volto contents - set properties Exclude from navigation - bad request, set exclude_from_nav to boolean #4855
-
Add XSendfile headers to files and images middleware @instification #4984
-
search-block: translate some missing strings to german and fix a typo. @pbauer #4996
-
Add image block className support (Style wrapper). @sneridagh #5018
-
Fix for 'no value' entry in table of content field. @satyam4p #5022
-
Fix updating roles when username contains a period (.). @nileshgulia1 #5025
-
Fix hover and focused border for block child. @claudiaifrim #5028
-
Enhance display and repairing of broken relations. @ksuess #5033
-
Fix selecting grid block when a sub-block is selected. @davisagli #5036
-
Update versions of semver and release-it. @davisagli #5053
-
Fix regression from v17a22: It was not possible to select a block in a grid column unless the grid was already selected. @davisagli
Fix regression from v17a22: Block outline was blocking clicks in some cases. @davisagli #5039
-
Fix handling of exceptions in reducers. @davisagli #5069
-
Add missing i18n for ToC block. @davisagli #5073
-
Allow a user to register when they use an email address as their username. #5031 @mehedikhan72 #5031
-
Fix querystringResults subrequests id, to work properly in duplicate pages where blocks id's are the same. @giuliaghisini #5070
-
Fix i18n for link settings fieldset in the image block @iRohitSingh #5075
-
Prevent caching the outdated browser message in a shared cache. @davisagli #5076
-
Fix accessibility of the content folder buttons. @SaraBianchi #5101
-
For folders inside navigation roots, properly fetch navigation from the navroot, rather then the site root @tiberiuichim #5106
-
Fix uncached case when the widget is slate on diff @dobri1408 #5107
-
Fix load addon translations: last addon translations wins @giuliaghisini #5113
-
[Visual bugfix] Match the original mockups for PastanagaUI in regards of the error messages in form field elements @sneridagh #5115
-
Fix default toc renderer for nested entries @pnicolli #5116
-
Fix inherit checkbox in sharing view @sneridagh #5514
-
Fix for responsive error in the login page when the width of the screen decreases. @suman9893 #3250
-
Fix back button in the search block to execute the search by adding two useEffects that update the facets and search data based on the current URL. @MihaelaCretu11 #4402
-
fix : RecursiveWidget is incorrectly translated. @suman9893 #4503
-
Fix use of CSS modules in webpack 5. @wesleybl #5019
-
Fix toc accessibility issue @dobri1408 #5058
-
Fix storybook config for project generator. Add support for SCSS, upgrade to webpack 5 in there as well. @sneridagh #5132
-
Don't show
No value
option in SelectWidget and ArrayWidget if default value is 0. @wesleybl #5151 -
Fix SelectWidget throwing error when editing a recently created content. @iFlameing #5154
-
Fix editing layout for blocks using schema enhancers. @iFlameing, @davisagli #5158
-
Fix ContentRules add and edit forms for languages other than English. @ericof #5161
-
Fix search block search results number @ionlizarazu #5171
-
fix flaky cypress in blocks-listing.js @nileshgulia1 #5173
-
Fix regression in forms input in toolbar height related to (#5115) @sneridagh #5176
-
Update delete-content modal to simplify text and improve UX @danlavrz #4786
-
Improved accessibility by adding an
aria-label
to the search icon on sharing page. @ZubairImtiaz3 #5124 -
Fixed PreviewImage component to work as Image component when testing image, and added showDefault prop to PreviewImage #5153
-
Fix empty slate text block in table of contents. @kreafox #5156
-
Remove integration with volto-style-block, as it's not working anymore @dobri1408 #5192
-
Fix standalone navigation action call if expander is set @sneridagh #5197
-
Updated the deprecated Buffer.from package in create-addons-loader.js @Junko-Takeguchi #5205
-
restrict moment.js locales to supported languages @mamico #5207
-
Fix links to link integrity in delete modal @sneridagh #5226
-
Fix dependency problem, 'moment-locales-webpack-plugin' can't be in devDeps, since Razzle needs it in the projects. @sneridagh #5236
Internal
- Add HI-ERN website to "Volto in Production" section in README @steffenri #4172
- Trigger CI workflows to run from external pull requests. @davisagli #4629
- Update to p.restapi 8.36.0 and Plone 6.0.3 @sneridagh #4682
- Change conditional checking to optional chaining for a theme icon @nilootpal #4567
- Security upgrade for momentjs #4715
- Upgrade to Plone 6.0.4 @sneridagh #4743
- Remove max_line_length from .editorconfig @pnicolli #4776
- Fix unannounced breaking change in cypress-io/github-action @sneridagh #4795
- Add Storybook story for useDetectClickOutside hook with several demos @sneridagh #4923
- Upgrade bundlewatch to 0.3.3. @wesleybl #4967
- Update to latest plone.restapi and Plone 6.0.6 @sneridagh #4979
- Remove dangling out of place Guillotina Cypress tests @sneridagh #4980
- Upgrade to Cypress 12.17.1 (latest) @sneridagh #4981
- Add https://www.dlr.de/de to "Volto in production" list. @tisto #5112
- Improved spellcheck to keep spellings consistent. @chirayu-humar #1190
- Redistribute Cypress Basic Core tests into other jobs @sneridagh #5199
- Update to latest plone.restapi and Plone 6.0.7 @sneridagh #5213
Documentation
- Add a new Volto site to the README @erral #4158, #4170
- Add new websites Lanku and UEU [erral] #4310
- Fix English and MyST grammar and syntax from PR #4285 @stevepiercy #4331
- Use a universal static path for both documentation and volto repos. @stevepiercy #4376
- Complete teaser docs, add new section in
Blocks
:Core Blocks developers notes
@sneridagh #4461 - Change from links to inline literals in
CHANGELOG.md
to fix linkcheckbroken. @stevepiercy #4470 - Fix training urls @ksuess #4502
- Add upgrade guide for 4504 @sneridagh #4542
- Deleted duplicate import and fixed training URLs. @yahya-cloud #4523
- Fix grammar in PR #4542. @stevepiercy #4555
- Fix broken links at
ReactJS.org
. @stevepiercy #4569 - Fix video warnings and link errors. @stevepiercy #4578
- Added
JavaScript
andNodeJS
as accepted spellings, and deviations of them as rejected spellings. @utkkkarshhh #3092 - Fix documentation build, add pins @sneridagh #4626
- Update Volto contributing to align with and refer to the new Plone core code contributing requirements. @stevepiercy #4634
- Improve creating views documentation page. @rboixaderg #4636
- Razzle upgrade notice in upgrade guide @sneridagh #4641
- Rename "Developer Guidelines" to "Contributing". @stevepiercy #4666
- Fix broken link to
ReactJS.org
. @stevepiercy #4667 - Update links for 2022 Training archive. @stevepiercy #4635
- Added documentation regarding the static middleware. @BhardwajAditya-github #4518
- Use new URL
6.docs.plone.org
. @stevepiercy #4726 - Synch stuff from
16.x.x
branch that should have been inmaster
as well. @stevepiercy #4728 - Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy #4742
- Fix glossary warning due to lack of empty line before a term. @stevepiercy #4820
- Replace broken link for @albertcasado to use GitHub instead of Twitter. @stevepiercy #4941
- Added note that Pluggables are not compatible with server-side rendering (SSR). @Akshat2Jain #4735
- Replace broken link for @albertcasado to use GitHub instead of Twitter. @stevepiercy #4941
- Exclude video markup from
make text
builder. @stevepiercy #4966 - Add short comment for easier finding registered components. @ksuess #5017
- Fix 302 redirect in changelog. @stevepiercy #5068
- Update links to contributing. @stevepiercy #5084
- Accept
plone
andvolto
in labels with janky regex. Include Vale styles directory for checking spelling and styles. @stevepiercy #5095 - Fix linkcheckbroken 301 redirect to https://www.dlr.de/de @stevepiercy #5131
- Update documentation: instruction 'make develop' to fetch add-on from repository. @ksuess #5195
- Document the
querystringSearchGet
setting @erral #5206 - Add new website IPN [pbauer] #5241