Skip to content

Academy Ruins API v0.7.0

Latest
Compare
Choose a tag to compare
@lunakv lunakv released this 16 Feb 16:32

BREAKING CHANGES

  • The /cr/{rule_number} route no longer accepts an exact query parameter. The default behavior has been changed to not try and find the relevant definition of keywords, and the redirection must be explicitly enabled by setting ?find_definition=true.
  • The /cr/trace/{rule_number} endpoint changed response format. Instead of being just an array of trace items, it is now an object that contains an items field (with trace items in the same format as before) and a ruleNumber field, containing the rule number for which the trace is returned. This change was necessary to support the find_definition parameter of this endpoint (see below).

New API Features

  • The /cr/trace/{rule_number} endpoint now supports a find_definition query parameter. When set to true, and the given item is a rule containing just the name of a keyword or a keyword action, a heuristic is used to return the trace of the rule that actually contains the definition of that keyword, same as in the /cr/{rule_number} endpoint.

Internal Changes

  • Fixed scraper of the WPN documents page to account for changes in the site structure.
  • Updated project dependencies to their latest versions.

Full Changelog: v0.6.0...v0.7.0