Discussion:
[dart-misc] Subject: Intent to Deprecate and Remove: Resource class (and provide an equivalent package)
'Seth Ladd' via Dart Misc
2015-10-09 16:15:09 UTC
Permalink
(bcc ***@dartlang.org)

We intend to deprecate the Resource class in 1.13, provide an equivalent
package before the actual 1.13 release, and we intend to remove the
Resource class from the core SDK in 1.14.

The Resource class was documented as "experimental" as we searched for
alternatives. We landed new APIs into the core SDK (e.g. Isolate.packageMap
<https://api.dartlang.org/134069/dart-isolate/Isolate/packageMap.html>,
Isolate.packageRoot
<https://api.dartlang.org/134069/dart-isolate/Isolate/packageRoot.html>),
which allow for an equivalent Resource class to be written as a package.
Thus, the core SDK no longer needs to ship the Resource class.

The new resource package will be uploaded to
https://pub.dartlang.org/packages/resource and should be available soon.

If you are using the Resource class, we highly recommend that you use
https://pub.dartlang.org/packages/resource as soon as it is uploaded. You
can follow the CL here: https://codereview.chromium.org/1387163002/

We encourage feedback, please open an issue here: http://dartbug.com

Thank you for your support.
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...