summaryrefslogtreecommitdiff
tag namev0.14.0 (00526f691d9edfa6480473b6e32c8d6bea42cfaf)
tag date2020-04-03 22:09:20 +0700
tagged byShulhan <m.shulhan@gmail.com>
tagged objectcommit bfd340aa12...
downloadpakakeh.go-0.14.0.tar.xz
== share v0.14.0 (2020-04-03)
=== Breaking changes * http: simplify server Endpoint registrations Previously, each endpoint with method DELETE, GET, PATCH, POST, and PUT require calling different call for registration. This change simplify it to one call only, "RegisterEndpoint", and the registration process will be handled automatically based on value on field Method. * mining/math: move the package from "lib/mining/" to "lib/" directory === New features * debug: add a wrapper for starting and stopping CPU profile * math/big: new package that extends the capabilities of "math/big" The "big" package add custom global precision, rounding mode, and number of digit precision after decimal point for all instance of Float that use the package. * reflect: new package that extends the standard reflect This package add new interface "Equaler", it is an interface that have single method "IsEqual()". Also, we have new function "IsNil(interface{})" that will return true if the value in interface{} is nil. * strings: add function SingleSpace The SingleSpace function convert all sequences of white spaces into single space ' '. === Enhancements * http: embed the standard http package instead of separate field * hunspell: return the stem instead of root word on Spell() method * hunspell: add Stem() method to Spell and Stem The Stem() method reduce inflected (or sometimes derived) words to their word stem, base, or root form. * hunspell: add Analyze() method to Spell and Stem The Analyze() method will return list of morphological fields of the word. * strings: check for other white spaces on MergeSpaces === Bug fixes * http: fix the content-length header not set if file is not cached