Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4.0.0] #51

Merged
merged 89 commits into from
Jan 10, 2024
Merged

[v4.0.0] #51

merged 89 commits into from
Jan 10, 2024

Conversation

kyrea
Copy link
Member

@kyrea kyrea commented Aug 8, 2023

Waifu.it v4.x.x

Note

This code is still under development, do not use it in production!

Important

Beta website [Hosted on Render]: https://beta.waifu.it/

Warning

Don't log into the beta website unless you know what you're doing

Changes

  • New website, Next.js, and Tailwind CSS
  • New secure way to obtain the token
  • New page layouts
  • Auto join discord server on oauth
  • New endpoint for APIs api.waifu.it
  • Replace CommonJS require statements with ES6 import statements.
  • Update module exports to use the ES6 export syntax.
  • Utilize arrow functions for concise and expressive code.
  • Address any necessary adjustments for ES6 compatibility.
  • Added Enhanced Authorization and Rate-Limiting.
    • Introduced comprehensive refactoring of authorization and rate-limit functions.
    • Overhauled rate-limiting mechanisms for better control and flexibility.
  • Update user schema for better status tracking
    • Refactor user schema to include detailed status_history for manual and automatic bans.
  • Added query filter to /waifu endpoint by using character name or anime
  • Added new .env variables
  • Renamed functions to better and easier names

@kyrea kyrea added documentation Improvements or additions to documentation enhancement New feature or request dependencies Pull requests that update a dependency file labels Aug 8, 2023
@kyrea kyrea self-assigned this Aug 8, 2023
@render
Copy link

render bot commented Aug 8, 2023

@kyrea kyrea marked this pull request as draft September 6, 2023 07:31
@kyrea kyrea mentioned this pull request Dec 9, 2023
src/controllers/v4/images/waifu.js Fixed Show fixed Hide fixed
src/controllers/v4/images/waifu.js Fixed Show fixed Hide fixed
src/controllers/v3/utils/user.js Dismissed Show dismissed Hide dismissed
@kyrea kyrea marked this pull request as ready for review January 10, 2024 14:19
@kyrea kyrea requested a review from NotKyoyo January 10, 2024 19:53
Copy link
Member

@NotKyoyo NotKyoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@kyrea kyrea merged commit 3307aa1 into production Jan 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants