Skip to content

Commit 47ba170

Browse files
authored
feat(es8): support elasticsearch v8 (#546)
add support elasticsearch v8 BREAKING CHANGE: Pelias no longer supports elasticsearch v6 This change drops support for elasticsearch v6 in order to support v8. The current recommended version remains v7.
1 parent a127805 commit 47ba170

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

bin/units

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,12 @@
22

33
set -euo pipefail
44

5+
# ignore any user configuration in tests
6+
echo '{}' > /tmp/__pelias.json
7+
export PELIAS_CONFIG=/tmp/__pelias.json
8+
function cleanup {
9+
rm -f /tmp/__pelias.json
10+
}
11+
trap cleanup EXIT
12+
513
node test/test.js | npx tap-dot

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"iso3166-1": "^0.5.0",
3535
"lodash": "^4.5.1",
3636
"pelias-blacklist-stream": "^1.0.0",
37-
"pelias-config": "^4.10.0",
38-
"pelias-dbclient": "^2.13.0",
37+
"pelias-config": "^6.0.0",
38+
"pelias-dbclient": "^3.0.0",
3939
"pelias-logger": "^1.2.1",
40-
"pelias-model": "^9.1.1",
40+
"pelias-model": "^10.0.0",
4141
"through2": "^3.0.0",
4242
"through2-filter": "^3.0.0",
4343
"through2-map": "^3.0.0",

0 commit comments

Comments
 (0)