Debian Codegraph @

doc/source/news/3.rst

raw
1 .. -*- rst -*-
2
3 News - 3 series
4 ===============
5
6 .. _release-3-1-2:
7
8 Release 3.1.2 - 2014-01-29
9 --------------------------
10
11 Improvements
12 ^^^^^^^^^^^^
13
14 * [doc] Updated to caplitalized "Groonga" terms in documentation. [Patch by cosmo0920] [GitHub#136, #137, #138, #139, #140, #141, #142, #143, #144, #145, #146, #147, #148, #149, #150, #151]
15 * Supported to customize the value of lock timeout. See :doc:`/reference/api/global_configurations` about details.
16 [groonga-dev,02017] [Suggested by yoku]
17 * [doc] Added description about the value of lock timeout.
18 * Enabled ``GRN_JA_SKIP_SAME_VALUE_PUT`` by default. In the previous releases, the value of
19 this configuration is 'no'. This change affects reducing the size of Groonga database.
20 * Supported multiple indexes including a nested index and multiple keywords query.
21 This change improves missing search results issue when narrowing down by multiple keywords query.
22 * Added API to customize normalizer for snippet.
23
24 Fixes
25 ^^^^^
26
27 * Fixed not to use index for empty query. This change enables you to search even though empty query.
28 Note that this means that there is performance penalty if many empty records exist.
29 [groonga-dev,02052] [Reported by Naoya Murakami]
30 * Fixed the behaviour about return value of "X || Y" and "X && Y" for adjusting to ECMAScript.
31 In "X || Y" case, if either X or Y satisfy the condition, it returns X itself or Y itself instead of 1 or 0.
32 * In "X && Y" case, if X and Y satisfy the condition, it returns X itself instead of 1.
33 if X doesn't satisfy the condition, it returns false instead of 0.
34 * Fixed to return null when no snippet is found. This change enables you to set the default value
35 of :doc:`/reference/functions/snippet_html`. In such a purpose, use "snippet_html(XXX) || 'default value'".
36
37 Thanks
38 ^^^^^^
39
40 * cosmo0920
41 * yoku
42 * Naoya Murakami
43
44 .. _release-3-1-1:
45
46 Release 3.1.1 - 2013-12-29
47 --------------------------
48
49 Improvements
50 ^^^^^^^^^^^^
51
52 * [deb] Refined Groonga packages for Debian policy. [groonga-dev,01930]
53 [Suggested by Hideki Yamane]
54 * [deb] Dropped Debian 6.0 (squeeze) support.
55 * [deb] Dropped Ubuntu 10.04 (lucid) support.
56 * Supported :doc:`/reference/functions/geo_in_rectangle` in the whole world.
57 * Supported error report when failed to casting invalid value of geo point type.
58 * Exported some macros which is used for accessing pseudo column names.
59 [groonga-dev,1999] [Suggested by whombx]
60 * [doc] Refined drilldown documentation. [Reported by @Yahppo]
61 * Supported :doc:`/reference/functions/between` function which is used for
62 filtering the column value in specific range.
63 * [doc] Updated Travis CI environment information. [Patch by cosmo0920]
64 * [rpm][fedora] Dropped Fedora 19.
65 * [rpm][fedora] Supported Fedora 20.
66 * [doc] Updated "Groonga" notation. [Patch by cosmo0920] [GitHub#122, #123, #124, #125, #125, #126, #127, #128, #129, #130, #131, #131, #132, #133, #134]
67
68 Fixes
69 ^^^^^
70
71 * [munin] Fixed the wrong port number which is specified for GQTP.
72 * [geo_in_circle] Fixed a bug that if you specify "LONGITUDExLATITUDE" as
73 the 3rd argument of :doc:`/reference/functions/geo_in_circle`, Groonga crashes.
74
75 Thanks
76 ^^^^^^
77
78 * Hideki Yamane
79 * whombx
80 * @Yappo
81 * cosmo0920
82
83 .. _release-3-1-0:
84
85 Release 3.1.0 - 2013-11-29
86 --------------------------
87
88 Improvements
89 ^^^^^^^^^^^^
90
91 * [experimental] Supported an option to skip updating for the same value.
92 It is enabled by setting GRN_JA_SKIP_SAME_VALUE_PUT=yes as environment variable.
93 * Improved to show tokenizer and original text in empty token warning message.
94 It shows actual token, so it helps you to investigate token related issue.
95 * Dropped broken AIO support. [#2054] [Reported by sho MINAGAWA]
96 * [windows] Supported build with Visual Studio Express 2008. [#1964 the 21th comment]
97 It is aimed to promote bundling Mroonga with MariaDB in the future.
98
99 Fixes
100 ^^^^^
101
102 * Fixed a bug that type of "_value" column is treated as Int32.
103 It causes the case that the value of "_value" column is casted unexpectedly.
104 [Reported by Genki Takiuchi]
105 * Fixed to require GLib 2.14.0 or later for benchmark program.
106 The benchmark program is changed to use GRegex which requires GLib 2.14.0 or later.
107 It affects users who compile Groonga with '--enable-benchmark' configuration.
108 [groonga-dev,01890] [Reported by WING]
109 * Fixed a memory leak on updating an empty column vector with the same value.
110 * Fixed a memory leak on updating index for column vector.
111 It affects the case if you store the value of column which has invalid UTF-8 byte
112 sequence.
113 * [plugin][windows] Fixed the issue that register command fails without
114 'lib/groonga/plugins'. [Reported by @yito]
115
116 Thanks
117 ^^^^^^
118
119 * sho MINAGAWA
120 * Genki Takiuchi
121 * WING
122 * @yito
123
124 .. _release-3-0-9:
125
126 Release 3.0.9 - 2013-10-29
127 --------------------------
128
129 Improvements
130 ^^^^^^^^^^^^
131
132 * [doc][httpd] Added documentation about :ref:`groonga-httpd-groonga-database-auto-create` directive.
133 * [httpd] Added :ref:`groonga-httpd-groonga-cache-limit` directive.
134 * [doc] Added description why zlib/lzo compression are disabled by default. [groonga-dev, 01845] [Suggested by Naoya Murakami]
135 * Remove a restriction related to RLIMIT_NOFILE on HTTP server.
136 It enables HTTP server process to handle over 4096 files.
137 * [experimental] Added some API to integrate mruby into groonga. [GitHub#109, #110, #111, #112, #113, #114, #115, #116, #117, #118] [Patch by wanabe]
138 * [travis] Supported CMake build on Travis-CI.
139 * [doc] Added documentation about :doc:`/reference/tuning`.
140 * [experimental] Added "ruby_load" command.
141 * [httpd] Supported multiple buffered body of POST request.
142 The load command caused timeout in such a case. [GitHub #120] [Patch by Motoi Washida]
143 * [gqtp] Supported error message. The body is changed to return
144 raw text instead of double quoted text. This is incompatible changes.
145 * [http] Supported "400 Bad request" for invalid argument error.
146 * [doc] Added examples for :doc:`/reference/suggest/completion`
147 * Supported Ubuntu 13.10 (Saucy Salamander).
148
149 Fixes
150 ^^^^^
151
152 * Fixed a bug that it cause SEGV by arithmetic overflow.
153 This problem occurs when the size of indexes exceeds
154 the size of virtual memory. [groonga-dev,01661]
155 [Reported by Naoya Murakami]
156 * Fixed needless lock for creating table.
157 This change fixes a performance regression instroduced at Groonga 3.0.5.
158 * Fixed a bug that database which has reference column can't be removed.
159 It affects the case that indexed tables/columns and referenced tables
160 are removed at first, then remove operation to index columns and
161 reference columns fails. [Reported by Eito Katagiri] [GitHub Rroonga #13]
162 * Fixed a bug that removing database which uses DAT key may remain garbage.
163 * [http] Fixed a small memory leak which is caused by shared HTTP header buffer in the same worker thread.
164 * [httpd] Fixed a bug that :ref:`groonga-httpd-groonga-database-auto-create` parameter
165 isn't inherited. It means that these parameters are just ignored in non location blocks.
166 * Fixed a bug that status command may returns invalid cache hit rate.
167 * Fix a bug that casting to Time may causes overflow issue.
168 It affects the case that assignment of the Time value which indicate over 32bit value.
169
170 Thanks
171 ^^^^^^
172
173 * Naoya Murakami
174 * wanabe
175 * Motoi Washida
176 * Eito Katagiri
177
178 .. _release-3-0-8:
179
180 Release 3.0.8 - 2013-09-29
181 --------------------------
182
183 Improvements
184 ^^^^^^^^^^^^
185
186 * [admin] Improved error handling of select functionality. This change shows error message
187 and hides loading dialog. [Patch by orangain]
188 * [admin] Improved to submit search form with the enter key. [Patch by orangain]
189 * [admin] Improved to show placeholder in search form.
190 This change shows usage examples. [Patch by orangain]
191 * [httpd] Supported :ref:`groonga-httpd-groonga-query-log-path` directive
192 * [doc] Updated :doc:`/reference/commands/select` documentation about the number of
193 hits in select response.
194 * Improved to ignore an empty token which is generated by continuous spaces from tokenizer.
195 [groonga-dev,01729] [Suggested by Naoya Murakami]
196 * [token delimit] Improved to treat continuous spaces as a space.
197 The tokenizer regards 2 or more spaces are valid input.
198 * [doc] Added note about indexes for each column vs indexes for multiple column.
199 * [doc] Added language annotation to source label. [groonga-dev,01751] [Suggested by Kazuhiro Isobe]
200 * Supported :ref:`cascade-delete` to referenced records. In previous version,
201 You got an error for the operation.
202 * [doc] Updated documentation location in README. [groonga-dev,01800] [Reported by Kazuhiro Isobe]
203 * [experimental] Added :doc:`/reference/commands/ruby_eval` command.
204 * [doc] Added note about GQTP and HTTP for server use. [groonga-dev,01810] [Reported by Kazuhiro Isobe]
205
206 Fixes
207 ^^^^^
208
209 * [admin] Fixed a bug that add value button of COLUMN_VECTOR does not work.
210
211 Thanks
212 ^^^^^^
213
214 * orangain
215 * Naoya Murakami
216 * Kazuhiro Isobe
217
218 .. _release-3-0-7:
219
220 Release 3.0.7 - 2013-08-29
221 --------------------------
222
223 Improvements
224 ^^^^^^^^^^^^
225
226 * [doc] Added API documentation. [groonga-dev,01593]
227 [GitHub#79,#80,#81,#82,#83,#84,#85,#86,#87,#88,#89,#90,#91,#92,#93,#95,#96,#97,#98,#99,#100]
228 [Patch by whombx]
229 * [table_remove] Improved not to remove patricia trie table or hash table
230 which is still referenced. This change avoids that referenced table is removed accidentally.
231 * Improved to just ignore too long token (4096 bytes or more).
232 This change affects when it is registered. In the previous version, it is treated as an
233 error instead of a warning. [groonga-dev,01571] [Suggested by Naoya Murakami]
234 * Improved to show actual discarded posting term in log message.
235 [groonga-dev,01621] [Reported by Naoya Murakami]
236 * [httpd] Supported loading data using POST method. [GitHub#101]
237 [Patch by Motoi Washida]
238 * [httpd] Supported groonga log as ``groonga_log_path`` directive.
239 * [httpd] Supported groonga log level as ``groonga_log_level`` directive.
240 * [httpd] Supported customizing cache limit as ``groonga_cache_limit`` directive.
241
242 Fixes
243 ^^^^^
244
245 * Fixed a bug that error in expression may cause stack overflow.
246 This change avoids that groonga crashes suddenly as a result of error accumulation.
247 * Fixed a crash bug that offline index construction for vector column which has
248 orphan reference causes.
249 * Fixed a bug that groonga doesn't exit on error while daemon mode starts.
250 For example, ``groonga -d /tmp/non-existence.db`` reproduce this bug.
251 * [dump] Fixed a bug that wrong table type is dumped.
252 This bug occurs when table type is TABLE_PAT_KEY and key is reference type.
253 * Fixed a bug that the default ``--cache-limit`` value is 0.
254 The default value is changed to '100'.
255 * Fixed a memory leak when :doc:`/reference/functions/sub_filter` is used.
256 * [doc] Fixed description of defrag command. [Reported by @naoina]
257 * [doc] Fixed description about the way to contribute. [GitHub#77]
258 [Patch by Masafumi Yokoyama]
259 * [plugin] Fixed a crash bug on multiple DB open case.
260 This bug affects the case that multiple plugin is used and the same database is opened from
261 multiple process. [groonga-dev,01596] [Reported by Naoya Murakami]
262 * Fixed a bug that nested match operation after ``AND`` operator doesn't work.
263 The ``select ... --filter '... && nested.column @ "keyword"'`` query reproduces this bug.
264 [groonga-dev,01599] [Reported by Motoi Washida]
265 * [doc] Fixed a typo about documentation of special characters.
266 [Reported by Genki Takiuchi]
267 * Fixed a typo in error message when invalid character is given.
268 [Reported by YOSHIDA Mitsuo]
269
270 Thanks
271 ^^^^^^
272
273 * whombx
274 * @naoina
275 * Masafumi Yokoyama
276 * Motoi Washida
277 * Genki Takiuchi
278 * YOSHIDA Mitsuo
279
280 .. _release-3-0-6:
281
282 Release 3.0.6 - 2013-07-29
283 --------------------------
284
285 Improvements
286 ^^^^^^^^^^^^
287
288 * [doc] Added documentation about parameter of :doc:`/reference/functions/sub_filter`
289 function.
290 * [suggest] Supported 0MQ 3.x. [GitHub#63] [Reported by Naoya Inada]
291 * Added availability check for NetBSD about ``pthread_{mutex,cond}attr_setpshared()``
292 [Reported by OBATA Akio]
293 * Supported backslash escape in query syntax. [groonga-dev,01520]
294 [Reported by Kouhei Tanabe]
295 * [rpm][fedora] Supported Fedora 19.
296 * [rpm][fedora] Dropped Fedora 18 support.
297 * [httpd] Updated bundled nginx version to 1.4.2.
298
299 Fixes
300 ^^^^^
301
302 * Fixed a crash bug when specific internal function (``grn_obj_path()``) is called
303 for built-in proc function such as ``select``. [Reported by Genki Takiuchi]
304
305 Thanks
306 ^^^^^^
307
308 * Naoya Inada
309 * OBATA Akio
310 * Kouhei Tanabe
311 * Genki Takiuchi
312
313 .. _release-3-0-5:
314
315 Release 3.0.5 - 2013-06-29
316 --------------------------
317
318 Improvements
319 ^^^^^^^^^^^^
320
321 * [doc] Added summary about ``match_columns`` and ``query_string`` parameters in ``query()``.
322 * Added subrecord information to table inspection.
323 * Supported single quoted string literal in ``output_columns`` expression.
324 This means that "XXX, '...'" expression is supported.
325 * [doc] Added notification about root privileges and well known port
326 when starting groonga server. [Reported by Kosuke Asami]
327 * [experimental] Added :doc:`/reference/functions/html_untag` function.
328
329 Fixes
330 ^^^^^
331
332 * Fixed a crash bug of mroonga which is caused by missing lock for table creation.
333 [Reported by Y.Kentaro]
334 * Fixed a lot of compilation warnings by clang and gcc.
335 * Fixed a bug that ``sub_filter(...)`` is ignored if you use "XXX && sub_filter(...)"
336 expression.
337 * Fixed a bug that wrong tag name is used in XML output.
338 This bug affects the case if you use "REFERENCE_VECTOR_COLUMN._key" expression
339 for ``output_columns``. Reference column isn't contained in XML ouput.
340 * [doc] Fixed wrong arguments in ``sub_filter()`` documentation.
341 * [deb] Fixed a bug that status action returns wrong exit code
342 when services are stopped. [GitHub#62] [Patch by @orangain]
343 * Fixed a bug that the value of arithmetic operation is broken.
344 This bug affects the case if you assign calculated value to
345 ``_score`` pseudo column for example.
346
347 Thanks
348 ^^^^^^
349
350 * Y.Kentaro
351 * Kosuke Asami
352 * @orangain
353
354 .. _release-3-0-4:
355
356 Release 3.0.4 - 2013-05-29
357 --------------------------
358
359 Improvements
360 ^^^^^^^^^^^^
361
362 * [tokenizer] Improved to show log message when normalized string is not given.
363 * Supported ``_key`` as an argument of ``geo_in_circle``. [Reported by @ceekz]
364 * Supported to cast vector elements when groonga is used as a library.
365 * Dropped Ubuntu 11.10 (Oneiric Ocelot) support.
366 * Supported multiple index section in ``match_columns``.
367 * Supported ``tokenize`` command.
368 * Supported to show system error message when ``mmap()`` is failed.
369 * [doc][windows] Simplified build procedures by "cmake --build".
370 * Improved to restrict max execution time to prevent hanging service script.
371 [GitHub#61] [Reported by firewood]
372 * Supported to evaluate vector as boolean.
373 By this change, empty vector is evaluated as true.
374 * Improved not to log too many needless log messages.
375 Too many log messages are truncated as "(N same messages are truncated)".
376 * [munin][groonga_n_records] Added ``exclude_tables`` option.
377 It supports to exclude specific tables from monitoring results.
378 * Supported Debian 8.0 (jessie).
379 * Improved database portability by eliminating directory path of
380 system plugins.
381
382 Fixes
383 ^^^^^
384
385 * [tokenizer] Fixed a memory leak on error.
386 * Fixed a bug that empty string for similar search causes SEGV.
387 [groonga-dev,01346] [Reported by Nakai Kanako]
388 * Fixed a memory leak when "VECTOR_COLUMN != xxx", "VECTOR_COLUMN && xxx"
389 expressions are used.
390 * Fixed a bug that SIGSTOP and SIGCONT stops groonga server.
391 * Fixed a crash bug when normalizer returns NULL as normalized string.
392 [Reported by Y.Kentaro]
393 * Fixed a bug that daemonize process doesn't work on OS X.
394 [groonga-dev,01440] [Reported by Masahiro KONISHI]
395 * [deb] Fixed a bug that HTTP/GQTP process is excuted as root user.
396
397 Thanks
398 ^^^^^^
399
400 * @ceekz
401 * Nakai Kanako
402 * firewood
403 * Y.Kentaro
404 * Masahiro KONISHI
405 * @orangain
406
407 .. _release-3-0-3:
408
409 Release 3.0.3 - 2013-04-29
410 --------------------------
411
412 Improvements
413 ^^^^^^^^^^^^
414
415 * [suggest] Supported to learn with the value of customized weight
416 by using ``configuration.weight`` configuration.
417 * Improved performance of geo-location search. For example,
418 ``geo_in_rectangle`` is executed about 10% faster than ever.
419 * [rpm][centos] Added ``additional_configure_options`` parameter
420 for building customized groonga without changing spec file.
421 * Supported KyTea 0.4.5.
422 * Supported vector index access by "vector[N]" syntax.
423 * Added ``--default-tokenizer`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
424 * Added ``--help`` option to :doc:`/reference/executables/groonga-suggest-create-dataset` command.
425 * Supported Ubuntu 13.04 Raring Ringtail.
426
427 .. _release-3-0-2:
428
429 Release 3.0.2 - 2013-03-29
430 --------------------------
431
432 Improvements
433 ^^^^^^^^^^^^
434
435 * Supported two or more indexes for a table key.
436 This change affects to eliminate potential crash case when loading a new key
437 to two or more indexed key.
438 * Supported binary operations such as ``X + Y``, ``X - Y``, ``X * Y``, ``X / Y``,
439 ``X % Y``, ``X >> Y``, ``X << Y``, ``X | Y``, ``X ^ Y``, ``X & Y`` and ``X >>> Y``
440 for Int8, UInt8, Int16, UInt16 and UInt64.
441 * Added English documentation for :doc:`/reference/commands/load` command.
442 * Supported binary assign operations such as ``X += Y``, ``X -= Y``, ``X *= Y``,
443 ``X /= Y``, ``X %= Y``, ``X <<= Y``, ``X >>= Y``, ``X >>>= Y``, ``X &= Y``,
444 ``X |= Y`` and ``X ^= Y`` for Int8, UInt8, Int16, UInt16 and UInt64.
445 * Supported unary operations such as ``-X`` for Int8, UInt8, Int16, UInt16 and UInt64.
446 * Supported complex string concatenation in ``--output_columns``.
447 For example, you can use a query such as ``--output_columns '"<" + title + ">"'``.
448 * Added the information of the repository of groonga to development page.
449 * Added ``sub_filter()`` function.
450 * Supported query expander in ``query()`` function.
451 This change supports the query such as
452 ``query("MATCH_COLUMNS", "QUERY", "QueryExpanderTSV")``.
453 * Renamed ``--query_expansion`` to ``--query_expander``.
454 ``--query_expansion`` is regarded as deprecated.
455
456 Fixes
457 ^^^^^
458
459 * Fixed a bug that ``snippet_html(XXX), XXX`` fails with "stack error".
460 This bug affects a query such as ``--output_columns 'snippet_html(title), content'``.
461 [Groonga-talk (no subject)] [Reported by Hendro Wibowo]
462 * Fixed a typo about install documentation. [Reported by hino]
463 * Fixed a bug that Travis-CI setup script fails.
464 [groonga-dev,01248] [Reported by ongaeshi]
465 * Fixed a memory leak.
466 This bug affects the case which satisfy following three conditions.
467 Column is a reference column, Column is a vector column and
468 Reference key size is 25 byte or lager.
469 * Fixed a crash bug by ``--output_columns _score.GARBAGE``.
470 This affects the case if GARBAGE does not exist.
471
472 Thanks
473 ^^^^^^
474
475 * Hendro Wibowo
476 * hino
477 * ongaeshi
478
479 .. _release-3-0-1:
480
481 Release 3.0.1 - 2013-02-28
482 --------------------------
483
484 Improvements
485 ^^^^^^^^^^^^
486
487 * Supported to set Bool to reference column when loading dataset by load command.
488 * Supported AND operation for nested index.
489 In this change, the expression "COLUMN1.COLUMN2 >= 1 && COLUMN1.COLUMN2 <=3" works.
490 Note that the order is important for this expression.
491 "1 <= COLUMN1.COLUMN2" is not supported yet. It is regarded as "COLUMN1.COLUMN2 <= 1".
492 * Supported sorting not indexed entries.
493 This change affects the case such as ``--sortby geo_distance(...)`` drops not indexed
494 entries.
495 * Supported range search for reference column by index.
496 This change enable you to search range by index which is TABLE_PAT_KEY or TABLE_DAT_KEY
497 based nested index of _key.
498 * [rpm][centos] Supported MeCab 0.995.
499 * [doc] Added missing documentation of commands such as ``column_rename`` or ``truncate``.
500
501 Fixes
502 ^^^^^
503
504 * Fixed a bug that ``grn_index_cursor_next()`` returns NULL unexpectedly.
505 It causes that invalid index entry is returned after deleting entries.
506 This bug affects mroonga in storage mode. [groonga-dev,01192] [Reported by b senboku]
507 * Fixed a crash bug that ``geo_distance()`` sort by index.
508 This bug occurs by wrong the number of found records.
509 * [httpd] Enabled default owner/group of database setting as groonga/groonga.
510
511 Thanks
512 ^^^^^^
513
514 * b senboku
515
516
517 .. _release-3-0-0:
518
519 Release 3.0.0 - 2013-02-09
520 --------------------------
521
522 * Bump version to 3.0.0!
523
524 Fixes
525 ^^^^^
526
527 * [deb] Fixed to install missing not EUC-JP, but UTF-8 encoding dictionary
528 when ``groonga-tokenizer-mecab`` package is installed.
529 * Fixed a bug that int64 literal is truncated to uint32 value.
530 If you use string literal for int64, this bug does not affects.
531 * [rpm][centos] Fixed a bug that stopping ``groonga-server-http`` service
532 by init script is failed. [GitHub#53] [Patch by IWAI, Masaharu]
533
534 Thanks
535 ^^^^^^
536
537 * IWAI, Masaharu