➡ New node-postgres (pg) & mysql2 compat layers
➡ Now works with Drizzle & Kysely ORMs
➡ Auto-retry for Aurora Serverless v2 scale to zero clusters
➡ Bug fixes
Release notes: github.com/jeremydaly/d...
➡ New node-postgres (pg) & mysql2 compat layers
➡ Now works with Drizzle & Kysely ORMs
➡ Auto-retry for Aurora Serverless v2 scale to zero clusters
➡ Bug fixes
Release notes: github.com/jeremydaly/d...
The mysql2 library used in several projects (sidorares/mysql2, @rootio/mysql2, GitHub Actions/mysql2, and mysql2) has a security weakness that could allow an attacker to execute…
Too many irrelevant or confusing CVEs? Use stackflag.com
#mysql2 #sidorares #npm #CVE #infosec
The mysql2 library used in several projects (sidorares/mysql2, @rootio/mysql2, GitHub Actions/mysql2, and mysql2) has a security weakness that could allow an attacker to execute…
Too many irrelevant or confusing CVEs? Use stackflag.com
#mysql2 #sidorares #npm #CVE #infosec
A complete TypeScript rewrite with ORM support, mysql2/pg compatibility, and intelligent parsing so your Aurora Serverless v2 database just works.
jeremydaly.com/announcing-d...
A complete TypeScript rewrite with ORM support, mysql2/pg compatibility, and intelligent parsing so your Aurora Serverless v2 database just works.
jeremydaly.com/announcing-d...
The mysql2 code library used in Node.js applications can be tricked into running malicious commands. This could let an attacker take control of the system that uses the library.…
Too many irrelevant or confusing CVEs? Use stackflag.com
#mysql2 #rootio #npm #CVE #infosec
The mysql2 code library used in Node.js applications can be tricked into running malicious commands. This could let an attacker take control of the system that uses the library.…
Too many irrelevant or confusing CVEs? Use stackflag.com
#mysql2 #rootio #npm #CVE #infosec
Includes:
- Many fixes and improvements from the community.
- Hide unfinished features from the UI.
- Updated image to Node.js 24.x.
See github.com/requarks/wik... for details.
Includes:
- Many fixes and improvements from the community.
- Hide unfinished features from the UI.
- Updated image to Node.js 24.x.
See github.com/requarks/wik... for details.
#Ruby-MySQLが苦手な方は注意
システム修繕、やっと一つ目が終わった…筈だ。
バグが分からなくてAIに訊いたら、相変わらずバグがボロボロと。
MySQL2初めて使ったけど、仕様がガラリと変わって、
修正が大変だった。MySQL1ではArrayでクエリ結果を返すところを、
MySQL2ではHashで返してきた。
後々から代入値を誤らなくて済むメリットもあったが、
元々のが、MySQL1対応だったので修正に時間を要した。
ロジックバグも自力で直した。
2日間まともに寝てないよ。それでダウンして記憶にない。
皆様、まともな反応が出来なくて、ごめんなさいね。
#Ruby-MySQLが苦手な方は注意
システム修繕、やっと一つ目が終わった…筈だ。
バグが分からなくてAIに訊いたら、相変わらずバグがボロボロと。
MySQL2初めて使ったけど、仕様がガラリと変わって、
修正が大変だった。MySQL1ではArrayでクエリ結果を返すところを、
MySQL2ではHashで返してきた。
後々から代入値を誤らなくて済むメリットもあったが、
元々のが、MySQL1対応だったので修正に時間を要した。
ロジックバグも自力で直した。
2日間まともに寝てないよ。それでダウンして記憶にない。
皆様、まともな反応が出来なくて、ごめんなさいね。
npm i sequelize sequelize-typescript mysql2 reflect-metadata
npm i -D @types/validator
Enable experimentalDecorators + emitDecoratorMetadata in tsconfig.
npm i sequelize sequelize-typescript mysql2 reflect-metadata
npm i -D @types/validator
Enable experimentalDecorators + emitDecoratorMetadata in tsconfig.
Meses e nunca foi corrigido. Era literalmente UMA (1) palavra ser removida e pronto.
Criei coragem e mandei o PR.
Meses e nunca foi corrigido. Era literalmente UMA (1) palavra ser removida e pronto.
Criei coragem e mandei o PR.
rubygem-pg (PostgreSQL adapter)
rubygem-mysql2 (MySQL adapter)
Includes RPMs for all architectures + performance tweaks. Read more: 👉 tinyurl.com/bdcvcvmf #Infosec #SysAdmin #Ruby
rubygem-pg (PostgreSQL adapter)
rubygem-mysql2 (MySQL adapter)
Includes RPMs for all architectures + performance tweaks. Read more: 👉 tinyurl.com/bdcvcvmf #Infosec #SysAdmin #Ruby
https://methane.hatenablog.jp/entry/2024/11/07/172214
https://methane.hatenablog.jp/entry/2024/11/07/172214
docs.aws.amazon.com/AmazonRDS/la...
docs.aws.amazon.com/AmazonRDS/la...
あれからシステムにバグ報告を沢山貰っちゃって、
悠長にイラストどころではなくなった。
原因をAIに訊いたら、散々AIに怒られたよ。
しかしながら、通常の方法ではダメで画期的な方法をAIは考えてくれたよ。
それは、わたしにとってありがたかった。
デバッグのためにAIを使うどころが、AIの考えたシステムになりつつある。
MySQL2があんなに難しいシステムだとは思ってもいなかったよ。
バグ報告もそろそろ無くなってきたので、
今度こそはイラストを描くぞと決心しました。
バグが今度こそ出なければいいなと思いつつ、
イラストを描く準備に取り掛かるわたしであった。
もう暫く待ってね。
あれからシステムにバグ報告を沢山貰っちゃって、
悠長にイラストどころではなくなった。
原因をAIに訊いたら、散々AIに怒られたよ。
しかしながら、通常の方法ではダメで画期的な方法をAIは考えてくれたよ。
それは、わたしにとってありがたかった。
デバッグのためにAIを使うどころが、AIの考えたシステムになりつつある。
MySQL2があんなに難しいシステムだとは思ってもいなかったよ。
バグ報告もそろそろ無くなってきたので、
今度こそはイラストを描くぞと決心しました。
バグが今度こそ出なければいいなと思いつつ、
イラストを描く準備に取り掛かるわたしであった。
もう暫く待ってね。
When using named parameters in mysql2 (nodejs)
it will parse any word starting with : as a possible param..
even in comments.
When using named parameters in mysql2 (nodejs)
it will parse any word starting with : as a possible param..
even in comments.
now i doubt many people are sending queries with comments to mysql2
but this is something you should keep in mind.. because even AI couldn't
fix this one as i was busy banging my head against the wall for an hour.. 😩😩😩
now i doubt many people are sending queries with comments to mysql2
but this is something you should keep in mind.. because even AI couldn't
fix this one as i was busy banging my head against the wall for an hour.. 😩😩😩
WSL2 だと単なる Ubuntu だからまあ普通にやってれば普通に通るし、一般的なデプロイ先環境ともそんな差異はないというところでも良い(今はコンテナデプロイする場合も多いけど)
ただし iOS / iPadOS 用のビルドだけはどうあがいてもできないので macOS を使う
WSL2 だと単なる Ubuntu だからまあ普通にやってれば普通に通るし、一般的なデプロイ先環境ともそんな差異はないというところでも良い(今はコンテナデプロイする場合も多いけど)
ただし iOS / iPadOS 用のビルドだけはどうあがいてもできないので macOS を使う