- Bump required version of
express-droonga
.
- Fix mismatched dependency about
express-droonga
.
- Connects to active engine nodes of the cluster of the associated engine node correctly. Previous version unexpectedly kept connections to already unjoined engine nodes.
- A new
--host
option is available to restrict the listening IP address. The default value is0.0.0.0
(meaninglisten all IP addresses
). - A new
--cache-ttl-in-seconds
option is available to set the time to live of cached responses, in seconds. The default value is60
(meaning1 minute
). - A new
--disable-trust-proxy
option is available to disable the feature even if it is activated by the static configuration file. - A new
--document-root
option is available to specify the document root. It is the path to the built-in Groonga admin page by default. - The
daemon
option is now ignored in the static configuration file. Now, you always have to specify--daemon
option for thedroonga-http-server
command to start it as a daemon. - The
droonga-http-server-configure
command now shows prompts for all options always. - Responses for most commands are never cached.
Now, only responses based on
search
or Groonga'sselect
commands and the administration page are cached. - A new endopoint
/cache
is introduced to clear all response caches. To clear cached contents, send an HTTPDELETE
request to the path. - Supports multiple Droonga Engine nodes as its backends. Now droonga-http-server can work like a load balancer.
- The list of connecting Droonga Engine nodes is automatically updated based on the actual list of active members in the cluster.
- Works correctly as a service even if you restarted the computer itself.
- Log level of the system log is now customizable.
You just have to put a line like
system_log_level: debug
into thedroonga-http-server.yaml
. And,droonga-http-server-configure
also asks the log level.
- The installation script is now available.
It automatically installs required softwares and configure the
droonga-http-server
as a system service. Currently it works only for Debian, Ubuntu, and CentOS 7. - The service works as a process belonging to a user
droonga-http-server
who is specific for the service. The configuration directory for the service is placed under the home directory of the user. - A static configuration file to define default parameters (
port
and so on) is now available. It must be placed into the configuration directory specified by the environment variableDROONGA_BASE_DIR
. You don't have to rundroonga-http-server
command with many options, anymore. - A new command line utility
droonga-http-server-configure
is available. It generates the static configuration file for the service. - Cached responses are now returned correctly.
- Provides Groonga's administration page as the document root (
/
) experimentally. - Supports a new
--environment
option to override theNODE_ENV
environment variable.
- Use
Default
as the name of the default dataset. It is same to Droonga Engine's one. - Use
10041
as the default port number. It is same to Groonga HTTP server's one.
- Works with the Express 4.0.
- Supports a new
--enable-trust-proxy
option to run the server behind a reverse proxy. - Supports a new
--plugins
option to choose plugins to be activated. - Supports new
--daemon
and--pid-file
options for the daemon mode.
- Fix broken dependencies.
- Register bin/droonga-http-server command correctly.
The first release!