You can upgrade from v4 to v5 by performing these renames in your model that uses flags.
These instance methods should be renamed:
isRejected
renamed toisNotAccepted
isDeactivated
renamed toisNotActivated
isDisapproved
renamed toisNotApproved
isUninvited
renamed toisNotInvited
isUnkept
renamed toisNotKept
isUnpublished
renamed toisNotPublished
isUnverified
renamed toisNotVerified
isUnarchived
renamed toisNotArchived
isOpened
renamed toisNotClosed
isUndrafted
renamed toisNotDrafted
isUnended
renamed toisNotEnded
isUnexpired
renamed toisNotExpired
reject
renamed toundoAccept
deactivate
renamed toundoActivate
disapprove
renamed toundoApprove
uninvite
renamed toundoInvite
unkeep
renamed toundoKeep
unpublish
renamed toundoPublish
unverify
renamed toundoVerify
unarchive
renamed toundoArchive
open
renamed toundoClose
undraft
renamed toundoDraft
unend
renamed toundoEnd
unexpire
renamed toundoExpire
These global scopes methods should be renamed:
reject
method renamed toundoAccept
withRejected
method renamed towithNotAccepted
withoutRejected
method renamed towithoutNotAccepted
onlyRejected
method renamed toonlyNotAccepted
deactivate
method renamed toundoActivate
withDeactivated
method renamed towithNotActivated
withoutDeactivated
method renamed towithoutNotActivated
onlyDeactivated
method renamed toonlyNotActivated
disapprove
method renamed toundoApprove
withDisapproved
method renamed towithNotApproved
withoutDisapproved
method renamed towithoutNotApproved
onlyDisapproved
method renamed toonlyNotApproved
uninvite
method renamed toundoInvite
withUninvited
method renamed towithNotInvited
withoutUninvited
method renamed towithoutNotInvited
onlyUninvited
method renamed toonlyNotInvited
unkeep
method renamed toundoKeep
withUnkept
method renamed towithNotKept
withoutUnkept
method renamed towithoutNotKept
onlyUnkept
method renamed toonlyNotKept
unpublish
method renamed toundoPublish
withUnpublished
method renamed towithNotPublished
withoutUnpublished
method renamed towithoutNotPublished
onlyUnpublished
method renamed toonlyNotPublished
unverify
method renamed toundoVerify
withUnverified
method renamed towithNotVerified
withoutUnverified
method renamed towithoutNotVerified
onlyUnverified
method renamed toonlyNotVerified
unarchive
method renamed toundoArchive
open
method renamed toundoClose
undraft
method renamed toundoDraft
unend
method renamed toundoEnd
unexpire
method renamed toundoExpire
These events names should be renamed:
rejected
model event renamed toacceptedUndone
deactivated
model event renamed toactivatedUndone
disapproved
model event renamed toapprovedUndone
uninvited
model event renamed toinvitedUndone
unkept
model event renamed tokeptUndone
unpublished
model event renamed topublishedUndone
unverified
model event renamed toverifiedUndone
unarchived
model event renamed toarchivedUndone
opened
model event renamed toclosedUndone
undrafted
model event renamed todraftedUndone
unended
model event renamed toendedUndone
unexpired
model event renamed toexpiredUndone
You can upgrade from v2 to v3 by performing these renames in your model that has flags: Accepted
, Active
& Approved
.
These methods should be renamed:
unaccept()
has been renamed toreject()
.withUnaccepted()
has been renamed towithRejected()
.withoutUnaccepted()
has been renamed towithoutRejected()
.onlyUnaccepted()
has been renamed toonlyRejected()
.withInactive()
has been renamed towithDeactivated()
.withoutInactive()
has been renamed towithoutDeactivated()
.onlyInactive()
has been renamed toonlyDeactivated()
.unapprove()
has been renamed todisapprove()
.withUnapproved()
has been renamed towithDisapproved()
.withoutUnapproved()
has been renamed towithoutDisapproved()
.onlyUnapproved()
has been renamed toonlyDisapproved()
.
- 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
.