Skip to content

4.8.0

Latest
Compare
Choose a tag to compare
@kyrea kyrea released this 24 Nov 20:17
· 7 commits to production since this release
eaebd9f

What's Changed

Refactor user session handling and update endpoints to v4 API.

  • Added professional JSDoc comments for better code documentation and clarity.
  • Updated function names to better reflect their purpose:
    • processUserSessionAndUpdate: Handles user creation, logging, and token updates.
    • getUser: Fetches user details and updates access tokens if provided.
  • Migrated the internal API to use the v4 API version instead of v3.
  • Removed useCreateIndex and useFindAndModify from Mongoose connection options
    as they are no longer supported in Mongoose v6+.
  • Ensured compatibility with modern Mongoose connection defaults.
  • Improved error handling and validation messages for enhanced API robustness.

Full Changelog: 4.7.0...4.8.0