Skip to content

Releases: keep94/toolbox

v0.16.0

Choose a tag to compare

@keep94 keep94 released this 05 Jun 15:10

New Features

  • Introduce http_util.Sanitize() method to ensure that redirect URLs passed on the query string are safe. If the redirect URL is malformed or redirects to a different site, http_util.Sanitize() returns a fallback URL instead.

v0.15.0

Choose a tag to compare

@keep94 keep94 released this 21 Apr 00:41

New Features for idset Package

  • Introduce NewSet() factory method and Set() method. These use map[int64]struct{} instead of map[int64]bool.

Deprecations in idset Package

  • Deprecate New() factory method and Map() method. These used map[int64]bool.

v0.14.0

Choose a tag to compare

@keep94 keep94 released this 03 Aug 17:04

New Features

  • Introduce NewWithOptions function in mailer package.

v0.13.0

Choose a tag to compare

@keep94 keep94 released this 15 Jul 14:15

New Features for mailer package

  • New SendFuture() method to asynchronously get result of sending an email.
  • New Shutdown() method to safely shutdown Mailer after all pending emails have been sent.

v0.12.0

Choose a tag to compare

@keep94 keep94 released this 06 Jun 02:30

New Features

  • google_jsgraph.Emit() - returns an error along with template.HTML.

Breaking Changes

  • google_jsgraph.Graph.WriteCode returns error.

v0.11.2

Choose a tag to compare

@keep94 keep94 released this 25 May 18:03

Features

  • google_jsgraph: Pass a wrapped strings.Builder as the io.Writer to Graph.WriteCode to prevent implementations of Graph from directly accessing the underlying strings.Builder and calling methods on it like Reset().

v0.11.1

Choose a tag to compare

@keep94 keep94 released this 24 May 14:20

Documentation Changes

  • Add note to google_jsgraph.Graph.WriteCode() that calling Write on w must fully succeed with no errors.

v0.11.0

Choose a tag to compare

@keep94 keep94 released this 24 May 00:23

Breaking Changes

  • Improve the google_jsgraph.Graph interface. Change it to prevent misuse and to be more go idiomatic. This breaking change won't affect clients unless they use their own implementations of google_jsgraph.Graph.

v0.10.0

Choose a tag to compare

@keep94 keep94 released this 15 Mar 10:08

New Features

  • Add build package for showing version information in compiled binaries.

v0.9.0

Choose a tag to compare

@keep94 keep94 released this 18 Dec 02:21

New Features:

  • Introduce the google_jsgraph package, which creates javascript style bar graphs and pie graphs. This replaces the google_graph package, which generated URLs to the Google chart server, which is now gone.