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

chore(main): Release 16.0.0 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 17, 2023

🤖 I have created a release beep boop

16.0.0 (2024-03-12)

⚠ BREAKING CHANGES

  • node minimum version is now v16.20.1
  • Node.js v14 is not supported.
  • The return type of bulkWrite now includes also void
  • Nested properties after 6 levels of nesting are no longer type checked.
  • Papr is using new internal stricter types for query filters and update
  • Filter and UpdateFilter types are now using the strict counterpart types from mongodb v5.
  • Schemas no longer have a default __v property defined. Users who have migrated from Mongoose or are otherwise taking advantage of this property will have to manually add it to their schema definitions.
  • This changes the produced JSON schema for required oneOf types to correctly include it in the resulting required properties array.
  • Changes the return type for schema and the generic arguments for model and various utils
  • The hook parameters have been merged into a single object parameter.
  • Arrays will no longer default to type (T | undefined)[]
  • Removed undocumented support for a custom model generic type in the model() function.
  • bulkWrite operations types updated to handle defaults for attributes.

Features

Bug Fixes

Performance Improvements

  • Improve update filter types check times (#440) (15d1ba9)

Code Refactoring

  • Perform no-op on bulkWrite when no operations provided (#455) (d56a0f6)
  • Remove custom model type support (#219) (8675ffa)
  • Remove default schema __v version property (86bca4f)
  • Remove node.js v14 support (#464) (935b331)

This PR was generated with Release Please. See documentation.

@github-actions github-actions bot changed the title chore(main): Release 15.0.0 chore(main): release 1.0.0 Dec 11, 2023
@github-actions github-actions bot force-pushed the release-please--branches--main--components--papr branch from 3c088a0 to 88f16e2 Compare December 11, 2023 16:55
@github-actions github-actions bot changed the title chore(main): release 1.0.0 chore(main): Release 16.0.0 Mar 12, 2024
@github-actions github-actions bot force-pushed the release-please--branches--main--components--papr branch from 88f16e2 to 0cc8448 Compare March 12, 2024 15:17
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.

0 participants