Releases: I-RzR-I/DomainCommonExtensions
v6.0.0.8301
What's Changed
-
BREAKING:
_Legacy/backward-compatibility shim layer removed. The[Obsolete]forwarder namespaces introduced in v5 no longer exist. All consuming code must useRzR.Extensions.Domain.*namespaces. See namespace-migration-v5.md for the full mapping. -
New
TimeSeqIdgenerator inPrimitives: time-ordered, lexicographically sortable 48-character unique identifier. Format:yyyy-MMdd-HHmmssfff-SSSS-RRRRRRRRRRRRRRRR-HHHHHH(year / date / time-ms / sequence / 16-hex random / 6-char SHA-256 checksum). Fully thread-safe; IDs sort in generation order by plain string comparison.
Full Changelog: v5.0.0.7637...v6.0.0.8301
v5.0.0.7637
What's Changed
-
BREAKING: Repository reorganized into 11 stable namespace buckets (
Async,Collections,Cryptography,Data,Diagnostics,Internal,IO,Linq,Models,Primitives,Reflection,Text,Validation). Class names and method signatures are unchanged; only the namespaces have moved. See namespace-migration-v5.md for the full mapping. -
Backward-compat shim layer (
_Legacy/folder):[Obsolete]static methods preserve the v4 namespaces so existing user code still compiles. Each call site lights up with the new v5 location. -
New file extensions in
IO:SafeWriteAllText,SafeWriteAllBytes(atomic write via temp + replace),Sha256HexFromFile. -
New byte / string checksum helpers in
Primitives/Text:byte[].ToHexString,byte[].Sha256Hex,string.Sha256Hex. -
New
stringextensions inText:ToBase64Url,FromBase64Url,ToSlug,Mask.
Full Changelog: v4.6.0.8232...v5.0.0.7637
v4.6.0.8232
What's Changed
- Feature/lazy and improvements by @I-RzR-I in #48
- Add small improvements
- Add async lazy load
AsyncLazy<T>andAsyncExpiringLazy<T>. - Add improvements to the documentation of
TupleResult - Add new string extension methods:
IsMissingOrAny,IfIsMissingOrAny. - Add
TupleResultdeconstruct data.
Full Changelog: v4.5.0.7408...v4.6.0.8232
v4.5.0.7408
What's Changed
Full Changelog: v4.4.0.8476...v4.5.0.7408
v4.4.0.8476
What's Changed
- Add multiple
RandomHelpermethods:Long,Double,Decimal,Letter,Letters,LowerLetter,UpperLetter,AlphaNumeric,Digits,Guid,Token,DateTime,TimeSpan,Pick,Shuffle,Enum. - Add
Guidextension method:IsMissing. - Add multiple
TimeSpanextension methods:IsMissing,HasValidValue,IsZero,IsPositive,IsNegative,IsBetween,DefaultIfNull,ZeroIfNull,RoundUp,RoundDown,Clamp,TotalSecondsInt,TotalMinutesInt,TotalMillisecondsLong,ToClockFormat,ToHumanReadable,ThrowIfMissing,ThrowIfNegative,IsShorterThan,IsLongerThan,AddSafe. - Add multiple
Charextension methods:IsMissing,IsPresent,IsDigit,IsAscii,IsAsciiLetter,IsAsciiUpper,IsAsciiLower,IsNewLine,IsQuote,IsBracket,IsOperator,IsMathSign,IsWhiteSpaceFast,IsSymbolOrPunctuation,IsBinaryDigit,IsOctalDigit,IsHexDigit,ToHexValue,ToggleCase,IsPrintable,Next,Previous,IsEmoji,HasValue,DefaultIfNull,IsNullOrWhiteSpace,SpaceIfNull. - Add
Enumextension method:ToInt. - Add
stringextension methods:RemoveStartChars,RemoveEndChars. - Add
Textension methods:GetPropertyValue,GetPropertyStringValue,GetPropertyValue,ChangePropertyValue.
Full Changelog: v4.3.0.6204...v4.4.0.8476
v4.3.0.6204
What's Changed
Full Changelog: v4.2.1.4986...v4.3.0.6204
v4.2.1.4986
What's Changed
Full Changelog: v4.2.0.8401...v4.2.1.4986
v4.2.0.8401
What's Changed
Add ConcurrentDictionary, long, and type extension methods by @I-RzR-I in #43
- Add long extension method:
AsReadableFileSize. - Add ConcurrentDictionary extension method:
AddOrUpdate. - Add type extension method:
IsAssignableFromPortable.
Full Changelog: v4.1.0.8241...v4.2.0.8401
v4.1.0.8241
What's Changed
-> Add INI file reader helper.
-> Add new Dictionary extension methods: AddOrUpdate, AddOrUpdateValue, AddOrUpdateValues, AddOrUpdateValues.
-> Add TaskRunnerHelper that allows to use as Task.Run.
-> Add new enumerable extension method: IsNotNullOrEmptyEnumerable.
-> Add new string extension methods: IsWebUrl.
-> Add new string extension methods: IsAllUpperCase, IsAllLowerCase, IsAllLetters, CleanTextToLettersNumbersAndSpace.
-> Add new string extension methods: AddPeriod, RemovePeriod, AddPeriodValue, RemovePeriodValue.
-> Adjust code execution and add new tests.
-> Add new Type extension methods: IsNonAbstractClass, GetBaseTypes, IsInNamespaceAlternative, IsInExactNamespace, HasAttribute.
-> Add new string extension: NotAllowedEmpty.
-> Add new enum extension: IsDefined.
-> Add new T extension methods: NotAllowNull.
-> Add new Random method: Bool.
-> Add new enumerable ext: ToHashSet, HasAny.
Full Changelog: v4.0.1.8519...v4.1.0.8241