Comments (33)
I'm working on a update to sails-mongo with mongodb driver 4.8.1, min version with mongo 6 support (https://www.mongodb.com/docs/drivers/node/current/compatibility/).
This is my fork: https://github.com/vidueirof/sails-mongo#upgrade-mondgo-driver
from sails.
Hey @milarevictor, @jogbuwa and @vidueirof just a heads up, work has already begun on this to move sails-mongo
to the latest and greatest of MongoDB. I'll make a PR soon that you can all track. Thanks
https://github.com/DominusKelvin/sails-mongo/tree/feat/upgrade-to-mongo-6
from sails.
@tonysparksUC I would recommend you just to switch to another normal modern alive framework.
You're expecting a lot of from dead framework 😆
from sails.
Hello, any news about a potential release ?
Regards,
Hi @marecatg not yet. But I'll leave an update soon. Thanks for your patience on this one
from sails.
@jogbuwa, yes I have this fix working on some projects. You have to replace where you usually have sails-mongo import, and run npm install
to fetch the new dependency.
from sails.
As mentioned on that PR:
@DominusKelvin I've been spending a lot of time working on first cleaning up sails-mongo code to more current one, removing travis and appveyor and using github actions.
We have been talking with @Josebaseba (who has been a long time maintainer/contributor, like me) to sails-mongo.
We are all wasting time working on the same things in parallel.
Please check: #498
@mikermcneil We really need to get together and have a real action plan here.
from sails.
@milarevictor Thanks for posting! We'll take a look as soon as possible.
In the mean time, there are a few ways you can help speed things along:
- look for a workaround. (Even if it's just temporary, sharing your solution can save someone else a lot of time and effort.)
- tell us why this issue is important to you and your team. What are you trying to accomplish? (Submissions with a little bit of human context tend to be easier to understand and faster to resolve.)
- make sure you've provided clear instructions on how to reproduce the bug from a clean install.
- double-check that you've provided all of the requested version and dependency information. (Some of this info might seem irrelevant at first, like which database adapter you're using, but we ask that you include it anyway. Oftentimes an issue is caused by a confluence of unexpected factors, and it can save everybody a ton of time to know all the details up front.)
- read the code of conduct.
- if appropriate, ask your business to sponsor your issue. (Open source is our passion, and our core maintainers volunteer many of their nights and weekends working on Sails. But you only get so many nights and weekends in life, and stuff gets done a lot faster when you can work on it during normal daylight hours.)
- let us know if you are using a 3rd party plugin; whether that's a database adapter, a non-standard view engine, or any other dependency maintained by someone other than our core team. (Besides the name of the 3rd party package, it helps to include the exact version you're using. If you're unsure, check out this list of all the core packages we maintain.)
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.
For help with questions about Sails, click here.
from sails.
My workaround was migrating to a dedicated MongoDB cluster that I could configure to run Mongo 4.4.
This works so far, but, I will have to pay around 50 usd / month extra (it used to be free) + I think Mongo 4.4 support will not last more than 2 years. Not ideal but works.
Edit: to add some more feedback, as far as I can see this issue means sails will no longer with free versions of MongoDB Atlas.
from sails.
It's loos like sails-mongo is using an old mongo driver :-(
from sails.
@vidueirof @ebarojas @milarevictor @tedkulp
I'm having this issue too on two different apps of ours. Please, is there any fix for this, now?
from sails.
My workaround was migrating to a dedicated MongoDB cluster that I could configure to run Mongo 4.4.
This works so far, but, I will have to pay around 50 usd / month extra (it used to be free) + I think Mongo 4.4 support will not last more than 2 years. Not ideal but works.
Edit: to add some more feedback, as far as I can see this issue means sails will no longer with free versions of MongoDB Atlas.
I tried this workaround and it worked. I will use this in the mean time while I look up alternatives.
from sails.
balderdashy/sails-mongo#497 but it requires to deprecate node 10 support.
from sails.
this is super duper not cool. my apps dont work.... and i dont have money to pay for a dedicated server. can we please figure out a solution to work with mongo db 6
from sails.
@tonysparksUC you can temporally try the fix that it is in my fork: https://github.com/vidueirof/sails-mongo/tree/upgrade-mondgo-driver
Try updating your package.json like this
"sails-mongo": "git+https://github.com/vidueirof/sails-mongo.git#upgrade-mondgo-driver",
from sails.
My workaround was migrating to a dedicated MongoDB cluster that I could configure to run Mongo 4.4.
This works so far, but, I will have to pay around 50 usd / month extra (it used to be free) + I think Mongo 4.4 support will not last more than 2 years. Not ideal but works.
Edit: to add some more feedback, as far as I can see this issue means sails will no longer with free versions of MongoDB Atlas.I tried this workaround and it worked. I will use this in the mean time while I look up alternatives.
But moving to a dedicated cluster as much as I know is an irreversible action. You'll keep paying as much as you are currently paying. So, it's not really a temporary fix.
from sails.
@sailsbot Do we have any hopes of getting a fix to this outdated sails-mongo adapter soonest?
from sails.
@tonysparksUC you can temporally try the fix that it is in my fork: https://github.com/vidueirof/sails-mongo/tree/upgrade-mondgo-driver
Try updating your package.json like this
"sails-mongo": "git+https://github.com/vidueirof/sails-mongo.git#upgrade-mondgo-driver",
@vidueirof
Do you have this working for you now?
from sails.
git+https://github.com/vidueirof/sails-mongo.git#upgrade-mondgo-driver
@tonysparksUC you can temporally try the fix that it is in my fork: https://github.com/vidueirof/sails-mongo/tree/upgrade-mondgo-driver
Try updating your package.json like this
"sails-mongo": "git+https://github.com/vidueirof/sails-mongo.git#upgrade-mondgo-driver",
Is this update supposed to happen at the app root folder package.json file? I don't seem to be getting this right. Thanks
from sails.
@jogbuwa, yes I have this fix working on some projects. You have to replace where you usually have sails-mongo import, and run
npm install
to fetch the new dependency.
I see. I'll give that a try and let you know how it goes.
from sails.
@jogbuwa, yes I have this fix working on some projects. You have to replace where you usually have sails-mongo import, and run
npm install
to fetch the new dependency.
Hey @vidueirof
It worked on the development server of one of our apps. Yet to move it to staging and production. Do you have an idea of any caveats to this temporary implementation?
Thanks
from sails.
@jogbuwa the only thing, as far we know, with this update we are dropping node 10 support. Maybe you want to test it in development a bit more to be sure it's stable before going to production (or other environments).
from sails.
@vidueirof Noted with thanks.
from sails.
@vidueirof thank you for making the fork and @jogbuwa please post here and let me know if the fork works well.
id like to help you and your apps if I'm able. what your other pain points in life or businesses?
from sails.
Hey all. I'm just getting more acquainted with this issue and I really think like you all we should look at this to upgrade sails-mongo to support the latest version of MongoDB
I'll update this issue with progress as we look to resolve this.
from sails.
Hey @vidueirof how is your availability like for next week? I think we can pair on this one to move this adapter to the latest and greatest MongoDB driver.
We discussed this in core and we are happy to move forward with this but want an input from a Sails user shipping MongoDB with Sails so we can test it a great deal.
Are you up for it @vidueirof?
from sails.
Also @jogbuwa would you be open to also dogfooding when we release a major for sails-mongo
? This is to ensure it works without regressions for you in your production apps?
from sails.
Hey all, here is the WIP PR. This is looking to be a significant upgrade especially since we are moving from the callback based API that was previously supported by mongodb
driver before the latest version to a promise-based API.
from sails.
Hi Dom, yes sure https://calendly.com/d/3cw-qyk-xbb/dom-sails-sails-mongo
Hey @vidueirof how is your availability like for next week? I think we can pair on this one to move this adapter to the latest and greatest MongoDB driver.
We discussed this in core and we are happy to move forward with this but want an input from a Sails user shipping MongoDB with Sails so we can test it a great deal.
Are you up for it @vidueirof?
from sails.
Hello, any news about a potential release ?
Regards,
from sails.
Hey @milarevictor, @marecatg, @jogbuwa, @tonysparksUC, @ebarojas, @NachtRitter, I'll be closing this issue as this PR has implemented the upgrade and it has been merged. Thank you for waiting on this 💙
Also you can check here for the upgrade information. 👇🏾
https://blog.sailscasts.com/sails-mongo-v2-1-0
from sails.
Hey @milarevictor, @marecatg, @jogbuwa, @tonysparksUC, @ebarojas, @NachtRitter, I'll be closing this issue as this PR has implemented the upgrade and it has been merged. Thank you for waiting on this 💙
Also you can check here for the upgrade information. 👇🏾
@DominusKelvin Glad to hear! Kudos to you and the team for upgrading the Sails Mongo adapter!
However, I think it is worth noting that it'll be a lot helpful to have these sort of system breaking issues attended to and resolved sooner to ensure Sails' competitiveness as a modern and reliable MVC framework that teams can continue to utilize. Quite frankly, April to December 2023 was a really long time to get a fix on a framework that has lots of apps in production, that are being used daily.
Currently, my team and I are contemplating using Sails or another popular framework for a new, robust project for the reason above. Prior to now, it was always a no-brainer for us to use Sails.
I'm hoping this feedback would get a warm reception from the Sails team.
Thanks!
from sails.
Hey @milarevictor, @marecatg, @jogbuwa, @tonysparksUC, @ebarojas, @NachtRitter, I'll be closing this issue as this PR has implemented the upgrade and it has been merged. Thank you for waiting on this 💙
Also you can check here for the upgrade information. 👇🏾
Looking forward to implementing this new update.
from sails.
Hey @milarevictor, @marecatg, @jogbuwa, @tonysparksUC, @ebarojas, @NachtRitter, I'll be closing this issue as this PR has implemented the upgrade and it has been merged. Thank you for waiting on this 💙
Also you can check here for the upgrade information. 👇🏾
@DominusKelvin Glad to hear! Kudos to you and the team for upgrading the Sails Mongo adapter!
However, I think it is worth noting that it'll be a lot helpful to have these sort of system breaking issues attended to and resolved sooner to ensure Sails' competitiveness as a modern and reliable MVC framework that teams can continue to utilize. Quite frankly, April to December 2023 was a really long time to get a fix on a framework that has lots of apps in production, that are being used daily.
Currently, my team and I are contemplating using Sails or another popular framework for a new, robust project for the reason above. Prior to now, it was always a no-brainer for us to use Sails.
I'm hoping this feedback would get a warm reception from the Sails team.
Thanks!
Hey I understand it was a long wait and definitely frustrating. I apologize for this.
We plan to be more swift with the changes and upgrades as needed but rest assured work is actively being done on the framework(both maintenance and adding new features.)
Thanks for your patience.
from sails.
Related Issues (20)
- i am not able to access sails even after ( "sails" : true ) set in config/global.js file "ReferenceError: sails is not define" HOT 2
- Remove socket error logs during automatic disconnect/reconnect of Redis/Sails app HOT 1
- Commit https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d breaks websocket sessions HOT 6
- Default values for options mentioned in config/global.js file? HOT 4
- support for ICU Format in i18n HOT 2
- BUG mutation of object valuesToSet in update blueprints action HOT 2
- _method with value put not working on form submit HOT 1
- Duplicate singleton instances after upgrading from 0.12.14 to 1.5.8 HOT 1
- Not working with mongodb server less. HOT 4
- Session issue with latest passport js HOT 1
- Getting Vite working with Sails.js/Parasails HOT 5
- Update and improve the documentation on Testing HOT 4
- Opentelemetry instrumentation support for sails HOT 7
- Using the latest socket.io version HOT 3
- Waterline has very bad compatibility with PostgreSQL it's almost unusable HOT 3
- Connection unstable HOT 2
- Datastore selection for Archive model HOT 1
- getDatastore.manager issue in [email protected] HOT 9
- [email protected] captains-log dependency introduces ReDoS Vulnerability HOT 5
- Testing with Parasails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sails.