Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit 85350f2

Browse files
committed
Merge pull request #36 from dart-lang/0.4.1
update pubspec/changelog for release
2 parents b4c217a + fd2827f commit 85350f2

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.4.1
2+
3+
* Added a fix for [#24890](https://github.com/dart-lang/sdk/issues/24890).
4+
* All constants in all libraries will once again be resolved by default.
5+
* Added a new `resolveAllLibraries` option to `Resolver#resolve` and
6+
`Resolvers#get`. If `false` is passed then constants will not be resolved in
7+
non entry points. This saves significant time if constants are not needed.
8+
* Added a `useSharedSources` option to `Resolvers`. This gives a significant
9+
speed increase, but must be used carefully.
10+
* If used, then all `Resolver` instances created from the same `Resolvers`
11+
instance will share the same sources cache.
12+
* This should be generally safe to use if the `Resolvers` instance is created
13+
in the constructor of your `Transformer`.
14+
* This option should probably not be used with a static or shared `Resolvers`
15+
instance.
16+
117
## 0.4.0
218

319
* Remove dependency on `test`, and move all test related apis to a new

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: code_transformers
2-
version: 0.4.0
2+
version: 0.4.1
33
author: Dart Team <[email protected]>
44
description: Collection of utilities related to creating barback transformers.
55
homepage: https://github.com/dart-lang/code-transformers

test/remove_sourcemap_comment_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
4-
54
@TestOn('vm')
65
library code_transformers.test.remove_sourcemap_comment_test;
76

87
import 'package:barback/barback.dart';
98
import 'package:code_transformers/src/remove_sourcemap_comment.dart';
9+
import 'package:test/test.dart';
1010
import 'package:transformer_test/utils.dart';
1111

1212
final phases = [

0 commit comments

Comments
 (0)