<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go, branch v0.35.0</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=v0.35.0</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=v0.35.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2022-03-04T15:15:25Z</updated>
<entry>
<title>Release share v0.35.0 (2022.03.04)</title>
<updated>2022-03-04T15:15:25Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-04T15:14:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=9e72408e6f36122bc11cd7f53cdfbf64369ce5a9'/>
<id>urn:sha1:9e72408e6f36122bc11cd7f53cdfbf64369ce5a9</id>
<content type='text'>
6d9a750 lib/dns: increase the default UDP packet size to 1232
6299999 lib/memfs: export the Remount method
9cdda70 lib/memfs: revert remount on GoEmbed
8f0a22c lib/memfs: make the GoEmbed re-mount the Root before generate Go file
de8a9f0 lib/memfs: embed the field CommentHeader on generated Go file
1c0f0a6 cmd/sendemail: command line interface to send an email
f8e4959 lib/email: set the Date and Message-ID on Message Pack
3a1a271 lib/email: reorder the MIME header to write the mime-version first
2d2ea4d lib/email: make Message Pack works with single text or HTML part
dc880bc lib/email: make the NewMultipart test working by mocking Epoch
835edbb lib/email: add methods to modify Message
5242d7a lib/email: store the unpacked content type into MIME
2f9ffc6 lib/email: change the Header and Body fields on Message to non-pointer
3008d44 lib/email: realign all structs
7ecd609 lib/email: set the header Date field on NewMultipart
fa03d15 lib/io: fix DirWatcher not removing old files on rename
d539f4d lib/smtp: refactoring NewClient to use struct instead of parameters
7743eb3 _doc: update documentation index and SASL
aec0fb9 lib/smtp: add status codes from RFC 4954
c50c628 lib/smtp: rename Mechanism to SaslMechanism
bda173f lib/smtp: realign all structs
511c473 lib/smtp: provide an example of how to create MailTx from email package
1ae36f8 lib/smtp: rename mail.go to mail_tx.go
bd0b941 lib/mlog: make the Outf method always add new line at the end
e2a220a lib/mlog: change default mlog instance to non-pointer
c847880 lib/mlog: realign the struct MultiLogger
a702bcf lib/memfs: add option CommentHeader to EmbedOptions
a4f9a21 go.mod: update all dependencies
b2dfeda lib/dns: check for possible index out of range when unpacking RR
f6326ee lib/ini: realign all structs
bc9beab lib/ini: make the Marshal on map field sorted by keys
f7f2230 cmd/xtrk: command line interface to uncompress and/or unarchive file
39a9ce9 all: reformat CHANGELOG to make the generated HTML readable
</content>
</entry>
<entry>
<title>lib/dns: increase the default UDP packet size to 1232</title>
<updated>2022-03-03T08:56:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-03T08:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=6d9a750dd63e354f67bed021634fe23d591c670e'/>
<id>urn:sha1:6d9a750dd63e354f67bed021634fe23d591c670e</id>
<content type='text'>
The value is based on recommendation by https://dnsflagday.net/2020/
to prevent IP fragmentation when supporting EDNS message.
</content>
</entry>
<entry>
<title>lib/memfs: export the Remount method</title>
<updated>2022-03-03T08:37:19Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-03T08:37:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=6299999165e2ff01528a6d9ba4a20b201fc2b6b7'/>
<id>urn:sha1:6299999165e2ff01528a6d9ba4a20b201fc2b6b7</id>
<content type='text'>
The Remount method reset the memfs instance to force rescanning
the files again from file system.
</content>
</entry>
<entry>
<title>lib/memfs: revert remount on GoEmbed</title>
<updated>2022-03-03T08:34:50Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-03T08:34:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=9cdda70f54ed3a1631f39d20e4c3a95f63f9eeec'/>
<id>urn:sha1:9cdda70f54ed3a1631f39d20e4c3a95f63f9eeec</id>
<content type='text'>
Calling remount on GoEmbed cause any files manually added to the
MemFS instance become removed.

In example, this breaks the ciigo.GoEmbed function that add the
HTML template before calling memfs.GoEmbed.
</content>
</entry>
<entry>
<title>lib/memfs: make the GoEmbed re-mount the Root before generate Go file</title>
<updated>2022-02-28T18:54:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-28T18:54:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=8f0a22c2f5e9ab5d11571650dbd49018dcf642b0'/>
<id>urn:sha1:8f0a22c2f5e9ab5d11571650dbd49018dcf642b0</id>
<content type='text'>
Previously, we assume that the PathNodes from instance of MemFS is
already up to date.
If PathNodes is initialized by previous GoEmbed and the Root directory
contains new files or directories, that new files does not get
embedded.

This changes fix this issue by force re-mount the whole Root directory
before generating the Go file.
</content>
</entry>
<entry>
<title>lib/memfs: embed the field CommentHeader on generated Go file</title>
<updated>2022-02-28T14:51:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-28T14:51:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=de8a9f01a9859fbfc2145dabaf3fe97c13d01188'/>
<id>urn:sha1:de8a9f01a9859fbfc2145dabaf3fe97c13d01188</id>
<content type='text'>
Since the comment header may contain multiple lines and the value
will be rendered into template, we must remind user that the value must
be set using raw string literal syntax ``, not "".
</content>
</entry>
<entry>
<title>cmd/sendemail: command line interface to send an email</title>
<updated>2022-02-28T07:39:41Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-27T19:14:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=1c0f0a63b6030f06708687ea4db6a07e36c6a767'/>
<id>urn:sha1:1c0f0a63b6030f06708687ea4db6a07e36c6a767</id>
<content type='text'>
The sendemail command is proof of concept on how to use lib/email and
lib/smtp to write and send email through SMTP.
</content>
</entry>
<entry>
<title>lib/email: set the Date and Message-ID on Message Pack</title>
<updated>2022-02-28T07:39:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-27T15:24:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=f8e4959352cd6653b8bdb10c445d06196406006a'/>
<id>urn:sha1:f8e4959352cd6653b8bdb10c445d06196406006a</id>
<content type='text'>
Calling Pack now set the Date header if its not exist, using the local
time;  and the message-id header if its not exist using the following
format:

	&lt;epoch&gt;.&lt;random-8-chars&gt;@&lt;local-hostname&gt;

The random-8-chars is Seed-ed from Epoch(), so does the boundary.
</content>
</entry>
<entry>
<title>lib/email: reorder the MIME header to write the mime-version first</title>
<updated>2022-02-27T15:59:14Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-26T19:05:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=3a1a2715b25f15fe6403af286f91e2b9168a33c9'/>
<id>urn:sha1:3a1a2715b25f15fe6403af286f91e2b9168a33c9</id>
<content type='text'>
Previously, the MIME header is generated in the following order:

  content-type: ...
  mime-version: ...
  content-transfer-encoding: ...

This changes reorder the mime-version to the top.
</content>
</entry>
<entry>
<title>lib/email: make Message Pack works with single text or HTML part</title>
<updated>2022-02-27T15:59:14Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-02-26T18:56:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=2d2ea4dbc24163d8ad6768339f642640fd90c017'/>
<id>urn:sha1:2d2ea4dbc24163d8ad6768339f642640fd90c017</id>
<content type='text'>
Previouly, the Pack method generate multipart/alternative message only.

Since the Message now can set the body text and HTML, without using
NewMultipart, the Pack method need to be able to accomodate this.
</content>
</entry>
</feed>
