pub global activatefails.
This release contains several breaking changes:
Info.serializedId have been removed. These properties were only used for serialization and deserialization. Those values are now computed during the serialization process instead.
CodeSpan - a representation of code regions referring to output files. This will be used to transition to a lighterweight dump-info that doesn't embed code snippets (since they are duplicated with the output program).
Encoder produces a new format for code-spans, but for a transitional period a flag is provided to produce the old format. The decoder is still backwards compatible (filling in just the
CodeSpan where the json contained a String).
Split the json codec from info.dart.
lib/binary_serialization.dart a lighterweight serialization/deserialization implementation. This will eventually be used by default by dart2js.
Added backwards compatibility flag to the JSON codec, to make transition to new tools more gradual.
Added a tool to dump info files in a readable text form.
Consolidated all binary tools under a single command. Now you can access all tools as follows:
pub global activate dart2js_info dart2js_info <command> [arguments] ...
See updated documentation in README.md
live_code_size_analysisprint library URIs and not library names.
util.dart, so all other utilities can be used on any platform.
BasicInfo.resetIdsto free internal cache used for id uniqueness.
live_code_size_analysis.dartto make them strong clean and match the latest changes in dart2js.
Use a more efficient
Map implementation for decoding existing info files.
Use a relative path when generating unique IDs for elements in non-package sources.
dart2js_info_diffby sorting the diffs by size and outputting the summary in full output mode.
<3.0.0, and adjust other dependencies.
deferred_library_checktool to allow parts to exclude packages and to not assume that unspecified packages are in the main part.
deferred_library_checkfunctionality to a library