Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(es8): support elasticsearch v8 #546

Merged
merged 1 commit into from
Mar 13, 2024
Merged
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
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
Copy link
Member Author

@missinglink missinglink Mar 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was actually unrelated but it was something which had been annoying me for some time, prior to this change having imports.whosonfirst.importPostalcodes=false in your local ~/pelias.json would cause the test suite to fail 🤦‍♂️

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