- Add routes
/batch2
,/line
and/point
which all support both aGET
andPOST
method
- drop support for case insensitive queries
- slk_from and slk_to are now optional. One or either can be omitted to get the road "up to" or "starting from" its endpoints
- Changed CLI
--addr
to--ip-address
because abbreviations are annoying - reject requests with unknown fields (for example if
cwy=
is misspelled ascway=
) - fixed
x-request-id
now echo's properly on rejection - invalid values of
cwy=
will now cause the request to be rejected - invalid values of
f=
will now cause the request to be rejected f=
is now case sensitive to match documentation- internal refactoring
- Refactoring to make main.rs short and easy to understand and decouple
Settings
from the rest of the codebase - Dropped support for
--config config.json
- Fixed #3 unnecessary errors if folder for data file doesn't exist
- Added CLI settings (Fixed #4 )
- See new
--help
option for details - added
--force-update-data
flag to force data refresh on startup
- See new
/.vscode
is now included in the repo to store project specific settings
- create changelog
- enable gzip compression
- implement
x-request-id
echo header- note: still does not work on reject :/