News

Jun 17, 2019

blacksmoke26

Fresh Yii and extension manuals in various formats

Changelog:

  • Updated according to: 2.0.20
  • Bootstrap 4 => 2.0.4
  • Imagine => 2.2.0
  • Auth Client => 2.2.3
  • Debug => 2.1.5
  • Queue => 2.2.1
  • HTTP client => 2.0.11

Jun 12, 2019

schmunk42

Community extension collective

Let’s try to get the best and most active Yii extension builders together and create a community effort to build and maintain an extensive collection of long-term supported, best-practice coded, well-documented, well-tested, multi-lingual, feature-rich Yii 3 extensions.

Join the discussion about community maintained extensions for Yii 3.x - Feedback and ideas are greatly appreciated!

Jun 12, 2019

olegtsvetkov

Yii2 integration for Sentry

Yii2 component for sending logs to Sentry. Uses Sentry PHP SDK v2.

View package on packagist.org or visit it's repo on github.com.

Jun 11, 2019

samdark

Bootstrap 4 extension version 2.0.4 released

In this release two bugs were fixed.

Jun 4, 2019

samdark

Yii 2.0.20 and extensions

Yii 2.0.20 fixing some bugs was tagged. Additionally, the following extensions were released:

May 30, 2019

samdark

Yii2 Queue with Redis on Docker Swarm is a game changer

Dana Luther about using Yii2 Queue, Redis and Docker Swarm to scale background jobs.

May 27, 2019

nadar

LUYA Admin 2.0 release

Move to semver

With this new version of the LUYA admin, we switch to strict semver versioning. This means that we will try to follow http://semver.org as good as possible. Therefore the version constraint changed from the ~ to the ^ operator. With the previous versioning system, the admin module would have become version 1.3, with the new one it will be 2.0. This will also be the case for all other modules with breaking changes in the future (the CMS module will follow shortly with version 2.0 as well).

So make sure to use the correct version constraint in order to profit from upcoming updates.

Scheduler

The admin module now integrates the Yii Queue component upon which the new LUYA Scheduler is built.

LUYA Admin Scheduler

This is a new generic Angular directive which turns any field into a scheduling option to plan the change of ANY value. Let's assume you have a CRUD system with a status field and its possible values "published", "archived" and "draft". Now you can enable scheduling for this field in order to have its value automatically changed at any given date and time in the future. No more need for datetime or timestamp fields in order to setup display limitations. You can enable a cronjob or have the system run a "fake cronjob" (which has to be turned on in the configuration of the admin module) in order to process the queue.

Data Notifications

Also new is a notification system that highlights CRUD lists with new data added since your last visit, either through the administration or a frontend form. In order to receive these notifications, you simply have to visit a CRUD view once. This is especially interesting for frontend-generated inputs. As the notifications are only automatically enabled for visited CRUD views, the system will not overwhelm and annoy users with notifications that are not of interest to them – this is important with different users working in different sections.

LUYA Admin Notifications

And, of course, you can turn off these notifications for any CRUD view with a single click.

NgRest CRUD

We have strongly enhanced the CRUD system. Searching, filtering and sorting is now context specific. So you can apply a filter and search in the results of the filter afterwards. There is also a new tags view which lets you filter the content by tags.

LUYA Admin Tags

The tags view will automatically be displayed if the system detects that your ngrest model has the Taggable Trait attached.

Data Pools

With version 2.0 we introduce a new feature called "data pools" (this has been on our list for a long time). It's a common scenario to combine data in one table that should be managed in separate CRUD views. An example would be events on a website that includes both a public area and an intranet – you might want to keep the data separate in different CRUD views for the admin users (possibly with different field listings and program logic) while technically it is stored in the same table.

To enable data pools for a table, it usually has a field to distinguish the pool a record belongs to. With the new itemPoolApi permission entry and the ngRestPools() method you are now able to display only data for a given pool. The information about the pool will even be passed to CRUD relation views, if available.

Api Request Insight

With this version we took a big step forward for using the admin as a headless API, therefore we have added a new tool to allow deeper insights into the requests coming to the API. What are the slowest URLs? Which API is called often? This helps you evaluate the requests that should be cached on the client.

LUYA Admin Requests

In addition, the LUYA headless client has been released as version 2.0, too, with some new features and improvements. It was never easier to use LUYA admin as a data provider for different websites, modules and applications!

Updates

  • We have upgraded to the latest version of the Bootstrap 4 framework.
  • We have integrated unglue.io as a compiling system for JavaScript and CSS (if you have not checked out unglue, you should definitely do so). The compiler is based on PHP, so you can install the binary via composer and start compiling right away without any use of Node.js!
  • Improved API speed for API users and also allowed more flexibility when creating custom API actions.
  • New sorting definition option for CRUD views (for example relation attribute sorting setup).
  • Provide new reloadButton option to set custom reload events (for example call clear cache url in frontend).
  • Fixed a lot of smaller bugs.
  • Made small UI improvements (like reset icon for search etc.).

Please check the full Changelog and the Upgrading Guide where you will find a list of all breaking changes.

May 2019, LUYA developer team

May 21, 2019

samdark

Yii 2.0.19

Yii team released Yii 2.0.19 that is a minor release of Yii 2.0 which fixes some bugs.

No known changes that could affect existing applications were made.

A complete list of changes can be found in the CHANGELOG.

May 21, 2019

samdark

Queue extension 2.2.1 released

Yii team released Queue extension version 2.2.1.

There are several interesting changes in this release:

  • By default there is latest amqp-lib used now if PHP version supports it.
  • There is now AWS SQS FIFO support.

Also there was a conceptual mistake in the previous release about adding handle method to cli queue class. It was moved to \yii\queue\sqs\Queue.

Full changelog is available at GitHub.

May 19, 2019

onyijne

Onsen, Vue.js and Yii2 Template

Onsen-UI and Vue.js application template, with support for Vuex, vue-router, PWA, and CSRF.