Skip to content

Commit

Permalink
Update build script and release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-xu committed Sep 16, 2017
1 parent fdfca15 commit 65e8292
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 52 deletions.
26 changes: 20 additions & 6 deletions ReleaseNotes.md
@@ -1,11 +1,25 @@
Version 4.0
----------------
- Add support for NETSTANDARD1.3 and NETSTANDARD1.5
- Removed support for .NET 3.5
- Removed support for Windows Phone 7.x
- Removed support for .NET compact framework
- Removed support for Mono < 3.x
- Removed support for Silverlight < 5
- Add: Support for NETSTANDARD1.3 and NETSTANDARD1.5 and NETSTANDARD2.0
- Add: Introduced IKernalConfiguration and IReadOnlyKernel
- Add: Added strongly typed overloads of WithConstructorArgument which use a callback to get the value https://github.com/ninject/Ninject/pull/197
- Add: Do not choose constructors with an "Obsolete" attribute https://github.com/ninject/Ninject/pull/224
- Add: Meaningful exception message if there is error in configuration https://github.com/ninject/Ninject/issues/240 https://github.com/ninject/Ninject/issues/245

- Change: Using HasDefaultValue instead of DBNull https://github.com/ninject/Ninject/issues/235

- Removed: Support for .NET 3.5
- Removed: Support for Windows Phone 7.x
- Removed: Support for .NET compact framework
- Removed: Support for Mono < 3.x
- Removed: Support for Silverlight < 5

- Bugfix: Improved cyclical dependencies detection https://github.com/ninject/Ninject/issues/143
- Bugfix: WhenMemberHas broken https://github.com/ninject/Ninject/issues/189
- Bugfix: Injection into private parent parent properties fails https://github.com/ninject/Ninject/issues/241 https://github.com/ninject/Ninject/issues/217
- Bugfix: Break Singleton / circular dependency WithPropertyValue
- Bugfix: InSingletonScope bug when requesting an instance in OnActivation callback https://github.com/ninject/Ninject/issues/221 https://github.com/ninject/Ninject/issues/224
- Bugfix: The invoked member is not supported in a dynamic assembly https://github.com/ninject/Ninject/issues/225

Version 3.2
---------------
Expand Down
24 changes: 22 additions & 2 deletions appveyor.yml
Expand Up @@ -2,15 +2,35 @@ configuration: Release

image: Visual Studio 2017

dotnet_csproj:
patch: true
file: 'src\Ninject\Ninject.csproj'
version: '{version}'
package_version: '{version}'

before_build:
- ps: >-
if ($env:APPVEYOR_REPO_TAG -eq "true")
{
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
}
else
{
Update-AppveyorBuild -Version "4.0.0-beta+sha.$($env:APPVEYOR_REPO_COMMIT.substring(0,7))"
}
before_build:
- cmd: nuget restore -Verbosity quiet

build:
verbosity: minimal
parallel: true

artifacts:
path: '**\*.nupkg'
path: 'src\Ninject\bin\Release\Ninject.{Version}.nupkg'
name: 'Ninject.{Version}.nupkg'

deploy:
provider: NuGet
Expand Down
13 changes: 7 additions & 6 deletions src/Ninject/Ninject.csproj
@@ -1,29 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard1.3;netstandard1.5;netstandard2.0;net45</TargetFrameworks>
<Version>4.0.0</Version>
<Authors>Nate Kohari (nate@enkari.com);Remo Gloor (remo.gloor@gmail.com);Ninject Contributors</Authors>
<Company>Ninject Project Contributors</Company>
<Product>Ninject: Lightweight dependency injection for .NET</Product>
<Description>Ninject is a lightning-fast, ultra-lightweight dependency injector for .NET applications.</Description>
<Copyright>2007-2010, Enkari, Ltd. 2010-2016, Ninject Contributors.</Copyright>
<VersionPrefix>4.0.0-beta</VersionPrefix>
<Authors>Nate Kohari (nate@enkari.com);Remo Gloor (remo.gloor@gmail.com);Ninject Contributors</Authors>
<TargetFrameworks>netstandard1.3;netstandard1.5;netstandard2.0;net45</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>Ninject</AssemblyName>
<AssemblyOriginatorKeyFile>..\Ninject.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PackageId>Ninject</PackageId>
<PackageTags>IoC;DI;Ninject</PackageTags>
<PackageProjectUrl>http://www.ninject.org/</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/ninject/Ninject/blob/master/ReleaseNotes.md</PackageReleaseNotes>
<PackageIconUrl>https://github.com/ninject/ninject/raw/master/logos/Ninject-Logo32.png</PackageIconUrl>
<PackageLicenseUrl>https://github.com/ninject/ninject/raw/master/LICENSE.txt</PackageLicenseUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/ninject/Ninject</RepositoryUrl>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

Expand Down
38 changes: 0 additions & 38 deletions src/Ninject/Properties/AssemblyInfo.cs

This file was deleted.

0 comments on commit 65e8292

Please sign in to comment.