Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

v4.0 Release

Compare
Choose a tag to compare
@auguwu auguwu released this 18 Mar 15:13
· 414 commits to master since this release
6ef601b

This includes a complete overhaul of hana which includes some new features:

Additions

  • implement api keys that are tied with the new permissions system by @auguwu
  • PostgreSQL and Redis are required to run hana
    • Redis is only needed for ratelimiting which is IP/api-key based.
    • PostgreSQL is only needed to store api key metadata (which will include a dashboard of your usage)
  • Created a new Discord bot in the Noelware Discord server that will be able to track your API key usage
  • Implemented new images route: "wahs"
  • New API version: v3

v2 is now considered deprecated

Hana API v2 is now considered deprecation and will be closing soon.

Permissions System

The new permissions system is embedded in your API key, which is a standard JWT token which you can inspect at jwt.io. This is only included in the /yiff endpoints (for v2 + v3) and image manipulation routes (which are a work in progress).

Thanks for the new release, this should fix some bugs that the TypeScript code-base had.

Full Changelog: https://github.com/auguwu/hana/commits/v4.0.0