Issue #1155740 by tacituseu: Make remote file fetch HTTP version independent
[project/migrate.git] / CHANGELOG.txt
CommitLineData
72557f0f 1
8613963a
MR
2Migrate 2.1 Beta 1
3==================
15c8d83c 4
73658591
MR
5API change:
6
7Any field handler prepare() or complete() methods you have defined must be changed
8to remove stdClass for the $entity argument. I.e., prepare(stdClass $entity, stdClass $row)
9should now be prepare($entity, stdClass $row).
10
b1e9be6a 11Features and enhancements
4e338381 12- #1017246 - Added support for running migrations from the dashboard.
3e547680 13- #1004812 - Added schema-driven table destination plugin.
c5ee5d7b 14- #1009708 - Added role destination plugin.
1e61b858 15- #737170 - Added support for field level callbacks.
35e060d3 16- #1005090 - Modified filefield property import to use JSON input.
136dd6a6 17- #730980 - Added more detailed reporting on import.
3eca2a01 18- #1142384 - Extended file field support to copy from remote URLs.
8e570661 19- #1138096 - Added MigrateSourceMultiItems class for self-contained XML sources.
552d9ae3 20- #1101586 - Add shortcut methods for adding several field mappings at once.
b1e9be6a 21- #1101592 - Replace --itemlimit with --limit, supporting time limits as well.
15c0ee92 22- #1139080 - Added example and test for importing profile pictures over http.
b1e9be6a 23
15c8d83c 24Bug fixes
5839944b 25- #1155740 - Make remote file fetch HTTP version independent
8613963a 26- #1037872 - Deal with updates with idlists when mapping nids directly.
5a9dbb1f 27- #943546 - Make sure both slashes and backslashes are trimmed where necessary.
3e547680 28- #1146366 - Fixed rollback of table destinations.
63576280 29- #1148474 - Enforce unique IDs in MigrateItemsXML.
73658591
MR
30- #1132034 - Don't assume entity is a stdClass.
31- #753284 - Fixed systemOfRecord==DESTINATION updates for nodes and users.
44207d19 32- #1142104 - Proper prefixing of tables when updating comment statistics.
53a16979 33- #1136852 - Fixed cross-threaded test in preImport().
b4658dd4 34- #1134858 - Improved validation for XML imports.
673a3f3a 35- #1134300 - Add parameter $messages_only to MigrateMap::delete().
213d1d20 36- #1134506 - Removed obsolete views_alter() hook.
a3d6ec08 37- #1133096 - CSV source always processed last row, fix to clear currentRow.
334886f4 38- #1124318 - Properly use source_field arguments for file field attributes.
e16cac30 39- #1133030 - Undefined constant in drush migrate-fields-destination.
a0afaf50 40- #1128532 - Handle call to watchdog when Migration class not defined.
c3602d3b 41- #1126108 - Fix undefined variables in XML error handling.
467a74e1 42- #1117602 - Bad counts reported on bulk rollback.
75d5029a 43- #1118480 - Document _name arguments to file fields.
9cd96727 44- #1108700 - Remove obsolete references to prepare().
b587358c 45- #1107546 - Check file presence with is_file() instead of file_exists().
c6148af5
MR
46- #1097136 - Replace list_number with list_integer and list_float in set of
47 supported simple field types.
48- #1103042 - Rollback broken with multi-valued keys.
15c8d83c 49
bee1da91
MR
50Migrate 2.0
51===========
52No changes since RC3.
53
52eb55dc
MR
54Migrate 2.0 Release Candidate 3
55===============================
93aad744 56
8c757580
MR
57Features and enhancements
58 Added JSON source plugin.
59
93aad744 60Bug fixes
8790cd12 61- #867940 - Prevent overwriting of migrated files with common basenames.
97e0e828 62- #1072170 - Allow revision setting to be overridden.
27d6526f 63- #1073770 - Quietly skip missing files in MigrateFileFieldHandler.
51f9afeb 64- #1079416 - postRollback called outside of rollback operation.
a44e8834 65- #1070894 - Apply tokens when saving files.
d4c378db 66- #1067918 - Static cache of migrations messes up simpletests.
bdf092d2 67- #1053798 - Message meant for debug not marked 'debug'.
102dbd98 68- #1063926 - prepareRow() call missing from MigrateSourceList.
689f1e0c 69- #1062200 - Validate arguments for getFieldLanguage().
93aad744
MR
70- #1061284 - Appropriately translate watchdog severities to migrate severities.
71
f1bee834
MR
72Migrate 2.0 Release Candidate 2
73===============================
74
75Bug fixes
81da2cf8 76- migrate_example error when auto_nodetitle module not present.
f1bee834
MR
77- #1053798 - Missing 'debug' on showMessage.
78
990d45d1
MR
79Migrate 2.0 Release Candidate 1
80===============================
2265eed9
MR
81
82Features and enhancements
e3a9ac4f 83- #919108 - Add deleteDestination() for maps; cache migration list.
b7038227 84- #1005090 - Support multiple values for file fields.
990d45d1 85- #996086 - Add prepareRollback and completeRollback methods for entities.
13e1d628
MR
86- #1039882 - Pass client migration to stub creation. Note that $migration->values
87 (the destination object being built) is now $migration->destinationValues - any
88 migrations referencing this member will need to change.
a1fa2c9d 89- #946350 - Accept arrays in sourceMigration();
309e6c00 90Let a node migration set node_revisions.uid. That's the 'last edited by' user
2265eed9
MR
91
92Bug fixes
f6c24f87 93- #1053798 - Consistent use of error codes.
a05d92e8 94- #1053526 - Machine names in drush commands now case-insensitive.
61428d74 95- #914440 - Enhance multilingual support.
8029950d 96- #1014648 - Defaulting of file field subfields.
d3b0fdc8 97- #1037872 - Make sure is_new is off for previously migrated content.
875c132a 98- #919706 - Fix drush migrate-descriptions command.
b5af1644
MR
99- #1027468 - Limit map/message table name lengths.
100- #1045646 - Handle PHP memory_limit of -1.
a4ddcd3e 101- #1050348 - Check map table existence in correct DB.
4f799877 102- #1028824 - Errors during registry rebuild trigger fatal error.
8a832016 103Fix highwater handling to deal with duplicate values.
309e6c00 104- #998604 - Fixed dedupe.
6debd0b7 105- #998586 - Improved feedback for disabled migrations.
31b47f2b 106- #972382 - Fix MigrateDestinationTableCopy.
30a4c435 107- #962120 - Support idlist on rollback.
2a303f60 108- #1017256 - Document case-sensitivity in beer.inc.
2265eed9 109- #1013844 - Better error handling in getInstance().
5cab524f 110- #1008228 - migrate_example broken by list changes in D7 RC3.
2265eed9 111
2933ebca 112Migrate 2.0 Beta 3
9e2f2bd3 113==================
f82318a6 114
9e2f2bd3 115Features and enhancements
f82318a6 116
7a68c5aa 117- #989200 - Support "dynamic" migrations. Changes to be aware of:
20d432de
MR
118 All modules implementing migration classes must now implement hook_migrate_api()
119 (see migrate_migrate_api() for an example).
120 Dependencies and sourceMigrations must now be expressed in terms of
121 machine name rather than class name.
122 MigrationBase::getInstance now takes a machine name rather than a class name.
a0e4fe8a 123 Migration class names are no longer required to end in 'Migration'.
386e47e4 124- #992898 - Pass options to source and destination constructors as arrays.
c8ae25d1 125File destinations (i.e., migrating directly to the file_managed table, with
73658591 126 optional copying of the files themselves) are now supported.
2933ebca 127Allow migration of comment enable/disable.
83382438
MR
128Check max_execution_time as well as memory_limit, for graceful exit when
129 max_execution_time is in play.
51ff3f1b 130Add dedupe() method for a field mapping.
a4bc4624 131Apply MigrateBase::timestamp() to comment created/changed
2933ebca
MR
132
133Bug fixes
f82318a6 134
e48aa9bf 135- #1006272 - Remove lengths on int fields in schema (breaks Postgres)
d56ecd0c 136- #1005030 - Replace eval() with proper call_user_func().
1d354667 137- #1005360 - Skip .test files in registry scan
a8d776ff 138- #1004268 - Don't munge date separators
bb506e5e 139- prepareRow() hook skips current row only if boolean FALSE is returned.
f82318a6 140- #989622 - Fix undefined variable in MigrateDestinationNode::import().
2933ebca
MR
141- #984294 - Make migrate dashbard a local task.
142needs_update => needs-update to match drush conventions.
143- #959400 - Better way to get vid for vocabulary.
51ff3f1b
MR
144- #984336 - Additional fields and vocabularies not reported on migration info page
145- #990960 - Initialize fields array for profiles
146- #993684 - hook_requirements should always return array.
147- #983968 - Bogus settings of ->uid
9e2f2bd3 148
2933ebca
MR
149Migrate 2.0 Beta 2
150==================
9e2f2bd3
MR
151Bug fixes
152- #984294 - Migration info pages are blank
153
3f44fc0f 154Migrate 2.0 Beta 1
9e2f2bd3 155==================
3f44fc0f
MR
156Version 2 of the Migrate module is an entirely new implementation - it is
157pointless to list changes since Migrate 1.