Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends:
- '@inveniosoftware/invenio'
- '@inveniosoftware/invenio/prettier'
- "@inveniosoftware/eslint-config-invenio/react18"
- "@inveniosoftware/eslint-config-invenio/prettier"

env:
browser: true
Expand Down
51 changes: 21 additions & 30 deletions .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,38 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2020-2024 CERN.
# Copyright (C) 2020 Northwestern University.
# Copyright (C) 2024 Graz University of Technology.
#
# Invenio-RDM-Records is free software; you can redistribute it and/or modify
# it under the terms of the MIT License; see LICENSE file for more details.

name: CI

on:
push:
branches:
- master
- "feature/*"
- "maint-**"
pull_request:
branches:
- master
- "maint-**"
- "feature/*"
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 2 * * 5'
- cron: "0 2 * * 5"
workflow_dispatch:
inputs:
reason:
description: 'Reason'
description: "Reason"
required: false
default: 'Manual trigger'
default: "Manual trigger"

jobs:
Tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x, 18.x, 16.x]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install & Build
run: npm ci

- name: Lint
run: npm run lint

- name: Test
run: npm test

- name: Coverage
run: npm test -- --coverage
JS:
uses: inveniosoftware/workflows/.github/workflows/tests-js.yml@master
with:
js-working-directory: ./
node-version: '["22.x", "24.x", "26.x"]'
1 change: 0 additions & 1 deletion .prettierrc

This file was deleted.

12 changes: 11 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changes

Version 3.2.0 (release 2026-04-13)
Version 4.0.0 (released TBD)

- BREAKING CHANGE: React 18 migration
* Upgrade React peer dependency from ^16.13.0 to ^18.3.x
* Upgrade React DOM from ^16.13.0 to ^18.3.x
* Replace `enzyme-adapter-react-16` with `@cfaester/enzyme-adapter-react-18`
* Migrate demo entry point from `ReactDOM.render()` to `createRoot().render()`
* Move Bootstrap side effects from constructor to `componentDidMount` for StrictMode compatibility
* Update minimum Node.js engine from >=14.0.0 to >=18.0.0

Version 3.2.0 (released 2026-04-13)

- fix(RangeFacet): use Luxon for date validation
- feat(RangeFacet): improve custom date filter UX
Expand Down
Loading
Loading