* fix keys and excludeKeys to work with JSON array strings
* make excludeKeys test more robust
* add changelog
* add select([]) functionality to fix)
* update changelog
* update keys
* add exclude test
* add select REST test and exclude JS SDK test
* add more tests
* add additional exclude test
* improved select test for testing JSON string array in REST
* improved exclude test for testing JSON string array in REST
* check for parse keys
* make include look like keys and excludeKeys
* nit
* Exclude nexted child fields
* add updates and show failing testcases
* working
* add more tests
* even more test cases
* use await for added tests
* lint
* Add suggestions
* Fixed a bug affecting updates to nested pointers
Also created unit tests
* Marked the regression test for #7391 as pending for postgre
The issue is not fixed yet
Use cont instead of var
* Only check the type of a parameter in the validator when the parameter is set to required or is not null
* Added test cases. Don't check type or options if required=false and no default value is set
* Added test cases. Don't check type or options if required=false and no default value is set
* Update const optional
* Add a failing test for issue #7340
If any delay occurs after "message.event" assignation in
LiveQueryServer._onAfterSave, the next subscription or request with a different
event might overwrite it, and by that using the wrong "push" function name.
* Remove updade of message and use res.event instead
This prevent computing function name from a
incorrect event if multiple subscriptions override
one by one the message.event.
* Update CHANGELOG.md
* Replace setTimeout by async/await expressions
* Add lock file version check to CI
* Update CHANGELOG.md
* Update ci.yml
* test failing check with lock file version 2
* Revert "test failing check with lock file version 2"
This reverts commit a5b4293f312942fea983e78c3c1ac4ee0690f9a5.
* fix: upgrade mongodb from 3.6.3 to 3.6.5
Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5.
See this package in npm:
https://www.npmjs.com/package/mongodb
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
* bump mongo 3.6.6
* update package-lock
* updated package-lock
* fix: upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1 (#7309)
Snyk has created this PR to upgrade winston-daily-rotate-file from 4.5.0 to 4.5.1.
See this package in npm:
https://www.npmjs.com/package/winston-daily-rotate-file
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
* Bump CI environment, remove Postgres 10 support (#7323)
* bumped MongoDB to 4.4.5
* bump Node to 14.16.1
* removed obsolete COVERAGE_OPTION
* improved postges support note
* bump more node
* Remove MongoDB 3.6 support (EOL) (#7315)
* removed mongodb 3.6 support
* add changelog entry
* updated CI check
* bumped MongoDB to 4.4.5
* bump Node to 14.16.1
* removed obsolete COVERAGE_OPTION
* improved postges support note
* bump more node
* updated package lock
* Revert "bumped MongoDB to 4.4.5"
This reverts commit ce9c8108c3deaec3bbe753faf5fdedbfec1e48c9.
* skipping MongoDB 4.4.5 temporarily
* fixed bug in CI check that did not consider ignored versions when checking for newer versions
* removed Postgres 10 support
* updated Postgres versions
* renamed MongoDB CI tests
* fixed Postgres compatibility table
* fix Postgres badge
* Add deprecation policy (#7199)
* added phased deprecation policy
* fixed typo
* added changelog entry
* some rewording
* Fixed typo
* fixed typo
* Fixed typo
* updated deprecation policy
* remove empty line
* fix: upgrade mongodb from 3.6.3 to 3.6.5
Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5.
See this package in npm:
https://www.npmjs.com/package/mongodb
See this project in Snyk:
https://app.snyk.io/org/acinader/project/8c1a9edb-c8f5-4dc1-b221-4d6030a323eb?utm_source=github&utm_medium=upgrade-pr
* bump mongo 3.6.6
* Update package-lock.json
Co-authored-by: Manuel Trezza <5673677+mtrezza@users.noreply.github.com>
* enabled direct access by default
* removed obsolete direct access option test case
* quick fix test
* Set RESTController during tests
* Properly handle RESTController
* Documentation
* revert changes
* rerun tests
* remove extra parse instance
* Revert "remove extra parse instance"
This reverts commit 21422f45f1548ebddddd1c4ccbc03a94b4994429.
* Ensure restcontroller is set
* Fix test
* improved option docs
* renamed direct access env var
* added deprecations to README
* added deprecation definition
* fixed docs typo
* improve promise rejection warning test
* added renaming of env var to deprecation warning
Co-authored-by: Diamond Lewis <findlewis@gmail.com>
* fix: empty file tags cause upload error for some providers
DigitalOcean and Linode object storage solutions do not accept `tags` option while uploading a file. Previously, tags option was set to default empty object. Now, we do not include it if it is empty.
* chore: add tests for saving a file with/without tags
* chore: update file tags handling to make tests pass
* chore: refactor file tag tests
* chore: update file tag tests
* chore: update changelog
* chore: update changelog entry
* chore: remove duplicated changelog entry
* Use Node.js 15.13.0 in CI
* CI: Allow check-postgres 20 timeout
* CI: 30 min timeout for check-postgres
* reverted postgres timeout to 15
Co-authored-by: Manuel <5673677+mtrezza@users.noreply.github.com>