Skip to content

Commit caf540c

Browse files
authored
Release cleanup (#104)
Updates version numbers, README.md documentation links, and adds C++ guards in core_json.h.
1 parent 9066f2c commit caf540c

35 files changed

+64
-33
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ jobs:
113113
uses: FreeRTOS/CI-CD-Github-Actions/memory_statistics@main
114114
with:
115115
config: .github/memory_statistics_config.json
116-
check_against: docs/doxygen/include/size_table.html
116+
check_against: docs/doxygen/include/size_table.md

.github/workflows/memory_statistics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
uses: actions/upload-artifact@v2
2020
with:
2121
name: size_table
22-
path: size_table.html
22+
path: size_table.md

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log for coreJSON Library
22

3+
## v3.0.2 (July 2021)
4+
- [#100](https://github.com/FreeRTOS/coreJSON/pull/100) Fix overflow in skipOneHexEscape().
5+
- [#95](https://github.com/FreeRTOS/coreJSON/pull/95) Eliminate warnings when base char type is unsigned.
6+
- [#93](https://github.com/FreeRTOS/coreJSON/pull/93) Wrap query key separator macro with ifndef.
7+
38
## v3.0.1 (February 2021)
49
- [#86](https://github.com/FreeRTOS/coreJSON/pull/86) Fix MISRA 9.1 violation.
510
- [#84](https://github.com/FreeRTOS/coreJSON/pull/84), [#82](https://github.com/FreeRTOS/coreJSON/pull/82) and [#80](https://github.com/FreeRTOS/coreJSON/pull/80) Documentation updates and fixes.

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains the coreJSON library, a parser that strictly enforces t
44

55
This library has gone through code quality checks including verification that no function has a [GNU Complexity](https://www.gnu.org/software/complexity/manual/complexity.html) score over 8, and checks against deviations from mandatory rules in the [MISRA coding standard](https://www.misra.org.uk). Deviations from the MISRA C:2012 guidelines are documented under [MISRA Deviations](MISRA.md). This library has also undergone both static code analysis from [Coverity static analysis](https://scan.coverity.com/), and validation of memory safety through the [CBMC automated reasoning tool](https://www.cprover.org/cbmc/).
66

7-
See memory requirements for this library [here](https://docs.aws.amazon.com/embedded-csdk/202103.00/lib-ref/libraries/standard/coreJSON/docs/doxygen/output/html/index.html#json_memory_requirements).
7+
See memory requirements for this library [here](./docs/doxygen/include/size_table.md).
88

99
**coreJSON v3.0.0 [source code](https://github.com/FreeRTOS/coreJSON/tree/v3.0.0/source) is part of the [FreeRTOS 202012.00 LTS](https://github.com/FreeRTOS/FreeRTOS-LTS/tree/202012.00-LTS) release.**
1010

@@ -68,7 +68,19 @@ gcc -I source/include example.c source/core_json.c -o example
6868
gcc -I source/include -c source/core_json.c
6969
```
7070

71-
## Generating documentation
71+
## Documentation
72+
73+
### Existing documentation
74+
For pre-generated documentation, please see the documentation linked in the locations below:
75+
76+
| Location |
77+
| :-: |
78+
| [AWS IoT Device SDK for Embedded C](https://github.com/aws/aws-iot-device-sdk-embedded-C#releases-and-documentation) |
79+
| [FreeRTOS.org](https://freertos.org/Documentation/api-ref/coreJSON/docs/doxygen/output/html/index.html) |
80+
81+
Note that the latest included version of the coreJSON library may differ across repositories.
82+
83+
### Generating documentation
7284

7385
The Doxygen references were created using Doxygen version 1.8.20. To generate the
7486
Doxygen pages, please run the following command from the root of this repository:

docs/doxygen/config.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "coreJSON"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = "v3.0.1"
41+
PROJECT_NUMBER = "v3.0.2"
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

docs/doxygen/pages.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and no heap allocation, making it suitable for IoT microcontrollers, but also fu
1212
@section json_memory_requirements Memory Requirements
1313
@brief Memory requirements of the JSON library.
1414

15-
@include{doc} size_table.html
15+
@include{doc} size_table.md
1616

1717
@section json_design Design
1818
@brief JSON Library Design

lexicon.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ keylength
6464
len
6565
longjmp
6666
mainpage
67+
md
6768
microcontrollers
6869
min
6970
misra

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name : "coreJSON"
2-
version: "v3.0.1"
2+
version: "v3.0.2"
33
description: |
44
"A parser strictly enforcing the ECMA-404 JSON standard, suitable for microcontrollers. \n"
55
license: "MIT"

source/core_json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* coreJSON v3.0.1
2+
* coreJSON v3.0.2
33
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a copy of

0 commit comments

Comments
 (0)