Skip to content

Commit

Permalink
Bump version to v3.1.0 (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot authored May 9, 2024
1 parent 51d580b commit 59ae473
Show file tree
Hide file tree
Showing 43 changed files with 88 additions and 80 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog for coreHTTP Client Library

## v3.1.0 (May 2023)
- [#176](https://github.com/FreeRTOS/coreHTTP/pull/176) Update llhttp to v6.1.1. Update CMock to v2.5.3.
- [#174](https://github.com/FreeRTOS/coreHTTP/pull/174) MISRA C:2012 compliance update
- [#173](https://github.com/FreeRTOS/coreHTTP/pull/173) Add on_status_complete callback
- [#167](https://github.com/FreeRTOS/coreHTTP/pull/167) Expose HTTPClient_SendHttpData, HTTPClient_SendHttpHeaders and HTTPClient_ReceiveAndParseHttpResponse for enhanced usability
- [#164](https://github.com/FreeRTOS/coreHTTP/pull/164) Support http request without HTTP_USER_AGENT_FIELD
- [#159](https://github.com/FreeRTOS/coreHTTP/pull/159) Handle upgrade header
- [#151](https://github.com/FreeRTOS/coreHTTP/pull/151) Update doxygen to v1.9.6

## v3.0.0 (October 2022)

Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/config.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = coreHTTP
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v3.0.0
PROJECT_NUMBER = v3.1.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "coreHTTP"
version: "v3.0.0"
version: "v3.1.0"
description:
"Client implementation of the HTTP/1.1 specification for embedded devices."
license: "MIT"
Expand Down
4 changes: 2 additions & 2 deletions source/core_http_client.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_http_client.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_http_client_private.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_http_config_defaults.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
2 changes: 1 addition & 1 deletion source/interface/transport_interface.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* coreHTTP v3.0.0
* coreHTTP v3.1.0
* Copyright (C) 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Project information.
cmake_minimum_required ( VERSION 3.13.0 )
project ( "coreHTTP tests"
VERSION 3.0.0
VERSION 3.1.0
LANGUAGES C )

# Allow the project to be organized into folders.
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/callback_stubs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/core_http_config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/get_time_stub.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/http_cbmc_state.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/transport_interface_stubs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/HTTPClient_Send/HTTPClient_Send_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/sources/http_cbmc_state.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/HTTPClient_ReadHeader_llhttp_execute.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/HTTPClient_Send_llhttp_execute.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/callback_stubs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/get_time_stub.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/httpHeaderStrncpy.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/memmove.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/strncpy.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/stubs/transport_interface_stubs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/unit-test/core_http_config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/unit-test/core_http_send_utest.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/unit-test/core_http_utest.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* coreHTTP v3.0.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* coreHTTP v3.1.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down

0 comments on commit 59ae473

Please sign in to comment.