You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Manual triggered GitHub action to build a distribution binary of the Python integration driver and attach it to a release draft including a hash file
2
+
---
3
+
name: "Build & Draft Release"
4
+
5
+
on:
6
+
workflow_dispatch:
7
+
push:
8
+
branches: dev
9
+
10
+
env:
11
+
INTG_NAME: requests
12
+
# Python version to use in the builder image. See https://hub.docker.com/r/unfoldedcircle/r2-pyinstaller for possible versions.
13
+
PYTHON_VER: 3.11.6-0.2.0
14
+
15
+
jobs:
16
+
build:
17
+
name: Build Release
18
+
runs-on: ubuntu-latest
19
+
#Save version to env output variable to be able to use it in the following release job as a tag
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-1
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## Unreleased
9
9
10
+
*Changes in the next release*
11
+
12
+
### Breaking changes
13
+
-**🎉 This integration can now also run on the remote. From now on each release will have a tar.gz file attached that can be installed on the remote** (see [Run on the remote as a custom integration driver](/README.md#Run-on-the-remote-as-a-custom-integration-driver))
14
+
- ⚠️ Running custom integrations on the remote is currently only available in beta firmware releases and requires version 1.9.2 or newer. Please keep in mind that due to the beta status there are missing firmware features that require workarounds (see link above) and that changes in future beta updates may temporarily or permanently break the functionality of this integration as a custom integration. Please wait until custom integrations are available in stable firmware releases if you don't want to take these risks.
15
+
- When running as an external integration driver the working directory when starting driver.py should now be the root of the repository. The path in docker-entry.sh has been adjusted. The configuration json file is therefore now created in the root of the integration directory. Existing users have to move config.json from the intg-requests directory
16
+
17
+
### Added
18
+
- Support for HTTP delete and head requests
19
+
- Support for adding json or xml payload data to a http request (see [Adding payload data](/README.md#adding-payload-data))
20
+
- Added an option to ignore HTTP requests errors and always return a OK/200 status code to the remote. Helpful if the server doesn't send any response or closes the connection after a command is received (fire and forget). The error message will still be logged but at debug instead of error level
21
+
- The wake-on-lan entity now supports an ipv4/v6 address or a hostname (ipv4 only) as a parameter when running as an external integration
22
+
- This feature is not supported when running the integration on the remote due to sandbox limitations
23
+
- Discover the mac address from an ip address or a hostname may not work on all systems. Please refer to the [getmac supported platforms](https://github.com/GhostofGoes/getmac?tab=readme-ov-file#platforms-currently-supported). Docker containers need to be run in the host network (`--net=host`)
24
+
- Add build.yml Github action to automatically build a self-contained binary of the integration and create a release draft with the current driver version as a tag/name
25
+
26
+
### Changed
27
+
- Due to the custom integration driver upload feature setup.json has been renamed to driver.json and moved to the root of the repository
28
+
- Add custom user agent for http requests (uc-intg-requests)
29
+
- Corrected the semantic version scheme in driver.json (x.x to x.x.x)
30
+
31
+
32
+
10
33
## [0.2-beta] - 2024-06-26
11
34
12
35
### Breaking changes
@@ -16,11 +39,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
39
17
40
- Added a more granular http status code response handling
18
41
- Added optional parameter to send form data in the request body as key/value pairs (see README)
19
-
- Added optional custom global entity-independent timeout and ssl verify option in the integration setup. For self signed ssl certificates to work the ssl verify option needs to be deactivated.
42
+
- Added optional custom global entity-independent timeout and ssl verify options in the integration setup. For self signed ssl certificates to work the ssl verify option needs to be deactivated.
20
43
21
44
### Changed
22
45
- Only return an error response to the remote if the http response code is in the 400 or 500 range. Otherwise display the status code in the integration log if it's not 200/Ok
0 commit comments