Skip to content

Commit

Permalink
Version 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
szpajder committed Nov 7, 2020
1 parent fd68088 commit 0665caa
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
# ChangeLog

## Version 2.1.0 (2020-11-07)

* ADS-C: fixed incorrect computation of vertical speed threshold in contract
request messages.
* JSON: fixed a bug where an ASN.1 string containing a \0 character caused
truncation of JSON output. NULLs in strings are now replaced with \u0000
sequence.
* JSON: ASN.1 SEQUENCEs are now printed as JSON objects rather than arrays of
objects. It produces a simpler and more readable JSON structure. The change
applies to all ASN.1 types formatted with
`la_asn1_format_SEQUENCE_cpdlc_as_json` function. Refer to
`asn1-format-cpdlc-json.c` file for a full list.
* JSON: added `json_append_octet_string_as_string` function which prints the
contents of the given byte buffer as a JSON string rather than as a list of
numeric values.
* JSON: added a bunch of new functions for formatting basic ASN.1 types. Now we
have them all in libacars. Before that they were scattered between libacars
and dumpvdl2.
* JSON: deprecate `la_json_append_long` function. A more portable version named
`la_json_append_int64` shall be used instead.
* Small bugfixes, code cleanups.

## Version 2.0.1 (2020-08-24)

* Fixed a bug causing FANS1/A ErrorInformation message elements to be decoded
incorrectly

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project (libacars C)

set (LA_VERSION_MAJOR 2)
set (LA_VERSION_MINOR 1)
set (LA_VERSION_PATCH 0pre)
set (LA_VERSION_PATCH 0)
set (LA_VERSION "${LA_VERSION_MAJOR}.${LA_VERSION_MINOR}.${LA_VERSION_PATCH}")
set (LA_SUBDIR "${PROJECT_NAME}-${LA_VERSION_MAJOR}")

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

libacars is a library for decoding ACARS message contents.

Current stable version: **2.0.1** (released August 24, 2020)
Current stable version: **2.1.0** (released November 7, 2020)

## Supported message types

Expand Down Expand Up @@ -151,8 +151,8 @@ Refer to the following documents:
## Applications using libacars

- [dumpvdl2](https://github.com/szpajder/dumpvdl2), a VDL-2 decoder
- [acarsdec](https://github.com/TLeconte/acarsdec/), an ACARS decoder
- [vdlm2dec](https://github.com/TLeconte/vdlm2dec), a VDL-2 decoder
- [acarsdec](https://github.com/TLeconte/acarsdec/), an ACARS decoder
- [JAERO](https://github.com/jontio/JAERO/), a Satcom ACARS decoder

## Credits and thanks
Expand Down Expand Up @@ -187,7 +187,6 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Contains code from the following software projects:

- Rocksoft^tm Model CRC Algorithm Table Generation Program V1.0
Expand All @@ -199,6 +198,7 @@ Contains code from the following software projects:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
Expand All @@ -217,7 +217,6 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.


Packaged releases for Windows include zlib library in binary DLL form.
zlib data compression library, (C) 1995-2017 Jean-loup Gailly and Mark Adler.

Expand Down

0 comments on commit 0665caa

Please sign in to comment.