Fix memory leak in MatchData
The following script leaks memory: 10.times do # MatchData#offset allocates an external char_offset buffer 100_000.times.ma
The following script leaks memory: 10.times do # MatchData#offset allocates an external char_offset buffer 100_000.times.ma
Fixes the client-entry frame reload issue documented in #11414.
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Fix hydrated fragment updates losing existing cont
… (#18099) This reverts commit ff6ac97529962b824d528b4bf32485179bb25805.
Don't rely on exact timings even if they seem generous enough. This has failed recently on CI (MacOS-15-intel).
Add `prefetch_primary_key?` test coverage on PostgreSQL
The GC sweep fast path had an inverted condition for hashes in rb_gc_obj_needs_cleanup_p. Hashes with an st_table needs to be freed. The fo
OpenSSL::PKCS7#decrypt is unreliable when given only a private key and the PKCS#7 structure contains multiple recipients. It may occasionall
Use a proper nogvl + native mutex broadcast solution to deal with cross-ractor thread synchronization.
The `once` insn (ex: for interpolated regexp with /o option) should only be executed once even across Ractors. The `once` value is associate
…ns-formatter-branch Remove unreachable single-version branch from `DefaultSchemaVersionsFormatter`
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
* ZJIT: Fix trivial inlining for optional argument entries Use SendDirect's jit_entry_idx when reading the callee bytecode for trivial
Claude Opus 5登場!ベンチマーク分析・価格・Fable 5 / GPT-5.6との徹底比較 Anthropic社から、新たなフラッグシップ級モデル Claude Opus 5 が正式にリリースされました。 「フロンティア級の知性を備えながら、上位モデル Cla...
…rfile Use latest ruby patch version in dockerfile
Allow to use thread module reader / writer in a ractor:
Ractor::Port has a public allocator, so Ractor::Port.allocate returns a port whose owner Ractor is still NULL; only ractor_port_init() fills
Google Cloudは、コードの脆弱性の検出、リスクの検証と報告、修正までを自律的に実行するAIエージェント「CodeMender」のプレビュー公開を発表しました。 複雑な脆弱性まで発見し、サンドボックス内でリスク検証 CodeMend...
Implement `next_sequence_value` on the PostgreSQL adapter so a model overriding `prefetch_primary_key?` to true can use the real PG sequence
Build Better Websites. Create modern, resilient user experiences with web fundamentals. - Fix compression cache variation for identity respo
- ### Problem It's currently not possible to call such code in a Ractor: ```ruby class Request thread_mattr_reader :id
I benchmarked various values of STR_DUPLICATE_MAX_EMBED_LEN and the performance impacts. For String#dup, creating a view is faster until it
…ample Fix the `Parameters#deep_transform_values` doc example [skip ci]
…#18089) The call-seq of IO::Buffer#<=> says it returns "true or false", but rb_io_buffer_compare always returns an integer
…ormatter` `#format` is only ever reached through `insert_versions_sql`, whose sole caller is `dump_schema_versions`, and that always passe
The example shows the result as `+4`, but the operation returns a buffer of the same size as the source, which is 10 bytes here: $ ruby
https://github.com/ruby/prism/commit/e25f51b19c
… parser translator There's some special handling in regards to empty symbols and those containing newlines that should apply here. Mak
parse_expression_terminator runs after every infix operator and called pm_block_call_p, which walks the whole receiver chain, even when the
こちらの記事は「MEDLEY Summer Tech Blog Relay」の11日目の記事です。 はじめに こんにちは。フロントエンドエンジニアのavaiceです。 業務では医療機関向けのシステムを開発していますが、趣味で個人開発にも取り組んでいます。 個人開発で...
Nuxt v4.5.1とv3.21.10リリース。vue.runtimeCompilerとServer Islandsの組み合わせによるRCE、routeRulesの認可バイパス、Server ComponentsのDoSを修正。cache/swr/isrを使うNuxt 4の_p
本記事は、BIPROGY / ユニアデックス社内AWSコミュニティ「BIPROGY AWS SPARK」の定期投稿企画第2回目の記事です。他の定期投稿企画の記事は、インデックスページをご覧ください。 はじめに これまでにCLF・AIFを取得し、「SAAも2か月くら...
Don't swallow `::RangeError` on write queries
`QueryIntent#run_query!` rescues `::RangeError` so that SELECT queries with out-of-range WHERE values return an empty result instead of rais
Remove stale requires
Pass scheme to token authentication block in http_atthentication
Allow `scheme` to be passed into the block used by controllers to perform token based authentication. For example, `authenticate_or_request_
はじめに Claude Codeをはじめとする AI コーディングエージェントを使っていると、「トークン消費を減らすには?」というTipsは世の中にたくさん転がっています。「CLAUDE.mdを短くしよう」「/clearしよう」「サブエージェントを使おう」。どれも間違いで...
https://github.com/ruby/rubygems/commit/6c1bf4b7d1
…rces The :path option was misread as a way to install a packaged .gem file. State explicitly that it expects a directory with the gem'
…emfile(5) The detailed explanation of platforms lives in gemfile(5), but bundle-platform(1) never pointed readers there. https://github.c
Infernoの後継となるReactのHooksやSuspenseに近いモデルをコンパイルして動かすUIライブラリ。Virtual DOMを使わず、TSX/TSRXをサポートし、Vite/Rspack/Rsbuild向けプラグインを提供する。条件付きHooksや依存配列なしのus
Fix Markdown doc check
The script introduced in #58257 had a fatal disagreement with Rubocop on what the top of the file should look like. Rubocop Layout/EmptyLine