3.58.1 Hotfix for projection types and security improvements #4319
BoDonkey
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This hotfix reverts the addition of
type: 1to every projection that lacked this property. Instead, this is conditionally added only when the projection is inclusive—that is, when it specifies a list of fields to be returned. For projections that exclude fields,type: 1will no longer be automatically added. This resolves a MongoDB error.In addition, this hotfix updates the
uploadfsdependencies to patch a security vulnerability in thesharpimaging package that could allow those with permission to upload images to an Apostrophe project to cause a buffer overflow error.Security
uploadfsto guarantee users get a fix for a potential security vulnerability insharp.This was theoretically exploitable only by users with permission to upload media to Apostrophe
npm auditwarning regardingpostcss. This is not a true vulnerability because only developerswith access to the entire codebase can modify styles passed to
postcssby Apostrophe, but we are working with upstreamdevelopers to determine the best steps to clear the warning
Fixes
typeto the projection only if there are no exclusions in the projection. Needed to preventCannot do exclusion on field in inclusion projectionerror.Beta Was this translation helpful? Give feedback.
All reactions