Skip to main content

New site for Dart news and articles

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

BREAKING CHANGE: Renaming web_components Package to web_ui


The web_components package has a new name. John Messerly gives us the details

We're renaming the web_components package to web_ui. Aside from saving everyone's wrists a bunch of keystrokes :), this new name was chosen to reflect the growing mission for the project. When we first started, we envisioned the project as a polyfill for the new HTML5 web components standard. But since then the effort has expanded to encompass a bunch of model-driven views (MDV) and template features, data watching, CSS polyfill work (just starting), and more. Web components is one of the shiniest new features, but there are other shiny features already there and more coming.

We also have a new mailing list for the project! Please do sign up if you're interested in discussing how to build web apps on top of the exciting new standards.

Send your web-ui thoughts to: web...@dartlang.org


Here are the changes:

pub package:
rename this in your pubspec.yaml

library name:
-import 'web_components/web_components.dart';
+import 'web_ui/web_ui.dart';

github project:

compiler (unchanged):
bin/dwc.dart


I’ve uploaded a final version of web_components, with @deprecated, that depends on and exports the new web_ui package. I hope the upgrade process is relatively painless -- but don't hesitate to reach out to us if you hit any problems.

We’re still in the process of updating the documentation on dartlang.org. You can follow the progress at https://github.com/dart-lang/web-ui/issues/247.

Cheers!

As always, we invite you to join our Dart mailing list, ask questions on Stack Overflow, or file feature requests on dartbug.com.