Skip to main content

Posts

Showing posts with the label M4

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

List of Last Minute M4 Breaking Changes

The M4 release saw the Core, Async, and Collection libraries stabilize. Dan Grove has compiled a list of the   last minute breaking changes : The separator argument in Iterable.join defaults to “” (instead of `null`). All DateTime constants are non-abbreviated. Also changed DAYS_IN_WEEK to DAYS_PER_WEEK. Removed deprecated classes and methods CollectionSink Stream.pipeInto Iterable/Stream . max/min Collection (List, Set and Queue now extend Iterable directly) Datetime.</<=/>/>= IOSink.writeStream (renamed to IOSink.addStream) IOSink.writeBytes (renamed to IOSink.add) StreamSink (renamed to EventSink) Iterable.reduce/Stream.reduce introduced that does not require an initial value. List range functions were refactored: List.getRange takes an endIndex argument and returns an Iterable. List.setRange takes an endIndex and an iterable (plus an optional skipCount). List.removeRange takes an endIndex. List.insertRan...