Skip to content

19.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@sneridagh sneridagh released this 16 May 09:19
· 575 commits to main since this release
ba10a44

19.0.0-alpha.1 (2025-05-16)

Feature

  • Volto core has migrated from Jest to Vitest as its unit test runner. @Abhishek-17h #6326

  • Refactor the UniversalLink component using typescript.
    Use union types for deciding between href or item.
    Modify tsconfig, include types located in types folder, otherwise d.ts files will noch be recognized in .tsx files, e.g. inside components. I need this for the react-router-hash-link package, that we use in the UniversalLink component. The specific file is /types/react-router-hash-link.d.ts.
    Modify lint-staged.config.js to exclude d.ts files.
    Use newest version of classnames (with types).
    Create tests and negative tests for optimization with React.memo (add render counter for testing this behavior)

    @tomschall #6826

  • ConditionalLink in TypeScript. @sneridagh #6959

  • Allow object_list widget to receive a schemaName prop, mapped to an utility. @sneridagh #7007

  • Added current evaluated querystring as a parameter in expander's querystring key when it's a function. @sneridagh #7012

  • Move MaybeWrap to TypeScript. @sneridagh #7029

  • Rename vitest.config.ts to vitest.config.mjs for allowing it to be loaded from add-ons. @sneridagh #7035

  • Added contained class if isContainer prop is passed (from containers). @sneridagh #7043

  • The Add component can now optionally receive initialFormData from the CreateTranslation component. This makes it possible for a custom CreateTranslation implementation to fully control the initial translation. @Tishasoumya-02 #7073

Bugfix

  • Fixed broken tests in add-ons in Volto 18.12.0. @Abhishek-17h #6989
  • Add support for both Vitest and Jest in __mocks__ folders of Volto core. Add-on tests using Jest relies on them. @Abhishek-17h #7000
  • Added missing dependency for sgvo. Fixed svgo library loading in ./vite-plugins/svg.js. @sneridagh #7035
  • Rename ./vite-plugins/svg.js to proper extension vite-plugins/svg.mjs. @sneridagh #7035
  • Fixed stuck states in the Image Upload Widget by resetting uploading after failed size validation and dragging after image deletion or drag events, ensuring proper functionality and user feedback. #7045
  • Improve typings in ConditionalLink component, add TS tests to catch the bad typings. @sneridagh #7057

Internal

Documentation

  • Pin plone-sphinx-theme to prepare for PLIP 4097. See plone/Products.CMFPlone#4097. @stevepiercy #7015
  • Corrected Redux-related docs.
    Better word wrapping in Redux-related docs.
    Added link to Redux development add-on for Firefox.
    @silviubogan #7023
  • Updated documentation code example from Jest to Vitest in the "Bundle size optimization" chapter. @Abhishek-17h #7024
  • Add version added admonition to Upgrade Guide for migrating grid blocks, and link from Upgrade Guide to Grid Block documentation. @ionlizarazu #7027