leshan-1.0.0-M2
Build artifacts are available on maven central.
Change logs:
e20760d: Log exceptions raised by the response sent callback (#347)
f88a929: Fix ContentFormat.fromCode() javadoc
9f6bd6e: Remove stale response listener.
0226cbe: Use ObservationUtil shallowClone() instead of serialize/parse.
f38518d: Error message fixes
82c568c: #331: Fix memory consumption issue in DefaultLwM2mNodeEncoder.
696c338: Fix Execute/Delete Response JSON serialization.
57acb2d: Fix DiscoverResponse JSON serialization
01194ed: Add Response Ser/Des test case
a39fe3a: Log Client endpoint in client demo.
33db7ab: Rename serverPublicKeyOrId to serverPublicKey to align with spec
ac0a48a: Return previous SecurityInfo from Redis security store add
349a292: Clean up old PSK id when changing id for existing endpoint
00db6ec: Add test case for non-unique PSK id security store add
a907eda: Check for unique PSK identity on Redis security store add
d96abbb: remove security for GOOD_ENDPOINT in Security integration tests
050d98a: Spelling fixes
e91466c: Javadoc fixes
ece1c3e: #247 : send register response before to fire events
82ba13c: Add javadoc to LeshanServerBuilder.
ef67721: Use str.format like constructor for cancelled-rejected-timeout expection
c01624a: Use String.format like constructor for InvalidResponseException
744150b: Use String.format like constructor for InvalidRequestException
c3a1d07: Make value converter dynamic to allow custom converter for encoding.
e029ede: CodecException enhancement: use clearer constructor and add missing path
796b7a9: Add resource path in message of CodecException in LwM2mNodeEncoderUtil
afed4d7: Better support of empty payload for TLV and JSON format
8ced9b8: Add bootstrap server account timeout to ServerSecurity
5e63089: Spelling fixes
f95d1da: Enhance error report of Bootstrap demo server.
9eda6fa: update from riot 2.3.11 to riot 2.6.7 for bs server demo
21062c1: fix css error in bs server demo
fad0ab9: Add more key and cert input validation to demo bootstrap server
4e65c29: Add X.509 support to demo bootstrap server UI
d31d8b5: Add X.509 support to demo server UI
f833862: Use hostname from URL as default server
730e0a9: JS error message spelling/formatting fix
7e349ed: Add support for X.509 in demo server
dd83b2f: Update and add missing demo server DDFs
dda1195: Update URL to fetch DDF.xml from, set User-Agent on fetching it
660201d: Remove secondary index on ADD if endpoint already register in redisStore
f18199b: Spelling fixes
e545aa0: Return more demo device data
2671ba9: Return runtime free memory instead of random values
b574a67: Allow random battery level to reach 100
2a44239: Use shared final Randoms
400cbfd: Fix Redis Tests : remove all the entry we add in store.
ffb3610: identity => PSK identity javadoc clarification
83fbb9f: Replace close() with destroy() for client and server.
dfbbf8f: register resource, simplify exception logging
d60cc9f: Remove outdated comment
892f1ef: Do not use env var anymore to configure demos (server,bs,cluster)
4bc29cc: Remove MODELS_FOLDER env var as there is CLI option now.
e017ef4: Add CLI option to set models folder for demos (server,bs,cluster)
9b531b3: Update model, load only core objects by default, demos load more objects
1c2ffa5: Add previous registration on RegistrationListener.updated() event.
b5435cb: RegistrationStore.update() now return previous and updated registration
ebc4efc: Use internal Validate instead of commons-lang one
9f8f6a1: Add expired parameter to the unregistered event (#304)
d4fd1fe: Use Californium.properties file for demos (client, server, bs, cluster)
a88668a: Remove redundant object initializers
2ba9056: Fix class name in JsonArrayEntry.toString
9ef8f1a: Compare Numbers with equals() instead of ==
a7239ae: Include message text in Redis send JSON parsing error
8d71a5a: Fix CodecException message on tlv parse error
e14a124: Remove redundant String constructor use
520c162: Use StringBuilder instead of StringBuffer
328dcd7: Use bulk Collections.addAll for array to list copy
f6aa2ac: Redis store cleanup + key renaming
05c623d: Allow to set a custom networkConfig for Leshan bootstrap server.
ac5739d: Allow to set a custom networkConfig for Leshan client.
9552410: Allow to set a custom networkConfig for Leshan server.
1593e9e: Fix tests (Californium observation now check if observe option is set)
8afc739: KeyToken class is no more accessible (use our own class)
aff5785: Adopt CoapEndpoint API change
f8487c4: Adopt Pskstore API changes
fb0637a: Adopt changes in DTLSConnector constructors.
353bf0a: Support object level observe in demo server REST API
f58564d: JSHint semicolon fixes (#285)
5dd1e98: fix error message typo
7063a55: Avoid unnecessary boxing/instantiations
2aea355: Use more foreach loops
ca839e0: Combine identical catch blocks
bdf2fb5: enhance registration event checks in tests.
e560280: add a way to choose content format to use for bootstrap session
a283354: Add RPK and X509 client non-registration test assertions
dd0640b: Use good/bad endpoint name constants
c0e993d: Set up registration monitoring for RPK and X509 test servers
0579faf: Change log level in SecurityCheck.java (warn=> debug)
b703d57: Add lwm2m version parameter when client sends register request.
3d7c9cf: Use constant for default port.
2be3144: add leshan-code-cf to list of modules in the readme.
b24c05b: Update links in readme (point the last v1.0.0, link object registry ...)
cfaac6b: Add tool for generating JSON from DDF list file
a801ddc: Rename LwM2mBootstrapServerImpl in LeshanBootstrapServer
1598557: Add toString to Identity.
1897947: Rename BootstrapSessionManagerImpl to DefaultBootstrapSessionManager
a6aa4d0: Create an interface for bootstrap session
a802f50: Rename clientIdentity to Identity
9318074: Add endpoint and identity on unauthorized session.
db58c41: clean code (rename variable)
bb8c9de: Fix RequestCanceledException import
73237f0: Add discover operation support in REST API
a473d48: Fix Redis observation removal
054a75d: Protect read access in the in-memory reg cleaner
7818af2: Use StandardCharsets instead of charset name
649d244: Spelling fixes
fbd126c: client should accept to create an instance without writable resources.
4f94169: Make registrationStore cleaning period configurable
aca3973: If store don't implement Destroyable use stop on destroy
a283a6f: Enhance the way we stop RegistrationEngine
69041dd: Name all threads
4c8e9fd: Use StandardCharsets