Skip to content

Commit

Permalink
Updated CHANGELOG for v1.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelroemer committed Dec 24, 2019
1 parent 05d3f12 commit a7430c4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

# v1.2.0

This release provides solutions for [issue #1](https://github.com/manuelroemer/Nullable/issues/1) and
[issue #6](https://github.com/manuelroemer/Nullable/issues/6). In addition, potential compiler
warnings in the `NullableAttributes.cs` file are now hidden.

**Upgrading:**

Remove any previously defined `NULLABLE_ATTRIBUTES_EXCLUDE_FROM_CODE_COVERAGE` compiler constant,
as it does not have any effect anymore.

> :information_source: **Note:** <br/>
> Builds will NOT break if the constant is still defined. It is simply ignored now.
**Details:**

* The package now supports `packages.config` via a `content/` folder in the NuGet package.
* The attributes are now excluded from code coverage by default.
When referenced from projects targeting .NET Standard >= 2.0 or .NET Framework >= 4.0, the
`ExcludeFromCodeCoverageAttribute` is used. For other project types, the `DebuggerNonUserCodeAttribute`
is used.
* Added support for the `NULLABLE_ATTRIBUTES_INCLUDE_IN_CODE_COVERAGE` compiler constant which
removes the code coverage attributes.
* The `NULLABLE_ATTRIBUTES_EXCLUDE_FROM_CODE_COVERAGE` compiler constant no longer has
any effects. Code coverage is now disabled by default.
* The `NullableAttributes.cs` file now wraps the attributes with a `#pragma warning disable` and
`#pragma warning restore` block to disable both compiler- and code-analysis warnings.


# v1.1.1

This release adds the `// <auto-generated>` header to the `NullableAttributes.cs` file so that
Expand Down

0 comments on commit a7430c4

Please sign in to comment.