Skip to content

Releases: github/vulcanizer

v0.10.0

08 Aug 21:35
924bd8a
Compare
Choose a tag to compare

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

05 Aug 16:46
7a2cf52
Compare
Choose a tag to compare

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

02 Nov 16:14
75bdbd2
Compare
Choose a tag to compare

Changelog

75bdbd2 Merge pull request #90 from github/update_go_versions_and_deps
6e78911 Update go versions and some dependencies

v0.7.0

25 Feb 16:49
db3bbdb
Compare
Choose a tag to compare

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

04 Feb 16:43
c39f9a8
Compare
Choose a tag to compare

Changelog

b32915b Add config file and action for goreleaser
c39f9a8 Merge pull request #86 from github/setup_goreleaser

v0.6.1 Release

17 Nov 14:55
3e7c3aa
Compare
Choose a tag to compare

New Features

  • Function to delete an snapshot #82
  • Function to access segments for a particular index #83

v0.6.0 Release

30 Sep 02:32
b448aa7
Compare
Choose a tag to compare

Breaking changes

  • SetClusterSetting now takes and returns a *string instead of a string to support "unsetting" a cluster setting
    • Full function signature is now SetClusterSetting(setting string, value *string) (*string, *string, error)
    • Added in #74

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

07 Oct 14:04
77e4e6a
Compare
Choose a tag to compare

Bug fix

  • Fixes escaping for indices with periods (.) in the index name - #62

v0.5.0 release

23 May 18:46
d9417a6
Compare
Choose a tag to compare

Breaking changes

  • GetIndices() renamed to GetAllIndices()
    • New function GetIndices(string) - returns a subset of indices matching the string

New features

  • Several functions to work with aliases

    • GetAliases(string) - returns a subset of indices matching the string
    • GetAllAliases() - return all the aliases on the cluster
    • ModifyAliases([]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 shards
    • GetShardOverlap([]string) - provide a list of node names and returns a map containing information to determine if all copies of a shard exist on those nodes
    • GetShardRecovery([]string, bool) - returns information about recovering shards
  • New functions to operate on indices

    • OpenIndex(string) - opens the index with the given index name
    • CloseIndex(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 as Version

Bug fixes

  • Two functions on the Snapshot struct to deal with in progress snapshots "ending" at 1970-01-01
    • func (s *Snapshot) GetDuration()
    • func (s *Snapshot) GetEndTime()

Misc

  • Added Go 1.12 to Travis testing

v0.4.0 Release

28 Feb 16:06
0ddc377
Compare
Choose a tag to compare

This release adds some features around managing indices.

Breaking Changes

  • Renamed ClusterSettings struct to Settings - This struct is now used when listing Cluster or Index settings.
  • Renamed func (c *Client) GetSettings() method to func (c *Client) GetClusterSettings() to differentiate between Cluster or Index settings.
  • Renamed func (c *Client) SetSetting method to func (c *Client) SetClusterSetting to differentitate between Cluster or Index settings.
  • Added indexSettings map[string]interface{} to the arguments of func (c *Client) RestoreSnapshotIndices to allow setting specific index settings when restoring an index.

New APIs

  • func (c *Client) DeleteIndex(indexName string) error - Deleting an index
  • func (c *Client) GetPrettyIndexSettings(index string) (string, error) - Get a human readable JSON of the settings of an index
  • func (c *Client) GetIndexSettings(index string) ([]Setting, error) - Get the settings of an index
  • func (c *Client) SetIndexSetting(index, setting, value string) (string, string, error) - Set the settings of an index
  • func (c *Client) GetPrettyIndexMappings(index string) - Get a human readable JSON of the mappings of an index
  • func (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 properties
    • Secure - boolean whether to connect using HTTPS or not
    • Auth - struct containing username and password for HTTP basic auth
    • Timeout - set a time.Duration for the API calls to Elasticsearch
    • TLSConfig - set tls.Config options for things like client certificates or ignoring certificate validation