Releases: Postr-Inc/Hapta
Releases · Postr-Inc/Hapta
v1.0.5
What's New?
- Auto Reauthentication: Hapta now automatically reauthenticates when the admin token expires, preventing unauthorized errors.
- Immediate Updates: Skip the queue and update the database immediately.
- Array Support for InvalidCacheKeys: You can now invalidate multiple cache keys at once.
- Immediately save data before server closes: Hapta now attempts to roll any items in queue before closing.
What's Been Fixed?
- File Creation on Creation: This issue has been resolved since v1.0.4.
- Refresh Token Spamming Errors: Fixed to prevent excessive error messages.
- Several Caching Problems: Includes a fix for sending incorrect cache data when updating a post, which caused inconsistencies.
- Authentication Failing on admin only collections: Hapta now reauthenticates every 16 minutes due to an issue were closed to admin collection methods fail because the auth token is expired.
v1.0.4
Whats new
Major Features
-
Caching - for better performance
- Hapta caches anything and everything allowing for minimal database queries.
-
Periodic updates
- Hapta updates the database every 5 minutes - if two of the same updates are present only the latest one is used no duplicates!
-
Global cache updating before database
- Instead of updating the database directly hapta updates any cache that has the current item thats manipulated saving time and db calls
Added ability to invalidate cache keys
Added ability to override update rolling
v1.0.3 Stable Production Version
Whats changed?
- Refactored Original 1.0.0 code
- Optimized code to be run in an compact single file
- Custom jwt tokens - originally we used jsonwebtoken that caused a lot of issues with signatures, each token is custom and has a rolling signature - they get invalidated when they expire ( this can be changed ) just by deleting a single line
- Adding ssl support allowing for secure WebSocket connections