Skip to content

Commit

Permalink
feat(es8): support elasticsearch v8 (#546)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
missinglink authored Mar 13, 2024
1 parent a127805 commit 47ba170
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions bin/units
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@

set -euo pipefail

# ignore any user configuration in tests
echo '{}' > /tmp/__pelias.json
export PELIAS_CONFIG=/tmp/__pelias.json
function cleanup {
rm -f /tmp/__pelias.json
}
trap cleanup EXIT

node test/test.js | npx tap-dot
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"iso3166-1": "^0.5.0",
"lodash": "^4.5.1",
"pelias-blacklist-stream": "^1.0.0",
"pelias-config": "^4.10.0",
"pelias-dbclient": "^2.13.0",
"pelias-config": "^6.0.0",
"pelias-dbclient": "^3.0.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^9.1.1",
"pelias-model": "^10.0.0",
"through2": "^3.0.0",
"through2-filter": "^3.0.0",
"through2-map": "^3.0.0",
Expand Down

0 comments on commit 47ba170

Please sign in to comment.