Skip to content

leshan-1.0.0-M12

Choose a tag to compare

@sbernard31 sbernard31 released this 23 Aug 12:36
· 1386 commits to master since this release

Build artifacts are available on maven central.

Noteworthy

Cleaning Bootstrap Server API.
Make Bootstrap Server more customizable.
Add support of object version at Server side.
Integration of Californium 2.0.0-M16.

Notable API/behavior break

  1. leshan-all project was removed (#683)
  2. Redis store implementation are moved in a leshan-redis-server project (#679)
  3. Old TLV/JSON code is not supported by default anymore (#720)
  4. No more magic conversion by default at encoding time (#710)
  5. With new object versioning, only model reported in registration are used, you can keep the old behavior like this.
  6. Lot of bootstrap server API break, mainly renaming (#713)

Known Issue :

#757: Memory leak in DTLS Connection Store.

Change logs

43c3167: Clean CoAP root resources
91f4a83: Use VersionedModelProvider in leshan-server-demo
c8553cf: Add VersionedModelProvider, it adds object versioning support for server
fe8512e: Add LwM2mModelRepository, it can contain several version of same object
a8580a2: Make LwM2mModel an interface. Concrete class is now StaticModel
cad7db0: #679: Extract Redis store from server-cluster to new server-redis
0624fe7: #683: Remove leshan-all maven project.
3516342: Add BootstrapSession param to BootstrapConfigStore.get()
831ad40: Use serverIdentity instead of Identity for log at client side
ca15e3d: Enhance the way we handle InvalidRequest from foreign peer.
680ee7d: Do not do type conversion at encoding time by default anymore.
5e344d3: Add a way to use custom encoder/decoder at bootstrap server side
13cc434: Remove support of old TLV/JSON code by default.
ae3f4c2: Add a way to use custom encoder/decoder at client side
ea62317: use MAX_TRANSMIT_WAIT from NetworkConfig as client awake time by default
ecf87fa: Add a new DefaultEndpointFactory
3f0e136: Add bootstrapSession parameter to Success and failure callback
d3ab4e0: Start to send bootstrap requests after we send bootstrap response.
dc1a4c8: Remove unnecessary executor in DefaultBootstrapHandler
405556b: Stop Bootstrap session on unexpected exception.
0e924e0: clean logs in DefaultBootstrapHandler - fix log config of bsserver-demo
c531e0b: Add some tests about concurrent bootstrap session.
a31b76c: Add lifetime to session.
717ffc9: Avoid to handle 2 bootstrap session at the same time.
22fbc99: Add a way to customize behavior on failure during a bootstrap session
f8cb8d2: Add request/response callbacks on BootstrapSessionManager.
5164c6d: Integration of Californium 2.0.0-M16
4936443: #712: Reset timer even if we already "awake" in queue mode.
d0de9db: Fix unwanted warning when creating server without secure CoAP endpoint.
91d30d1: BS Builder now create an InMemoryBoostrapConfigStore by default.
7eef1c9: Rename BootstrapSecurityStoreImpl in BootstrapConfigSecurityStore.
45d79c6: Rename methods from BoostrapConfigStore to make it more consistent.
60e9c90: Make JSONFileBootstapStore thread safe
fd82ac1: Rename BootstrapStoreImpl in JSONFileBootstrapStore.
644d931: Create EditableBoostrapConfigStore and InMemoryBootstrapConfigStore.
37a8ef5: Rename BootstrapStore in BootstrapConfigStore
3899a90: Rename ConfigurationException in InvalidConfigurationException
27c449b: Move ConfigurationException in its own class.
39813b8: Make ConfigurationChecker dynamic.
10a1c57: Move ConfigurationChecker from server-demo to server-core
a6373e9: Add identity to log about bootstrap failure
964e8fa: Fix inconsistent log level in DefaultBootstrapHandler
3d2bb49: Fix typo in ServersInfo : deviceMangements <=> deviceManagements
f374b11: Fix NPE at client side: server.getUri() failed for unknown host
23707da: Bootstrap server does not need to initiate DTLS Handshake
df53c51: Add getters for endpoints to CoAP LeshanServer API.
850cc93: Use new sandbox url in Leshan client.
11b7ec2: #701: fix bootstrap retry on failure.
98d0b5e: #699 : Fix NPE when bootstrap write instance at client side
abe036f: Integration of Californium 2.0.0-M15
f3395c5: Clean BootstrapServer JavaDoc.
9732665: Make easier to create custom LeshanBootstrapServer.
282234b: Make every part of LeshanBootstrapServer replaceable.
435232b: Add coap() method to access to CoapAPI to bootstrapServer
b57fb4d: Remove warning as the limitation does not exist anymore. (see #87)