Skip to content

Commit

Permalink
Top-level null filter now evaluates to true (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-n-f authored Oct 2, 2024
1 parent 23c6559 commit 8409bf9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.63.0

* Top-level null filter now evaluates to true

# 2.62.6

* Remove buggy optimization to avoid reclipping in tippecanoe-overzoom
Expand Down
2 changes: 1 addition & 1 deletion evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static int eval(std::function<mvt_value(std::string const &)> feature, json_obje
} else if (f->type == JSON_FALSE) {
return 0;
} else if (f->type == JSON_NULL) {
return -1;
return 1;
}

if (f->type == JSON_NUMBER) {
Expand Down
2 changes: 1 addition & 1 deletion version.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef VERSION_HPP
#define VERSION_HPP

#define VERSION "v2.62.6"
#define VERSION "v2.63.0"

#endif

0 comments on commit 8409bf9

Please sign in to comment.