Skip to content

Commit

Permalink
Release 4.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Oct 5, 2022
1 parent e098c98 commit 5dc4369
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [4.0.0-beta.30] - 2022-10-04
## [4.0.0-beta.1] - 2022-10-05

### Changed
- Dropped support for .NET Framework 4.5. We now only provide support for the .NET Framework 4.6, .NET 6 and .NET Standard 2.0.
Expand All @@ -20,7 +20,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Changed type of parameters argument in `Request` constructor from `IEnumerable<IParameter>` to `IReadOnlyList<IParameter>`.
- Changed type of parameters argument in `IResolutionRoot.CreateRequest(...)` from `IEnumerable<IParameter>` to `IReadOnlyList<IParameter>`.
- Changed type of parameters argument in `KernelBase.CreateRequest(...)` from `IEnumerable<IParameter>` to `IReadOnlyList<IParameter>`.
- Changed type of parameters argument in `ReadOnlyKernel.CreateRequest(...)` from `IEnumerable<IParameter>` to `IReadOnlyList<IParameter>`.
- Changed type of Parameters property in `IBindingConfiguration` (and implementing classes) from `ICollection<IParameter>` to `IList<IParameter>`.
- Changed type of Parameters property in `Request` and `Context` from `IEnumerable<IParameter>` to `IReadOnlyList<IParameter>`.
- Added a `object ResolveSingle(IRequest request)` method to `IResolutionRoot` which is optimized for resolving a single instance of a given service.
Expand Down
18 changes: 9 additions & 9 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "4.0.0-beta.{height}",
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "4.0.0-beta.1",
"nuGetPackageVersion": {
"semVer": 2.0
},
"publicReleaseRefSpec": [
"^refs/tags/\\d+\\.\\d+\\.\\d+"
],
"cloudBuild": {
"buildNumber": {
"enabled": true
}
},
"nugetPackageVersion": {
"semVer": 2
},
"publicReleaseRefSpec": [
"^refs/tags/v\\d+\\.\\d+" // we also release tags starting with vN.N
]
}
}

0 comments on commit 5dc4369

Please sign in to comment.