Skip to content

Commit 5309f80

Browse files
Merge pull request #1718 from ral-facilities/release/v2.2.0
Release v2.2.0
2 parents 65abb84 + 79a3f5c commit 5309f80

File tree

73 files changed

+2908
-1939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2908
-1939
lines changed

.github/workflows/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
9090
with:
9191
repository: icatproject-contrib/icat-ansible
92-
ref: master
92+
ref: datagateway-download-api-3.1.0
9393
path: icat-ansible
9494
- name: Install Ansible (ensure we're using the system python)
9595
run: /usr/bin/python3 -m pip install -r icat-ansible/requirements.txt

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [v2.2.0](https://github.com/ral-facilities/datagateway/tree/v2.2.0) (2025-05-16)
4+
5+
## What's Changed
6+
7+
### Features
8+
9+
* Handle isDeleted and no prepared id cases in progress bars by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1715
10+
* Restore visit button #1694 by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1714
11+
12+
**Full Changelog**: https://github.com/ral-facilities/datagateway/compare/v2.1.1...2.2.0
13+
314
## [v2.1.1](https://github.com/ral-facilities/datagateway/tree/v2.1.1) (2025-03-18)
415

516
## What's Changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "datagateway",
33
"private": true,
4-
"version": "2.1.1",
4+
"version": "2.2.0",
55
"workspaces": [
66
"packages/*"
77
],

packages/datagateway-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "datagateway-common",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"private": true,
55
"files": [
66
"lib"

packages/datagateway-common/src/__mocks__/axios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const requests = {
77
post: jest.fn(() => Promise.resolve({ data: {} })),
88
delete: jest.fn(() => Promise.resolve({ data: {} })),
99
CancelToken: axios.CancelToken,
10+
AxiosError: axios.AxiosError,
1011
};
1112

1213
export default requests;

packages/datagateway-common/src/__mocks__/react-i18next.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ const renderNodes = (reactNodes) => {
3636
});
3737
};
3838

39-
const useMock = [(k) => k, {}];
40-
useMock.t = (k) => k;
39+
const useMock = [
40+
(k, o) => (o ? `${k} ${JSON.stringify(o).replace(/"/g, '')}` : k),
41+
{},
42+
];
43+
useMock.t = (k, o) => (o ? `${k} ${JSON.stringify(o).replace(/"/g, '')}` : k);
4144
useMock.i18n = {};
4245

4346
const applyTranslation = (Component) => {

0 commit comments

Comments
 (0)