Releases: hexancore/common
Releases · hexancore/common
0.16.5
0.16.4
0.16.3
Added
- added Uuid ValueObject
- added UuidBase converters to base62 and base36
- added JsonSchema prop to HObjects
- added OrganizationId, OrganizationGroupId, OrganizationMemberId, TenantId
- added PrimitiveComparable
- added ObjectFilter
Changed
- UBigInt64 -> UInt64.
- HValueObject -> ValueObject
- GetQueryOptions -> GetListQueryOptions
- Dto -> DTO
Removed
- temporaly removed EmailHash(need rework to support browser&node versions in one)
- removed AccountId -> replaced with TenantId
0.16.2
0.16.1
0.16.0
Added
- added HObject concept with parse from unknown method generated from AOT(Transformer in core).
- added first package benchmark stuff
- added types: NonMethodRequiredPropertyNames,NonMethodOptionalPropertyNames,NonMethodProperties, ToJSONReturnType, JsonObjectType
Changed
- refactor ValueObject concept to HObject.
- pascalCaseToSnakeCase() - implemented faster version.
- OK() returns constant objects for:
true
,false
,undefined
,null
values for performance.
0.15.0
Added
- extractLoggerFromObject(), extractTestLoggerFromObject(), extractTestLoggerRecordsFromObject
Changed
- AppMeta - default EnvProvider in NodeJS env.
- separated http exports(/http and ./testing/http).
- export ./testutil -> ./testing
- separated Jest matchers export ./testing/jest
Removed
- removed MailContent Value Object
0.1.4.0
0.13.1
Added
- DateTime.formatRfc1123()
- ARW() - more meaning name for wrapping Promise with AsyncResult
Changed
- AsyncResult.fromPromise() -> AsyncResult.wrap().
- AsyncResult.fromPromiseOkTrue() -> AsyncResult.warpOnOkTrue().
- AsyncResult.from() - accepts functions returns Promise(async/await support).
- RetryHelper.retryAsync() - returns AR.
Removed
- AsyncResult.fromSafePromise() - AsyncResult.from supports both.
Deprecated
- P() - use ARW()
- PS() - use ARW()
- PB() - use ARWB()