Dart M3 is coming, how we can help. Also, free stickers.

598 views
Skip to first unread message

Seth Ladd

unread,
Jan 21, 2013, 8:13:28 PM1/21/13
to Seth Ladd
(You have received this email because you are marked as an author for one or more packages at pub.dartlang.org.)

Hi there, friendly pub developers!

As you might know, Dart M3 is coming soon and contains lots of cool library updates. The time to update your pub packages is now! Here's what you need to know to make a smooth transition, and how we can help.

What is M3?

Dart M3 is next release of the Dart SDK and Editor, mostly focused on refactoring the Dart libraries. Some of the changes include the release of the Streams API for asynchronous event handling, cleanups to collections, simplifying Future, and more. Learn more about the new libraries or check out the docs.

When is the M3 release?

We expect to formally push Dart M3 in the middle of February.

Can I test an preview M3 build now?

Yes! You can download a sneak-peak editor build, or wait until Tuesday, Jan 22nd for an auto-update to your editor.

Please update your pub packages

Now is the perfect time to update your pub packages to work with M3. We are pushing out an auto-update of Dart Editor on Jan 22nd to get all the new libraries into your hands. Of course, this means Dart developers will potentially have an SDK that doesn't work with your latest package. So now is the time to update your package and publish to pub. Luckily, pub now supports self-publishing!

Can you help me get ready for M3?

Absolutely! Here's what we can do to help you, our awesome pub authors.


What is the deadline to update my code?

Ideally, ASAP. However, your new updated pub package should be uploaded to pub.dartlang.org no later than Feb 10th.

When will all these breaking changes stop?

We hear you! We have to update all our libraries and code, too. Thanks to your feedback, we're working very hard on getting to Dart 1.0. Lars Bak, co-founder of Dart, expects to release Dart 1.0 by summer. The rate of breaking changes should decrease as we approach 1.0. We really appreciate your hard work, and thank you for your patience and feedback.

So, about these free stickers...

I will be happy to send you Dart stickers if do the following:

  • update your pub package to work with the latest Dart SDK builds from trunk
  • publish to pub.dartlang.org
  • set up continuous integration builds on Drone.io (instructions here)
    • We have no affiliation with Drone.io, they are simply a CI service that supports Dart.
    • For more information about Drone.io, you can join their G+ community
  • send me an email with links to your drone build and your mailing address

This sticker offer expires Feb 10th, 2013 and only while supplies last.

Thank you so much for publishing your Dart package on pub.dartlang.org and being part of the growing Dart developer ecosystem. Please keep the feedback coming, and we look forward to helping you.

On behalf of the Dart team,
Seth

(You have received this email because you are marked as an author for one or more packages at pub.dartlang.org. If you believe you received this email in error, please reply and I'll help you sort it out. Thanks!)

W. Brian Gourlie

unread,
Jan 21, 2013, 9:21:06 PM1/21/13
to mi...@dartlang.org, Seth Ladd
Quick question regarding the new DOM event streams: If accessing layout properties within the onData handler, is it still necessary to do it in a requestAnimationFrame callback to prevent UI jitter, or is this being done behind the scenes?

w.brian

George Moschovitis

unread,
Jan 22, 2013, 10:08:17 AM1/22/13
to mi...@dartlang.org, Seth Ladd

Lars Bak, co-founder of Dart, expects to release Dart 1.0 by summer.

Here are some good news ;-)  

Btw, what happened to Mixins, are they postponed to M4?

-g.

Ali Afshar

unread,
Jan 22, 2013, 11:45:45 AM1/22/13
to General Dart Discussion, Seth Ladd
Is there any way of making drone.io use M3?


On Mon, Jan 21, 2013 at 6:21 PM, W. Brian Gourlie <bgou...@gmail.com> wrote:
Quick question regarding the new DOM event streams: If accessing layout properties within the onData handler, is it still necessary to do it in a requestAnimationFrame callback to prevent UI jitter, or is this being done behind the scenes?


w.brian

--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
 
 



--
Ali Afshar | www.googplus.org/ali | Google Developer Relations

Seth Ladd

unread,
Jan 22, 2013, 11:56:15 AM1/22/13
to Ali Afshar, General Dart Discussion
On Tue, Jan 22, 2013 at 8:45 AM, Ali Afshar <afs...@google.com> wrote:
Is there any way of making drone.io use M3?


Hi Ali,

The M3-alpha build should go out today, so we expect Drone to pick it up soon. In the meantime, here are some instructions from Drone:

"If you go to your project settings, you should see the "Language" dropdown. You can select "Dart (bleeding_edge)" from this dropdown and save. When your build runs, Drone will use the bleeding_edge sdk, and will automatically upgrade if a new version of bleeding_edge is available."

Hope that helps!
Seth

Pete Blois

unread,
Jan 22, 2013, 12:47:43 PM1/22/13
to mi...@dartlang.org, Seth Ladd
Nothing has changed for the timing of events with DOM event streams, so requestAnimationFrame is still needed.

Bob Nystrom

unread,
Jan 22, 2013, 2:19:08 PM1/22/13
to General Dart Discussion, Seth Ladd

On Tue, Jan 22, 2013 at 7:08 AM, George Moschovitis <george.mo...@gmail.com> wrote:
Btw, what happened to Mixins, are they postponed to M4?

From looking at patches going by, it seems they are being implemented right now in dart2js. I haven't seen any VM patches yet, but my understanding is that they are still an M3 feature.

- bob

Kasper Lund

unread,
Jan 22, 2013, 2:30:00 PM1/22/13
to General Dart Discussion, Seth Ladd

It's true! We expect to have a reasonably solid mixin implementation in dart2js late this week.

Cheers,
Kasper

--

Ali Akbar

unread,
Jan 23, 2013, 8:20:41 AM1/23/13
to mi...@dartlang.org, Seth Ladd
I've upgraded my pub packages.  However, since the command line doesn't know about dart:html, the test cases for my web based libs won't work.
Any suggestions on what I should give in the "Commands" box of drone.io?  Right now it just runs pub install.

$ git clone https://github.com/coderespawn/dart-color-picker.git /home/ubuntu/src 
Cloning into '/home/ubuntu/src'...
$ dart --version
Dart VM version: 0.3.1.1_r17328 (Fri Jan 18 19:32:11 2013)
$ cat $DART_SDK/revision
17328
$ pub install
Resolving dependencies...
Downloading browser 0.3.1+1...
Dependencies installed!

Duong BaTien

unread,
Jan 23, 2013, 10:51:17 AM1/23/13
to mi...@dartlang.org
Hi:

I just download the new Dart Editor. The build.dart of todomvc in version 0.3.1.1_r17328 of SDK web_ui: ">=0.2.11 <0.2.12" has an issue. 

Since my code is heavily dependent on web_ui, I want to make sure the sample works first.

Has anyone got it fit?

Thanks

--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
 
 



--
Dr. Duong BaTien
DBGROUPS & BudhNet

Devon Carew

unread,
Jan 23, 2013, 1:20:27 PM1/23/13
to General Dart Discussion
Yes, that should now read:

web_ui: ">=0.3.0+1 <0.3.1"


Devon Carew
Software Engineer
Google, Inc.

Duong BaTien

unread,
Jan 23, 2013, 1:57:22 PM1/23/13
to mi...@dartlang.org
On Wed, Jan 23, 2013 at 11:20 AM, Devon Carew <devon...@google.com> wrote:
Yes, that should now read:

web_ui: ">=0.3.0+1 <0.3.1"

Yes. Thanks

罗勇刚(Yonggang Luo)

unread,
Jan 25, 2013, 1:38:20 AM1/25/13
to mi...@dartlang.org
That's very nice, especially the updating to Eclipse with debug and annoying bug fixes.


2013/1/22 Seth Ladd <seth...@google.com>

--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
 
 



--
         此致

罗勇刚
Yours
    sincerely,
Yonggang Luo
Reply all
Reply to author
Forward
0 new messages