Skip to content

Releases: IamSebastianDev/flotsam

v1.2.2

16 May 22:44
e134526
Compare
Choose a tag to compare

1.2.2 (2023-05-16)

Bug Fixes

  • resolve issue with recordLink being incorrectly parsed (acab16e)

v1.2.1

26 Feb 22:50
3921bbd
Compare
Choose a tag to compare

1.2.1 (2023-02-26)

Bug Fixes

  • improve return value of hydration step (e0ddcde)
  • resolve issue with record links braking on update (cd8b506)

v1.2.0

26 Feb 20:32
19886c6
Compare
Choose a tag to compare

1.2.0 (2023-02-26)

Bug Fixes

  • add Record Link type export (431d2e9)
  • collectionOf should throw when finding an element that is not a valid token (6c5ff2b)
  • pass previous value to subscription function (99686e0)
  • recordOf should throw when finding an element that is not a valid token (fcddd77)
  • remove incorrect -1 flag for limits when limit is undefined (8ac2c33)
  • set correct input to prevent circular dependency (f159f22)

Features

  • add a complete method to the observer (ccde0d0)
  • add includes evaluator to evaluate arrays (53068dc)
  • add onComplete handler to observable (5979b9e)
  • add reactive query method to collection (25e50fc)
  • implement a basic observable query options system (52d8ee2)
  • implement a validator to check a single record link relation (85c79d4)
  • implement method to create a record link token (c455787)
  • implement observable (212a336)
  • implement the ability to link records between collections (3bd7cf3)
  • implement type assertion for record link token (7703dd5)
  • implement validator to validate a collection of record links (74b8fc6)

v1.1.0

29 Dec 21:08
d2694cc
Compare
Choose a tag to compare

1.1.0 (2022-12-29)

Bug Fixes

  • add missing export for IsString (3a9f287)
  • add missing exports (494aa14)
  • add missing type export for ValidatorFunction (3757437)
  • added implicit return type (ba51c22)
  • change way rollup config checks for external dependencies (6ceef47)
  • check explicit for undefined values (3f678ec)
  • correct type check (e3ce48c)
  • fix incorrect conditional in Flotsam Error (23df67b)
  • fix object id issue with filenames on windows systems (4392ab4)
  • fix typing issues (47b6e5f)
  • improve error handling (8fb35b4)
  • improve error handling on uncaught exceptions (8a80044)
  • improve performance for loq class (b464576)
  • remove unnecessary property (4b1f19f)
  • resolve issue with duplicate queue for update operation (7466f81)
  • resolve issue with duplicated chars (2853824)
  • resolve issue with queueing for delete operations (6d316af)
  • typo (b78791b)
  • update package json (b569e55)
  • use validation while updating a document (c68b9ce)

Features

  • add additional update method to complete api (41594aa)
  • add contains evaluator to evaluate nested properties (0bebc23)
  • add custom evaluation error (a1a7bd8)
  • add implicit is string evaluator (a1b727a)
  • add missing deleteOneBy method (f14ec7b)
  • add number validator (9958571)
  • add text validator (7d737cf)
  • add validator function to validate dates (01473a3)
  • change order of find options evaluation to enable limiting results correctly (e925827)
  • create a error base class to simplify validation of errors (bb74c24)
  • create custom errors to improve error handling (6ce8b5d)
  • enable type validator to validate complex, user given types (56ccb01)
  • enable usage of recursive validator functions in IsArray Validator (8d63e3f)
  • implement a validator to check for a certain type (de0b1f9)
  • implement a validator to validator values to be not null (adc900f)
  • implement additional check before connecting (47a377d)
  • implement Array validator (c4b909f)
  • implement document schema validation (7de4edc)
  • implement integer validator (fe3bb3b)
  • implement nested properties validator (c3a4b0a)
  • improve integer validator (4a20784)
  • setup a validator submodule to provide exports for the schema validator (8c49ff1)

v1.0.1

03 Dec 23:26
c3c37e8
Compare
Choose a tag to compare

1.0.1 (2022-12-03)

Bug Fixes

v1.0.0

03 Dec 14:18
63a6a98
Compare
Choose a tag to compare

1.0.0 (2022-12-03)

Bug Fixes

  • add missing Document export (ab7e1ea)
  • conversion issue during deserialization (4dbd464)
  • conversion issue during inserting (ade8354)
  • convert timestamp to string to avoid conversion issues with leading zeros (804ebea)
  • correct order of evaluation (2c27375)
  • correct type (4a496ce)
  • ensure database is connected before enabling collecting (364fafe)
  • explicitly check if the string is encrypted before decrypting (6b48e8c)
  • implement alternative way to pass array values (3b23b97)
  • incorrect paths (588a2fd)
  • remove _id being parsed into data (3553907)
  • remove log statement (57ce861)
  • remove log statement (826e033)
  • resolve issue with typesafety inside find options (51a0d9c)
  • revert package name change (de98074)
  • setup correct branch for release (cb754a6)
  • use defined property instead of hardcoded vector length (de715db)

Features

  • add a readonly id property to documents to simplify access (7c672eb)
  • add lifecycle events for upsert and update (9d71b27)
  • add method to delete a document by it's id (1bc544b)
  • add not equal evaluator (439ce6b)
  • add OR, pagination and ordering properties to find options (73df391)
  • add propName as second argument for better error reporting (abd6747)
  • add queue system to collection (c754996)
  • add update many method (d92c419)
  • add utility method for truthy values (9bfe314)
  • create a function to evaluate possible find options (875addd)
  • create a Like evaluator (ed6b2bf)
  • create a queue class (2fcc47e)
  • create a range evaluator (7348394)
  • create a rejector method (138df06)
  • create a Unsafe evaluator (4dc289d)
  • create an evaluator for strict comparisions (835fa02)
  • create an evaluator to check for loose equality (5636284)
  • create callbacks for connect method (34446bb)
  • create collection implementation (60a857e)
  • create document implementation (e92fd5b)
  • create flotsam class implementation (e07a4b4)
  • create function to safely abort async functions on error (3aefe6c)
  • create method to connect (18a4ab9)
  • create method to delete a document (2b52401)
  • create method to drop collections (0c45d82)
  • create methods to find documents by find options (48758fa)
  • create numerical comparision evaluators (d82a872)
  • create object id implementation (965ca82)
  • create RegExp evaluator (e91dc71)
  • create simplified find by property options (8509254)
  • create typeguard for documents (f17c1a8)
  • create utility function to check values for being non null (3e62867)
  • create utility function to retrieve root (0ca04f0)
  • create way to encrypt data stored on disk (ab01364)
  • implement a UpdateOneById method (ed1c57c)
  • implement drop method (403815f)
  • implement findByProperty method (37d7451)
  • implement insert many method (a65acfd)
  • implement logging system (10930b7)
  • implement method to insert documents (ab7b70e)
  • implement serialize and deserialize methods (5e75a7c)
  • implement sort, limit, pagination, and finding many elements (d3dc515)
  • improve error handling on collection deserialization (2278f7f)
  • improve performance during serialization (dcbfbbb)
  • improved event documentation and completeness (8643e11)
  • log errors to stdout (ca9fea8)