Releases: sharparchitecture/Sharp-Architecture
Releases · sharparchitecture/Sharp-Architecture
4.0.0
This release introduces .NET 4.5 as well as major code cleanup.
Breaking Changes
- Target platform changed to .NET 4.5;
- #124 removed Command/Query infrastructure - consider using MediatR instead;
- Now uses C# 6.0 syntax;
- NHibernateSession replaced with ISession constructor injection;
- #145 Removed Design by Contract, TestSyntaxHelpers and CommonServiceLocator code and dependencies.
SharpArch.Web.Http.Castle
- WindsorControllerExtensions renamed to WindsorHttpExtensions.
- WindsorPropertyInjectionKernelExtensions replaced with internal SharpArch.Castle.Extensions.WindsorPropertyInjectionExtensions
(shared with SharpArch.Web.Mvc).
SharpArch.Web.Mvc
- WindsorExtensions renamed to WindsorMvcExtensions.
- TransactionAttribute will commit Transaction in OnActionExecuted, not in OnResultExecuted().
Recommended approach to access database in Controller, not View.
SharpArch.Testing.NUnit
- RepositoryTestsHelper refactored to TestDatabaseInitializer.
Fixes
- #54 - NHibernate event listeners registered through XML gets removed.
New Features
- ASP.NET MVC Filter property injection with Castle.
- WebAPI Filter property injection (for singleton dependencies only).
Samples
- Samples are now part of main repository;
Internal changes
- Builds moved to AppVeyour;
- Use GitVersion to maintain SemVer;
Raw list of issues closed
- #137 - Perform dependency validation at property cache initialization stage
- #124 - Remove Command processing code
- #120 - WebAPI Windsor property injection for Action Filters +feature
- #119 - MVC: Windsor property injection for Action Filters +feature
- #117 - Move Sample apps to Sharp architecture repository
- #115 - sharp-architecture via NuGet
- #113 - Migrate dev branch to .NET 4.5
- #96 - Restore nuget packages before starting build
- #93 - Machine Spec tests failing
- #88 - Remove the call to session.Flush from LinqRepositoryWithTypedId
- #86 - CommandProcessor ignores handler with a TResult
- #85 - Allow for NH Configuration to be manipulated before creating factory
- #80 - Make the NHibernateRepositoryWithTypedId<T, TID>.Delete(TId id) method non-virtual
- #79 - Transaction attributes to use ITransactionManager +feature
- #61 - [NHibernate] Update Setup +feature
- #54 - NHibernate event listeners registered through xml gets removed +fix
- #52 - Add support for ASP.NET Web API +feature
- #50 - Merge NHRepository and the NH LinqRepository classes
- #49 - Remove SaveAndEvict from ILinqRepository
v4.0.0 (link to 4.0.0)
This release introduces .NET 4.5 as well as major code cleanup.
Breaking Changes
- Target platform changed to .NET 4.5;
- #124 removed Command/Query infrastructure - consider using MediatR instead;
- Now uses C# 6.0 syntax;
- NHibernateSession replaced with ISession constructor injection;
- #145 Removed Design by Contract, TestSyntaxHelpers and CommonServiceLocator code and dependencies.
SharpArch.Web.Http.Castle
- WindsorControllerExtensions renamed to WindsorHttpExtensions.
- WindsorPropertyInjectionKernelExtensions replaced with internal SharpArch.Castle.Extensions.WindsorPropertyInjectionExtensions
(shared with SharpArch.Web.Mvc).
SharpArch.Web.Mvc
- WindsorExtensions renamed to WindsorMvcExtensions.
- TransactionAttribute will commit Transaction in OnActionExecuted, not in OnResultExecuted().
Recommended approach to access database in Controller, not View.
SharpArch.Testing.NUnit
- RepositoryTestsHelper refactored to TestDatabaseInitializer.
Fixes
- #54 - NHibernate event listeners registered through XML gets removed.
New Features
- ASP.NET MVC Filter property injection with Castle.
- WebAPI Filter property injection (for singleton dependencies only).
Samples
- Samples are now part of main repository;
Internal changes
- Builds moved to AppVeyour;
- Use GitVersion to maintain SemVer;
Raw list of issues closed
- #137 - Perform dependency validation at property cache initialization stage
- #124 - Remove Command processing code
- #120 - WebAPI Windsor property injection for Action Filters +feature
- #119 - MVC: Windsor property injection for Action Filters +feature
- #117 - Move Sample apps to Sharp architecture repository
- #115 - sharp-architecture via NuGet
- #113 - Migrate dev branch to .NET 4.5
- #96 - Restore nuget packages before starting build
- #93 - Machine Spec tests failing
- #88 - Remove the call to session.Flush from LinqRepositoryWithTypedId
- #86 - CommandProcessor ignores handler with a TResult
- #85 - Allow for NH Configuration to be manipulated before creating factory
- #80 - Make the NHibernateRepositoryWithTypedId<T, TID>.Delete(TId id) method non-virtual
- #79 - Transaction attributes to use ITransactionManager +feature
- #61 - [NHibernate] Update Setup +feature
- #54 - NHibernate event listeners registered through xml gets removed +fix
- #52 - Add support for ASP.NET Web API +feature
- #50 - Merge NHRepository and the NH LinqRepository classes
- #49 - Remove SaveAndEvict from ILinqRepository
3.2.0
Upgrade dependencies
Update dependency constraints
Nuspec fix to allow Json.Net v8
2.1.2
Minor release:
#40 RavenDb support
#44 Add IRepository.Delete(id)
#60 Update dependencies
Templates
- Update to VS2012
- Change Controller lifestyle to Transient
- Change other component life styles to PerWebRequest
- Templates now use Castle Installers
Updates dependenceis:
- Castle.Core 3.2.2
- Castle.Windsor 3.2.1
- FluentNHibernate 1.4
- NHibernate 3.3.3.4001
- RavenDB.Client 2.5.2750
- Iesi.Collections 3.3.3.4001
- Newtonsoft.Json 5.0.8
- Machine.Specifications 0.6.1
- System.Data.SQLite 1.0.90
- NUnit 2.6.3
- Moq 4.2.1312.1622