leshan-2.0.0-M18
Build artifacts are available on maven central.
Library Noteworthy
- Ensure that client use same endpoint for a given registration (GH-1655)
- Strongly tie a observation to a server endpoint (GH-1656)
- Correctly handle object id in test Category. (GH-1666)
- Check if LwM2M version is supported at registration time. (GH-1279)
- Add OSCORE support to RedisSecurityStore. (GH-1707)
- Limit to DER encoding usage but add a way to support PEM and cert chain with custom code. (GH-1710)
- Enable usage of OSCORE Appendix B.2 context re-derivation. (GH-1257)
- Rename ApplicationData in CustomRegistrationData. (GH-1440)
- Ensure there is no precision loss on Number conversion (GH-1692)
- Integration of Californium 4.0.0-M6
Many thanks to @JaroslawLegierski and @jakubsobolewskisag for their contributions🙏 !
Demo Noteworthy
- Migration to Jetty 12: Demos now use Jetty 12 (Jakarta 10).
- Migration to Vue/Vuetify 3 : Demo UI migrated from Vue/Vuetify 2 to 3.
Project Noteworthy
- Build requires Java 17 is now.
- Migration from Yarn to Npm: Demo frontend now uses Npm instead of Yarn.
- CI migration from OSSRH to Maven Central.
- Use otterdog to manage github config
- Add scorecard integration and improve score.
- Get OpenSSF badge.
- Add SonarCloud and get Sonar Quality Gate badge.
API Breaks
- Integration of Californium 4.0.0-M6 which contains API breaks
- Rename ApplicationData in CustomRegistrationData (GH-1440)
- Rename getLastEndpointUsed() into getEndpointUri() in Registration.
Change logs
5b809f2: [ui-demo] fix bsserver demo regression in bootstrap server config step
cbb8c37: [ci] fix leshan-bot email address in release jenkins job
43eb0e1: Add support of "picocli quotedString" to all demo CLI.
6e113d8: [ui-demo] Upgrade demo servers dependencies
9221e63: [ui-demo] Upgrade from nodejs 18.19.0 to 20.19.5
8617b2c: [ui-demo] reactivate notif about delayed request caused by queue mode
d0e8396: [ui-demo] fix GH-1736 Execute with arguments which doesn't open dialog.
09a6bd4: [ui-demo]No need to escape msg with vuetify3-dialog for vue3
e6a466f: [ui-demo] fix client error response should display a notify toast
6325631: [ui-demo] fix button badge in always succeed state (green color)
1b8c3f2: [ci] Migration from OSSRH to Maven Central
657de42: [ci] create dedicate parent POM for module which must be published
89679af: [ui-demo] GH-1727 use TEXT as default content format for single value
4cbf769: [ui-demo] show resource name in create/write instance dialog
5843001: [ui-demo] Upgrade demo servers dependencies
f645bcf: GH-1707: Add OSCORE support to RedisSecurityStore
35ebec2: Add OSCORE test in SecurityStoreTest
94acbaa: Use RedisSecurityStore in Redis Tests
72e2eac: Upgrade logback from 1.3.15 to 1.3.16
e9ce354: Fix regression in server-demo from dba2456 : EC key pair is not valid!
29e5d40: Upgrade dependencies
152dbb9: Integration of Californium 4.0.0-M6 (API Break)
501b733: [code cleaning] Fix some sonar maintainability issues.
d9cb39b: Fix bad object initialization in LwM2mObjectTree.addObjectEnabler
6f5642e: Split ServersInfoExtractor class in an interface+ObjectTreeReader class
a379f16: Client should only support der encoding for certificate by default
4c13f08: Make ServersInfoExtractor class dynamic and allow custom implementation
dba2456: Bootstrap ConfigurationChecker should only allow Der encoding by default
7a448fe: Add Test for DER/PEM certificate Reader
d52681d: Add DER and PEM certificate reader
350cf2c: Make Bootstrap ConfigurationChecker customizable.
39e394c: Added support for device certificate chain in leshan-lwm2m-client module
25992c7: Upgrade to Californium from 4.0.0-M3 to 4.0.0-M5
5429f3f: [demo] frontend upgrade dependencies
c29c3a0: [demo] Upgrade from apache commons lang2 to lang3
97bb4b6: [ui-demo] Upgrade front-end dependencies
0ac6221: Upgrade scorecard-action from 2.4.0.to 2.4.2
bae25ea: [ui-demo] Upgrade front-end dependencies (again ...)
85506b8: [ui-demo] Upgrade front-end dependencies
a461bff: [ui-demo] Upgrade front-end dependencies
92d4043: Fix HTML README issue added by 1b905c5
ccf60ae: [code cleaning] fix blocker "maintainability" issues reported by sonar
7f38434: [eclipse] Ignore "Unhandled token in @SuppressWarnings annotations"
1b905c5: Add Sonar Quality Gate badge to README
7578c7b: fix java 8 obsolete warning at maven compilationt time.
409ef18: [code cleaning] Fix issues reported by sonar.
49cc9f6: GH-1440: Rename ApplicationData in CustomRegistrationData
6f9a12f: [ui-demo] Upgrade front-end dependencies
54b5078: [code cleaning] fix or ignore some "reliability" sonar issues.
1828737: [code cleaning] enhance "reliability" of Node checks
6026569: [code cleaning] enhance "reliability" of Attributes code
bea1572: [code cleaning] fix more sonarcloud issue
f5470ff: Remove deprecated RedisLock (SingleInstanceJedisLock should be used)
b934314: [code cleaning] improve Servlet code quality in demo servers
37b7225: [code cleaning] Mainly limit duplicated code
3cc0213: [ui-demo] Upgrade front-end dependencies
7139d13: Integration of Californium 4.0.0-M3 (API Break)
36c4921: Add OpenSSF badges to README
6b31475: [OpenSSF Best Practices] Activate Compiler Warnings and fix warnings
a5515b2: [OpenSSF Best Practices] Add some contacts informations in README
76edbaf: Pin GitHub-owned GitHubAction dependencies.
af14ffc: Follow the principle of least privilege for github workflows.
780eb56: Upgrade Netty dependency. (4.1.115.Final => 4.1.118.Final)
52956d4: GH-1257: Enable usage of OSCORE Appendix B.2 context re-derivation
5a26160: chore(otterdog): adding scorecard analysis workflow due to blueprint scorecard-integration (#1693)
d652da5: Gh-1677: Rename maven artifacts to clearly see difference with ID
0217944: [ui-demo] Upgrade front-end dependencies
e1cfcc2: Ensure there is no precision loss on Number conversion
9fc2e3c: With this modification, Leshan successfully finish the build process on Windows.
c923e35: Using the cross-env npm plugin in sbom_maven generation
62b1de9: Enhance client demo factory bootstrap: create dummy object if needed
f173b80: DummyInstanceEnabler should generate value for Uint, objlnk and corelink
7aeac15: GH-1658: Use Custom Prefix for Redis Tests
388a4d0: GH-1279 : check if lwm2m version is supported at registration time
8cdd24b: GH-1673 : Fix undefined bootstrap server port in bootstrap demo UI.
70fb56e: GH-1666: Correctly handle object id in test Category.
9eec2be: Integration of Californium 4.0.0-M2
3478efd: GH-1504: Make SenMLPack,SenMLRecord,JsonArrayEntry,JsonRootObject final
f954615: [ui-demo] Upgrade some dependencies
546a355: [ui-demo] add vite-plugin-csp-guard to check CSP during development
8b91dd4: [ui-demo] use vite-plugin-webfont-dl instead of unplugin-fonts
bb08abf: [demo-ui] remove usage of legacy plugin
9591616: Update SECURITY.md about logback and demo v1.x
d4456ad: Upgrade to logback 1.3.15
4db01a9: [demo-ui] fix vite config which prevent demo to work on sandbox
813ef69: Migration from vue/vuetify 2 to vue/vuetify 3
a260d07: [demo-ui] call cyclonedx-npm from frontend-maven-plugin
cbf9173: [demo-ui] add cyclonedx-npm to generate frontend sbom
621ae8b: [demo-ui] add npm-check-updates as dev dependencies
62e4ce3: [demo-ui] Move from Yarn to Npm
14fc20e: integration test to ensure that 1 observation use same endpoint
b9201e3: Use Authorizer for updateRegistrationOnNotification
63f0f6b: Add server endpoint uri to ObservationIdentifier
c0cc705: Add some integration to ensure that 1 registration use same endpoint
71a4a86: Use Authorizer in SendHandler
d7ff9d8: Authorizer checks client do not change endpoint during same registration
3f38671: Rename getLastEndpointUsed() into getEndpointUri() in Registration.
aed8f6f: Remove trivyignore content about Jetty 9.x
4984137: Add documentation about minimal requirement
c8b6ee2: Remove WARNING about usage of deprecated API
1a36009: Move from Jetty based on jakarta 9 to jakarta 10
1c23d5c: Move to jetty 12
c998575: Clean java doc remove empty <p> tag
7485790: Move to Java 17 as minimal version required to build.