Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated database dependencies #880

Merged

Conversation

abalanovsky
Copy link
Contributor

@abalanovsky abalanovsky commented Aug 19, 2024

Updated Database Dependencies

  • mongodb (node driver) from ^4.2.2 to ^6.8.0
  • mongoose from ^6.1.2 to ^8.5.1
  • winston from ^3.8.0 to ^3.13.1
  • winston-mongodb from ^5.0.7 to ^5.1.1

Breaking changes:

  • findByIdAndRemove is deprecated. Replaced with findByIdAndDelete
  • ObjectID must be invoked with new (constructor) instead of method

Fixed tests

Copy link

sonarcloud bot commented Aug 27, 2024

@ut5tw ut5tw merged commit 810e219 into feature/825/update-dependencies Oct 29, 2024
2 checks passed
@ut5tw ut5tw deleted the feature/823/database-deps-update branch October 29, 2024 11:18
Copy link

sonarcloud bot commented Oct 29, 2024

Mav-Ivan pushed a commit that referenced this pull request Oct 29, 2024
* Updated database deps

* Changed objectId method

* Changed IDs to literals

* Changed cooperation test, aggregateOptions

* Fixed cooperation tests, test commit for Sonar

* Refactored code, fixed tests

* Resolve conflicts

* Fix package.json

---------

Co-authored-by: ut5tw <sheredan2003@gmail.com>
Co-authored-by: Illia Pasichnichenko <54638946+ut5tw@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: 2) Update winston ( SP: 5) Update mongodb, mongoose
4 participants