NEWS
0.7.1 - 2024-12-24
Improvements
Added explicit csv gem dependency for Ruby 3.3
- GH-35
- Reported by Tatsuhiko Miyagawa
column_list
: Added support forgenerator
that is available since Groonga 14.1.0.Suppressed warnings with Ruby 3.4.
Thanks
- Tatsuhiko Miyagawa
0.7.0 - 2024-10-16
Improvements
- Improved error message on JSON parse error.
- GH-32
- Patch by Abe Tomoaki
Thanks
- Abe Tomoaki
0.6.9 - 2024-04-10
Improvements
- HTTP: Added support for request cancel.
0.6.8 - 2023-11-07
Improvements
- Added support for
output_trace_log
.
0.6.7 - 2022-01-07
Improvements
load
: Added support forArrow::Table
.
0.6.6 - 2021-12-10
Improvements
Groonga::Client::CommandProcessor
: Extracted Groonga command processor fromgroonga-client
command implementation.
0.6.5 - 2021-03-15
Fixes
Groonga::Client::Request::Select::LabeledDrilldown#keys
: Fixed a bug that this uses wrong parameter name.
0.6.4 - 2021-02-24
Improvements
- Added support for Ruby 3.0.
0.6.3 - 2020-06-08
Improvements
groonga-client
:- Added support for
-load-input-type=apache-arrow
. - Added
--load-lock-table
.
- Added support for
http
: Added support for debugging byGROONGA_CLIENT_HTTP_DEBUG=yes
environment variable.Added support for response in Apache Arrow.
0.6.2 - 2019-09-02
Improvements
Groonga::Client::Response::LogicalSelect
: Added.Groonga::Client::Response::Select#raw_columns
: Added.Groonga::Client::Response::Select#raw_records
: Added.Groonga::Client::Response::LogicalRangeFilter
: Added.
0.6.1 - 2019-07-27
Improvements
Groonga::Client::Request::Select
: Added support for drilldowns in slice.
0.6.0 - 2018-08-30
Improvements
groonga-client
:- Added
--target-command
option. - Added
--target-table
option. - Added
--target-column
option.
- Added
Added support for JSONP.
0.5.9 - 2018-07-13
Improvements
- Added support for TSV output.
0.5.8 - 2017-11-09
Improvements
groonga-client-index-check
: Added Groonga 7.0.5 or earlier support.
0.5.7 - 2017-11-09
Fixes
groonga-client-index-check
: Fixed a bug thatTime
key index may be reported as broken unexpectedly.
0.5.6 - 2017-11-09
Improvements
groonga-client-index-check
: AddedTime
key index support.
0.5.5 - 2017-10-31
Improvements
groonga-client-index-check
: Added a new command that finds indexes which doesn't have source or indexes whose content is broken.Disabled auto retry feature by
net/http
explicitly becauseGET
isn't idempotent request in Groonga such asdelete
command.
0.5.4 - 2017-10-27
Improvements
groonga-client
: Disabled auto retry on timeout.
0.5.3 - 2017-10-26
Improvements
Groonga::Client::Response::ColumnList::Column#flags
: Changed return type toArray<Strinng>
fromString
.Groonga::Client::Response::ColumnList::Column#scalar?
: Added.Groonga::Client::Response::ColumnList::Column#vector?
: Added.Groonga::Client::Response::ColumnList::Column#index?
: Added.Groonga::Client::Response::Schema::Command
: Added.Groonga::Client::Response::Schema::Table#command
: Changed return type toHash
toGroonga::Client::Response::Schema::Command
.Groonga::Client::Response::Schema::Column#command
: Changed return type toHash
toGroonga::Client::Response::Schema::Command
.Groonga::Client::Response::Schema#[]
: Added.groonga-client-index-recreate
: Added a new command that recreates indexes dynamically and safely.
0.5.2 - 2017-09-27
Improvements
Groonga::Client::Request::Select
: Added XML output support.
0.5.1 - 2017-08-21
Improvements
Groonga::Client::Request::Select#scorer
: Added a convenience method to set scorer. You can use this method byscorer("2 * %{column}", column: :rate)
.Groonga::Client::Request::Select#query_flags
: Added a convenience method to set query flags. You can use this method byquery_flags(["ALLOW_COLUMN", "QUERY_NO_SYNTAX_ERROR"])
.
0.5.0 - 2017-05-08
Improvements
Groonga::Client::Request::Select::Filter#between
: Added a convenience method to add a popular filter condition. You can use this method byfilter.between(:age, 19, "include", 32, "include")
.Groonga::Client::Request::Select::Filter#geo_in_circle
: Added a convenience method to add a popular filter condition. You can use this method byfilter.geo_in_circle(:location, "100x100", 300, "rectangle")
.Groonga::Client::Request::Select::Filter#geo_in_rectangle
: Added a convenience method to add a popular filter condition. You can use this method byfilter.geo_in_rectangle(:location, "0x100", "100x0")
.Groonga::Client::Request::Select#filter
: Changed how to handleSymbol
to identifier in Groonga script syntax expression from string literal in Groonga script syntax expression. It's a backward incompatible change. Some methods keep compatibility as much as possible but some methods may break compatibility unexpectedly. If you find any incompatibility what you think unexpected, please report to us.
Fixes
groonga-client
: Fixed a bug thatload --values
input causes an error.
0.4.3 - 2017-04-21
Improvements
Groonga::Client::Request::Select::Filter#in_values
: Added a convenience method to add a popular filter condition. You can use this method byfilter.in_values("tags", "tag1", "tag2")
.
0.4.2 - 2016-03-09
Improvements
Groonga::Client#request
: Added a new generic request method.Groonga::Client::Request::Generic#flags_parameter
: Added a convenience method to add a flags parameter such astable_create
'sflags
parameter.Groonga::Client::Request::Generic#values_parameter
: Added a convenience method to add a parameter that takes multiple values such asselect
'soutput_columns
parameter.
0.4.1 - 2016-02-07
Improvements
Groonga::Client::Request::Base
: Supported number as parameter value.Groonga::Client::Response::Load#errors
: Added forload --output_errors yes --command_version 3
.Groonga::Client::Request::Select::DynamicColumnWindow#group_keys
: Added forselect --columns[LABEL].window.group_keys
. You can use this method byrequest.columns(LABEL).window.group_keys(KEYS)
.
0.4.0 - 2016-01-12
Improvements
Groonga::Client::Request::Select#columns
: Supportedcolumns[label]
.
Fixes
Removed Active Support method use.
Groonga::Client::Request::Select#filter
: Fixed filter value escape error.
0.3.9 - 2016-12-22
Improvements
Groonga::Client::Request::Error
: Added more information.
0.3.8 - 2016-12-21
Improvements
Groonga::Client::Request::Select#filter
: Supportedfilter(column_name, value)
usage. It's a shortcut offilter("#{column_name} == %{value}", value: value)
.
0.3.7 - 2016-12-20
Improvements
Groonga::Client::Test::GroongaServerRunner
: Supported customizing Groonga server URL.
0.3.6 - 2016-12-20
Improvements
Added
Groonga::Client::Test::GroongaServerRunner#using_running_server?
.Merged groonga-client-cli. Now
groonga-client
command is available.Groonga::Client::Response::Schema#plugins
: Supported method access.Groonga::Client::Test::GroongaServerRunner
: Supported restoring DB for existing server.
0.3.5 - 2016-12-19
Improvements
Groonga::Client::Response::Schema::Column#value_type
: Madevalue_type
elements method accessable.
0.3.4 - 2016-12-13
Improvements
Added request interface from groonga-client-rails.
Added
Groonga::Client::Response::Schema::Index#full_text_searchable?
.Added
Groonga::Client::Response::Schema::Column#have_full_text_search_index?
.Added
Groonga::Client::Response::Schema::Table#have_full_text_search_index?
.Added
Groonga::Client::Response::Select#slices
.Added test helper from groonga-client-rails.
Added
Groonga::Client::Response#size
for Kaminari.Added enumrable interface for
Groonga::Client::Response::Select
.
0.3.3 - 2016-12-07
Improvements
Groonga::Load#loaded_ids
: Renamed fromGroonga::Load#ids
. Because it's renamed in Groonga.
0.3.2 - 2016-12-06
Improvements
Groonga::Load#n_loaded_records
: Added. It's a convenience method to get the number of loaded records.Groonga::Load#ids
: Added. It's forload --output_ids yes --command_version 3
that can be used with Groonga 6.1.2 or later.
0.3.1 - 2016-10-11
Improvements
Groonga::Client#select
: Supported labeled drilldowns.Groonga::Client::Response::Select#drilldowns
: Changed return type for the following cases:- Labeled drilldowns are used.
- Command version 3 or later is used.
It returns
{"label1" => drilldown1, "label2" => drilldown2}
instead of[drilldown1, drilldown2]
. It's a backward incompatibility change for command version 3 or later case. But we did it because command version 3 is still experimental version.
0.3.0 - 2016-10-05
Fixes
Groonga::Client#select
: Accepted string and symbol as parameter key at once again.
0.2.9 - 2016-10-05
Fixes
Groonga::Client#select
: Accepted symbol as parameter key again.
0.2.8 - 2016-10-05
Improvements
- Added more documents.
Fixes
Groonga::Client#select
: Accepted string as parameter key again.
0.2.7 - 2016-08-19
Improvements
- HTTP: Added
:chunk
option to useTransfer-Encoding: chunked
request.
0.2.6 - 2016-06-17
Improvements
Supported command version 3.
Added
Groonga::Client::Response#return_code
.Groonga::Client::Response#status_code
is deprecated. Use#return_code
instead.select
response: Supported vector ofTime
.
0.2.5 - 2016-04-02
Fixes
- Fixed a bug that URL can't be specified by
String
. [GitHub#9][Reported by KITAITI Makoto]
Thanks
- KITAITI Makoto
0.2.4 - 2016-03-28
Improvements
- response: Added
Groonga::Client::Response::Base#error_message
.
0.2.3 - 2016-03-22
Improvements
response: Supported
lock_clear
command.response: Supported
schema
command partially.
0.2.2 - 2016-03-22
Improvements
response:
schema
: Supported index.response:
schema
: Supported normalizer.response:
schema
: Supported token filter.response:
schema
: Supported tokenizer.
Fixes
- Fixed a bug that
Groonga::Command
isn't accepted.
0.2.1 - 2016-03-21
Improvements
HTTP: Supported path.
HTTP: Accepted
nil
as:read_timeout
value.
0.2.0 - 2016-03-21
Improvements
HTTP: Supported basic authentication. [GitHub#4][Patch by KITAITI Makoto]
response: Supported
table_remove
. [GitHub#7][Patch by Masafumi Yokoyama]HTTP: Supported HTTPS by passing
:use_tls => true
option to Groonga::Client#initialize. [GitHub#8][Patch by KITAITI Makoto]Supported URI as server information in Groonga::Client#initialize.
Required groonga-command 1.2.0 or later.
Accepted
Symbol
as registered command name.Supported dynamic command execution. Now, you can use commands that aren't supported in groonga-client yet.
Thanks
KITAITI Makoto
Masafumi Yokoyama
0.1.9 - 2015-09-04
Improvements
- Groonga::Client::ScriptSyntax.format_string: Added a method that
formats the given Ruby
String
as string in Groonga's script syntax.
0.1.8 - 2015-08-08
Improvements
load
: SupportedArray
asvalues
value.
0.1.7 - 2015-07-08
Improvements
- select: Avoided response value isn't accessible by response column
name duplication. Data access key for duplicated column name has
2
,3
, ... suffix such ashtml_escape2
andhtml_escape3
. [groonga-dev,03348][Reported by Hiroyuki Sato]
Thanks
- Hiroyuki Sato
0.1.6 - 2015-06-10
Fixes
- Re-added required file.
0.1.5 - 2015-06-10
Fixes
- Removed
require
for nonexistent file.
0.1.4 - 2015-06-10
Changes
- Moved
groonga-client
command to groonga-client-cli gem. It's an incompatible change.
0.1.3 - 2015-05-25
Improvements
- Stopped to use yajl-ruby.
0.1.2 - 2015-05-13
Improvements
- groonga-client: Supported split load.
- groonga-client: Added
--read-timeout
option.
0.1.1 - 2015-04-20
Improvements
- groonga-client: Added a command that sends Groonga commands to a Groonga server.
0.1.0 - 2014-11-05
Improvements
- response: Added Groonga::Client::Response::Error#message.
- response: Added Groonga::Client::Response::Base#status_code.
- response: Added Groonga::Client::Response::Base#start_time.
- response: Added Groonga::Client::Response::Base#elapsed_time.
- response: Added Groonga::Client::Response::Base#success?.
0.0.9 - 2014-09-30
Improvements
- HTTP: Supported "load" by POST.
- HTTP: Added synchronous backend.
0.0.8 - 2014-05-12
Improvements
- HTTP, Thread: Supported "bad request" response.
- HTTP, Thread: Supported JSON body in "internal server error" response.
0.0.7 - 2014-03-28
Improvements
- Supported error response.
0.0.6 - 2014-03-25
Fixes
- HTTP, Cool.io: Fixed a bug that body is handled when body is partially read.
0.0.5 - 2014-03-25
Improvements
- Wrapped internal connection errors by
Groonga::Client::Connection::Error
. - Supported asynchronous request by calling with block.
- Added Cool.io HTTP backend.
Changes
- Changed protocol implementation module/directory name to
protocol
fromconnection
.
Fixes
- Fixed a bug that options passed to
Groonga::Client.new
is changed destructively.
0.0.4 - 2013-10-29
Improvements
- http: Supported timeout error.
- status: Added Groonga::Client::Response::Status#alloc_count and Groonga::Client::Response::Status#n_allocations.
0.0.3 - 2013-09-18
Improvements
- Supported "table_create" command.
- Groonga::Client.open returns block value.
- Supported Groonga::Client#close.
- select: Supported auto time value conversion.
- select: Renamed to Groonga::Client::Response::Select#n_hits from #n_records. It is a backward incompatible change.
- Added
Groonga::Client::Connection::Error
as an abstracted error. - Required groonga-command 1.0.4 or later.
0.0.2 - 2013-07-08
Improvements
- Supported "select" command.
- Supported Enumerable type interface in Response::TableList and Response::ColumnList
0.0.1 - 2013-06-27
Initial release!!!