This repository was archived by the owner on Sep 1, 2024. It is now read-only.
Releases: Cryptkeeper/liblorproto
Releases · Cryptkeeper/liblorproto
v4.0.1
v4.0.0
Breaking API changes:
- The library has been renamed liblorproto to avoid potential naming concerns in the future. This includes an updated GitHub repository URL, include path (e.g.
lorproto/easy.h
) and library definitions (e.g.LIBLORPROTO_VERSION_STRING
). No types or functions have been renamed.
Other changes:
- Adds additional asserts in debug builds for validating argument functions.
v3.2.0
Breaking API changes:
- Non-easy.h usage of time encoding APIs (
lorTimeToSeconds
,lorSecondsToTime
andlorAppendTime
) have been replaced with a more correct API that calculates time values according to the change in intensity. SeelorGetFadeTime
usage in the common methods example code.
v3.1.1
- Improved
LOR_FORMAT_SINGLE
type detection and error handling inlorGetChannelSetFormat
- Added test coverage to intensity curve functions and
lorGetChannelSetFormat
- Improved
compress.h
test coverage
v3.1.0
Adds a new compress.h
API for utilizing LOR-specific multi-channel bulk updating.
v3.0.1
Fixes a bug when encoding durations that would result in one-byte encoded values being wrongly encoded with increased durations.
v3.0.0
Breaking Changes
- Updated encoding methods now write to a
struct LorBuffer *
parameter to for write bounds tracking. The caller should allocate a block of memory (e.g.malloc(64)
) and provide the memory allocation to liblightorama by obtaining a LorBuffer vialorBufferInit(mem, memSize)
. This call does not allocate internally. Thestruct LorBuffer
value will retain the allocation for use in "lorAppend*" function operations. The caller must then read/copy/send this memory allocation as desired (and free the allocation when required). - Function names are now camelCase and usage of "Encode" has been replaced with "Append", e.g.
lor_encode_channel_effect
is nowlorAppendChannelEffect
.
v2.6.0
Breaking Changes
uint8_t
anduint16_t
defined incoretypes.h
have been prefixed withlor_
to avoid collisions withstdint.h
and other popular headers
v2.5.0
Additions
- Added new
lor_is_effect_eq
function for comparing effects and metadata; includes expanded test coverage - New
model.h
helper functions have been added using a new python3 script for generating the files; includes expanded test coverage
Fixes
- Fixed a scaling issue in the
lor_intensity_curve_vendor
function
Improvements
- Reduced cross-header inclusions and removed usage of
stdint.h
via newcoretypes.h
v2.4.0
- 1b5cbf5 fix invalid
lor_read_time
returns, add new test coverage - a3ca315 (origin/main) enable stricter compiler options, fix ISO C90 compat
- 68d4fef add ByteGenMacro.md experiment note
- 4b800bd Merge branch 'main' of https://github.com/Cryptkeeper/liblightorama
- 96a350e fix
easy.h
not included in CMake install option - aa63e70 chore: fix type name typo in README
- 1638b00 add: support for complex effects (see
lor_write_complex_effect
)