Releases: patterns-group/code-patterns
Releases · patterns-group/code-patterns
code-patterns 3.9.2
- Changed
AutofacMoqContainer
to defensively callCreate
from withinMock
usingTry.Get
(issue 84)
code-patterns 3.9.1
- Changed
LoggingInterceptor
to use the CLRJavaScriptSerializer
to format complex values for display (issue 81)
code-patterns 3.9
- Added
Patterns.Collections.ConfigurableEqualityComparer<TValue>
(issue 66) - Fixed type casting error in
Patterns.Testing.Autofac.Moq.AutofacMoqContainer
(issue 67) - Fixed issue with up-front service type inspection in
Patterns.Testing.Autofac.Moq.MoqRegistrationSource
(issue 68) - Added
IRegexEvaluator
andRegexEvaluator
to thePatterns.Text.RegularExpressions
namespace (issue 69) - Added
Evaluator
andEvaluatorAccessor
toSystem.Text.RegularExpressions.CompiledRegex
(issue 70) - Added
Patterns.Runtime.TemporaryScope
- Added
ActionValueStrategies<TValue>
- Added
FuncValueStrategies<TValue, TOut>
code-patterns 3.8.1
- Expanded capabilities of
Patterns.Mapping.IMappingServices
(issue 65)
code-patterns 3.8
- Renamed
Patterns.Autofac.Sources.ResolveAnythingSource
toPatterns.Autofac.Sources.ResolveCreatableSource
(issue 43) - Moved Moq-related components from
Patterns.Testing.Autofac
toPatterns.Testing.Autofac.Moq
(issue 59) - Added the "strategy dictionary" pattern to the
Patterns.Collections.Strategies
namespace (issue 59) - Added a short-circuit
Map<TSource,TDestination>
method toPatterns.Mapping.IMappingServices
(issue 61)
code-patterns 3.7.2
- Fixed
sectionGroup
bug inTestConfigurationSource
(Issue 60)
code-patterns 3.7.1
- Fixes for Autofac (issue 57)
- Moved/renamed
MoqContainer
toPatterns.Testing.Autofac.AutofacMoqContainer
- Extracted new interface,
Patterns.Testing.Autofac.IAutofacMoqContainer
→ provides access to Autofac-specific features
- Moved/renamed
code-patterns 3.7
- New component in
Patterns.Testing.Configuration
:TestConfigurationSource
→ implementsIConfigurationSource
by accepting XML in its constructor and using the in-memory XML as the basis for retrievals ofAppSettings
andConnectionStrings
as well as calls toGetSection
(issue 35)
code-patterns 3.6.0-beta
- New components in
Patterns.Mapping
(new dependency: AutoMapper):IMappingServices
→ encapsulatesIMappingEngine
,IConfiguration
, andIConfigurationProvider
from AutoMapper (issue 53)MappingServices
→ simplest implementation ofIMappingEngine
; uses constructor injection
- New module in
Patterns.Autofac.Mapping
:MappingModule
→ registers static AutoMapper assets to facilitate injection intoMappingServices
(issue 54)
code-patterns 3.5.1-beta
- Changes to
Patterns.Logging
:- New type:
LoggingConfig
→ inherits fromConfigurationSection
; encapsulates thebool TrapExceptions
option - Changed
LoggingInterceptor
to useLoggingConfig
rather than explicitbool
option for exception trapping
- New type:
- Solution-wide refactor: moved components to more appropriate locations