Skip to content

Releases: eclipse-leshan/leshan

leshan-1.0.0-M1

13 Feb 16:41
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Main changes are :
#192 Merge of Client and Observation registries
#225 support new Content-Format code for TLV/Json
#144 Make naming more consistent

Change logs:
ff2b1c8: Existing observations clean-up
43f4182: Clean addRegistration javadoc
008fc12: complete javadoc : add timeoutexception on lwm2mserver.send()
9d36a5f: Spelling fixes
df8c842: Use SecurityMode instead of magic numbers
9749354: Javadoc error fixes
f261f4f: Remove redundant type arguments
78c438a: Remove unnecessary semicolons
7b49f70: Remove unnecessary casts and warn about them
59b38a9: Make naming consistent (remove Client as we are in client project)
68fdd50: Delete "client" package (move classes in "registration" package)
4020369: Remove unused classes
0fbd090: Rename CaliforniumObservationTest in ObservationServiceTest
8749645: Rename ClientSortObjectTest in RegistrationSortObjectLinksTest
b1da287: Move ObserveSpecParserTest from leshan-client-core to leshan-core
f262300: Remove unnecessary "final" keyword
85e2def: code formatting : format "all line" instead of "edited line"
6203018: Do no create default SecurityStore
f7943cf: Fix config verify messages in RPK and X509 modes
98c9374: Spelling fixes
a4e4fe6: Use InvalidRequestException in ObservationService
84957fb: Update exception handling javadoc of LwM2mServer.
2a0a03e: Throw InvalidResponseException instead of IllegalArgumentException
521bf72: Remove ResourceAccessEx... and enhance server-demo exception handling
8cdb7b5: Create a new InvalidResponseException
fa16c12: Use try-with-resources more
05f9bc0: Zero pad hex encoded bytes in UI
3ee3c21: Add missing @OverRide annotations and warn about them
5aaef6a: Made executors configurable.
7da9fba: remove unused attributes
2036cd9: Remove send with ticket API
7fffadf: Update LwM2Mserver Javadoc.
774b4c3: Add tests : check that CodecException is raised when sending bad payload
daba913: Clean encoder exception handling
2bac473: change CodecException in "unchecked" Exception
961585d: Clean decoder exception handling
04ae191: Remove getPath() to CodecException.
0ca405b: Rename InvalidValueException in CodecException
450abdc: add registration parameters for observations event
82e7c5f: Add observations cancelled on deregister event.
05d647d: RegistrationService.getAllRegistrations() returns an iterator
ca83975: RegistrationStore.getAllRegistrations() returns an iterator
70ce28b: Fix RegistrationStore.getRegistrationByAdress API and use it.
4e57846: Clean RegistrationServiceImpl intern API
5bbca50: #244: Throw UnsupportedOperationEx when encoding format is not supported
19de0ab: Add a test to check we handle error on notification
35d10e3: add toString() to Observation class
c7c25f5: #206 Add a way to handle exception on new notification
2d0a43b: Log exception which could occur during registration and update task
085dfb0: Use SecurityMode instead of hardcoded value
0e4c70d: Move SecurityMode from leshan-server-core to leshan-core
4d1af8d: Fix northbound API contentformat serialization for read/observe request
df1d16f: Remove TODO as we will not check content format on register request
5014323: Remove invalid TODO: 3/0/13 is now typed as Time, Time is unsigned int
9779ac0: Remove invalid TODO (we will not implement this)
995b4fd: Remove invalid TODO : parameters is validate in request constructor
c313f75: Remove code used to handle old bootstrap config.
eb91339: Clean registration tests : </0/0> should not be part of link format.
e11bf35: Rename LinkObject in Link to use the rfc6690 terminology
aa64da8: Rename getFormat in getContentFormat (API consistency)
76b6aa0: Remove bracket on single if+throw block
bdc31b0: Move null check in utility function
3f63359: Add test for invalid registration request.
6d632d4: Remove unnecessary check
8608768: Send BadRequest on InvalidRequestException
b1c4fcc: Add InvalidRequestException on Request constructor
b353b1c: Make registrationID parameter consistent between requests
841f3a5: Remove final keyword on method arguments for Requests.
1054f40: Removed LwM2mObservationStore interface and its implementations
3a213af: Create "leshan-core-cf" project.
55cf279: #225: Support new Content-Format code for TLV/Json
2826841: Remove current queue mode implementation.
65829d5: Add authorizer interface to allow custom LWM2M client authorization
a7a0b0b: Introduced RequestRejectException
ef85b74: Create an InMemorySecurityStore
67ec454: Move Startable, Stopable, Destoyable feature on the stores.
1e870ea: Rename SecurityRegistry in EditableSecurityStore.
b338532: Remove SecurityRegistry from the API, the real contract is SecurityStore
4fc59f1: Remove publicKey, privateKey, certificates from SecurityRegistry
063537a: Rename ObservationRegistry to ObservationService
daa5e4a: Remove addObservation from the ObservationRegistry API
64b2776: Bugfix extracting CN from x509.
a258b71: Rename Client in Registration (so clientUpdate, clientSerDes, ...)
cc2208d: Remove encoder/decoder attributes from LeshanServer
dc8b838: Remove RegistrationService from LeshanServer constructor
6cc8ccd: Rename ClientRegistryListener in RegistrationListener
a36f00e: Rename ClientRegistry in RegistrationService (implementation too)
32623d8: Remove RedisClientRegistry
4174500: Remove register/update/deregister from ClientRegistry interface.
a2fb1e2: #217: fix deadlock in registrationStore.
9ff2b9e: fixed humitidy minimum value to be float instead of string
7e30620: add some javadocs.
7881fc9: Add a test about registration and observe lifecycle
3dfd315: Returns obs on dereg in RedisRegistrationStore (+code rewritting)
7c9336c: Returns obs on dereg in InMemoryRegistrationStore (+code rewritting)
2a49cf3: Add endpoint to request context to be able to lock on endpoint.
0c12f95: Add Deregistration object to know observations removed on deregistration
0863a94: Move Cleaning registration responsibility to registrationStore
9abd641: Merge stores for registration and observation
c6ddbc7: use full path to jar in README.md/Compile and Run
61b9a9c: Use sys.err for error in all command line tool.
91b115d: Improving command line arguments
ae58294: Catch RuntimeException instead of Throwable
0e85181: javadoc typo fix
37496e7: fixed leshan-server-cluster runnable jar
00627e1: change logger pattern to be the same as slf4j-simple used in client demo
18f3063: use slf4j-simple in place of log4j2 for client
8a4c9c7: Fix issue #200: server cannot read null object link
f8e3b9d: Clean-up (typo, replace catching throwable by catching RuntimeException)
2598669: Rename LeshanRedisServer in LeshanClusterServer.
ba16318: Support Observations
83fd62d: add ObserveSpec support to JSON des/serialization
d5ea61f: Remove ObserveSpecParser (parse method is now in ObserverSpec class)
72282f7: Add DownlinkRequest JSON Des/serialization tests + bug fixes
e8c13b3: add ClientUpdate json deserialization and some unit tests
c864f3d: Rename server.demo.cluster package to server.cluster.
4dbe9fb: Add command line tool to run a Cluster instance.
783fd5a: Add token management to know which instance handle which LWM2M client.
53b457b: Add javadoc to RedisRegistrationEventPublished
c19a5af: Add Redis LWM2M Request/Response Handler.
203d715: Add JSON Serializer/Deserialize for Request, Response, LwM2mNode.
31bc52d: Add Add new send API (async with ticket) to LwM2mServer
9e784b7: Add observe option to manually sent notifications.
0c0eb31: Add IPSO TemperatureSensor to demo client.
9bb24bd: Fix initialization with random position.

leshan-0.1.11-M13

29 Sep 11:48
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:
f1982ed - Fix LwM2mSingleResource generic constructor.
18d3271 - Replaced Exceptions with BootstrapFailureCause
387bee8 - Added notification of early failure
cd0018f - Hides security-related values from toString() (#179)
58c87fc - Replace int[2] by ObjectLink class
b4fb4ba - Support objlnk for TLV and Text format.
e458b07 - Add project specific: organize import + format on edited line only.
5615cbc - Add Context for observation
51d4ed3 - QueueModeTest clean-up (typo+remove unused method)
a3fdd02 - Change log config for integration tests (off => error)
fb52c95 - use Californium 2.0.0M2
aa764a9 - #168: fixed duplicate observations for the same resource path.
a8df823 - #160: fix QueuedRequestSender race condition
1a68fd3 - fix potential NPE in QueueModeObservationRegistryListener newValue()
89a52c2 - changed clientEndpoint to Client in ResponseListener as described issues #165
947ead6 - Fix fix NPE in BootstrapSecurityStore of bsserver-demo again ...
ddaa6e4 - fixed check-then-act situation in InMemoryMessageStore
cd6738c - Introduced cancelAllPendingMessages in LwM2mRequestSender interface.
efcc708 - enhance content format handling
6081674 - fix NPE in BootstrapSecurityStore of bsserver-demo
defadcf - #155: fix format selection of leshan-server-demo UI
020e3e0 - add toString() equals() method to ContentFormat.
86295f9 - ContentFormat is now mandatory. (remove magic to compute default value

leshan-0.1.11-M12

22 Jul 11:59
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:
b0aaf04 - Bumping nexus-staging-maven-plugin to version 1.6.7
11e7580 - Disable autoReleaseAfterClose when deploying to Nexus
3dd7873 - Code review clean-up
1552b4e - Use encoder/decoder to know if a content format is supported.
ad24783 - Add Timestamped Data support on Observation
6c046c2 - Add Timestamped Data support on LwM2mNodeEncoder/Decoder
3a6eba8 - remove generics
967614f - Add Timestamped Data support on LwM2mNodeJsonEncoder
243a8a0 - Change Time attribute of JsonArrayEntry from Integer to Long.
3608b3b - Add Timestamped Data support on LwM2mNodeJsonDecoder
25e1b55 - Define interface for encoder/decoder
f9b422f - move from static LwM2mNode encoder/decoder to dynamic one
3340178 - Change ContentFormat from enum to class to prepare extensibility
b91f346 - Add cluster support for QueueMode
aeb7586 - Add new send API (async with ticket)
9479dde - Add a Redis "Registration" event publisher
ab1be1b - Remove mokito test dependency
32fd096 - switch log4j2 to test deps

leshan-0.1.11-M11

30 Jun 08:32
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:

  • 4ebc105 - Added notion of a BootstrapSession
  • 8e60821 - Move redis implementation to a new leshan-server-cluster module
  • 6690a5c - Added Redis URL command line option support with authentication
  • 4831d3e - Raise unregister notification when registration expired.
  • 4aa7512 - Redis-based implementation of the observation registry
  • 23e1893 - Reimplement observe based on experimental Californium observe impl.
  • a79a50f - Serialize in redis using minimal json
  • fad05de - removed deprecated linkobject methods
  • 117f192 - Added Redis based stores (security & clients)
  • 86c9f9f - Use unsigned byte string representation for bootstrap REST API
  • a06ff2b - fix #141 null raw public key in X.509 mode
  • f87250b - Fix QueueModeIntegrationTestHelper (do not use Standard NetworkConfig)
  • c2ca1f7 - (fix-bs-json-api) Fix broken link to Scandium readme
  • d275f53 - Add Queue Mode interfaces and first in memory implementation.
  • f5e5517 - Move Bootstrap logic from BootstrapResource to BootstrapHandler
  • a0ef125 - Extract RequestObserver from RequestSender & remove 'Client' dependency
  • d413abf - (origin/pr/135) #133: Clear DTLS connection on timeout
  • 6d3e548 - #131: Add Registration life cycle client observer
  • d4abac8 - (origin/pr/136) Add a way to choose content format in LeshanServerDemo
  • 06d4883 - Fix string path constructor of CreateRequest
  • 998335d - (origin/pr/118) Fix JSON encoding/decoding for Create Request
  • 28c3ddf - Refactor LwM2mPath to handle root path and Resource instance path
  • 7f1b743 - Fix JSON Single Resource encoding
  • 92708d2 - ContentFormat on Write and Create request is mandatory.
  • d84b141 - Handle Accept Content format option for Read/Observe request
  • bc3fb53 - OPAQUE format only for single binary resource
  • a1a4684 - Fix float encoding.
  • 413f49f - Add write tests for single resources
  • 70cad9a - Allow TLV for single resource and use it as default format
  • c2879f1 - #134: start leshan server after configuration in leshan server demo

leshan-0.1.11-M10

11 May 17:44
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:
d39892c - allow to remove security info for endpoint with "/"
7fc4a58 - Removed unecessary switch case since toValueString is used.
8df9e94 - Guess port from scheme (and vice-versa) at client side
022c8f4 - #119 allow to write empty string in web ui
4559b34 - Limit message log to last 256 messages.
049fe9e - Use "Option.toValueString()" for more descriptive log.
c969b37 - Update response code to be compliant with the last spec changes
a4db616 - #116: Fix regression introduce in commmit 6ec8aeb
f9403f5 - #109: Using the Leshan servlets with other HTTP server (not Jetty)
6ec8aeb - Update on resource is no more allowed
b260c35 - Clean some request constructors (javadoc + validation)
e20db8e - #112: Fix Tlv 24bit length decoding

leshan-0.1.11-M9

23 Mar 17:03
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:
97689e9: Client: expose the current registration id.
1a21e44: Client object enabler: remove final modifier for public methods
8279220: Add cfg parameter and use json format for bootstrap server config file
03ab830: Fix bootstrap write server id.
bcb9a54: Check BS authentication before computing BS config
37fb24f: Implement POST "/oid/iid" as UPDATE instance according 0054R02-CR
c5f03e1: Protect security object from invalid access.
292dc37: Add tests about canceling requests on de-registration
ead8c03: Cancel pending request on de-registration
273ca11: Fix create instance regression on Server Demo (#104)
42f8a39: Add support of Base Name in JSON decoding.
b5d8578: Integrate Californium 1.0.3
1056533: Delete security object on bootstrap completion
de18a99: Display credentials for bootstrap server
2c8260a: Move shutdown hook to LeshanClientDemo to avoid Memory leak
d5ed2fe: Fix issue #96 "delete of resource".
a55a703: Change the default CoAP root resource
5f7d149: Client registry listener API change Add the ClientUpdate parameter when a client registration is updated
80bebf2: remove Security Object from register payload (at client side)
8066e9b: #80 clear DTLS Session when bootstrap session is finished.
2e6122b: #88 shortId of Security object for bootstrap server should be equal to 0
d5cb926: Use ObserveRelationFilter to filter notifications according the URI.
60789d8: Fix regression on client registration update
a4bf1b3: Remove instanceId from the Create Request path (spec change) And fix create request decoding on the client side (issue #75)
8415382: TLV encode/decode instance as an instance or a resources array
39a5d32: Add some test about start/stop/start
b7a7344: Correctly implement stop/destroy
dc53aff: Add a way to no send deregister request on client stop.
78597b0: use read/write lock for less read contention
4a00f36: SecurityRegistryImpl file persistance refactoring
af6ca9a: Use Json Type if we don't have model when decoding

leshan-0.1.11-M8

16 Feb 17:46
Compare
Choose a tag to compare

Build artifacts are available on maven central.

Change logs:
92439b0: Automatize maven deployment
53c1c00: Fix operations on Max Range Value resource in IPSO Temperature sensor
902cf1b: log message tweaking
c344452: Fixed Security check for non-secure case
0223512: Javadoc
e4ecebf: Introduced BS authentication service
0cdf7e1: Separated BootstrapSecurityStore / SecurityStore
9f30dd5: Separated SecurityCheck
65c1e7c: Use californium v1.0.2
e0fdca3: Activate some read tests. (We have now object TLV encoding)
5b9b657: Clean web UI (change some name)
e8b4d6a: Remove dockerfile
f34f184: Use 1s timeout on client de-registration (only used on stop for now)
6271bfc: Rename leshan-bs-server in leshan-bsserver-demo.
aa8b0b3: Rename leshan-standalone in leshan-server-demo.
d9effbe: Rename leshan-client-example to leshan-client-demo.
465459a: use default port for server and add some logs.
db9cd6e: Rename setLocalAddressSecure to setLocalSecureAddress.
ae43cd2: Make client, server and bs server CLI consistent.
95f0a0f: change log pattern (don't show package and method name)
e121a5c: Throw InterruptedException on synchronous send at server side.
9210e85: Enhance client log messages and help
45941d7: Fix address field on registration (do not show hostname)
73e7fe0: Added registration info in web ui
a95aad1: Fix some naming issues
74843d1: fix unstable test : send request with 5s timeout (not 5ms ..)
d5b43d3: Update readme with new bootstrap server and client information.
31558ce: Add unit tests for additional registration attributes
d634d66: Support additional registration attributes at client side
a3eb59d: Added additional registration attributes (as a Map)
980eeaf: set content format link object to registration request and updates
67e441f: Leshan Client refactoring : make it bootstrapable.
d215ade: add log4j2 config for bs-server
552386e: persist bootstrap config
333bf5c: display version in bs server UI.
ff5ecfb: add very simple web ui to bootstrap server
4f40dcb: use an IP approved version of angular ui bootstrap (0.12.1)
646e01f: Last update in list
fad21a1: Fix #60 update content type format according to the last spec version

leshan-0.1.11-M7

19 Jan 19:44
Compare
Choose a tag to compare
  • d16c6b3 - Fix TLV decoding for object requests The object instance TLV is mandatory for multiple instances objects. (il y a 6 jours)
  • 57c36d6 - Do not override managed plugin versions. (il y a 2 semaines)
  • 3e0dcf6 - Clean up constructors. (il y a 2 semaines)
  • dc2f541 - Enable test for executing non-existing resource on existing object. (il y a 2 semaines)
  • 45fe8e4 - 1) failure execution on missing object id 2) success test on execute with parameters 3) test cases name correction from write_only to read_only (il y a 2 semaines)
  • a667c8f - Allow subtypes of LwM2MObjectEnabler in constructors. (il y a 2 semaines)
  • 75482fd - Update definition of "Connectivity Statistics" object. (il y a 2 semaines)
  • b26fc61 - Fix "Sensor Units" type of IPSO "Generic Sensor" (float => string) (il y a 5 semaines)
  • c70c9d6 - Add isSuccess() and isFailure() on LwM2mResponse (il y a 5 semaines)
  • 23180c7 - Clean warning. (il y a 5 semaines)
  • 42991bc - Use jetty-event-source to try to fix "too many open files" (il y a 5 semaines)
  • 57c6d85 - Add log4j2 configuration file to leshan-client-example (il y a 5 semaines)
  • 1f6ef64 - Several fixes and improvements. (il y a 6 semaines)
  • fa4daee - Remove obsolete dependency to commons-codec. (il y a 6 semaines)
  • 77dd845 - Fix maven-bundle-plugin configuration. (il y a 6 semaines)
  • 520672c - Only include maven-buildnumber-plugin in Standalone server build. (il y a 6 semaines)
  • 12e617a - Do not export generated oma-objects-spec.json file as OSGi package. (il y a 6 semaines)
  • cea4fc1 - Do not override managed version of maven-bundle-version. (il y a 6 semaines)
  • 74e9f67 - Fix OSGI leshan-core exports (il y a 6 semaines)
  • 3a2fbae - Shared model between servlet and server and standalone (il y a 6 semaines)
  • 112bff9 - bug report link to GH issues (il y a 7 semaines)
  • a628697 - Fix the way we know if a client is connected in a secure way (il y a 8 semaines)
  • 7743df8 - Server Public Key is not mandatory with PSK (il y a 8 semaines)
  • 673f618 - Check null values in single/multiple resources (il y a 8 semaines)
  • ee78336 - Add missing toString() on resource classes (il y a 8 semaines)
  • 60b2d79 - Add magic convertion (float => integer, integer => float) (il y a 9 semaines)
  • c32197f - Show the value we sent in the UI (the converted value) (il y a 9 semaines)
  • aa87354 - Fix regression in lwM2mNodeDeserializer (il y a 9 semaines)
  • 28cf9d1 - bump version to 0.1.11-M7-SNAPSHOT (il y a 9 semaines)

leshan-0.1.11-M5

leshan-0.1.11-M4

28 Apr 15:24
Compare
Choose a tag to compare
  • 58c2a18 - configuration for publishing snapshots in the the eclipse repo
  • 8690986 - fixed array out of bound exception introduced by e73facd