Skip to content

Academy Ruins API v0.3.0

Compare
Choose a tag to compare
@lunakv lunakv released this 08 Apr 07:07
· 61 commits to main since this release
5dc9ffd

BREAKING CHANGES

  • /diff/cr/latest has been moved to /diff/cr
  • All API responses have been converted to use camelCase dictionary keys. This was done to make the rest of the API behave more similarly to routes inside the /cr namespace, which were already using this case. The only existing documented route affected by this change is /diff/cr/{old}-{new}. Query parameters are unaffected by the change.

Other API Updates

  • MTR support is here! Routes for the parsed MTR, individual MTR sections, and MTR diffs were added. Their usage is more thoroughly documented in the API docs.
  • In the event of an internal server error, a valid JSON error response is now returned instead of a plain text document.

Internal Changes

  • A large code reformatting was done using a combination of black, flake8, and isort.
  • A CI pipeline with the aforementioned tools has been created to check incoming pull requests.
  • Most pydantic models were refactored to use @dataclass instead of descending from BaseModel
  • difftool was moved into a separate module and the structure of both parsing and difftool was adjusted accordingly.

Full Changelog: v0.2.1...v0.3.0