Skip to content

Conversation

@antonkomarev
Copy link
Member

@antonkomarev antonkomarev commented Jan 3, 2017

The new logical Inverse group added. All flags from 1.x version moved to Classic logical group.

How to upgrade

  • Find all use Cog\Flag\Traits; in your controllers.
  • Replace with use Cog\Flag\Traits\Classic;

2.0.0 - 2016-01-04

Breaking changes

  • Namespaces of flag's traits received Classic at the end: Cog\Flag\Traits\Classic.
  • Namespaces of flag's scopes received Classic at the end: Cog\Flag\Scopes\Classic.

Added

  • Inverse Logic flags group. Hides entities if flag not set.
  • is_expired inverse boolean flag added.

@antonkomarev antonkomarev merged commit bfc364a into master Jan 4, 2017
@antonkomarev antonkomarev deleted the feature/is-expired branch January 4, 2017 00:30
@antonkomarev antonkomarev mentioned this pull request Jan 4, 2017
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants