- Support the latest
analyzer
package.
- Support the latest
analyzer
package.
- Support the latest
cli_util
package.
- Support the latest
analyzer
package.
- Updated mock SDK sources to include FutureOr (and fixed a syntax error)
- Resolver has a new method which can check whether an Asset is a Dart library source
- Resolver no longer returns a partial LibraryElement for assets which are not libraries
- Stop using deprecated analyzer apis.
- Always use a single
Resolver
instance. Fixes an issue where running with the 'build' package in file watching mode would treat some files as never changing. - Breaking Change: remove the
useSharedSources
argument to Resolvers ctor since sources are always shared.
- Update to work with analyzer 0.29.x and transform_test 0.2.x
- Update to work with analyzer 0.28.x.
- Update to work with analyzer 0.23.x.
- Contains a fix for the
useSharedSources
option that could result in null library elements when running on multiple entry points.
- Use Strong Mode, fixes #38.
- Added a fix for #24890.
- All constants in all libraries will once again be resolved by default.
- Added a new
resolveAllLibraries
option toResolver#resolve
andResolvers#get
. Iffalse
is passed then constants will not be resolved in non entry points. This saves significant time if constants are not needed.
- Added a
useSharedSources
option toResolvers
. This gives a significant speed increase, but must be used carefully.- If used, then all
Resolver
instances created from the sameResolvers
instance will share the same sources cache. - This should be generally safe to use if the
Resolvers
instance is created in the constructor of yourTransformer
. - This option should probably not be used with a static or shared
Resolvers
instance.
- If used, then all
- Remove dependency on
test
, and move all test related apis to a newtransformer_test
package which is now a dev dependency.
- Update to analyzer
>=0.27.0 <0.28.0
.
- Upgrade
test
to a real dependency.
- Re-release
0.2.10
release as0.3.0
.
- Revert
0.2.10
release, will be re-released as0.3.0
since it is actually a breaking change.
- Update to use the
test
package instead of theunittest
package.
- Republish 0.2.9+2 under new version.
- Republish of 0.2.9 to ensure nobody gets 0.2.9+1 in the future.
- Update to analyzer '>=0.26.0 <0.27.0'
- Update to analyzer '<0.27.0'
- This version will be reverted as it wasn't compatible with <0.26.0.
- Update to analyzer
<=0.26.0
.
- Add
benchmarks.dart
file which exposes aTransformerBenchmark
. This can be used to implement simple benchmarks of transformer code.
- Fix
assetIdToUri
on windows, 41
- Fixes for missing overrides after upgrade to analzyer 0.24.0
- Added default set of mockSdkSources and upgraded to analyzer 0.24.0
- Added
assetIdToUri
to assets.dart.
- Improvements to
dartSdkDirectory
so it has a better chance of success. BuildLogger
now acceptsAggregateTransform
orTransform
. If passing in anAggregateTransform
you must also pass in anAssetId
to use as the primary input.
- Added some basic string formatting options to
testPhases
to make it a bit less strict if desired.
- Added logic to discover the location of the dart SDK when the dart binary is a symlink.
- Added support for logging stable error messages from transformers.
- Added two transformers, 'delete_file' and 'remove_sourcemap_comment'.
- Raise the lower bound on the source_maps constraint to exclude incompatible versions.
- Widen the constraint on source_maps.
- Widen the constraint on barback.
- Switch from
source_maps
'Span
class tosource_span
'sSourceSpan
class.