Skip to content

leshan-2.0.0-M5

Compare
Choose a tag to compare
@sbernard31 sbernard31 released this 21 Oct 12:58
· 609 commits to master since this release

❗☠️❗ Affected by security issue❗☠️❗

Build artifacts are available on maven central.

People who are using x509 and/or RPK with Leshan v2.0.0-M1 to v2.0.0-M4 MUST upgrade to 2.0.0-M5 version for security reason.

Fifth development release targeting LWM2M 1.1, see LWM2M 1.1 supported features.
⚠️ As a milestone release keep in mind API could/will be broken in next milestone.

If you are interested in LWM2M 1.1 support in Leshan, we strongly advice to :

This is the best way to get a final 2.0.0 release which fits your needs.

Noteworthy

  • Add Composite-Observe Operation (#1034)
  • Add Observe to resource instance level (#1041)
  • Improved Link API to make it more compliance with rfc6690 (#1022)
  • Modernize CLI interface of our demos (#569, #568)
  • Add Send Operation support to client and server demos (#1110, #1086)
  • Add Multi-Instance Resource UI to server demos (#1095,#1100,#1101,#1102)
  • Add LwM2m Test Object (Id:3441) to Leshan demos (#1093)
  • Some enhancement about x509 (#1052, #1081)
  • Integration of Californium 3.0.0-RC1. which fixes ⚠️ CVE-2021-34433

Many thanks to @Michal-Wadowski (Observe-Composite / Link Parsing enhancement) and @joachifm (#1087) for their contributions. 🙏 !

Known Issue 🐛 :

#1140: leshan-server-redis lost available instances information from registration.
#1155: LwM2mResourceInstance.newInstance does not support UNSIGNED_INTEGER.

Change logs

5060e84: #1022: Improved Link API to make it more compliance with rfc6690.
b6528f3: #915: Add support of empty multi instance resource to SenML format
64c0ba6: Integration of Californium 3.0.0-RC1
7ef2ded: Add LwM2m Test Object (Id:3441) to Leshan demos.
0232b4b: Add Send Operation Support to leshan-server-demo
87baa6e: Upgrade yarn and node version
8c37b68: Upgrade dependencies to most recent version.
5c9b924: Upgrade to most recent version for Maven Plugins.
fa91fc4: Add license header to frontend code.
423f6cc: Updates WebApp demo dependencies
e101de6: Add Write operation UI for Multi-Instance resources in server-demo
bb87198: Add some more icons
922a4d7: Fix Resource control must not be hided for Executable resource
94be488: Add R/W/OBS operation for resource instance to Leshan Server Demo
c3ee8af: Add resource instance support to JSON (de)serializer of server-demo
c27c118: Refactor resource inputs to make easier to add Resource Instance Write
8910784: Clean vue component file hierarchy of server-demo webapp
5c1c938: Add better display of resource description and multi instance values.
8ef57e5: Add simple support of Read/Observe of resource multi instance
e189243: Guess server port if not provided to client-demo for default value too
a24bbe3: #1081:serverdemo set dtls server-only if cert doesn't support clientauth
869b564: Add a --queue-mode option to leshan client demo.
7f045e9: If leshan client use QueueMode set dtls connector as clientOnly
ee21bca: #1081: client set as dtls client-only if cert doesn't support serverauth
4bea97f: Add check about certificate to leshan client BootstrapConsistencyChecker
c8ef0a6: Add Send command to leshan-client-demo.
13c4784: Use 2 short internally instead of String in Version class.
36e0b64: #1080: Add version param to "create" command of leshan-client-demo
ce95967: Add getModel() to LwM2mModelRepository
c744698: Add a get for the most recent version of an Object in a LwM2m repository
00aed3a: Add LwM2mVersion class and use Version as a more generic one.
515a510: Enhance error message about type matching in LwM2mSingleResource.
4414aa9: Remove credentials display at leshan-client-demo start-up.
a63e703: Guess server url port if not provided to leshan-client-demo
d25d090: Fix #1088: make sendData actually use timeoutInMs parameter
09a7e30: Fix logback-config of leshan-client-demo.
f047032: Make short Validation and compare consistent by using short everywhere
ec5ce9d: Fix Version validation message
f1aab7a: Fix Delete Object Enabler command in demo : Object 1 can not be deleted
093612c: Fix some issues about Add "Observe resource instance" support
71858d7: Remove Version class replaced by LeshanProperties in 8a866f2
33f200b: Fix can_composite_observe_on_multiple_resources Test.
ab12d08: Reduce decoding overhead with passing path list via user context in ObserveCompositeRelationFilter
26ef844: Add integration tests about Cancel Observe Composite
49a3176: Add active Cancel Composite-Observation feature
578c284: Refactor Observation request & response content format
84293b2: Add integration tests about Observe-Composite
5767475: Add client side Observe Composite feature
2ba5811: Add server side Observe Composite feature
2a39eba: Add Single/Composite Observation, ObserveComposite Request/Response classes.
594cc5c: Add integration tests about "Observe Resource Instance" support.
bd20129: Add "Observe Resource Instance" support at Server side.
e979aeb: Add "Observe Resource Instance" support at Client side.
ed48136: Refactoring to allow to fire resource instance changes at client side.
543d8e2: Improve default implementation of BaseInstanceEnabler.write()
9d33ce9: Add missing checks about resource instance to WriteRequest constructor
8a866f2: Add version option (--version) to all demos.
3e7505b: Add verbose option (-v, -vv, -vvv) to all demos.
12a30f0: Create common StandardHelpOptions shared by all demos
720b8a8: Remove ExecutionExceptionHandler HACK by a proper way.
9496ede: server-demo : Fix additional attributes bad key/value order.
434e9bc: Some pom.xml cleaning
bc740a4: Fix NPE in ObjectLoader.loadObjectsFromDir(File)
23a9eba: Activate LOG of LwM2mModelRepository for leshan-bsserver-demo.
48b6516: #568: Add color to logback log for leshan-bsserver-demo
a92ddff: Share TruststoreConverter between all demos.
ab2ee12: Shared Option definition between bsserver and server demo
73c416e: leshan-bsserver-demo must validate external models (from -m option)
96bec8f: #569 : Replace Apache commons-cli by picocli in leshan-bsserver-demo
eeb8907: Share CIDConverter code between demos.
d4f7259: Create a "leshan-server-core-demo" project to share servers demo code.
9d4b645: #568: Add color to logback log for leshan-server-demo
b24622f: #569 : Replace Apache commons-cli by picocli in leshan-server-demo
89ad54f: Fix NPE in ExecutionExceptionHandler
b73cdc9: Move CLI utility classes in leshan-core-demo to be reused by other demos
c858e0c: Create a "leshan-core-demo" project to share demo code.
3c25b85: Integration of Californium 3.0.0-M4
55984dc: Use picocli ANSI color heuristic for logback
fa39fed: Add color to logback log for leshan-client-demo
6ea0b6a: Implement the InteractiveCLI using Jline2 and picocli
2e2c095: Extract Interactive CLI code in a dedicated class (leshan-client-demo)
bbcf7d1: switch from simple log4j to logback
bd275a8: #569 : Replace Apache commons-cli by picocli in leshan-client-demo
4cc7ce9: Change annotation and array formatter.
f262845: Remove TestData which was introduce by mistake with c9eee50 (again)
6573078: Integration of Californium 3.0.0-M3
1602577: Remove TestData which was introduce by mistake with c9eee50
c68bfe5: Fix unintended level log change from introduce with cf-3.0.0-M2
83a3f2b: #1052 : Do not check hostname/ipaddress for "domain-issued certificate"
02873ac: #1050 : update default demo certificate. CN is now equals to localhost.
957c279: Integration of Californium 3.0.0-M2