Boxes 2.0.0 released

This commit is contained in:
Thomas Jensen 2021-02-15 22:20:01 +01:00
parent 05944f9064
commit b2d485906f
No known key found for this signature in database
GPG Key ID: A4ACEE270D0FB7DB
2 changed files with 47 additions and 17 deletions

View File

@ -0,0 +1,32 @@
---
layout: post
title: "New release: boxes v2.0.0"
date: 2021-02-15 22:00:00 +0100
comments: false
---
**Version 2.0.0 is out**.
A major update which brings Unicode support for input text and PCRE2 regular expressions.<!--break-->:
- We finally have Unicode support for input and output text as per [#1](https://github.com/{{ site.github }}/issues/1).
In fact, most character sets on your system should now be supported. *Boxes* picks up your system encoding, but you
can override that by using `-n`, e.g. `-n UTF-8`.
- We adopted [Semantic Versioning](https://semver.org). This is a new major release.
- ANSI escape sequences are now supported in the input text. This means you can pipe your text through
[lolcat](https://github.com/busyloop/lolcat) and still get correct boxes around it.
Thanks to [residualmind](https://github.com/residualmind)!
- The regular expression engine was upgraded to state-of-the-art [PCRE2](http://www.pcre.org/current/doc/html/).
This means you have more powerful regular expression syntax at your disposal. It also means that any backreferences
in your config file are now `$1` instead of `\1`.
- Some deprecated box designs were dropped (*netdata*, *tjc*, *c-cmt3*, and *ccel*). If you miss them, you can get
them back from an [old
version](https://raw.githubusercontent.com/ascii-boxes/boxes/363e0266e083475b19f7539fd6beae699ade1890/boxes-config)
of the config file.
- New box design 'jstone' by [Ed Schaller](https://github.com/schallee)
- [Mike Meyer](https://github.com/meyer)'s 'unicornthink' box design now allows smaller speech bubbles
- New box design 'bear'
The detailed changes can be seen in the [commit history](https://github.com/{{ site.github }}/commits/master).
[[Release History]({{ site.baseurl}}/docs/releases.html)]

View File

@ -17,73 +17,71 @@ So far, there were these stable releases:
<th class="visible-xs">Src</th>
<th class="hidden-xs">Binaries</th>
<th class="visible-xs">Bin</th>
<th class="hidden-xs">Remark</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="{{ site.baseurl}}{% post_url 2021-02-15-boxes-v2.0.0-released %}">2.0.0</a></td>
<td>February&nbsp;15, 2021</td>
<td><a href="https://github.com/{{ site.github }}/tree/v2.0.0">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v2.0.0">link</a></td>
<td class="hidden-xs">major update</td>
</tr>
<tr>
<td><a href="{{ site.baseurl}}{% post_url 2019-02-21-boxes-v1.3-released %}">1.3</a></td>
<td>February&nbsp;21, 2019</td>
<td><a href="https://github.com/{{ site.github }}/tree/v1.3">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.3">link</a></td>
<td class="hidden-xs">minor update</td>
</tr>
<tr>
<td><a href="{{ site.baseurl}}{% post_url 2017-03-16-boxes-v1.2-released %}">1.2</a></td>
<td>March&nbsp;16, 2017</td>
<td><a href="https://github.com/{{ site.github }}/tree/v1.2">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.2">link</a></td>
<td class="hidden-xs">&nbsp;</td>
</tr>
<tr>
<td><a href="{{ site.baseurl}}{% post_url 2015-01-16-boxes-v1.1.2-released %}">1.1.2</a></td>
<td>January&nbsp;16, 2015</td>
<td><a href="https://github.com/{{ site.github }}/tree/v1.1.2">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.1.2">link</a></td>
<td class="hidden-xs">&nbsp;</td>
</tr>
<tr>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.1.1">1.1.1</a></td>
<td>October&nbsp;19, 2012</td>
<td><a href="https://github.com/{{ site.github }}/tree/release_1.1.1">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.1.1">link</a></td>
<td class="hidden-xs">&nbsp;</td>
</tr>
<tr>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.1">1.1</a></td>
<td>July&nbsp;23, 2006</td>
<td><a href="https://github.com/{{ site.github }}/tree/release_1.1">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.1">link</a></td>
<td class="hidden-xs">new features</td>
</tr>
<tr>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.0.1">1.0.1</a></td>
<td>March&nbsp;18, 2000</td>
<td><a href="https://github.com/{{ site.github }}/tree/release_1.0.1">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.0.1">link</a></td>
<td class="hidden-xs">important maintenance</td>
</tr>
<tr>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.0">1.0</a></td>
<td>August&nbsp;22, 1999</td>
<td><a href="https://github.com/{{ site.github }}/tree/release_1.0">link</a></td>
<td><a href="https://github.com/{{ site.github }}/releases/tag/v1.0">link</a></td>
<td class="hidden-xs">&nbsp;</td>
</tr>
</tbody>
</table>
Sources and binaries for these releases are available from the above table.
## When to upgrade
Boxes has been around a long time, and it has been very stable. Sometimes, new releases are still
required to ensure that *boxes* continues to compile smoothly on a large number of platforms.
Whether or not you should upgrade to a new version depends on what you've got, and what you want
to do:
- **Building from Source:** If you want to [build from source]({{ site.baseurl}}/build.html), you
should always use the latest sources from the above table. You may also clone the repo and build
the bleeding edge. Since we have a stable master branch, this will also get you a good build, but
it will be a snapshot version.
- **Using a binary:** The last major functional enhancements were in version 1.1 (of 2006). So if
you've got a working 1.1 binary on your system, you're good and you don't really need to upgrade.
Staying on the even older 1.0.1 will mean that you're missing features (such as better tab
handling and the 'mend' option). Anything prior to 1.0.1 should definitely be upgraded.
Note that you can always copy the [latest box designs](https://github.com/{{ site.github }}/blob/master/boxes-config)
from GitHub to replace your older *boxes-config* (Unix) or *boxes.cfg* (Windows) - the designs
are backwards compatible.