All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0-rc.4 - 2021-09-30
NaNError
to indicate the value in concern is not a number.
- Issue of precision lost after 17 digits on value of
decimal
types variables by mapping the data to JavaScript typestring
instead ofnumber
. (Incompatible with older releases) - Issue of
decimal<>
type data not being handled when mapping to Amazon DynamoDB data type.
0.1.0-rc.3 - 2021-09-29
- Short sample of
TyODM
usage with Amazon DynamoDB in README#Getting started.
- Moved usage of custom constructor from the code snippet of README#Getting started to README#Custom identifier & constructor.
- Issue of incorrect mapping of array type
TyODM
objects to Amazon DynamoDB data type by mapping those to DynamoDBList
instead ofSets
.
0.1.0-rc.2 - 2021-09-21
- Public functions
insertObj
,insertOne
,updateOne
,deleteOne
in base TyODM object classObj
for database write operations. - Errors
MaxWriteActionExceededError
,DBClientNotAttachedError
,SchemaNotMatchError
,InvalidSchemaError
,NotImplementedError
,InvalidPropertyError
. - Basic CRUD operations support for Amazon DynamoDB.
- Supports for sub-object in schema
props
is now limited to 1 level deep. (Incompatible with older releases) - Implemented public function
objectByKey<T extends Obj>
inTyODM
. - Functions
objects<T extends Obj>
andpartialObject<T extends Obj>
inTyODM
to throwNotImplementedError
on invoked. - Most functions invoke on
TyODM
instance initialised with aMongoDBConfig
now throwNotImplementedError
. - Requirements of custom TyODM object identifier & constructor support. See README#Identifier for details.
- Updated package dependencies.
- Updated
README
.
{ type: PropType; optional: boolean; }
syntax forattr
section ofSchema
. (Incompatible with older releases)
0.1.0-rc.1 - 2021-08-22
- Implementation of AWS DynamoDB client attachment to class
TyODM
.
0.1.0-rc.0 - 2021-08-08
- Foundation components such as
TyODM
,Obj
, etc... README
with basic usage guideline.
- Currently not functional. Just publishing partial components & APIs layout of the package.