summaryrefslogtreecommitdiffstats
path: root/_build
diff options
context:
space:
mode:
Diffstat (limited to '_build')
-rw-r--r--_build/Makefile4
-rw-r--r--_build/content/articles/ranch-1.6.0.asciidoc40
-rw-r--r--_build/data/projects/ranch.toml4
3 files changed, 44 insertions, 4 deletions
diff --git a/_build/Makefile b/_build/Makefile
index 83a9ecf9..d4e72edb 100644
--- a/_build/Makefile
+++ b/_build/Makefile
@@ -73,7 +73,7 @@ docs-$1-$2: tmp/$1
printf "%s\n" "+++" "title = \"`sed 's/\(.\)/\U\1/' <<< $1` Function Reference\"" \
"project = \"$1\"" "version = \"$3\"" "doctype = \"manual\"" "+++" "" \
> content/docs/en/$1/$3/manual.asciidoc; \
- if [ "$1" = "cowboy" -o "$1" = "gun" ]; then \
+ if [ "$1" = "cowboy" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ]; then \
sed '1,/^$$$$/d' tmp/$1/doc/src/manual/$1_app.asciidoc | sed 's/xref:/link:..\//' \
| sed 's/link:man:\([a-z0-9_]*\)(7)/link:\1_app/g' \
| sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \
@@ -94,7 +94,7 @@ docs-$1-$2: tmp/$1
echo "\"" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
echo "+++" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
echo >> content/docs/en/$1/$3/manual/`basename $$$$f`; \
- if [ "$1" = "cowboy" -o "$1" = "gun" ]; then \
+ if [ "$1" = "cowboy" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ]; then \
sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//g' \
| sed 's/link:man:$1(7)/link:../g' \
| sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \
diff --git a/_build/content/articles/ranch-1.6.0.asciidoc b/_build/content/articles/ranch-1.6.0.asciidoc
new file mode 100644
index 00000000..60472a67
--- /dev/null
+++ b/_build/content/articles/ranch-1.6.0.asciidoc
@@ -0,0 +1,40 @@
++++
+date = "2018-08-01T10:00:00+01:00"
+title = "Ranch 1.6"
+
++++
+
+Ranch `1.6.0` has been released!
+
+This release sees the introduction of a suspend/resume
+mechanism for the listeners which makes the listener
+close the listening socket and stop accepting new
+connections. Existing connections continue uninterrupted.
+
+This can be used to update the socket options of the
+listener, or to implement a graceful shutdown. To
+that end a function has also been added which allows
+waiting until connections reach a certain number.
+
+This release also introduces many changes to prepare
+for the transition to Ranch 2.0 that will be released
+in the coming months. The guide now features a section
+listing all upcoming changes in Ranch 2.0.
+
+The manual has been updated to provide a separate
+manual page per function and module, just like for
+the Gun and Cowboy manuals.
+
+A complete
+list of changes can be found in the migration guide:
+https://ninenines.eu/docs/en/ranch/1.6/guide/migrating_from_1.5/[Migrating from Ranch 1.5 to 1.6].
+
+You can donate to this project via
+https://salt.bountysource.com/teams/ninenines[BountySource].
+These funds are used to pay for additional servers for
+testing. A new server was added last month and allows
+me to test with additional Linux distributions Alpine,
+CentOS and Debian. Thanks in advance!
+
+As usual, feedback is appreciated, and issues or
+questions should be sent via Github tickets. Thanks!
diff --git a/_build/data/projects/ranch.toml b/_build/data/projects/ranch.toml
index c1f97113..4978794a 100644
--- a/_build/data/projects/ranch.toml
+++ b/_build/data/projects/ranch.toml
@@ -3,8 +3,8 @@ catchphrase = "The holy cow of servers."
description = "Ranch is a socket acceptor pool for building awesome TCP and TLS servers."
name = "ranch"
repository = "https://github.com/ninenines/ranch"
-versions = ["1.5", "1.4", "1.3", "1.2"]
-branches = ["1.5.0", "1.4.0", "1.3.2", "1.2.1"]
+versions = ["1.6", "1.5", "1.4", "1.3", "1.2"]
+branches = ["master", "1.5.0", "1.4.0", "1.3.2", "1.2.1"]
has_source = true
has_guide = true
has_manual = true