- Update to
[email protected] - Add
dashboardhook aiming to communicate with the SaaS Dashboard - Remove useless request when logout action via the CLI
- Use the
passportmiddleware with a hook
Strapi Release: 1.3.0
Tag Name: v1.3.0
Release Date: 10/28/2015
StrapiOpen-source headless CMS built with Node.js. Provides developers with complete freedom in choosing their favorite tools and frameworks for frontend development.
TL;DR
Strapi v1.3.0 introduces a new dashboard hook for SaaS integration, improves authentication with a passport hook, and includes several code quality improvements. This release focuses on enhancing the headless CMS's integration capabilities while streamlining the codebase.
Highlight of the Release
- New
dashboardhook for SaaS Dashboard integration - Passport authentication now implemented as a hook for better modularity
- Improved CLI logout performance by removing unnecessary requests
- Updated to xo v0.10.0 for better code quality
Migration Guide
No specific migration steps are required for this release. However, developers should be aware of the following changes:
- If you were directly using the Passport middleware in your custom code, you should now access it through the hook system.
- If you have custom implementations around the logout functionality in the CLI, you may need to review those implementations to ensure compatibility with the optimized flow.
Upgrade Recommendations
This release is recommended for all Strapi users, especially those utilizing SaaS features or authentication mechanisms. The upgrade should be straightforward with minimal risk of breaking changes.
To upgrade:
npm update [email protected]
or
yarn upgrade [email protected]
Bug Fixes
CLI Logout Optimization
Fixed an issue where the CLI logout action was making unnecessary requests, which has been removed to improve performance and reduce network overhead.
New Features
Dashboard Hook for SaaS Integration
The most significant addition in this release is the new dashboard hook that enables communication with the SaaS Dashboard. This feature allows Strapi instances to connect and interact with the SaaS Dashboard, providing enhanced management capabilities for SaaS deployments.
Passport as a Hook
Authentication has been improved by converting the Passport middleware into a hook. This architectural change provides better modularity and flexibility in how authentication is handled within Strapi applications.
Build Status Visibility
Added Travis badge to show build status, configured to only display the master branch build status for cleaner presentation in the repository.
Security Updates
No specific security fixes were included in this release.
Performance Improvements
Optimized Logout Process
The CLI logout process has been optimized by removing unnecessary requests, resulting in faster logout operations and reduced network traffic.
Code Quality Improvements
Updated to xo v0.10.0 for improved linting and code quality checks, which can lead to better runtime performance through more efficient code patterns.
Impact Summary
Strapi v1.3.0 represents a significant step forward in the platform's SaaS capabilities with the introduction of the dashboard hook. The architectural improvements, particularly moving Passport to a hook-based implementation, demonstrate Strapi's commitment to a more modular and maintainable codebase.
The performance optimization for CLI logout, while seemingly minor, shows attention to detail and user experience. The update to xo v0.10.0 ensures the codebase maintains high quality standards.
Overall, this release enhances Strapi's positioning as a flexible headless CMS with strong SaaS integration capabilities while continuing to improve developer experience through better code organization and performance optimizations.
Full Release Notes
Statistics:
User Affected:
- Can now integrate with the SaaS Dashboard through the new dashboard hook
- Will experience improved authentication flow with the passport middleware now implemented as a hook
- Will benefit from cleaner logout process via CLI with removal of unnecessary requests
- Need to adapt to updated dependencies including xo v0.10.0
