Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

4.0 KiB

These are main plans that are additional to open issues.

2.0

2.0.14 (1st quarter of 2018)

Will be last release with features and enhancements the last one that will be merged into 3.0 directly.

2.0.15 (2nd quarter of 2018)

  • Since this release main focus is bug fixing.
  • No full-branch merges into 3.0.
  • No enhancements are accepted.

2.0.16 (3rd quarter of 2018)

  • Bugfixes.

2.0.17 (4th quarter of 2018)

  • Bugfixes.
  • Announce bugfixes EOL (a year more?).
  • Security fixes only.

Additional releases

We can tag additional releases in case someone will take the role of release manager. Otherwise we'll focus on 3.0.

3.0 (first half of 2018)

Infrastructure

Requirements

Cleanup

  • Remove everything marked as @deprecated.
  • See if more PHP 7.1 features could be used and more compatibility hacks removed.
  • Error handler.
  • Remove PJAX support.
  • Remove Cubrid support.
  • Extract findIdentityByAccessToken from IdentityInterface (looks weird when it's not implemented in all web apps).

Client side

Security

  • Remove custom random number generation in favor of what's in PHP 7.
  • Remove custom bcrypt password hashing in favor of what's in PHP 7.

Databases

Logging

  • Separate profiling and logging.

Cache

  • PSR compatibility.

Request

  • Consider PSR-7 compatible middleware.
  • Add $request->getFile($name) that returns UploadedFile instance.

App templates

i18n

  • Use - instead of _ for view files, message files etc. See #8057

Extensions

  • Make sure all official extensions have releases for 3.0.0.

4.0 (late 2018)

  • Announce LTS.
  • PHP 7 strict scalar types everywhere.
  • Decouple routing from controllers and modules. Allow specifying any class method as a callback for a matching route.
  • Merge components and DI container configs.
  • Try to eliminate Object and Component turning these into traits. Could extract AccessorTrait, EventTrait etc. Alternatively we can drop accessors. Will get PSR-2 and stricter interfaces in exchange additionally to possibility to get more performance.
  • When triggering events, pass data as a separate argument instead of a part of event object (commonly referred to as inconvenient).
  • Move methods from Yii class into helpers. For example, Yii::getAlias() could be FileHelper::getAlias().
  • Use HTML-5 data attributes to specify validation rules + global validation script that doesn't require additional config.

Features

  • Introduce configuration manager.
  • Implement change() for migrations.

Bootstrap extension

  • Remove all widgets that doing things that could be done simpler via plain HTML.

Gii extension

Debug extension

1.0

  • Tag 1.1.20.