Changelog
[3.0.0-rc.0]
Changelog
[2.0.0-rc.0] - 2023-03-16
Changelog
[2.0.0-alpha.7] - 2022-06-13
findById
where the UniBasic source code did not include the UDO constants which produced an uninitialized variable abort (#157)$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)@types/jest
from dependencies and update timers syntax to no longer specify modern
(#152)Changelog
[2.0.0-alpha.6] - 2022-05-05
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)@babel/runtime
dependency (#105)Changelog
[2.0.0-alpha.4] - 2022-04-12
_originalRecordString
property now exists on the Model instanceDocument
constructor is now protected and should not be instantiated directly. Use of the static createDocumentFromRecordString
should be used instead.Changelog
[2.0.0-alpha.3] - 2022-03-22
Document
class which had been migrated to JS private syntax (#41)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)moment
was replaced with date-fns
for use in date and time conversions since moment
is in maintenance mode. (#42)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)Changelog
[2.0.0-alpha.2] - 2022-03-17
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)unibasic
path for db server feature deployments was resolving to the incorrect file system location (#37)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)Changelog
[2.0.0-alpha.1] - 2022-03-14
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)_id
property of Model
instances was inadvertently not enumerable. This fix ensures that the _id
property will be enumerable. (#31)