Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 3.29 KB

CHANGELOG.md

File metadata and controls

85 lines (65 loc) · 3.29 KB

Changelog

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

Added

  • NaNError to indicate the value in concern is not a number.

Fixed

  • Issue of precision lost after 17 digits on value of decimal types variables by mapping the data to JavaScript type string instead of number. (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

Added

Changed

Fixed

  • Issue of incorrect mapping of array type TyODM objects to Amazon DynamoDB data type by mapping those to DynamoDB List instead of Sets.

0.1.0-rc.2 - 2021-09-21

Added

  • Public functions insertObj, insertOne, updateOne, deleteOne in base TyODM object class Obj for database write operations.
  • Errors MaxWriteActionExceededError, DBClientNotAttachedError, SchemaNotMatchError, InvalidSchemaError, NotImplementedError, InvalidPropertyError.
  • Basic CRUD operations support for Amazon DynamoDB.

Changed

  • 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> in TyODM.
  • Functions objects<T extends Obj> and partialObject<T extends Obj> in TyODM to throw NotImplementedError on invoked.
  • Most functions invoke on TyODM instance initialised with a MongoDBConfig now throw NotImplementedError.
  • Requirements of custom TyODM object identifier & constructor support. See README#Identifier for details.
  • Updated package dependencies.
  • Updated README.

Removed

  • { type: PropType; optional: boolean; } syntax for attr section of Schema. (Incompatible with older releases)

0.1.0-rc.1 - 2021-08-22

Added

  • Implementation of AWS DynamoDB client attachment to class TyODM.

0.1.0-rc.0 - 2021-08-08

Added

  • Foundation components such as TyODM, Obj, etc...
  • README with basic usage guideline.

Remarks

  • Currently not functional. Just publishing partial components & APIs layout of the package.