Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mvom

Package Overview
Dependencies
Maintainers
0
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvom - npm Package Versions

13
6

3.0.0-rc.0

Diff

Changelog

Source

[3.0.0-rc.0]

Breaking changes

  • Minimum Node version is now 18.0.0 (#620)

Fixed

  • Fix handling of projection to ensure the correct data attributes are projected (#653)

Docs

  • Upgraded to Docusaurus v3.2.1 because V2 does not support Node 18 (#620)

TypeScript

  • Infer output object types based upon Schema definition (#697, #720, and #732)
  • Add type inference for query conditions (#719)

Added

  • Add node 20 to the CI matrix (#620)
  • Improve error messaging for validation errors (#642)
  • Make validators synchronous to improve performance (#701)
  • Allow bypassing deployment validation and expose basic subroutine name on connection instance (#709)
  • Include cause in MvisError, TimeoutError, and UnknownError (#724)
shawnmcknight
published 2.0.0-rc.1 •

Changelog

Source

[2.0.0-rc.1] - 2023-05-05

Breaking changes

  • Logger interface has been adjusted, adding fatal and trace while removing verbose and silly (#463)

Fixed

  • Fix handling of foreign key validation when multiple files are specified (#467)
shawnmcknight
published 2.0.0-rc.0 •

Changelog

Source

[2.0.0-rc.0] - 2023-03-16

Breaking changes

  • Minimum Node version is now 16.0.0 (#413)

Fixed

  • Check catalog existence as part of server validation (#196)

Added

  • Deploy UniBasic via MVIS Admin (#186)
  • Prevent multiples of same connection operations from running in parallel (#308)
  • Add filename and record ID to error output (#318)
  • Return write error status codes (#322)
  • Allow specification of a maximum return payload size from the database (#357)
  • Pass requestId to MVIS as HTTP header (#390)
  • Add requestId to common variable (#397)

Docs

  • Enable Algolia search (#174)
  • Updated docs for changes in release (#359)
shawnmcknight
published 2.0.0-alpha.7 •

Changelog

Source

[2.0.0-alpha.7] - 2022-06-13

Fixed

  • Fix an issue with findById where the UniBasic source code did not include the UDO constants which produced an uninitialized variable abort (#157)
  • Handle construction of full MVIS URL more gracefully to avoid issues with trailing slashes (#128 and #166)
  • Fix an issue with $contains, $startsWith, and $endsWith queries where an unintended pattern match could be introduced into the query constant causing the query to return unexpected results (#166)

Added

  • Add node 18 to the CI matrix (#111)
  • Remove @types/jest from dependencies and update timers syntax to no longer specify modern (#152)

Docs

  • Add documentation site and automate deployment of it to GitHub pages (#151)

Meta

  • Update readme and create contributing guide and code of conduct (#155)
shawnmcknight
published 2.0.0-alpha.6 •

Changelog

Source

[2.0.0-alpha.6] - 2022-05-05

Breaking changes

  • Previously, specifying an empty projection array for Model database methods (e.g. find, findById) would behave the same as specifying no projection at all. This change adjusts that behavior so that specifying an empty projection array will instead return no data. (#86)

Fixed

  • Corrected an issue with saving subdocument arrays defined with multipart paths where the resulting saved data would be formatted incorrectly in the database (#85)
  • Added missing @babel/runtime dependency (#105)
  • If a database value cannot be transformed, log the original value and not the value after a transformation attempt (#106)
shawnmcknight
published 2.0.0-alpha.5 •

Changelog

Source

[2.0.0-alpha.5] - 2022-04-19

Added

  • Allow user defined properties in Model methods. These will be stored in the S$MVOM named common area. (#76)
  • Validate database server query limits prior to execution of query (#79)
shawnmcknight
published 2.0.0-alpha.4 •

Changelog

Source

[2.0.0-alpha.4] - 2022-04-12

Breaking changes

  • Change database I/O for records to use delimited strings instead of arrays (#60)
    • A new non-enumerable _originalRecordString property now exists on the Model instance
    • Model instances can no longer be constructed from arrays. Delimited strings can be used instead.
    • The Document constructor is now protected and should not be instantiated directly. Use of the static createDocumentFromRecordString should be used instead.

Added

  • Allow http/s agent to be passed to Connection (#45)
  • Allow type information to be specified for dictionaries that are not part of the data definitions (#53)
shawnmcknight
published 2.0.0-alpha.3 •

Changelog

Source

[2.0.0-alpha.3] - 2022-03-22

Fixed

  • Fixed an issue where the time transformations were returning the incorrect value on the date a daylight saving time transition occurred (#42)
  • Fixed an issue where property descriptors were being added unnecessarily to properties on the Document class which had been migrated to JS private syntax (#41)
  • Fixed an issue where the default dbFormat of 'ms' for ISOCalendarDateTime schema types was not properly passing the defaulted format to the ISOTime constructor. This led to incorrect transformations of the time component of the ISOCalendarDateTime. (#50)

Changed

  • moment was replaced with date-fns for use in date and time conversions since moment is in maintenance mode. (#42)
  • Logging behaviors were changed to have a different severity level for many log events. Additionally, all logs now include the account name in the emitted log message. (#44)

Added

  • When an MVIS connection times out, a new TimeoutError will be emitted instead of MvisError. Additionally, a new UnknownError could possibly be emitted if the caught error is not of type AxiosError (from axios library). (#43)
shawnmcknight
published 2.0.0-alpha.2 •

Changelog

Source

[2.0.0-alpha.2] - 2022-03-17

Fixed

  • The findById and findByIds database features were returning empty string when a record was not found. However, the types for the responses were anticipating null to be returned in this scenario. The handling code was anticipating null and was returning an empty Model instance instead of returning null as expected. Use of null is a better pattern and the database code was adjusted to return null instead of empty string. (#37)
  • The unibasic path for db server feature deployments was resolving to the incorrect file system location (#37)
  • The Document and Model constructors were incorrectly only allowing an option of either record or data to be supplied. It is valid syntax to supply both so the restrictions on the constructor options were relaxed. (#37)
shawnmcknight
published 2.0.0-alpha.1 •

Changelog

Source

[2.0.0-alpha.1] - 2022-03-14

Breaking Changes

  • The encrypt and decrypt functions are no longer overloaded to accept or return arrays and no longer accept or return null. All handling of arrays and null values has been internalized. (#29)

Fixed

  • The _id property of Model instances was inadvertently not enumerable. This fix ensures that the _id property will be enumerable. (#31)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc