aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.adoc
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2019-09-05 22:51:11 +0700
committerShulhan <m.shulhan@gmail.com>2019-09-05 22:51:11 +0700
commitc53eef929c962cb374dcacc578eaf860b5a681ec (patch)
tree3c90a1e38b4f12b936dc779797ca0e9c83de4394 /CHANGELOG.adoc
parentffd23b2b1fe37b7699c133471b785212741743f0 (diff)
downloadpakakeh.go-0.8.2.tar.xz
share v0.8.2v0.8.2
* http: make the request body always available even after ParseForm() Previously, if the request type is query, form, or JSON, we call the ParseForm() to let the http.Request read the Body POST form data and fill the Form and/or PostForm fields. This method will cause the request Body will become empty since its already read and closed. One of use case of POST with form data is to check the integrity of POST body using checksum, which is not possible using only ParseForm(). This commit read all the body first into reqBody and recreate the request Body back using ioutil.NopCloser and bytes.Buffer. * all: replace document generator from asciidoctor to ciigo Previously, generating HTML files from asciidoc files require installing ruby, asciidoctor, and its dependency through Gemfile. To simplify this, we replace it with ciigo. Ciigo not only can convert the asciidoc files but it also support serving the file inside HTTP server and watching changes on asciidoc files during development for local previewing. * memfs: log and ignore error from NewNode An error for calling NewNode should not stop processing all files in directory. * io: log and ignore error from NewNode An error for calling NewNode should not stop processing all files in directory.
Diffstat (limited to 'CHANGELOG.adoc')
-rw-r--r--CHANGELOG.adoc37
1 files changed, 35 insertions, 2 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index 1142cf43..d49abc7c 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -5,6 +5,41 @@
This library is released each month, usually at the first week of month.
+== share v0.8.2 (2019-09-05)
+
+=== Enhancements
+
+* http: make the request body always available even after ParseForm()
++
+Previously, if the request type is query, form, or JSON, we call the
+ParseForm() to let the http.Request read the Body POST form data and fill
+the Form and/or PostForm fields. This method will cause the request
+Body will become empty since its already read and closed.
+One of use case of POST with form data is to check the integrity of POST
+body using checksum, which is not possible using only ParseForm().
+This commit read all the body first into reqBody and recreate the request
+Body back using ioutil.NopCloser and bytes.Buffer.
+
+* all: replace document generator from asciidoctor to ciigo
++
+Previously, generating HTML files from asciidoc files require installing
+ruby, asciidoctor, and its dependency through Gemfile.
+To simplify this, we replace it with ciigo. Ciigo not only can convert
+the asciidoc files but it also support serving the file inside HTTP
+server and watching changes on asciidoc files during development for
+local previewing.
+
+* memfs: log and ignore error from NewNode
++
+An error for calling NewNode should not stop processing all files
+in directory.
+
+* io: log and ignore error from NewNode
++
+An error for calling NewNode should not stop processing all files
+in directory.
+
+
== share v0.8.1 (2019-08-05)
=== Enhancements
@@ -18,9 +53,7 @@ The format to marshal/unmarshal ini stream is behave like JSON.
The ContentEncode() method encode each node's content into specific
encoding, in other words this method can be used to compress the content
of file in memory before being served or written.
-+
Only file with size greater than 0 will be encoded.
-+
List of known encoding is "gzip".
* lib/memfs: ignore generated output filename on GoGenerate