Open Pahicz opened 4 years ago
Hi @Pahicz -- thanks for the issue! This project was left ownerless for a while, but the good news is that since last month, we have been working on modernizing the library. Stay tuned for a new version within a few weeks to months.
Thanks for the quick reply! That's great to hear that. If anyone has encountered the same issue, more related info could be found here: https://github.com/brianc/node-postgres/issues/2069
What i did to make it work:
So far it did not crash while I was using it, but of course, that is a completely different version of pg so I guess it might.
Hi there, is there more visibility on a new release for this lib?
We're currently in the process of migrating from pg to cockroach and depending on master
atm, but we wouldn't feel confident going to production like that 😄
Cheers
Hi - glad to see this project is active again!
The new update to NPM: 6.0.0-alpha.0 is missing sequelize from dependencies (package.json) so this is not installed automatically by NPM resulting in an error on start. Can be fixed as seen below.
"dependencies": { "lodash": "^4.17.20", "pg": "^8.4.1", "semver": "^7.3.2", "sequelize": "^6.3.5" // ADD HERE TO INSTALL WITH NPM }, "deprecated": false, "description": "Support using Sequelize with CockroachDB.", "devDependencies": { "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-datetime": "^1.7.0", "mocha": "^8.2.0", "sequelize": "^6.3.5" },
Thanks!
The new update to NPM: 6.0.0-alpha.0 is missing sequelize from dependencies (package.json) so this is not installed automatically by NPM resulting in an error on start. Can be fixed as seen below.
Hello! sequelize-cockroachdb
supports both Sequelize v5 and v6. You have to install manually which version you want.
Hi @papb Ah makes sense - thanks 👍 Is there any concern with sequelize updates? Should one stick to a specific version of v5 or v6 when using? (e.g the ones you use when testing?)? Or should avoiding major updates be enough? Thanks
Avoiding major updates should be enough!
Could you please update the package in npm to the latest version? There is 9 months old version and it internaly uses pg package version 6.3.3 which could freeze the whole app, when I want to use it now I need to manually update pg inside the package which is quite annoying (or download it from here).
https://www.npmjs.com/package/sequelize-cockroachdb/v/1.1.0