Represents the NuGet versions.
- Fixed: Removed redundant package dependencies.
- Fixed: Remove redundant
async
-await
where returningTask
will suffice withinInvokerBase
.
- Fixed: Updated internal Beef dependencies to latest.
- Enhancement: Extracted
WebApiAgentCoreBase
fromWebApiAgentBase
to enable greater reusability. - Fixed: The
WebApiRequestOptions.ETag
will ensure that the value is quoted correctly to be compliant. See https://datatracker.ietf.org/doc/html/rfc7232#page-9 where specification statesentity-tag = [ weak ] opaque-tag
, andopaque-tag = DQUOTE *etagc DQUOTE
; therefore, should be formatted as:"value"
. - Fixed: Updated internal Beef dependencies to latest.
- Enhancement: Changed
WebApiAgentBase.CreateJsonContentFromValue
andWebApiAgentBase.CreateRequestMessageAsync
fromprivate
toprotected
to improve reusability of functionality for inheriting classes. - Enhancement: Updated
WebApiAgentBase.CreateFullUri
to useStringBuilder
to reduce string allocations. - Enhancement: Added
IWebApiAgentResult.StatusCode
which was previously missing. - Fixed: Corrected the
UriFormat.UriFormat
to format the query string parameter name usingUri.EscapeUriString
versusUri.EscapeDataString
.
- Enhancement: Added
Clean<T>(T value, bool overrideWithNullWhenIsInitial)
method toCleaner
, with the option to override the value withnull
when the value implementsICleanUp
andICleanUp.IsInitial
istrue
. The existingClean<T>(T value)
method now invokes new passingtrue
; so in effect will always override withnull
unless explicitly requested not to; see next point. - Enhancement: The
EntityBasicBase.SetValue<T>(ref T propertyValue, T setValue, ...
has been updated to always not override with null (i.e.Cleaner.Clean<T>(value, false)
); this will ensure that the value is not nulled whilst being potentially updated. - Enhancement: Added
ILogicallyDeleted
andIMultiTenant
interfaces. - Enhancement: Renamed
IIntIdentifier
toIInt32Identifier
, and added newIInt64Identifier
. - Enhancement: Renamed
ReferenceDataBaseInt
toReferenceDataBaseInt32
, and added newReferenceDataBaseInt64
. Plus additional changes to support bothInt32
andInt64
options. - Enhancement:
Mapper
-related artefacts relocated toBeef.Core
.
- New: Initial publish to GitHub made in conjunction with
Beef.Core
versionv4.2.1
. The core abstractions (nucleus) and capabilities have been moved to this assembly to have a more static core code base, decoupling fromBeef.Core
(which continues to have regular enhancements/fixes). As a minimum, aCommon
project should only have a dependency on this (notBeef.Core
) to minimize assembly versioning challenges when usingCommon
projects from other domains/applications. See Issue 139 for more details. - Fixed: The
WebApiAgentBase
was appending a\
character even where nourlSuffix
was specified creating an invalid URL; this was an issue if the originating base URL contained a query string for example.