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

📦 v2.1.0 #838

Merged
merged 38 commits into from
Jun 9, 2022
Merged

📦 v2.1.0 #838

merged 38 commits into from
Jun 9, 2022

Conversation

dr-dimitru
Copy link
Member

Major changes:

  • ⚠️ FSName now sanitized and limited to 28 symbols, no white-spaces allowed
  • ⚠️ fileId now sanitized and limited to 20 symbols, no white-spaces allowed
  • ⚠️ File extension now sanitized and limited to 20 symbols, no white-spaces allowed
  • 📦 Decouple fs-extra, use native node.js fs module
  • 👨‍💻 Add missing isData helper via Add missing method #795, by @harryadel

Changes:

Other:

  • 🤝 Compatibility with meteor@2.7.3

dr-dimitru and others added 30 commits March 3, 2021 12:43
- Codebase minor clean up
= Return error `405` (*was `401`*) when attempt to remove file from client-features with disabled `.remove()` on the Client
Add additional argument against using `gridfs-stream`.
Update links to point to mongodb driver version 3.6.
Use `MongoInternals.NpmModules.mongodb.modules` since
`MongoInternals.NpmModule` is undocumented (see for instance
https://github.com/meteor/meteor/blob/1dbf57ac5f9c405ee6bab30a13e51a3966d4014e/packages/mongo/mongo_driver.js#L16-L29).
Update gridfs-bucket-integration.md
Update gridfs-bucket-integration.md
Update gridfs-bucket-integration.md
Update gridfs-streaming.md
- Get `Accounts` and `Template` from `Package` global object
__Major changes:__

- ⚠️ `FSName` now sanitized and limited to 28 symbols, no white-spaces allowed
- ⚠️ `fileId` now sanitized and limited to 20 symbols, no white-spaces allowed
- ⚠️ File extension now sanitized and limited to 20 symbols, no white-spaces allowed
- 📦 Decouple `fs-extra`, use native node.js `fs` module
- 👨‍💻 Add missing `isData` helper via #795, by @harryadel

__Changes:__

- 👷‍♂️ Fix: #827, thanks to @aertms
- 👷‍♂️ Fix: #832, thanks to @polygonwood
- 👷‍♂️ Fix: #813, thanks to @Prinzhorn
- 👨‍💻 Fix: #834, thanks to @bladerunner2020
- 📔 Fix: #803, thanks to @bartenra
- 🏗 Sanitize inputs (`FSName`, `fileId`, `extension`) to avoid command injection
- 📔 Improved documentation, special thanks to @Prinzhorn and @make-github-pseudonymous-again
- 📔 GridFS documentation fix: #818
- 👷‍♂️ Utilize `Meteor._debug` where possible instead of `console.log`

__Other:__

- 🤝 Compatibility with `meteor@2.7.3`
@dr-dimitru dr-dimitru merged commit 7069257 into master Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants