Browse Source

Increment the version and update the NEWS

Signed-off-by: Gavin Howard <gavin@yzena.com>
line_libs
Gavin Howard 10 months ago
parent
commit
63aa78402c
Signed by: gavin
GPG Key ID: C08038BDF280D33E
  1. 18
      NEWS.md
  2. 2
      include/version.h

18
NEWS.md

@ -1,5 +1,23 @@
# News
## 5.1.0
This is a production release with some fixes and new features.
* Fixed a bug where an `if` statement without an `else` before defining a
function caused an error.
* Fixed a bug with the `bc` banner and `-q`.
* Fixed a bug on Windows where files were not read correctly.
* Added a command-line flag (`-z`) to make `bc` and `dc` print leading zeroes on
numbers `-1 < x < 1`.
* Added four functions to `lib2.bc` (`plz()`, `plznl()`, `pnlz()`, and
`pnlznl()`) to allow printing numbers with or without leading zeros, despite
the use of `-z` or not.
* Added builtin functions to query global state like line length, global stacks,
and leading zeroes.
* Added a command-line flag (`-L`) to disable wrapping when printing numbers.
* Improved builds on Windows.
## 5.0.2
This is a production release with one fix for a flaky test. If you have not

2
include/version.h

@ -37,6 +37,6 @@
#define BC_VERSION_H
/// The current version.
#define VERSION 5.0.2
#define VERSION 5.1.0
#endif // BC_VERSION_H

Loading…
Cancel
Save