CHANGELOG.txt 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. Next release
  2. ============
  3. Features and enhancements
  4. - #2552189 - Return migration status from drush migrate-import.
  5. - #2550793 - Option to always use chunk IDs in MigrateContentParser.
  6. - #2505683 - Pass item ID to MigrateContentParser implementations.
  7. - #2532222 - Allow spreadsheet source data on a row different that 1.
  8. - #1406802 - Add callback() field mapping method, to pass additional arguments
  9. to callbacks.
  10. - #2516828 - Add mdreg alias for migrate-deregister.
  11. - #2504517 - Add timezone handling to timestamp().
  12. Bug fixes
  13. - #2612110 - Notice when units omitted on --limit.
  14. - #2597606 - Escape MySQL database names.
  15. - #2577091 - Do strict type-check on XML ids.
  16. - #2537206 - copy() return not checked.
  17. - #2536616 - Improve message when sourceMigration not found.
  18. - #2578391 - Improve message when class not found.
  19. - #2565043 - Handle empty idlist in MigrateSourceMultiItems.
  20. - #2510010 - Stop stripping group name prefixes from migration names.
  21. - #2542520 - Fallback for missing source key description.
  22. - #2499861 - Properly save/disable/restore mail system.
  23. - #2541996 - Prevent NULL file_mask being passed to file_scan_directory().
  24. Migrate 2.8
  25. ===========
  26. Features and enhancements
  27. - #2379289 - Better handle interaction of --update with highwater marks.
  28. - #2403643 - Support an additional level of subfields.
  29. - #2472045 - Add language subfields only if field is translatable.
  30. - #2474809 - Provide better message for bad dependencies.
  31. - #2397791 - Provide detailed field validation errors.
  32. - #2309563 - Add support for running migrations via wildcard name.
  33. - #2095841 - Abstract mail system disablement for more flexibility.
  34. - #2419373 - Provide ability to cache map lookups.
  35. - #2141687 - Provide detailed message on file copy error.
  36. Bug fixes
  37. Field sanitization added to prevent possibility of XSS - see security advisory
  38. https://security.drupal.org/node/155268.
  39. - #2447115 - Add xpath handling to the field mapping editor.
  40. - #2497015 - Term reference handler would ignore all terms if one was NULL.
  41. - #2488560 - MigrateSourceList/MigrateSourceMultiItems iterators prematurely
  42. return.
  43. - #2446105 - Keep coded DNM source field mappings from overriding UI mappings.
  44. - #2415977 - Use temporary:// instead of /tmp for drush logging.
  45. - #2475473 - Fix handling of --idlist when map not joined.
  46. - #2465387 - Fix handling of --stop option on migrate-import.
  47. Migrate 2.7
  48. ===========
  49. Features and enhancements
  50. - #2296911 - Add a source handler for IBM DB2.
  51. - #2256761 - Add a destination handler for variables.
  52. - #2047815 - Support multi-column source keys in idlist.
  53. - #1751438 - Add spreadsheet source plugin.
  54. Bug fixes
  55. - #2415597 - Make batching of SQL sources optional, and force map_joinable FALSE.
  56. - #2403593 - SQL batching messes up cases with altered queries, such as idlist.
  57. - #2298969 - Verify wizard validation function exists.
  58. - #2268863 - Fix drush --all option.
  59. - #2410523 - Remove inconsistent escaping of migrate_drush_path.
  60. Migrate 2.6
  61. ===========
  62. IMPORTANT CHANGES SINCE MIGRATE 2.5
  63. -----------------------------------
  64. Migration developers will need to add the "advanced migration information"
  65. permission to their roles to continue seeing all the info in the UI they're
  66. used to.
  67. Auto-registration (having classes be registered just based on their class name,
  68. with no call to registerMigration or definition in hook_migrate_api()) is no
  69. longer supported. Registration of classes defined in hook_migrate_api() is no
  70. longer automatic - do a drush migrate-register or use the Register button in the
  71. UI to register them.
  72. Migration class constructors should now always accept an $arguments array as
  73. the first parameter and pass it to its parent. This version does support legacy
  74. migrations which pass a group object, or nothing, but these methods are
  75. deprecated.
  76. Features and enhancements
  77. - #2390229 - Make literal strings monolithic.
  78. - #2391789 - Add extender getter to better support extending wizards.
  79. - #2363015 - Add support for modifying wizards defined by other modules.
  80. - #2353527 - Add getter/setter for trackLastImported.
  81. - #2302929 - Explicitly count IDs for JSON source counts.
  82. - #2296187 - Batch MigrateSQLSource queries.
  83. - #2260211 - Allow skipping of file contents in MigrateListFiles.
  84. - #2259089 - Display actual query for SQL sources.
  85. - #2224297 - Destination handler for custom blocks.
  86. - #2370677 - Add removeStep() method to Wizard API.
  87. - #2306953 - Give basic users a little more information.
  88. - #2261357 - Add prepareCallback/completeCallback to table destination.
  89. - #2306923 - Propagate message statuses to drupal_set_message in batch.
  90. - #2301679 - Display all source key fields in the message view.
  91. - #2312075 - Add --ignore-highwater option to drush imports
  92. - #1961316 - Get data from all XML namespaces
  93. - #1298724 - Add a node revision destination plugin.
  94. - #1890610 - Add a MongoDB source plugin
  95. - #2065295 - Add ability to disable other module's hooks during migration.
  96. - #2051547 - Add ability to revert UI-defined field mappings.
  97. - #1998632 - Extend MigrateItemsXML to handle an array of XML files.
  98. - #1990612 - Add a row status argument to MigrateException, allowing rows to
  99. be cleanly skipped by throwing exceptions.
  100. - #2017835 - Add MigrateFileUriAsIs file class, and make file migrations more
  101. flexible.
  102. - #2004426 - UI support for editing dependencies; enable setting dependencies
  103. through arguments.
  104. - #1826112 - A new API has been added to support external modules in developing
  105. easy-to-use wizard-based UIs.
  106. - #1833380 - Major refactoring of the UI, breaking groups and migrations
  107. (tasks) into separate pages, introducing an advanced permission and
  108. presenting a simplified UI to those with only the basic permission.
  109. - #1860450 - The UI now has the capability of spawning import/rollback operations
  110. in drush, with email notifications of completion. The notification
  111. ability is available when running drush at the command line, which
  112. may be useful for running imports via cron.
  113. - #1996602 - A default field handler is now provided that should handle many if
  114. not most field types without custom handlers.
  115. - #1901980 - Support encrypting particular arguments saved to the database, to
  116. support wizard implementations that may be prompting for secure
  117. database credentials.
  118. - #1896096 - Add ability to define field mappings via arguments at registration
  119. time, and use those to override mappings in code.
  120. - #1961620 - When editing field mappings, allow destination or source fields to
  121. be explicitly set DNM.
  122. - #1996280 - Allow all field/subfields/options to be edited, and indent
  123. subfields/options to make the relationship more clear.
  124. - #1996350 - Allow sourceMigration to be edited.
  125. - #1996736 - Add support for hook_migrate_api_alter().
  126. - #1984568 - Add setters to enable constructing migrations according to a
  127. dependency injection pattern.
  128. - #1835822 - Hash source rows to detect changes.
  129. - #1975180 - Explicitly check dependency existence so missing dependencies aren't
  130. reported as circular.
  131. - #1984534 - Updating/cleanup of examples to reflect current best practices.
  132. - #1972600 - Add getter for the MigrateXMLReader member of MigrateSourceXML.
  133. - #1856694 - Allow disabling of uri encoding.
  134. - #1835142 - Add names-only option to drush ms command.
  135. - #1892296 - Increase time limit for batch UI migrations.
  136. - #1839644 - Groups have been extended to record titles and arguments in the db.
  137. - #1896920 - Remove auto-registration, and make static registration expicit.
  138. - #1928956 - Clean up registration/instantiation chicken-and-egg problems, by
  139. supporting consistent constructor arguments.
  140. - #1550878 - Added UI for deregistering migrations, including one-button
  141. deregistration of orphans.
  142. - #1792894 - Remove empty field values, permitting proper defaulting.
  143. - #1903236 - Allow reset of migrate_migrations() cache.
  144. - #1894344 - Support warn_on_override for bulk unmigrated methods.
  145. - #1886404 - Allow subfields to be mapped before primary fields.
  146. Bug fixes
  147. - #2391891 - idlist with XML source causes exception.
  148. - #2314077 - Don't merge group dependencies into migration dependencies.
  149. - #2392683 - Set vocabulary name (bundle) explicitly for term reference fields.
  150. - #2266395 - Check for valid picture file saving users.
  151. - #2225551 - Add field validation to entity destination plugins.
  152. - #2285966 - Added exception handling around constructors.
  153. - #2370877 - Fix reloading of wizard steps after first.
  154. - #2358767 - Topological sort to help avoid false circular dependency errors.
  155. - #2019193 - Properly handle destination DNM status on field mapping save.
  156. - #2250081 - Fix PostgreSQL failure updating node statistics on comments.
  157. - #2157933 - Fix PostgreSQL error with empty source migrations.
  158. - #2177313 - Make sure reused file entities are saved to pick up field changes.
  159. - #2352971 - Treat empty default values as NULL in field mapping editor.
  160. - #2347205 - Explicitly default the language for terms.
  161. - #2307599 - Notice for non-advanced users on rollback.
  162. - #2305105 - Remove pedantically-deprecated hyphens.
  163. - #2325237 - Handle language arrays for file fields.
  164. - #2258909 - Use migrated languages for file fields.
  165. - #2323605 - Handle single-parent terms properly.
  166. - #2313495 - Handle multilingual path aliases.
  167. - #2261227 - Fixed missing subfields on edit mapping form.
  168. - #2154385 - Add file/line context to source plugin exceptions.
  169. - #2190255 - Remove duplicate warnings on missing XML source.
  170. - #2129609 - Remove warnings on MS SQL counts.
  171. - #2109931 - Pass drush global options to subprocess.
  172. - #2236279 - Prevent ignore_case from causing created terms to be lower-cased.
  173. - #2104149 - Sanity-check decrypted arguments.
  174. - #2047523 - Consistently document destination handler fields() implementations.
  175. - #2244759 - Rollback migrations in proper (reverse) order in UI.
  176. - #2184641 - Make saveHighwater() work with PostgreSQL.
  177. - #2076035 - Properly check key values in saveMessage().
  178. - #2076035 - Validate that term names are not empty.
  179. - #2225809 - Use proper API for registering wizard classes.
  180. - #2105037 - Expose nid/uid destinations when is_new is on.
  181. - #2145213 - Add SQLMap constructor documentation.
  182. - #2213033 - Add batch callback documentation.
  183. - #2095829 - Remove all variables on uninstall.
  184. - #2072721 - Proper title for migrate_example_baseball feature.
  185. - #1999228 - Removed AJAX from field mapping form for performance.
  186. - #2237755 - Fix activeUrl handling in JSON source.
  187. - #2237891 - Use drupal_register_shutdown_function().
  188. - #2141409 - Handle drush spawning when Drupal in subdirectory.
  189. - #2191335 - Remove unused columns from CSV source row.
  190. - #2210533 - Properly pass directory by reference.
  191. - #2141569 - Explicitly create group in baseball example.
  192. - #2159291 - Add message for missing argument to drush migrate-messages.
  193. - #2019193 - Fix unsetting of DNM source fields through the UI.
  194. - #2227061 - Fix to subfields in a multi-value context.
  195. - #2170177 - Properly handle multi-value fields when a subfield is mapped first.
  196. - #2120205 - Fix bug when upgrading lastimported from D6 to D7.
  197. - #2109821 - Handle multi-value subfields in the default field handler.
  198. - #2039649 - Smarter setting of file 'type' field.
  199. - #2106925 - Fix machine_name generation for legacy migrations.
  200. - #2102087 - Don't pass --group to drush subprocess.
  201. - #2099585 - Enable group option on drush migrate-stop.
  202. - #2088255 - Eliminate notices on migrate_map_hash with track_changes.
  203. - #2014849 - Make sure (again) statistics properly default to 0.
  204. - #2042535 - Properly set file_usage for user pictures.
  205. - #2060631 - Fix notices on poll vote import.
  206. - #2049689 - Empty values for node is_new caused SQL errors.
  207. - #2042399 - Node import did not respect revision flag.
  208. - #2034885 - For XML sources, don't override values populated in prepareRow().
  209. - #2041267 - Handle lack of potential dependencies on edit page.
  210. - #2040101 - Breadcrumbs in migration UI missing sections
  211. - #2033947 - Empty migration display names when matching group names.
  212. - #2037265 - Static migrations were not registered on module enable.
  213. - #2021457 - Coding standard improvements for xml.inc.
  214. - #2030559 - Add deprecation messages for arguments().
  215. - #1854382 - Fix handling of terms with leading spaces.
  216. - #2025137 - Ignore --update in the presence of --idlist.
  217. - #2023813 - Apply defaultValue() for empty XML values.
  218. - #2023657 - Prevent duplicate aliases when updating nodes.
  219. - #2021973 - Drush deregistration needs to handle mixed-case machine names.
  220. - #2017443 - Properly hash XML source rows with track_changes on.
  221. - #2020095 - Preserve arguments in legacy constructors.
  222. - #2018841 - Default field handler needs to account for empty column
  223. descriptions.
  224. - #2016173 - Fix fatal error editing MigrationBase migrations.
  225. - #2015327 - Remove broken automatic field mapping feature.
  226. - #2014849 - Make sure statistics properly default to 0.
  227. - #2011024 - Wildcard groups/tasks in the menu hierarchy, saving the need to
  228. rebuild menus when migrations are registered/deregistered.
  229. - #2010884 - Clean up empty default groups on dbupdate.
  230. - #2004296 - Enforce map/message table names with prefixes.
  231. - #2009222 - Properly update map/message tables on a non-default connection.
  232. - #2006158 - Fix warnings on default field handler fields().
  233. - #1999918 - Move permissions to core Migrate module.
  234. - #1999290 - Check that an XMLMigration has actually populated $row->xml.
  235. - #1989012 - Support preserve_files for MigrateFileFid.
  236. - #1982564 - Properly handle messages for ignored rows.
  237. - #1989022 - Strip HTML tags from drush fields output.
  238. - #1988008 - Restore group dependency support.
  239. - #1985750 - Add missing prepareRollback/completeRollback for file destinations.
  240. - #1978702 - Check highwater marks against the starting highwater.
  241. - #1974216 - Change field mapping table PK to a simple serial column.
  242. - #1977578 - Bad exception handling in MigrateDestinationTableCopy.
  243. - #1973030 - Handle zero-valued timestamps properly.
  244. - #1973092 - Fix preservation of sourceMigration when editing mappings.
  245. - #1968358 - Prevent unnecessary reimport when using track_changes.
  246. - #1968014 - Fix menu notices on task list page.
  247. - #1967946 - Missing check on existence of mapping.
  248. - #1849350 - Make sure encoding of uris doesn't break query strings.
  249. - #1844316 - Ensure rollback_action is added to all map tables.
  250. - #1913462 - Fix update functions returning arrays.
  251. - #1831940 - Allow empty string source keys in handleSourceMigration().
  252. - #1896042 - Fix incorrect usage of originalQuery.
  253. - #1954936 - Allow overriding source count in isComplete.
  254. - #1952430 - Prevent bogus "no error provided" messages.
  255. - #1931168 - Properly cache class info in _migrate_class_list().
  256. - #1900914 - Disable email with no custom mail system configured.
  257. - #1901648 - Missing bundle property on file migrations.
  258. - #1885362 - Make access callback explicit, to avoid conflict with admin_views.
  259. - #1880512 - Strip tags from descriptions on drush migrate-mappings.
  260. - #1872446 - Properly handle updates on role migration.
  261. - #1871764 - Pass zero values through handleSourceMigration.
  262. - #1839534 - Handle missing chunk separator in MigrateItemFile.
  263. - #1854382 - Prevent duplicate terms due to leading/trailing spaces.
  264. - #1794236 - Namespace detail pages within menu system.
  265. - #1836426 - Proper check on activeUrl for multiple XML files.
  266. Migrate 2.5
  267. ===========
  268. IMPORTANT: Automatic registration of new migration classes is no longer done on
  269. a cache clear. Depending on automatic registration is now deprecated, and you
  270. are encouraged to implement your migrations as DynamicMigration and explicitly
  271. register them via hook_migrate_api() or MigrationBase::registerMigration().
  272. If your migrations are not explicitly registered, you must request auto-registration
  273. with a "drush mar" (drush migrate-auto-register) command, or by clicking the
  274. "Register" button at admin/content/migrate/registration.
  275. Features and enhancements
  276. - #1824024 - Destination and field handlers may now be registered through
  277. hook_migrate_api(). Automatic registration of all migration and
  278. handler classes may be disabled at admin/content/migrate/registration.
  279. The handler configuration formerly at admin/content/migrate/configure
  280. is now at admin/content/migrate/handlers.
  281. - #1778952 - Update examples to emphasize explicit registration via
  282. hook_migrate_api().
  283. - #1819730 - Make migration of files in a field context non-fatal.
  284. - #1816652 - Provide useful warning when file subfield arrays don't line up.
  285. - #1778952 - Enable registration of dynamic migrations via hook_migrate_api().
  286. Add explicit auto-registration of non-dynamic migrations, remove
  287. performing registration on cache clear.
  288. - #1421974 - Add queueMessage(), so messages can be generated in prepareRow().
  289. - #1626374 - Allow creation of duplicate terms.
  290. - #1810306 - Allow multi-value keys in MigrteItemJSON.
  291. - #1799964 - Add reference query getter to MigrateSourceSQL.
  292. - #1670410 - Sanity-check migration machine names.
  293. - #1637458 - Pass field instance rather than just field name to field() methods.
  294. - #1688312 - Allow any file field argument to have per-instance values.
  295. - #1701764 - Add prepareKey() method to customize source keys.
  296. - #1703050 - Add track_last_imported option for maps.
  297. - #1690092 - Protect migrations, or specific rows, from rollback.
  298. - #1672572 - Stifle mapping override messages.
  299. - #1621608 - Support for splitting files on import.
  300. - #1637292 - Support case-sensitive matching on term reference fields.
  301. - #1647594 - Add information message on unmatched terms.
  302. - #1621906 - Support DESTINATION system-of-records for menu links.
  303. Bug fixes
  304. - #1827052 - Properly check for bad XML.
  305. - #1824118 - Make --force work for rollbacks.
  306. - #1659150 - Change 'ok' message types to 'status'.
  307. - #1690080 - Deal with self-references in handleSourceMigration().
  308. - #1797644 - Remove bogus assignment on term update.
  309. - #1807522 - Handle ignored map rows in handleSourceMigration().
  310. - #1803648, #1805184 - Handle empty values in handleSourceMigration().
  311. - #1780850 - By default, urlencode all path components in MigrateFileUri;
  312. - #1763932 - Empty path aliases generated for users.
  313. - #1717284 - Make sure nodes with unspecified languages end up language-neutral.
  314. - #1712434 - Highwater fails when highwater field values == 0.
  315. - #1708296 - Handle timestamps before 1902.
  316. - #1637444 - Don't offer format subfield for plain text fields.
  317. - #1700678 - Only show path as a destination where applicable.
  318. - #1693304 - Role import results not reported.
  319. - #1676652 - Fix preserve_files issues with file destination, MigrateFilFid,
  320. FILE_EXISTS_REUSE cases.
  321. - #1679798 - Remove remote file import, for reliability of simpletests.
  322. - #1619822 - Cleanup drush subprocess handling.
  323. - #1635184 - Properly NULL csvHandle when closing.
  324. - #1630544 - Fix FILE_EXISTS_REUSE to actually reuse existing file entities.
  325. - #1618466 - Fix picture notice when updating users.
  326. - #1615682 - Fix to CSV record counting.
  327. Migrate 2.4
  328. ===========
  329. IMPORTANT: The file migration support (both MigrateDestinationFile and
  330. the file field handler) has been completely refactored since Migrate 2.3 - if you
  331. are importing files as part of your migration, you MUST change your migrations
  332. to properly use the new implementation. See http://drupal.org/node/1540106 for
  333. details on how to use the new handlers and destination.
  334. Features and enhancements
  335. - #1685122 - Add previous source field name to notice.
  336. - #1692912 - Add vocabulary name to notice.
  337. - #1606586 - Add activeUrl public method to MigrateSourceXML.
  338. - #1587842 - Remove sample CSV files from migrate project.
  339. - #1152878 - drush migrate-analyze command, for source data analysis.
  340. - #1587566 - Support escape option for CSV sources on PHP 5.3.
  341. - #1189328 - UI option to ignore dependencies.
  342. - #1016452 - Support migrating user role assignments by name.
  343. - #653636 - Add migrate-messages command to dump message table.
  344. - #1428166 - Make message columns sortable.
  345. - #1459888 - Removed deprecated source count(), showMessage(), setOutputFunction().
  346. - #1528916 - Link field descriptions to drupal.org documentation.
  347. - #722686 - Support for node statistics.
  348. - #1299646 - Enforce dependencies on rollback.
  349. - #1328408 - Support --group on drush migrate-status.
  350. - #1402822 - Cleaner handling of exceptions from source plugins.
  351. - #1240928 - File handling completely refactored - see note above.
  352. - #1279778 - Improved method for mapping options and subfields.
  353. - #1403044 - Added menu destination plugins.
  354. - #1350284 - Visually group migrations by group in drush.
  355. Bug fixes
  356. - #1680878 - Fix rollback through UI.
  357. - #1693492 - Map table query not using right connection.
  358. - #1614318 - MigrateFileUri failed to pass file object through.
  359. - #1601974 - Remove percent sign fix-up, leave to particular application.
  360. - #1600912 - Base constructor was undermining UI override of displayFunction.
  361. - #1595056 - Handle empty arguments from migrate_status table.
  362. - #1595166 - Support multiple source keys in MigrateList.
  363. - #919108 - Cleaner error-handling when updating destinations that don't exist.
  364. - #1574502 - Coder review, remove dead code.
  365. - #1570536 - Undefined property in term.inc.
  366. - #1569612 - skip_empty should only skip NULL values.
  367. - #1561448 - Proper handling of is_new for users.
  368. - #1205278 - Don't multiply-increment usage counts when preserving files; remove
  369. file_usages on uninstall.
  370. - #1438282 - Handle errors thrown when getting counts.
  371. - #1358318 - Fix dedupe() overdeduping on --update.
  372. - #1538046 - Give highwater marks a chance at preparation before using them.
  373. - #1408248 - Handle errors in complete() cleanly.
  374. - #1541882 - Make sure displayFunction is set before calling it.
  375. - #1529362 - Make proper check if previously imported.
  376. - #1537076 - Apply languages to each value in a multi-value field.
  377. - #1542922 - Fix XML parsing bug.
  378. - #1538508 - Fix notice when mapping parent_name.
  379. - #1537352 - Check limits and status before next().
  380. - #1540120 - Zero not working as defaultValue.
  381. - #1508654 - MigrateSourceSQL needs to respect join aliases.
  382. - #1518076 - UI side of subfield handling.
  383. - #1480762 - Fix cross-database joins to map table.
  384. - #1520688 - setDisplayFunction needs to be static.
  385. - #1518064 - Upgrade needs to check field existence.
  386. - #1518008 - Upgrade uses obsolete db_column_exists API.
  387. - #1308268 - Term migration should link to pre-existing terms.
  388. Migrate 2.3
  389. ===========
  390. Features and enhancements
  391. - #1315910 - Added migrate-deregister drush command.
  392. - #1437076 - Make Migration class field mapping methods public.
  393. - #1430528 - Document importance of migrating term parents first.
  394. - #1418126 - Use node_delete_multiple on migrate-wipe.
  395. - #1424632 - Improve user migration performance by reducing hash count.
  396. - #1414616 - Automatically update migration arguments.
  397. - #1364326 - Default --limit option to items.
  398. - #1337640 - Properly optimize the SQL source query for highwater marks.
  399. - #1366588 - Source plugin support has been refactored to put more of the common
  400. processing in the base class. When implementing a source plugin,
  401. implement performRewind() and getNextRow().
  402. - #519906 - Added support for the core poll module (choices and votes).
  403. - #1355940 - Track all source rows in the map table.
  404. - #1358650 - Truncate text fields according to configured max_length.
  405. - #941440 - Autodetection of source fields when unspecified.
  406. - #1341776 - Add option to skip source counting.
  407. - #1342936 - Pass source key in calls to Migration::createStub().
  408. - #1335110 - Automatically lowercase MD5 passwords.
  409. - #1331912 - Catch exception due to skipped beginProcess().
  410. - #1337810 - Documented hooks in migrate.api.php.
  411. - #1342322 - Added default implementation of prepareRow(), simplifying source plugins.
  412. - #1336534 - Added MigrateSourceXML for efficient handling of large XML files.
  413. - #1330552 - Provide more detail on bad field mappings.
  414. - #1321078 - Display incomplete dependencies in the error message.
  415. - #1321062 - Simple base class for field handlers.
  416. - #1314448 - Added tnid to node destination handler.
  417. - #1231492 - Added source handler for retrieving content from file directories.
  418. - #1290706 - Centralize loading of XML.
  419. - #1295040 - Support --update functionality in UI.
  420. - #1304444 - Added static displayMessage(), deprecating showMessage().
  421. - #1290706 - Centralize loading of XML.
  422. - #1254398 - Prevent accidental emailing during migration.
  423. Bug fixes
  424. - #1378114 - Handle case-sensitive term name variations properly.
  425. - #1450950 - Convert user datetimes values to timestamps.
  426. - #1437208 - Handle malformed CSV files quietly.
  427. - #1413350 - Support invoking subprocesses under Drush 5.
  428. - #1404732 - Properly call taxonomy_term handler fields() method.
  429. - #1447368 - Handle purely numeric PHP memory_limit.
  430. - #1432802 - Default $options to prevent PHP 5.4 error.
  431. - #1333656 - Remove content type/fields when uninstalling migrate_example_baseball.
  432. - #1416012 - Cleanly handle NULL source key values in saveIDMapping().
  433. - #1419086 - Better error handling in MigrateXMLReader::next().
  434. - #1422114 - ID list array must be imploded for queries.
  435. - #1372204 - Fix loss of pictures when updating users.
  436. - #1364034 - Add cache_key option to sources, for disambiguation.
  437. - #1354162 - Make sure messages are retrieved from the right connection.
  438. - #1352648 - Update mode reapplied on each batch in UI.
  439. - #1349246 - Postgres error updating migrate_log.
  440. - #1342686 - Generalized needs-update support.
  441. - #1341598 - filename/filemime not set in file_link/file_blob cases.
  442. - #1342736 - drush options don't need -- prefix.
  443. - #1340204 - MigrateDestinationFile::prepare() didn't call parent::prepare().
  444. - #1336880 - Fix XPath handling in MigrateItemsXML::getIDSFromXML.
  445. - #1334546 - Validate compound keys passed to handleSourceMigration().
  446. - #1305338 - Corrected type-hint in MigrateSourceSQL constructor.
  447. - #1305910 - MigrateDestinationTable now tracks inserted/updated records.
  448. - #1284592 - Fixed error on empty term parents.
  449. - #1300258 - Fixed error on unfulfilled term references.
  450. - #1292462 - Group missing from drush options.
  451. - #1290122 - Force destinations to implement __toString().
  452. - #1290120 - Warnings updating users if roles not set.
  453. - #1290118 - Warning in MigrateItemJSON::getItem()
  454. - #1133096 - Failure to clear currentRow in MigrateSourceMultiItems.
  455. Migrate 2.2
  456. ===========
  457. Features and enhancements
  458. - #1240928 - Generalize file handlers, to ease media module support.
  459. - #1226768 - Improved exception handling.
  460. - #1230294 - Get correct count of CSV with embedded newlines.
  461. - #1185632 - Handle (potentially multiple) headers in CSV source plugin.
  462. - #1210152 - Improved error messages on file field migration.
  463. - #1212818 - migrate_ui support for one-step rollback-and-import.
  464. - #1218244 - Support for is_new for users.
  465. - #1216796 - Use file_destination() to generate destination filespec.
  466. - #719650 - Implemented ability to assign migrations to groups, and run by group.
  467. - #1201762 - Implemented built-in caching for source counts, and flag to enable it.
  468. - #1205278 - Added preserve_files argument to MigrateFileFieldHandler.
  469. - #1205278 - Added preserve_files option to MigrateDestinationFile.
  470. - #1078368 - Implemented create_term argument for term references, to lazy-create terms.
  471. - #1199150 - Added file_fid function to file field migration.
  472. - #1195802 - Added prepareRow() support for MSSQL plugin.
  473. - #1195784 - Added verification of required extension to MSSQL plugin.
  474. - #1180188 - Added ability to save BLOB data to file fields and file entities.
  475. - #1181136 - Provided mechanism to handle incoming MD5-encrypted passwords.
  476. - #1181720 - Add item/second limiting to UI.
  477. - #1181826 - Implemented hook_hook_info(), so implementing modules can define
  478. hook_migrate_api() in example.migrate.inc.
  479. - #1179464 - Added capability of disabling handlers.
  480. - #1175094 - Added support for field handler complete() methods.
  481. - #1176930 - Renamed migrate-descriptions to migrate-mappings, enhanced to export to CSV.
  482. - #1169724 - Implemented source plugin for Oracle.
  483. Bug fixes
  484. - #1265514 - Fixed error message for failed XML load in MigrateItemsXML.
  485. - #1231398 - Add map data to row in Oracle source plugin.
  486. - #1225636 - File field: fixed warnings, added docs.
  487. - #1227130 - On import, clear messages before applyMappings().
  488. - #1195802 - Fixed SQL Server problem handling end of batch; brought Oracle/SQL
  489. Server implementations in line with each other.
  490. - #1205278 - Fixed file entity rollback to preserve files when requested.
  491. - #1223468 - Make sure getIDsFromXML always returns an array.
  492. - #1223734 - Fixed bogus assignment of uid to file fields.
  493. - #1223756 - Fix warnings with file_blob when file exists in file_managed.
  494. - #1216796 - Make sure file_replace argument exists.
  495. - #1195802 - Fixed prepareRow() support for MSSQL plugin.
  496. - #1210076 - Filled out parameter docs for MigrateFileFieldHandler::buildFileArray().
  497. - #1185046 - Wine example mistakenly said GROUP_CONCAT could only be used once.
  498. - #1202234 - Fix translatable field language handling.
  499. - #1184538 - Fixed term field allowed values in migrate_example.
  500. - #1181652 - Fixed MigrateDestinationTable to work on update.
  501. - #1174934 - Support multi-column keys for table_copy destination.
  502. - #1176790 - Prevent multiple handlers from messing up fields info.
  503. - #1169796 - Handle example upgrades if image field is missing.
  504. Migrate 2.1
  505. ===========
  506. API change:
  507. Any field handler prepare() or complete() methods you have defined must be changed
  508. to remove stdClass for the $entity argument. I.e., prepare(stdClass $entity, stdClass $row)
  509. should now be prepare($entity, stdClass $row).
  510. Features and enhancements
  511. - #1025754 - Added support for multi-value source keys to handleSourceMigration().
  512. - #1161584 - Added lookupSourceID() and lookupDestinationID() to MigrateMap.
  513. - #1017246 - Added support for running migrations from the dashboard.
  514. - #1004812 - Added schema-driven table destination plugin.
  515. - #1009708 - Added role destination plugin.
  516. - #737170 - Added support for field level callbacks.
  517. - #1005090 - Modified filefield property import to use JSON input.
  518. - #730980 - Added more detailed reporting on import.
  519. - #1142384 - Extended file field support to copy from remote URLs.
  520. - #1138096 - Added MigrateSourceMultiItems class for self-contained XML sources.
  521. - #1101586 - Add shortcut methods for adding several field mappings at once.
  522. - #1101592 - Replace --itemlimit with --limit, supporting time limits as well.
  523. - #1139080 - Added example and test for importing profile pictures over http.
  524. Bug fixes
  525. - #1161612 - Handle integer highwater marks properly.
  526. - #1159274 - Handle spaces in URLs for MigrateDestinationFile.
  527. - #1161812 - Added handling for NULL watchdog variables.
  528. - #1009708 - Fixed E_STRICT notice on MigrateDestinationRole::getKeySchema().
  529. - #1161590 - Made $migration optional for handleSourceMigration(), createStubWrapper(),
  530. lookupDestinationID().
  531. - #1161482 - Handle NULL source_field mappings.
  532. - #1156972 - Do not include message table in source queries.
  533. - #1155740 - Make remote file fetch HTTP version independent
  534. - #1037872 - Deal with updates with idlists when mapping nids directly.
  535. - #943546 - Make sure both slashes and backslashes are trimmed where necessary.
  536. - #1146366 - Fixed rollback of table destinations.
  537. - #1148474 - Enforce unique IDs in MigrateItemsXML.
  538. - #1132034 - Don't assume entity is a stdClass.
  539. - #753284 - Fixed systemOfRecord==DESTINATION updates for nodes and users.
  540. - #1142104 - Proper prefixing of tables when updating comment statistics.
  541. - #1136852 - Fixed cross-threaded test in preImport().
  542. - #1134858 - Improved validation for XML imports.
  543. - #1134300 - Add parameter $messages_only to MigrateMap::delete().
  544. - #1134506 - Removed obsolete views_alter() hook.
  545. - #1133096 - CSV source always processed last row, fix to clear currentRow.
  546. - #1124318 - Properly use source_field arguments for file field attributes.
  547. - #1133030 - Undefined constant in drush migrate-fields-destination.
  548. - #1128532 - Handle call to watchdog when Migration class not defined.
  549. - #1126108 - Fix undefined variables in XML error handling.
  550. - #1117602 - Bad counts reported on bulk rollback.
  551. - #1118480 - Document _name arguments to file fields.
  552. - #1108700 - Remove obsolete references to prepare().
  553. - #1107546 - Check file presence with is_file() instead of file_exists().
  554. - #1097136 - Replace list_number with list_integer and list_float in set of
  555. supported simple field types.
  556. - #1103042 - Rollback broken with multi-valued keys.
  557. Migrate 2.0
  558. ===========
  559. Features and enhancements (since first 2.0-dev)
  560. Added JSON source plugin.
  561. - #919108 - Add deleteDestination() for maps; cache migration list.
  562. - #1005090 - Support multiple values for file fields.
  563. - #996086 - Add prepareRollback and completeRollback methods for entities.
  564. - #1039882 - Pass client migration to stub creation. Note that $migration->values
  565. (the destination object being built) is now $migration->destinationValues - any
  566. migrations referencing this member will need to change.
  567. - #946350 - Accept arrays in sourceMigration();
  568. Let a node migration set node_revisions.uid. That's the 'last edited by' user
  569. - #989200 - Support "dynamic" migrations. Changes to be aware of:
  570. All modules implementing migration classes must now implement hook_migrate_api()
  571. (see migrate_migrate_api() for an example).
  572. Dependencies and sourceMigrations must now be expressed in terms of
  573. machine name rather than class name.
  574. MigrationBase::getInstance now takes a machine name rather than a class name.
  575. Migration class names are no longer required to end in 'Migration'.
  576. - #992898 - Pass options to source and destination constructors as arrays.
  577. File destinations (i.e., migrating directly to the file_managed table, with
  578. optional copying of the files themselves) are now supported.
  579. Allow migration of comment enable/disable.
  580. Check max_execution_time as well as memory_limit, for graceful exit when
  581. max_execution_time is in play.
  582. Add dedupe() method for a field mapping.
  583. Apply MigrateBase::timestamp() to comment created/changed
  584. Bug fixes
  585. - #867940 - Prevent overwriting of migrated files with common basenames.
  586. - #1072170 - Allow revision setting to be overridden.
  587. - #1073770 - Quietly skip missing files in MigrateFileFieldHandler.
  588. - #1079416 - postRollback called outside of rollback operation.
  589. - #1070894 - Apply tokens when saving files.
  590. - #1067918 - Static cache of migrations messes up simpletests.
  591. - #1053798 - Message meant for debug not marked 'debug'.
  592. - #1063926 - prepareRow() call missing from MigrateSourceList.
  593. - #1062200 - Validate arguments for getFieldLanguage().
  594. - #1061284 - Appropriately translate watchdog severities to migrate severities.
  595. - migrate_example error when auto_nodetitle module not present.
  596. - #1053798 - Missing 'debug' on showMessage.
  597. - #1053798 - Consistent use of error codes.
  598. - #1053526 - Machine names in drush commands now case-insensitive.
  599. - #914440 - Enhance multilingual support.
  600. - #1014648 - Defaulting of file field subfields.
  601. - #1037872 - Make sure is_new is off for previously migrated content.
  602. - #919706 - Fix drush migrate-descriptions command.
  603. - #1027468 - Limit map/message table name lengths.
  604. - #1045646 - Handle PHP memory_limit of -1.
  605. - #1050348 - Check map table existence in correct DB.
  606. - #1028824 - Errors during registry rebuild trigger fatal error.
  607. Fix highwater handling to deal with duplicate values.
  608. - #998604 - Fixed dedupe.
  609. - #998586 - Improved feedback for disabled migrations.
  610. - #972382 - Fix MigrateDestinationTableCopy.
  611. - #962120 - Support idlist on rollback.
  612. - #1017256 - Document case-sensitivity in beer.inc.
  613. - #1013844 - Better error handling in getInstance().
  614. - #1008228 - migrate_example broken by list changes in D7 RC3.
  615. - #1006272 - Remove lengths on int fields in schema (breaks Postgres)
  616. - #1005030 - Replace eval() with proper call_user_func().
  617. - #1005360 - Skip .test files in registry scan
  618. - #1004268 - Don't munge date separators
  619. - prepareRow() hook skips current row only if boolean FALSE is returned.
  620. - #989622 - Fix undefined variable in MigrateDestinationNode::import().
  621. - #984294 - Make migrate dashbard a local task.
  622. needs_update => needs-update to match drush conventions.
  623. - #959400 - Better way to get vid for vocabulary.
  624. - #984336 - Additional fields and vocabularies not reported on migration info page
  625. - #990960 - Initialize fields array for profiles
  626. - #993684 - hook_requirements should always return array.
  627. - #983968 - Bogus settings of ->uid
  628. - #984294 - Migration info pages are blank