forked from silverstripe/silverstripe-versioned
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.upgrade.yml
83 lines (83 loc) · 6.1 KB
/
.upgrade.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
mappings:
# pre-4.0 migrations
ChangeSet: SilverStripe\Versioned\ChangeSet
ChangeSetItem: SilverStripe\Versioned\ChangeSetItem
DataDifferencer: SilverStripe\Versioned\DataDifferencer
VersionableExtension: SilverStripe\Versioned\VersionableExtension
VersionedRequestFilter: SilverStripe\Versioned\VersionedHTTPMiddleware
Versioned_Version: SilverStripe\Versioned\Versioned_Version
VersionedGridFieldDetailForm: SilverStripe\Versioned\VersionedGridFieldDetailForm
VersionedGridFieldItemRequest: SilverStripe\Versioned\VersionedGridFieldItemRequest
Versioned: SilverStripe\Versioned\Versioned
VersionedLazy_DataObject: SilverStripe\Versioned\Tests\VersionedLazyLoadingTest\VersionedObject
VersionedLazySub_DataObject: SilverStripe\Versioned\Tests\VersionedLazyLoadingTest\VersionedSubObject
ChangeSetItemTest_Versioned: SilverStripe\Versioned\Tests\ChangeSetItemTest\VersionedObject
ChangeSetItemTest: SilverStripe\Versioned\Tests\ChangeSetItemTest
ChangeSetTest_Permissions: SilverStripe\Versioned\Tests\ChangeSetTest\Permissions
ChangeSetTest_Base: SilverStripe\Versioned\Tests\ChangeSetTest\BaseObject
ChangeSetTest_Mid: SilverStripe\Versioned\Tests\ChangeSetTest\MidObject
ChangeSetTest_End: SilverStripe\Versioned\Tests\ChangeSetTest\EndObject
ChangeSetTest_EndChild: SilverStripe\Versioned\Tests\ChangeSetTest\EndObjectChild
ChangeSetTest: SilverStripe\Versioned\Tests\ChangeSetTest
DataDifferencerTest: SilverStripe\Versioned\Tests\DataDifferencerTest
DataDifferencerTest_Object: SilverStripe\Versioned\Tests\DataDifferencerTest\TestObject
DataDifferencerTest_HasOneRelationObject: SilverStripe\Versioned\Tests\DataDifferencerTest\HasOneRelationObject
VersionableExtensionsTest: SilverStripe\Versioned\Tests\VersionableExtensionsTest
VersionableExtensionsTest_DataObject: SilverStripe\Versioned\Tests\VersionableExtensionsTest\TestObject
VersionableExtensionsTest_Extension: SilverStripe\Versioned\Tests\VersionableExtensionsTest\TestExtension
VersionedOwnershipTest: SilverStripe\Versioned\Tests\VersionedOwnershipTest
VersionedOwnershipTest_Object: SilverStripe\Versioned\Tests\VersionedOwnershipTest\TestObject
VersionedOwnershipTest_Subclass: SilverStripe\Versioned\Tests\VersionedOwnershipTest\Subclass
VersionedOwnershipTest_Related: SilverStripe\Versioned\Tests\VersionedOwnershipTest\Related
VersionedOwnershipTest_RelatedMany: SilverStripe\Versioned\Tests\VersionedOwnershipTest\RelatedMany
VersionedOwnershipTest_Attachment: SilverStripe\Versioned\Tests\VersionedOwnershipTest\Attachment
VersionedOwnershipTest_Page: SilverStripe\Versioned\Tests\VersionedOwnershipTest\TestPage
VersionedOwnershipTest_Banner: SilverStripe\Versioned\Tests\VersionedOwnershipTest\Banner
VersionedOwnershipTest_CustomRelation: SilverStripe\Versioned\Tests\VersionedOwnershipTest\CustomRelation
VersionedOwnershipTest_Image: SilverStripe\Versioned\Tests\VersionedOwnershipTest\Image
VersionedTest: SilverStripe\Versioned\Tests\VersionedTest
VersionedTest_DataObject: SilverStripe\Versioned\Tests\VersionedTest\TestObject
VersionedTest_WithIndexes: SilverStripe\Versioned\Tests\VersionedTest\WithIndexes
VersionedTest_RelatedWithoutVersion: SilverStripe\Versioned\Tests\VersionedTest\RelatedWithoutversion
VersionedTest_Subclass: SilverStripe\Versioned\Tests\VersionedTest\Subclass
VersionedTest_AnotherSubclass: SilverStripe\Versioned\Tests\VersionedTest\AnotherSubclass
VersionedTest_UnversionedWithField: SilverStripe\Versioned\Tests\VersionedTest\UnversionedWithField
VersionedTest_SingleStage: SilverStripe\Versioned\Tests\VersionedTest\SingleStage
VersionedTest_PublicStage: SilverStripe\Versioned\Tests\VersionedTest\PublicStage
VersionedTest_PublicViaExtension: SilverStripe\Versioned\Tests\VersionedTest\PublicViaExtension
VersionedTest_PublicExtension: SilverStripe\Versioned\Tests\VersionedTest\PublicExtension
VersionedTest_CustomTable: SilverStripe\Versioned\Tests\VersionedTest\CustomTable
ManyManyThroughListTest_VersionedObject: SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest\VersionedObject
ManyManyThroughListTest_VersionedJoinObject: SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest\VersionedJoinObject
ManyManyThroughListTest_VersionedItem: SilverStripe\Versioned\Tests\VersionedManyManyThroughListTest\VersionedItem
# alpha5-alpha6 migrations
SilverStripe\ORM\Versioning\ChangeSet: SilverStripe\Versioned\ChangeSet
SilverStripe\ORM\Versioning\ChangeSetItem: SilverStripe\Versioned\ChangeSetItem
SilverStripe\ORM\Versioning\DataDifferencer: SilverStripe\Versioned\DataDifferencer
SilverStripe\ORM\Versioning\VersionableExtension: SilverStripe\Versioned\VersionableExtension
SilverStripe\ORM\Versioning\Versioned_Version: SilverStripe\Versioned\Versioned_Version
SilverStripe\ORM\Versioning\VersionedGridFieldDetailForm: SilverStripe\Versioned\VersionedGridFieldDetailForm
SilverStripe\ORM\Versioning\VersionedGridFieldItemRequest: SilverStripe\Versioned\VersionedGridFieldItemRequest
SilverStripe\ORM\Versioning\Versioned: SilverStripe\Versioned\Versioned
skipConfigs:
- db_for_versions_table
warnings:
methods:
'SilverStripe\Versioned\Versioned->doPublish()':
replacement: 'publishRecursive'
message: 'Moved to SilverStripe\Versioned\Versioned->publishRecursive()'
'SilverStripe\ORM\DataObject->doPublish()':
replacement: 'publishRecursive'
message: 'Moved to SilverStripe\Versioned\Versioned->publishRecursive()'
'SilverStripe\Versioned\Versioned::reading_stage()':
message: 'Moved to SilverStripe\Versioned\Versioned::set_stage()'
replacement: 'set_stage'
'SilverStripe\Versioned\Versioned::current_stage()':
message: 'Moved to SilverStripe\Versioned\Versioned::get_stage()'
replacement: 'get_stage'
'SilverStripe\Versioned\Versioned->getVersionedStages':
message: 'Removed SilverStripe\Versioned\Versioned->getVersionedStages()'
'SilverStripe\Versioned\Versioned::get_live_stage()':
message: 'Use SilverStripe\Versioned\Versioned::LIVE constant instead'
'SilverStripe\Versioned\Versioned::get_default_stage()':
message: 'Use SilverStripe\Versioned\Versioned::DRAFT constant instead'