Releases: github/vulcanizer
v0.10.0
Changelog
- c2e152c Merge pull request #95 from github/hugodorea/get-hot-threads-per-node
- 924bd8a Merge pull request #96 from github/hugodorea/addresses-linter
- de90c9e addresses ioutil deprecation
- 229a57a adds GetNodesHotThreads method to es client
- fcac58d changes golangci-lint version to 1.46.2
- 019302f first batch of linter fixes
- 013b184 fixes tests
- 6980eee lints pkg/cli/entrypoint.go
- 286f72a lints util.go
- 9075c59 moves errors to variables
- 532081a updates golang.org/x/sys
v0.9.0
Changelog
- 52b6235 Merge pull request #91 from github/nullren/golangci-lint-url
- 7a2cf52 Merge pull request #94 from github/hugodorea/adds-get-hot-threads-method
- fedc037 Update .github/workflows/golangci-lint.yml
- c860362 add golangci action
- c5747df adds GetHotThreads to es client
- 82f76f4 bumps golangci-lint version to 1.46.2
- 9bcfee9 updated golangci-lint script url and version
v0.8.0
v0.7.0
Changelog
8949b6f Add CLI command to reload secure settings
8417e90 Add a method to create a snapshot repository
81eb665 Add cli command to remove a snapshot repository
1dbcb4d Add library function to call reload secure settings API
d661eb6 Add method to remove a snapshot repository
3183aeb Add repository register command to cli
ea4ed12 Fix link in README
1dea692 Merge pull request #87 from github/add_register_and_remove_repository_commands
db3bbdb Merge pull request #88 from github/add_reload_secure_settings_command
v0.6.2
v0.6.1 Release
v0.6.0 Release
Breaking changes
SetClusterSetting
now takes and returns a*string
instead of astring
to support "unsetting" a cluster setting- Full function signature is now
SetClusterSetting(setting string, value *string) (*string, *string, error)
- Added in #74
- Full function signature is now
New Features
- Functions to access heap stats added in #78
- Add CLI function to delete indices in #77
- Add APIs to get disk allocation information in #69
Misc
- Use Go modules instead of dep
- Update Go dependencies
- Use GitHub Actions instead of Travis
v0.5.1 Release
Bug fix
- Fixes escaping for indices with periods (
.
) in the index name - #62
v0.5.0 release
Breaking changes
GetIndices()
renamed toGetAllIndices()
- New function
GetIndices(string)
- returns a subset of indices matching the string
- New function
New features
-
Several functions to work with aliases
GetAliases(string)
- returns a subset of indices matching the stringGetAllAliases()
- return all the aliases on the clusterModifyAliases([]AliasAction)
- add/update/delete aliases
-
Several functions to work with shards
GetShards([]string)
- returns shards that exist on the given nodes, empty array returns all shardsGetShardOverlap([]string)
- provide a list of node names and returns a map containing information to determine if all copies of a shard exist on those nodesGetShardRecovery([]string, bool)
- returns information about recovering shards
-
New functions to operate on indices
OpenIndex(string)
- opens the index with the given index nameCloseIndex(string)
- closes the index with the given index name
-
New client configuration options
- user
- password
- protocol
- path
- skip TLS verification
-
Added Elasticsearch version to the
Node
struct asVersion
Bug fixes
- Two functions on the
Snapshot
struct to deal with in progress snapshots "ending" at 1970-01-01func (s *Snapshot) GetDuration()
func (s *Snapshot) GetEndTime()
Misc
- Added Go 1.12 to Travis testing
v0.4.0 Release
This release adds some features around managing indices.
Breaking Changes
- Renamed
ClusterSettings
struct toSettings
- This struct is now used when listing Cluster or Index settings. - Renamed
func (c *Client) GetSettings()
method tofunc (c *Client) GetClusterSettings()
to differentiate between Cluster or Index settings. - Renamed
func (c *Client) SetSetting
method tofunc (c *Client) SetClusterSetting
to differentitate between Cluster or Index settings. - Added
indexSettings map[string]interface{}
to the arguments offunc (c *Client) RestoreSnapshotIndices
to allow setting specific index settings when restoring an index.
New APIs
func (c *Client) DeleteIndex(indexName string) error
- Deleting an indexfunc (c *Client) GetPrettyIndexSettings(index string) (string, error)
- Get a human readable JSON of the settings of an indexfunc (c *Client) GetIndexSettings(index string) ([]Setting, error)
- Get the settings of an indexfunc (c *Client) SetIndexSetting(index, setting, value string) (string, string, error)
- Set the settings of an indexfunc (c *Client) GetPrettyIndexMappings(index string)
- Get a human readable JSON of the mappings of an indexfunc (c *Client) AnalyzeText(analyzer, text string) ([]Token, error)
- Call the Elasticsearch analyze API to preview how given text will be broken down into tokens.func (c *Client) AnalyzeTextWithField(index, field, text string) ([]Token, error)
- Call the Elasticsearch analyze API with a specific field to preview how the text will be broken down into tokens for that field.
Changes
- Added additional fields to the
Client
struct to support more connection propertiesSecure
- boolean whether to connect using HTTPS or notAuth
- struct containing username and password for HTTP basic authTimeout
- set atime.Duration
for the API calls to ElasticsearchTLSConfig
- settls.Config
options for things like client certificates or ignoring certificate validation