comm
tool for finding commonalities between info files.args
.fixnum
and protobuf
dependencies to make dart2js_info
compatible with null-safe protobuf
version.protobuf
dependency.2.3.0
, as generated code contains this version.pub global activate
fails.This release contains several breaking changes:
The fields Info.id
and Info.serializedId
have been removed. These properties were only used for serialization and deserialization. Those values are now computed during the serialization process instead.
Added 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 text
in CodeSpan
where the json contained a String).
Deleted unused Measurements
.
Split the json codec from info.dart.
Introduced 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_analysis
print library URIs and not library names.util.dart
, so all other utilities can be used on any platform.BasicInfo.resetIds
to free internal cache used for id uniqueness.coverage_log_server.dart
and live_code_size_analysis.dart
to 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_diff
by sorting the diffs by size and outputting the summary in full output mode.--summary
option to dart2js_info_diff
tool.<3.0.0
, and adjust other dependencies.isRuntimeTypeUsed
, isIsolateInUse
, isFunctionApplyUsed
and isMirrorsUsed
to ProgramInfo
.shelf
and args
packages.diff
tool.pkg/quiver
.ConstantInfo.id
.deferred_library_check
tool to allow parts to exclude packages and to not assume that unspecified packages are in the main part.imports
field for OutputUnitInfo
deferred_library_check
functionality to a librarydeferred_library_check
toolverify_deps
tool into debug_info
toolAllInfoJsonCodec
verify_deps
toolProgramInfo.entrypoint
.ConstantInfo