|
2 | 2 |
|
3 | 3 | ## 2.0.0
|
4 | 4 |
|
5 |
| -* Upgrade to `github.com/oschwald/maxminddb-golang/v2`. This is a breaking |
6 |
| - API change, but should not affect the use of the program. |
| 5 | +* The default output format is now YAML. This was done to improve the |
| 6 | + readability when using the tool as a standalone utility for doing lookups |
| 7 | + in an MMDB database. Use the `-jsonl` flag to output as JSONL instead. |
| 8 | +* When outputting as JSON, we now use JSONL. There is one JSON object per |
| 9 | + line. |
| 10 | +* The output format has been flattened. Each record that is output now |
| 11 | + contains the following keys: `database_path`, `requested_lookup`, |
| 12 | + `network`, and `record`. This allows for efficient streaming of large |
| 13 | + lookups, makes the key naming more consistent, and reduces the depth of |
| 14 | + the data structure. |
| 15 | +* You may now use a glob for the `-db` argument. If there are multiple |
| 16 | + matches, it will be treated as if multiple `-db` arguments were provided. |
| 17 | + Note that you must quote the parameter when using globs to prevent the |
| 18 | + shell's globbing from interfering. See the [pattern syntax](https://pkg.go.dev/path#Match) |
| 19 | +* The following flags were added: |
| 20 | + * `-include-networks-without-data` - include networks without any data in |
| 21 | + the database in the output. |
| 22 | + * `-include-build-time` - include the build time from the database's |
| 23 | + metadata in the output. |
| 24 | +* This repo no longer provides a public Go API. It is only intended to be |
| 25 | + used as a CLI program. |
7 | 26 |
|
8 | 27 | ## 0.2.0 (2024-01-10)
|
9 | 28 |
|
|
0 commit comments