Skip to content

Commit 24fa68f

Browse files
committed
Release v3.0.0
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
1 parent 319bd65 commit 24fa68f

File tree

3 files changed

+89
-2
lines changed

3 files changed

+89
-2
lines changed

CHANGELOG

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,90 @@
1+
v3.0.0
2+
------
3+
4+
14 February 2024
5+
6+
This Major release bring rust support, CP state machine cleanups, API cleanups,
7+
and many other enhancemtns and fixes.
8+
9+
Enhancements:
10+
- Add rust support (single entry for 80+ patches)
11+
- Rewrite osdpctl in rust (single entry for many patches)
12+
- chore: Update copyright year to 2024
13+
- python: vendor LibOSDP sources when packaging
14+
- python: Remove code referring to CMakeLists.txt version
15+
- API, python: Add LED color constants from v2.2 of the spec
16+
- doc: Update top-level README.md
17+
- libosdp: cp: Move keyset completion handler to get_next_ok_state()
18+
- tests: pytest: Add install_mode SCBK set test
19+
- libosdp: Unify StatusReport query and event structs
20+
- libosdp: cp: Move functionality away from command builders
21+
- pytests: Remove timeout from CP status test
22+
- python: Adapt to changes to status event/command handling
23+
- libosdp: Rework status command and event handling
24+
- libosdp: cp: Reword event callback mechanism to use requests
25+
- libosdp: Permit REPLY_COM response for CMD_COMSET
26+
- rust: Add method to make a pair of unix channels
27+
- libosdp: Split events data maxlen macro as we have for commands
28+
- libosdp: Reduce command/event pool size
29+
- python: Add a get_file_tx_status() for PD
30+
- test: unit-test: Add command and event callback logging for file tx command
31+
- pyosdp: Move set_log_level() to be module method
32+
- tests: unit-tests: Add initial skeleton for command test
33+
- libosdp: cp: Rework CP state machine
34+
- libosdp: cp: Remove some more master key related code
35+
- libosdp: cp: Move call to cp_cmd_free into cp_translate_cmd
36+
- libosdp: cp: Add BUG() macro and call for file TX cmd translate
37+
- libosdp: cp: Decouple internal and external command queue
38+
- cmake: utils,samples: Bump minimum required version
39+
- libosdp: CP: Lower comeset reply log level to info
40+
- libosdp: API: Do not indiate SC active when using SCBK-D
41+
- libosdp: phy: Also ignore commands with PD address.MSB set
42+
- libosdp: phy: Ignore reply with PD address.MSB cleared
43+
- Increasing the max data contained in an OSDP enevt to 128bytes
44+
- utils: Bump submodule to latest commit
45+
- doc: Add some notes about make build
46+
- libosdp: API: Remove osdp_set_command_complete_callback
47+
- libosdp: Set PD address to 0x7F for broadcast packets
48+
- libosdp: API: common: Increase PD offline status timeout to 600ms
49+
- scripts: Unify release generation scripts into one place
50+
- rust: Add workaround for osdp_config.h.in copy to OUT_DIR
51+
- rust: cp: Add support for the new status command
52+
- libosdp: cp: Add different query options for OSDP_CMD_STATUS
53+
- libosdp: cp: Refactor API command handling (translating) logic
54+
- python: Update README.me and samples after testing
55+
- python: osdp: pd: Add support sc_wait() method
56+
- python: osdp: Add support for non-blocking get_{command,event}
57+
- cmake: Remove python/ subdirectory from chain
58+
- python: Merge test/pytest/testlib as main python package
59+
- libosdp: const-annotate some more public API
60+
- libosdp: Const-ize parameters of exposed methods
61+
- libosdp: Remove deprecated methods tree-wide
62+
- libosdp: Add support for Magenta and Cyan LED colors
63+
- libosdp: Demote osdp_logger_init to a macro alias
64+
65+
Fixes:
66+
- utils: Bump submodule to fix build failure due to VLA
67+
- Fix regression in Rust binding. Commit
68+
51b626c94bc39242f9793c916471bdadafe24679 increased buffer size to 128
69+
bytes. Adjust binding accordingly.
70+
- make: Fix configure.sh for linux
71+
- libosdp: Fix warnings that break rust build
72+
- utils: Bump submodule to fix log line termination issue
73+
- libosdp: phy: Fix PACKET_TRACE command byte offset
74+
- libosdp: phy: Fix packet trace mark byte logging
75+
- doc: security: Update doc to have latest info; fix a typo
76+
- libosdp: cp: Fix broken keyset for an install_mode PD
77+
- CP: API: Fix callback signature in cpp header
78+
- python: osdp_sys: fix memory leak in pyosdp_add_pd_cap
79+
- pytest: Fix run.sh to be invokable from other dirs
80+
- python: Fix pd_info builder after const qualification of info->cap
81+
- src/osdp_common.c: waring: _GNU_SOURCE redefined
82+
- utils: version bump - pickup fixes for gcc warnings/errors
83+
- unit-test: Fix broken build due to old API drop changes
84+
- Fix potential null pointer deref at LOG_* call site
85+
- cp: disallow unexpected SC responses
86+
87+
188
v2.4.0
289
------
390

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
88
cmake_policy(SET CMP0063 NEW)
99

10-
project(libosdp VERSION 2.4.0)
10+
project(libosdp VERSION 3.0.0)
1111

1212
set(PROJECT_AUTHOR "Siddharth Chandrasekaran")
1313
set(PROJECT_AUTHOR_EMAIL "[email protected]")

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import subprocess
1212

1313
project_name = "libosdp"
14-
project_version = "2.4.0"
14+
project_version = "3.0.0"
1515
current_dir = os.path.dirname(os.path.realpath(__file__))
1616
repo_root = os.path.realpath(os.path.join(current_dir, ".."))
1717

0 commit comments

Comments
 (0)