Skip to content

Commit

Permalink
Release share v0.53.1 (2024-03-02)
Browse files Browse the repository at this point in the history
=== Enhancements

* lib/sql: handle binding with the same name

  If [Meta.Bind] is called with the same name again, it should replace
  the existing named value.

* lib/dns: ignore invalid message

  If Query return a message but the failed to unpack due to invalid
  format, for example

    unpackOPT: data length is out of range

  ignore it instead of disconnect the client connection.

* lib/http: export function to generate "multipart/form-data"

  The GenerateFormData generate the request body with boundary for
  HTTP content-type "multipart/form-data" from map[string][]byte.

* lib/dns: change the log mechanism by mode instead of by level

  This changes introduce three mode of debug:

  - DebugLevelDNS: log error on DNS level, in example empty answer,
    ERR_NAME (domain name is invalid or not known) and so on.
  - DebugLevelCache: log cache operations.
  - DebugLevelConnPacket: log low level connection and package,
    including request and response.
  • Loading branch information
shuLhan committed Mar 2, 2024
1 parent 901b80f commit 388f736
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,51 @@ link:CHANGELOG_2018-2019.html[Changelog from 2018 to 2019^].
This is changelog for share module since v0.1.0 until v0.11.0.


[#v0_53_1]
== share v0.53.1 (2024-03-02)

[#v0_53_1__enhancements]
=== Enhancements
lib/sql: handle binding with the same name::
+
If [Meta.Bind] is called with the same name again, it should replace
the existing named value.
lib/dns: ignore invalid message::
+
--
If Query return a message but the failed to unpack due to invalid
format, for example
unpackOPT: data length is out of range
ignore it instead of disconnect the client connection.
--
lib/http: export function to generate "multipart/form-data"::
+
The GenerateFormData generate the request body with boundary for
HTTP content-type "multipart/form-data" from map[string][]byte.
lib/dns: change the log mechanism by mode instead of by level::
+
--
This changes introduce three mode of debug:
* DebugLevelDNS: log error on DNS level, in example empty answer,
ERR_NAME (domain name is invalid or not known) and so on.
* DebugLevelCache: log cache operations.
* DebugLevelConnPacket: log low level connection and package,
including request and response.
--
[#v0_53_0]
== share v0.53.0 (2024-02-04)
Expand Down
2 changes: 1 addition & 1 deletion share.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ package share

var (
// Version of this module.
Version = `0.53.0`
Version = `0.54.0`
)

0 comments on commit 388f736

Please sign in to comment.