Home

>

Tools

>

Strapi

>

Releases

>

3.0.0-alpha.13

Strapi Release: 3.0.0-alpha.13

Tag Name: v3.0.0-alpha.13

Release Date: 7/23/2018

Strapi LogoStrapi

Open-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 v3.0.0-alpha.13 introduces significant enhancements to the content management experience with customizable Content Manager settings, adds DateTime support for GraphQL, and includes Spanish translations. This release also improves the CLI with new SSL and DB authentication options, fixes numerous bugs related to file handling, social authentication, and server reloading, and includes important breaking changes with hook module renaming.

Highlight of the Release

    • Content Manager customization with configurable list views and settings per content type
    • DateTime support for GraphQL plugin instead of using String type
    • Spanish translations for the admin interface
    • CLI enhancements with SSL and DB authentication options
    • Breaking change: Hook modules renamed with prefix

Migration Guide

Breaking Changes: Hook Module Renaming

In this release, hook modules have been renamed with a prefix. If you have custom code that references hook modules, you'll need to update these references.

How to migrate:

  1. If you're referencing hook modules directly in your code, update the references to include the new prefix.

  2. Check any custom hooks or middleware you've created to ensure they follow the new naming convention.

  3. If you're extending or overriding core hooks, make sure to update the module names accordingly.

No specific migration steps are required for the other changes in this release, but be aware that the DateTime support in GraphQL might affect your GraphQL queries if you were previously handling date/time values as strings.

Upgrade Recommendations

This alpha release contains significant improvements and bug fixes, particularly for content management customization and GraphQL functionality. It's recommended for:

  • Developers who need DateTime support in GraphQL
  • Users who want to customize their Content Manager experience
  • Spanish-speaking users who would benefit from localized admin interface
  • Anyone affected by the specific bugs fixed in this release

However, as this is an alpha release (v3.0.0-alpha.13), it should be used with caution in production environments. The breaking change with hook module renaming should be carefully considered before upgrading.

Upgrade Steps:

  1. Backup your project before upgrading
  2. Update your Strapi version to v3.0.0-alpha.13
  3. Update any code referencing hook modules to use the new prefixed names
  4. Test thoroughly, especially if you're using GraphQL with date/time fields or have custom hooks

Bug Fixes

Server and Framework Fixes

  • Fixed server not restarting after file changes
  • Fixed temp directory reference for Yarn installations
  • Skip number conversion on string fields to prevent data corruption
  • Fixed API generator database hook

Plugin Fixes

  • Fixed social authentication signup process
  • Fixed JSON attribute types in GraphQL
  • Fixed delete and update operations for uploaded files in SQL databases
  • Fixed react-select component blowing away user input on rerender in Content Manager
  • Fixed user roles and permissions issues
  • Fixed provider update issues
  • Fixed Upload plugin query filtering
  • Fixed search input extra scrollbar in Firefox
  • Fixed allowGa configuration property not being respected

New Features

Content Manager Customization

The Content Manager plugin now supports customization of list views and settings per content type. Users can:

  • Configure which fields are displayed in list views
  • Enable/disable sorting and searching for specific fields
  • Drag and drop to reorder list headers
  • Save custom configurations per content type
  • Add or remove attributes from list views
  • Edit labels for attributes

Spanish Translations

The admin interface now includes Spanish translations, expanding the language options available to users.

CLI Enhancements

Two new options have been added to the CLI:

  • SSL option for secure database connections
  • Database authentication options for improved security

DateTime Support for GraphQL

The GraphQL plugin now properly supports DateTime scalar type instead of using String for date/time fields. This includes support for:

  • datetime field type
  • timestamp field type
  • time attribute type

Security Updates

No explicit security fixes were mentioned in this release. However, the addition of SSL and database authentication options in the CLI does improve the security posture of Strapi installations by enabling more secure database connections.

Performance Improvements

No specific performance improvements were highlighted in this release. The changes were primarily focused on new features, bug fixes, and documentation improvements.

Impact Summary

Strapi v3.0.0-alpha.13 delivers significant improvements to the content management experience through customizable Content Manager settings, allowing users to tailor their list views and field configurations. The addition of DateTime support for GraphQL enhances data typing and validation, while Spanish translations make the platform more accessible to Spanish-speaking users.

The release includes important CLI enhancements with SSL and database authentication options, improving security and flexibility for different deployment scenarios. Several critical bugs have been fixed, particularly around file handling in SQL databases, social authentication, and server reloading after file changes.

Developers should note the breaking change with hook module renaming, which requires updating references in custom code. This release represents a substantial step forward in Strapi's customization capabilities and multilingual support, while addressing numerous pain points reported by the community.

Full Release Notes

🚀 New feature

💅 Enhancement

🐛 Bug fix

Statistics:

File Changed254
Line Additions5,059
Line Deletions712
Line Changes5,771
Total Commits137

User Affected:

  • Can now use DateTime scalar type in GraphQL instead of String
  • Need to update hook module references due to breaking change with prefix renaming
  • Can use new CLI options for SSL and DB authentication
  • Benefit from fixed server restart functionality after file changes
  • Can leverage improved file handling in the Upload plugin

Contributors:

johannpinsonsoupettebahdcoderwafultechguydavederrickmehaffylauriejimvaskortmaturanomxakkys77download13kamalbennaniVeluapierreburgyderskealleonkyneurarnaudmolo