Skip to content

Commit e4c2fda

Browse files
authored
Release 0.34.0; breaking changes (#2349)
1 parent acc591f commit e4c2fda

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 0.34.0
2+
3+
* PackageConfigProvider, MockSdk, etc for improved unit testing (#2332)
4+
* The new PackageConfigProvider class abstracts over PackageConfig from
5+
`package_config`. PhysicalPackageConfigProvider uses the real one;
6+
MemoryPackageConfigProvider is used in tests.
7+
* The new `isSdkLibraryDocumented` abstracts over SdkLibrary's
8+
`isDocumented`, because it throws unimplemented for `MockSdkLibrary`.
9+
* Remove `ResourceProviderExtensions.defaultSdkDir`. Now this is a property
10+
of PackageMetaProvider.
11+
* **Breaking change**: Move `io_utils` `listDir` to be a private method in
12+
PackageBuilder.
13+
* **Breaking change**: Add parameter to PubPackageBuilder constructor for a
14+
PackageConfigProvider.
15+
* **Breaking change**: Add two parameters to the PackageMetaProvider
16+
constructor, one for the default SDK directory, and one for the DartSdk.
17+
* Deprecate package.dart's `substituteNameVersion`.
18+
* Shorten doc comments here and there to 80 columns.
19+
* Move any tests which use `testing/test_package_small` to be unit tests;
20+
delete the package in `testing/`.
21+
* Move some tests for properties of package which use the ginormous testing
22+
package to unit tests
23+
* Add a warning when an unknown directive is parsed in a comment. (#2340)
24+
125
## 0.33.0
226

327
* Remove a use of resource loading (#2337)

dartdoc_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dartdoc:
22
linkToSource:
33
root: '.'
4-
uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v0.33.0/%f%#L%l%'
4+
uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v0.34.0/%f%#L%l%'

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Generated code. Do not modify.
2-
const packageVersion = '0.33.0';
2+
const packageVersion = '0.34.0';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dartdoc
22
# Run `grind build` after updating.
3-
version: 0.33.0
3+
version: 0.34.0
44
description: A non-interactive HTML documentation generator for Dart source code.
55
homepage: https://github.com/dart-lang/dartdoc
66
environment:

0 commit comments

Comments
 (0)