Skip to content

Releases: thehappycheese/nicklinref_rust

v1.1.0

13 Jun 08:15
e14e5e9
Compare
Choose a tag to compare
  • Add routes /batch2, /line and /point which all support both GET and POST methods
  • Updated /show route to support /batch2 syntax

v1.0.0

19 Jun 08:17
e1c09d3
Compare
Choose a tag to compare
  • 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 as cway=)
  • 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

v0.10.2

11 Jun 14:54
26acb64
Compare
Choose a tag to compare

What's Changed

  • 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
  • /.vscode is now included in the repo to store project specific settings

v0.10.1

05 Jun 12:59
Compare
Choose a tag to compare
v0.10.1 Pre-release
Pre-release

This is a pre-release to track the point in time before major new features are added. This is just after the main.rs was changed a whole heap to add echo_x_request_id using the builder pattern. But the builder pattern wasn't fun, so after this point in time it was re-implemented using warp::wrap_fn on the dev branch. There are no binaries for this release.

v0.8.0

15 Jan 02:38
Compare
Choose a tag to compare

Fixed issue #2.

Offset sign convention for points is now the same as line offset.

Positive offset is to the right hand side when traveling in the direction of increasing SLK.

Full Changelog: v0.7.3...v0.8.0

v0.7.3

03 Nov 08:41
Compare
Choose a tag to compare

offset= now works with point types (slk=)

Full Changelog: v0.7.2...v0.7.3

v0.7.2

03 Sep 16:06
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release
  • added optional m=true query parameter to export M (SLK) with coordinates
  • improved /show/

v0.7.0

30 Aug 14:10
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

added the f=latlondir function

v0.6.1

09 Aug 00:21
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

Fix minor bug with points at line ends