Skip to content

Commit

Permalink
Release 18.0.0-alpha.47
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Oct 27, 2024
1 parent 2f7b760 commit 82e4f7b
Show file tree
Hide file tree
Showing 39 changed files with 105 additions and 43 deletions.
43 changes: 43 additions & 0 deletions docs/source/release-notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,49 @@ myst:

<!-- towncrier release notes start -->

## 18.0.0-alpha.47 (2024-10-27)

### Breaking

- Dropped support for Node.js 18, since Volto only supports the last two LTS versions. @sneridagh
Volto might continue to work on it, but it will be no longer tested in CI. [#6371](https://github.com/plone/volto/issues/6371)

### Feature

- URL Management control panel: add a filter for redirects created after a given date.
**Note:** This requires `Products.CMFPlone` 6.0.14 and `plone.restapi` 9.8.0 or later.
@davisagli [#6414](https://github.com/plone/volto/issues/6414)
- URL Management control panel: Move the form for adding a new redirect into a modal. @davisagli [#6421](https://github.com/plone/volto/issues/6421)
- URL Management control panel: Add feature to bulk upload redirects in a CSV file.
**Note:** This requires `plone.restapi` 9.8.0 or later.
@davisagli [#6421](https://github.com/plone/volto/issues/6421)
- Introducing "client transforms for Redux reducers". @sneridagh [#6422](https://github.com/plone/volto/issues/6422)
- URL Management control panel: Add a way to edit existing aliases. @davisagli [#6425](https://github.com/plone/volto/issues/6425)

### Bugfix

- Fix site setup access check by using `@actions` endpoint to validate permissions. @Faakhir30 [#6355](https://github.com/plone/volto/issues/6355)
- Fix redirect after login if the `Login` component is used on a route other than `/login` or `/logout`. @dobri1408 [#6419](https://github.com/plone/volto/issues/6419)
- URL Management control panel: Improve layout for long paths. @davisagli [#6421](https://github.com/plone/volto/issues/6421)
- URL Management control panel: add missing translations. @davisagli [#6436](https://github.com/plone/volto/issues/6436)

### Internal

- Used `resource title` instead of `resource type` in page title on edit. @Faakhir30 [#6308](https://github.com/plone/volto/issues/6308)
- Added support for Node.js 22, since it will become LTS on 2024-10-29. @sneridagh [#6371](https://github.com/plone/volto/issues/6371)
- Adapt `@plone/registry` as an ESM module, and fix its imports. @sneridagh [#6399](https://github.com/plone/volto/issues/6399)
- Fix `clean` make command @sneridagh [#6403](https://github.com/plone/volto/issues/6403)
- Update typescript and vitest everywhere @sneridagh [#6407](https://github.com/plone/volto/issues/6407)
- Update `caniuse` Oct24 @sneridagh [#6408](https://github.com/plone/volto/issues/6408)
- Remove last tests still in Node.js 18 @sneridagh [#6418](https://github.com/plone/volto/issues/6418)
- Remove mention of `SEAMLESS` mode in the server bootstrap. @sneridagh [#6424](https://github.com/plone/volto/issues/6424)

### Documentation

- Added deprecation notices to the upgrade guide for Volto 18. @sneridagh [#6426](https://github.com/plone/volto/issues/6426)
- Replace `yarn` with `pnpm` wherever necessary. @sneridagh [#6433](https://github.com/plone/volto/issues/6433)
- Rename page title from Frontend to Volto UI. @stevepiercy [#6438](https://github.com/plone/volto/issues/6438)

## 18.0.0-alpha.46 (2024-10-10)

### Breaking
Expand Down
43 changes: 43 additions & 0 deletions packages/volto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,49 @@ myst:

<!-- towncrier release notes start -->

## 18.0.0-alpha.47 (2024-10-27)

### Breaking

- Dropped support for Node.js 18, since Volto only supports the last two LTS versions. @sneridagh
Volto might continue to work on it, but it will be no longer tested in CI. [#6371](https://github.com/plone/volto/issues/6371)

### Feature

- URL Management control panel: add a filter for redirects created after a given date.
**Note:** This requires `Products.CMFPlone` 6.0.14 and `plone.restapi` 9.8.0 or later.
@davisagli [#6414](https://github.com/plone/volto/issues/6414)
- URL Management control panel: Move the form for adding a new redirect into a modal. @davisagli [#6421](https://github.com/plone/volto/issues/6421)
- URL Management control panel: Add feature to bulk upload redirects in a CSV file.
**Note:** This requires `plone.restapi` 9.8.0 or later.
@davisagli [#6421](https://github.com/plone/volto/issues/6421)
- Introducing "client transforms for Redux reducers". @sneridagh [#6422](https://github.com/plone/volto/issues/6422)
- URL Management control panel: Add a way to edit existing aliases. @davisagli [#6425](https://github.com/plone/volto/issues/6425)

### Bugfix

- Fix site setup access check by using `@actions` endpoint to validate permissions. @Faakhir30 [#6355](https://github.com/plone/volto/issues/6355)
- Fix redirect after login if the `Login` component is used on a route other than `/login` or `/logout`. @dobri1408 [#6419](https://github.com/plone/volto/issues/6419)
- URL Management control panel: Improve layout for long paths. @davisagli [#6421](https://github.com/plone/volto/issues/6421)
- URL Management control panel: add missing translations. @davisagli [#6436](https://github.com/plone/volto/issues/6436)

### Internal

- Used `resource title` instead of `resource type` in page title on edit. @Faakhir30 [#6308](https://github.com/plone/volto/issues/6308)
- Added support for Node.js 22, since it will become LTS on 2024-10-29. @sneridagh [#6371](https://github.com/plone/volto/issues/6371)
- Adapt `@plone/registry` as an ESM module, and fix its imports. @sneridagh [#6399](https://github.com/plone/volto/issues/6399)
- Fix `clean` make command @sneridagh [#6403](https://github.com/plone/volto/issues/6403)
- Update typescript and vitest everywhere @sneridagh [#6407](https://github.com/plone/volto/issues/6407)
- Update `caniuse` Oct24 @sneridagh [#6408](https://github.com/plone/volto/issues/6408)
- Remove last tests still in Node.js 18 @sneridagh [#6418](https://github.com/plone/volto/issues/6418)
- Remove mention of `SEAMLESS` mode in the server bootstrap. @sneridagh [#6424](https://github.com/plone/volto/issues/6424)

### Documentation

- Added deprecation notices to the upgrade guide for Volto 18. @sneridagh [#6426](https://github.com/plone/volto/issues/6426)
- Replace `yarn` with `pnpm` wherever necessary. @sneridagh [#6433](https://github.com/plone/volto/issues/6433)
- Rename page title from Frontend to Volto UI. @stevepiercy [#6438](https://github.com/plone/volto/issues/6438)

## 18.0.0-alpha.46 (2024-10-10)

### Breaking
Expand Down
1 change: 0 additions & 1 deletion packages/volto/news/6308.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6355.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions packages/volto/news/6371.breaking

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6371.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6399.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6403.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6407.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6408.internal

This file was deleted.

3 changes: 0 additions & 3 deletions packages/volto/news/6414.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6418.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6419.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6421.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions packages/volto/news/6421.feature.1

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6421.feature.2

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6422.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6424.internal

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6425.feature

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6426.documentation

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6433.documentation

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6436.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion packages/volto/news/6438.documentation

This file was deleted.

2 changes: 1 addition & 1 deletion packages/volto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"license": "MIT",
"version": "18.0.0-alpha.46",
"version": "18.0.0-alpha.47",
"repository": {
"type": "git",
"url": "git@github.com:plone/volto.git"
Expand Down
9 changes: 8 additions & 1 deletion packages/volto/types/actions/aliases/aliases.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @param {Object} options Options data.
* @returns {Object} Get aliases action.
*/
export function getAliases(url: string, options: any): any;
export function getAliases(url: string, options?: any): any;
/**
* Add alias function.
* @function addAliases
Expand All @@ -22,3 +22,10 @@ export function addAliases(url: string, data: any): any;
* @returns {Object} Remove alias action.
*/
export function removeAliases(url: string, data: any): any;
/**
* Upload aliases function.
* @function uploadAliases
* @param {Object} file CSV file.
* @returns {Object} Upload aliases action.
*/
export function uploadAliases(file: any): any;
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/// <reference types="jest" />
export declare const Contents: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
export declare const ContentsRenameModal: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare const _default: {
data: {};
block: string;
};
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
export default _default;
import React from 'react';
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
export declare const Controlpanels: any;
export declare const Controlpanel: import("@loadable/component").LoadableComponent<Omit<import("react-intl").WithIntlProps<import("react-intl").WrappedComponentProps<string>>, "ref"> & import("react").RefAttributes<import("react").ComponentType<import("react-intl").WrappedComponentProps<string>>>>;
export declare const RulesControlpanel: import("@loadable/component").LoadableClassComponent<any>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="jest" />
export declare const Field: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
export declare const InlineForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
export declare const ModalForm: jest.Mock<import("react/jsx-runtime").JSX.Element, [props: any], any>;
Expand Down
1 change: 0 additions & 1 deletion packages/volto/types/components/manage/Form/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
export declare const Field: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
export declare const InlineForm: import("@loadable/component").LoadableComponent<Omit<import("react-intl").WithIntlProps<any>, "ref"> & import("react").RefAttributes<any>>;
export declare const ModalForm: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare const _default: {
data: {};
block: string;
};
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
export default _default;
import React from 'react';
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ declare function withObjectBrowser(WrappedComponent: any): {
data: {};
block: string;
};
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
import React from 'react';
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ declare const _default: {
data: {};
block: string;
};
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
export default _default;
import React from 'react';
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ declare const _default: {
data: {};
block: string;
};
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
export default _default;
import React from 'react';
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="jest" />
export declare const AlignWidget: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
export declare const ButtonsWidget: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
export declare const ArrayWidget: jest.Mock<import("react/jsx-runtime").JSX.Element, [], any>;
Expand Down
5 changes: 2 additions & 3 deletions packages/volto/types/components/manage/Widgets/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
export declare const AlignWidget: import("@loadable/component").LoadableComponent<any>;
export declare const ButtonsWidget: import("@loadable/component").LoadableComponent<any>;
export declare const ArrayWidget: import("@loadable/component").LoadableClassComponent<any>;
Expand Down Expand Up @@ -53,7 +52,7 @@ export declare const UrlWidget: import("@loadable/component").LoadableClassCompo
data: {};
block: string;
};
contextType?: import("react").Context<any>;
contextType?: import("react").Context<any> | undefined;
}>;
export declare const InternalUrlWidget: import("@loadable/component").LoadableClassComponent<{
new (): {
Expand Down Expand Up @@ -93,7 +92,7 @@ export declare const InternalUrlWidget: import("@loadable/component").LoadableCl
data: {};
block: string;
};
contextType?: import("react").Context<any>;
contextType?: import("react").Context<any> | undefined;
}>;
export declare const EmailWidget: import("@loadable/component").LoadableComponent<any>;
export declare const NumberWidget: import("@loadable/component").LoadableComponent<import("react-intl").WithIntlProps<any>>;
Expand Down
2 changes: 1 addition & 1 deletion packages/volto/types/config/slots.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare namespace slots {
content: {
subjects?: any[];
};
}): JSX.Element;
}): JSX.Element | null;
propTypes: {
content: any;
};
Expand Down
1 change: 1 addition & 0 deletions packages/volto/types/constants/ActionTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const MOVE_CONTENT_RULE: "MOVE_CONTENT_RULE";
export const GET_ALIASES: "GET_ALIASES";
export const ADD_ALIASES: "ADD_ALIASES";
export const REMOVE_ALIASES: "REMOVE_ALIASES";
export const UPLOAD_ALIASES: "UPLOAD_ALIASES";
export const GET_USERSCHEMA: "GET_USERSCHEMA";
export const GET_UPGRADE: "GET_UPGRADE";
export const POST_UPGRADE: "POST_UPGRADE";
Expand Down
2 changes: 1 addition & 1 deletion packages/volto/types/helpers/Helmet/Helmet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ declare const HelmetExport: {
peek: any;
rewind: () => any;
canUseDOM: any;
contextType?: React.Context<any>;
contextType?: React.Context<any> | undefined;
};
import React from 'react';

0 comments on commit 82e4f7b

Please sign in to comment.