Kouhei Sutou
null+****@clear*****
Sun Mar 6 22:21:28 JST 2016
Kouhei Sutou 2016-03-06 22:21:28 +0900 (Sun, 06 Mar 2016) New Revision: 8f6deece42c0d25e5eb503b485b27f63d810f91d https://github.com/ranguba/rroonga/commit/8f6deece42c0d25e5eb503b485b27f63d810f91d Message: doc: add more description about backward incompatible change Modified files: doc/po/ja.po doc/text/news.md Modified: doc/po/ja.po (+18 -7) =================================================================== --- doc/po/ja.po 2016-03-06 22:06:23 +0900 (5d03379) +++ doc/po/ja.po 2016-03-06 22:21:28 +0900 (2143fae) @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: rroonga 2.1.0\n" -"PO-Revision-Date: 2016-03-06 22:05+0900\n" +"PO-Revision-Date: 2016-03-06 22:21+0900\n" "Last-Translator: Kouhei Sutou <kou �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -464,15 +464,26 @@ msgstr "" " [Genki Takiuchiさんがパッチ提供]" msgid " * Accepted integer and time as function call arguments." -msgstr "" -" * `expression-builder`: `call`による関数呼び出し時の引数に数値型と日時型を受け入れるようにしました。\n" +msgstr " * `expression-builder`: `call`による関数呼び出し時の引数に数値型と日時型を受け入れるようにしました。" msgid "" -" * `expression-builder`: Disabled auto ID detection.\n" -" It's confused when Int/Uint types for key." +" * {Groonga::Table#select}: Disabled auto conversion to record ID\n" +" from number object in condition block. If you want to specify\n" +" record ID as right hand side value, you need to pass\n" +" {Groonga::Record}. The number object is treated as key not ID from\n" +" this release. Because we couldn't specify Int/UInt family type key\n" +" as number object. The number object was always treated as ID not\n" +" key." msgstr "" -" * `expression-builder`: 自動ID検出を無効にしました。\n" -" 整数型のキーと競合するためです。\n" +" * {Groonga::Table#select}: 条件ブロック内で数値オブジェクトを自動でレコードIDに変換することをやめました。右辺値としてレコー" +"ドIDを指定したい場合は、{Groonga::Record}オブジェクトを渡してください。このリリースから数値オブジェクトをIDではなくキーとして扱います。" +"なぜなら、過去のリリースでは数値オブジェクトをInt/UInt関連の型のキーとして指定できなかったからです。数値オブジェクトは常にキーではなくIDとして扱わ" +"れていました。" + +msgid "" +" It's backward compatible change but we introduced the\n" +" change. Because we marked this behavior as a bug." +msgstr " これは非互換な変更ですがこの変更をいれました。それは、この動作はバグと判断したためです。" msgid "" " * Supported `require \"rroonga\"` for `Bundler.require`.\n" Modified: doc/text/news.md (+10 -2) =================================================================== --- doc/text/news.md 2016-03-06 22:06:23 +0900 (c05ba67) +++ doc/text/news.md 2016-03-06 22:21:28 +0900 (c555a56) @@ -13,8 +13,16 @@ * Accepted integer and time as function call arguments. - * `expression-builder`: Disabled auto ID detection. - It's confused when Int/Uint types for key. + * {Groonga::Table#select}: Disabled auto conversion to record ID + from number object in condition block. If you want to specify + record ID as right hand side value, you need to pass + {Groonga::Record}. The number object is treated as key not ID from + this release. Because we couldn't specify Int/UInt family type key + as number object. The number object was always treated as ID not + key. + + It's backward compatible change but we introduced the + change. Because we marked this behavior as a bug. * Supported `require "rroonga"` for `Bundler.require`. [Patch by Fumiaki MATSUSHIMA] -------------- next part -------------- HTML����������������������������...下载