]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/news.texi
Replace YAML with Hjson
[nncp.git] / doc / news.texi
index d1a89b15f4b1b51e4c11ba198c48cf154398e3ee..211f399f5085f394703321233c7493265298bcba 100644 (file)
 
 See also this page @ref{Новости, on russian}.
 
+@node Release 5.0.0
+@section Release 5.0.0
+@itemize
+@item @strong{Incompatible} configuration file format change: YAML is
+    replaced with Hjson, due to its simplicity, without noticeable lack
+    of either functionality or convenience.
+@item @command{nncp-cfgnew} generates configuration file with many
+    comments. @option{-nocomments} option can be used for an old
+    behaviour.
+@item Duplicate filenames have @file{.CTR} suffix, instead of
+    @file{CTR}, to avoid possible collisions with @file{.nncp.chunkCTR}.
+@item Files and directories are created with 666/777 permissions by
+    default, allowing control with @command{umask}.
+@item Updated dependencies.
+@item Full usage of go modules for dependencies management
+    (@code{go.cypherpunks.ru/nncp/v5} namespace is used).
+@end itemize
+
+@node Release 4.1
+@section Release 4.1
+@itemize
+@item
+Workability on GNU/Linux systems and Go 1.10 is fixed.
+@end itemize
+
+@node Release 4.0
+@section Release 4.0
+@itemize
+@item
+@strong{Incompatible} encrypted and eblob packet format change: AEAD
+encryption mode with 128 KiB blocks is used now, because previously
+@command{nncp-toss} did not verify encrypted packet's MAC before feeding
+decrypted data to external command. Older versions are not supported.
+@item
+Available free space checking before copying in @command{nncp-xfer},
+@command{nncp-daemon}, @command{nncp-call(er)}.
+@item
+@command{nncp-call} has ability only to list packets on remote node,
+without their transmission.
+@item
+@command{nncp-call} has ability to transfer only specified packets.
+@item
+Workability of @option{xxrate} preference in @option{calls}
+configuration file section.
+@item
+Dependant libraries are updated.
+@item
+Minor bugfixes.
+@item
+Begin using of @code{go.mod} subsystem.
+@end itemize
+
+@node Release 3.4
+@section Release 3.4
+@itemize
+@item
+@command{nncp-daemon} can be run as @command{inetd}-service.
+@end itemize
+
+@node Release 3.3
+@section Release 3.3
+@itemize
+@item
+@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller} check
+if @file{.seen} exists and treat it like file was already downloaded.
+Possibly it was transferred out-of-bound and remote side needs to be
+notifier about that.
+@item
+If higher priority packet is spooled, then @command{nncp-daemon} will
+queue its sending first, interrupting lower priority transmissions.
+@item
+Simple packet rate limiter added to online-related tools
+(@command{nncp-daemon}, @command{nncp-call}, @command{nncp-caller}).
+@item
+Ability to specify niceness with symbolic notation:
+@verb{|NORMAL|}, @verb{|BULK+10|}, @verb{|PRIORITY-5|}, etc.
+@item
+Changed default niceness levels:
+for @command{nncp-exec} from 64 to 96,
+for @command{nncp-freq} from 64 to 160,
+for @command{nncp-file} from 196 to 224.
+@end itemize
+
+@node Release 3.2
+@section Release 3.2
+@itemize
+@item
+@strong{Incompatible} @emph{bundle} archive format changes and
+@command{nncp-bundle} workability with Go 1.10+. Bundles must be
+valid tar archives, but Go 1.9 made them invalid because of long paths
+inside. NNCP accidentally was dependant on that bug. Explicit adding of
+@file{NNCP/} directory in archive restores workability with valid tar
+archives.
+@end itemize
+
+@node Release 3.1
+@section Release 3.1
+@itemize
+@item
+Ability to disable relaying at all using @verb{|-via -|} command line option.
+@end itemize
+
 @node Release 3.0
 @section Release 3.0
 @itemize
 @item
+@strong{Incompatible} plain packet format changes. Older versions are
+not supported.
+@item
+Ability to queue remote command execution, by configuring @option{exec}
+option in configuration file and using @command{nncp-exec} command:
+    @itemize
+    @item
+    @command{nncp-mail} command is replaced with more flexible
+    @command{nncp-exec}. Instead of @verb{|nncp-mail NODE RECIPIENT|}
+    you must use @verb{|nncp-exec NODE sendmail RECIPIENT|}.
+    @item
+    @option{sendmail} configuration file option is replaced with
+    @option{exec}. @verb{|sendmail: [...]|} must be replaced with
+    @verb{|exec: sendmail: [...]|}.
+    @end itemize
+@item
 Ability to override @option{via} configuration option for destination
 node via @option{-via} command line option for following commands:
-@command{nncp-file}, @command{nncp-freq}, @command{nncp-mail}.
+@command{nncp-file}, @command{nncp-freq}, @command{nncp-exec}.
 @item
 Chunked files, having size less than specified chunk size, will be sent
 as an ordinary single file.
 @item
-@strong{Incompatible} plain packet format changes. @emph{NICE} field is
-added. Older versions are not supported.
-@item
-Sendmail command is invoked with additional @env{NNCP_FILE} environment
-variable containing niceness level from incoming message packet.
+Exec commands are invoked with additional @env{NNCP_NICE} and
+@env{NNCP_SELF} environment variables.
 @item
 Files, that are sent as a reply to freq, have niceness level taken from
 the freq packet. You can set desired niceness during @command{nncp-freq}
 invocation using @option{-replynice} option.
 @item
 @command{nncp-toss} command can ignore specified packet types during
-processing: @option{-nofile}, @option{-nofreq}, @option{-nomail},
+processing: @option{-nofile}, @option{-nofreq}, @option{-noexec},
 @option{-notrns}.
 @item
 @command{nncp-file} command uses
-@option{FreqMinSize}/@option{FreqChunked} conifiguration file options
+@option{FreqMinSize}/@option{FreqChunked} configuration file options
 for @option{-minsize}/@option{-chunked} by default. You can turn this
 off by specifying zero value.
 @end itemize