Skip to content

Commit 3a901fe

Browse files
authored
Merge branch 'alpha' into fix/context-menu-position
2 parents e220b16 + e3bf21d commit 3a901fe

File tree

6 files changed

+311
-253
lines changed

6 files changed

+311
-253
lines changed

Parse-Dashboard/app.js

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,34 @@
11
'use strict';
2+
23
const express = require('express');
34
const path = require('path');
4-
const packageJson = require('package-json');
55
const csrf = require('csurf');
66
const Authentication = require('./Authentication.js');
77
const fs = require('fs');
88
const ConfigKeyCache = require('./configKeyCache.js');
9-
109
const currentVersionFeatures = require('../package.json').parseDashboardFeatures;
1110

1211
let newFeaturesInLatestVersion = [];
13-
packageJson('parse-dashboard', { version: 'latest', fullMetadata: true })
14-
.then(latestPackage => {
12+
13+
/**
14+
* Gets the new features in the latest version of Parse Dashboard.
15+
*/
16+
async function getNewFeaturesInLatestVersion() {
17+
// Get latest version
18+
const packageJson = (await import('package-json')).default;
19+
const latestPackage = await packageJson('parse-dashboard', { version: 'latest', fullMetadata: true });
20+
21+
try {
1522
if (latestPackage.parseDashboardFeatures instanceof Array) {
1623
newFeaturesInLatestVersion = latestPackage.parseDashboardFeatures.filter(feature => {
1724
return currentVersionFeatures.indexOf(feature) === -1;
1825
});
1926
}
20-
})
21-
.catch(() => {
22-
// In case of a failure make sure the final value is an empty array
27+
} catch {
2328
newFeaturesInLatestVersion = [];
24-
});
29+
}
30+
}
31+
getNewFeaturesInLatestVersion()
2532

2633
function getMount(mountPath) {
2734
mountPath = mountPath || '';

changelogs/CHANGELOG_alpha.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [7.1.0-alpha.10](https://github.com/parse-community/parse-dashboard/compare/7.1.0-alpha.9...7.1.0-alpha.10) (2025-04-17)
2+
3+
4+
### Bug Fixes
5+
6+
* Data browser filters "key exists" and "key does not exist" not working ([#2762](https://github.com/parse-community/parse-dashboard/issues/2762)) ([099eca3](https://github.com/parse-community/parse-dashboard/commit/099eca30be021c6466e4f5279ebd2e6f5cd1c1c3))
7+
8+
# [7.1.0-alpha.9](https://github.com/parse-community/parse-dashboard/compare/7.1.0-alpha.8...7.1.0-alpha.9) (2025-04-17)
9+
10+
11+
### Features
12+
13+
* Display filter list in data browser sorted alphabetically ([#2761](https://github.com/parse-community/parse-dashboard/issues/2761)) ([0209a0d](https://github.com/parse-community/parse-dashboard/commit/0209a0d78a3864ba059444ec5eb4a6d00a0430f4))
14+
15+
# [7.1.0-alpha.8](https://github.com/parse-community/parse-dashboard/compare/7.1.0-alpha.7...7.1.0-alpha.8) (2025-04-17)
16+
17+
18+
### Bug Fixes
19+
20+
* Data browser filters "key exists" and "key does not exist" not working ([#2760](https://github.com/parse-community/parse-dashboard/issues/2760)) ([0691b3c](https://github.com/parse-community/parse-dashboard/commit/0691b3cf30a77421e17299935880c54f9c8c9c32))
21+
22+
# [7.1.0-alpha.7](https://github.com/parse-community/parse-dashboard/compare/7.1.0-alpha.6...7.1.0-alpha.7) (2025-04-17)
23+
24+
25+
### Bug Fixes
26+
27+
* Dashboard crashes on login due to `passport` upgrade ([#2758](https://github.com/parse-community/parse-dashboard/issues/2758)) ([ee74321](https://github.com/parse-community/parse-dashboard/commit/ee743210f67dd9e206e6302f57a5d025099be0b4))
28+
129
# [7.1.0-alpha.6](https://github.com/parse-community/parse-dashboard/compare/7.1.0-alpha.5...7.1.0-alpha.6) (2025-04-13)
230

331

0 commit comments

Comments
 (0)