v1.188.0
Feature
Add background gradient support for space items and improve thread page URL handling
- Introduced backgroundGradient property in SpaceContentItem and SpaceItemsResponse interfaces.
- Updated mapSpaceItemsResponse function to include backgroundGradient when mapping space items.
- Enhanced SpacePage to correctly map backgroundGradient for threads.
- Modified ThreadPage to utilize URL parameters for space ID, improving navigation context.
Feature
Add authentication middleware and apply to routes
- Introduced `requireAuth` middleware to enforce user authentication across various routes.
- Updated multiple routes in notes, resources, shared, spaces, tags-scripture, threads, and user modules to utilize the new authentication middleware.
- Simplified rate limiting logic by integrating it with the new middleware, enhancing security and user experience.
