Skip to content

Release 0.34.0; breaking changes #2349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 0.34.0

* PackageConfigProvider, MockSdk, etc for improved unit testing (#2332)
* The new PackageConfigProvider class abstracts over PackageConfig from
`package_config`. PhysicalPackageConfigProvider uses the real one;
MemoryPackageConfigProvider is used in tests.
* The new `isSdkLibraryDocumented` abstracts over SdkLibrary's
`isDocumented`, because it throws unimplemented for `MockSdkLibrary`.
* Remove `ResourceProviderExtensions.defaultSdkDir`. Now this is a property
of PackageMetaProvider.
* **Breaking change**: Move `io_utils` `listDir` to be a private method in
PackageBuilder.
* **Breaking change**: Add parameter to PubPackageBuilder constructor for a
PackageConfigProvider.
* **Breaking change**: Add two parameters to the PackageMetaProvider
constructor, one for the default SDK directory, and one for the DartSdk.
* Deprecate package.dart's `substituteNameVersion`.
* Shorten doc comments here and there to 80 columns.
* Move any tests which use `testing/test_package_small` to be unit tests;
delete the package in `testing/`.
* Move some tests for properties of package which use the ginormous testing
package to unit tests
* Add a warning when an unknown directive is parsed in a comment. (#2340)

## 0.33.0

* Remove a use of resource loading (#2337)
Expand Down
2 changes: 1 addition & 1 deletion dartdoc_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dartdoc:
linkToSource:
root: '.'
uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v0.33.0/%f%#L%l%'
uriTemplate: 'https://github.com/dart-lang/dartdoc/blob/v0.34.0/%f%#L%l%'
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Generated code. Do not modify.
const packageVersion = '0.33.0';
const packageVersion = '0.34.0';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dartdoc
# Run `grind build` after updating.
version: 0.33.0
version: 0.34.0
description: A non-interactive HTML documentation generator for Dart source code.
homepage: https://github.com/dart-lang/dartdoc
environment:
Expand Down