Skip to content

leshan-1.0.0-M11

Compare
Choose a tag to compare
@sbernard31 sbernard31 released this 18 Apr 15:45
· 1339 commits to master since this release

Build artifacts are available on maven central.

Noteworthy

Add support of active observe cancellation.
Add support of OPAQUE type for text format. (#675)
Integration of Californium 2.0.0-M14.
Delete request sent by bootstrap server is now customizable in BootstrapConfig.
Bootstrap behavior is now easier to customized as you can implement your own BootstrapHandler.
Enhance client API (add callback on delete, atomic read/write/observe at instance level, custom instance id ...).
Clean client ObjectInitializer API.

Thx to @davideicardi for the OPAQUE support contribution 🙏 !

Notable behavior break

  1. Before this release a bootstrap server always started a bootstrap with a delete "/". It depends of BootstrapConfig content. (see #670)
  2. ObjectInitializer does not create instance automagically anymore. (#642)

Known Issue :

#757: Memory leak in DTLS Connection Store.
#685: Trying to destroy() a "not running" instance (client, server or bs server) will not stop internal coap server.
#712: Issue with presence service (Queue mode) at server side.

Change logs

d7fb3f1: Fix Client.getRegistrationId() which always returned null ...
f3be830: "client destroy" should destroy client even if client is not running.
8042fb4: Link.java cleaning : add some javadocs + rewrite serialize method.
965d0e1: Workaround ByteBuffer binary backward compatibility break from Java 9
bff1ab4: Added OPAQUE text encoding/decoding, using base64
b76c670: leshan-bsserver-demo now delete only object /0 and /1
323a1bf: Add some integration tests about "bootstrap delete"
ea2e70b: #670: Add a way to choose which instances to delete to BootstrapConfig
be20408: Make easier to custom start & stop bootstrap in DefaultBootstrapHandler
4ffc79c: Add a way to customize request timeout of DefaultBootstrapHandler
2fdcdfb: Make DefaultBootstrapHandler easier to extend
1d49b5d: Make BootstrapHandler as an interface and add DefaultBootstrapHandler
1d8fdd7: Add a way to use a custom bootstrap handler
e0d0ead: #647: make Registration.class serializable again.
e3aea30: #647: ensure our serializable classes keep serializable.
be1c51f: Update README: use new sandbox URL : leshan.eclipseprojects.io
eb75fc8: Workaround build issue eclipse-californium/californium#910
d9d2e4c: #404: Add ACL to bootstrap server
366f044: Add support of active cancel observation request at server side.
d00ad25: Integration of Californium 2.0.0-M14
2f0f94e: Integration of Californium 2.0.0-M13
7350b42: Fix regression in client demo introduce with 05cd0b3
05cd0b3: Do not create instance for single object implicitly.
120d7eb: Create a real "simple" and "dummy" instance enabler.
d4c09ad: Do not create dummy object implicitly
cf4114b: add a createAll methods to ObjectInitializer.
1f8b817: #637: add callback on instance deletion at client side
2fb88ab: #597:add a way to do atomic read/write/observe at instance enabler level
953ccd5: add ServerIdentity to read/write/execute/observe/create for consistency
1b1d9f7: The spec does not say that you can not create instance for single object
ea81b37: #597: add a way to choose the instance id at client side.
b365633: Fix client side : create right server identity type in EndpointsManager
f315c66: Fix #627 : set CoAP request path for Bootstrap Delete Request