v0.8.0
New Features
A summary of all the new features is:
- Implementation of the new W3C WoT Scripting API
- Support for Thing Models of the new Thing Description 1.1 specification
- Improvements to the OPC-UA, Websockets and many more bindings
- A better software architecture that allows better usability inside other Node.js projects
- Full integration to GitHub CI/CD
What's Changed (Automatically generated release notes)
- Fix typescript definitions and align 0.8.x branch with master by @relu91 in #339
- Introduce InteractionOutput by @relu91 in #384
- Fix v0.8.x by @danielpeintner in #381
- [V0.8.x] Fixing tests and package-lock by @relu91 in #403
- V0.8.x next2 by @danielpeintner in #401
- Yet another attempt to add type defintions by @relu91 in #422
- fix: ExposedThingInit type and HTTP tests by @danielpeintner in #423
- V0.8.x NextSteps 7 by @danielpeintner in #425
- Streaming errors with new APis by @relu91 in #428
- Single place of input modifications by @danielpeintner in #429
- Use InteractionInput when needed by @relu91 in #435
- Validate ExposeThingInit using PartialTD validation algorithm by @relu91 in #452
- fix: print correct error message by @danielpeintner in #472
- Merge in master 2021 08 26 by @danielpeintner in #478
- V0.8.x merge in master 2021 09 01 by @danielpeintner in #485
- Npm workspaces by @relu91 in #483
- chore(binding-coap): bump node-coap to 0.25.0 by @JKRhb in #492
- Npm fix audit by @relu91 in #491
- V0.8.x merge master by @danielpeintner in #502
- Codestyle and format by @relu91 in #493
- chore: Add linting and code style checks to the CI by @JKRhb in #503
- style: Reformat codebase using prettier by @JKRhb in #510
- Make v0.8.x the new master by @danielpeintner in #509
- refactor: align with eslint rules #1 by @fatadel in #511
- fix(binding-mqtt): fix 'TypeError: error is not a function"' by @miguelrk in #514
- chore: replace external eslint action, continue on failure by @JKRhb in #512
- fix(coap): Remove double registration of TD content-format by @JKRhb in #517
- chore: add package version consistency check by @erossignon in #515
- fix: http server reporting circular structure by @danielpeintner in #513
- Subscribe now returns a Promise by @relu91 in #526
- chore: ignore dist folder in formatting by @relu91 in #527
- fix: allow invokeResource without any parameter (CoAP client) by @danielpeintner in #528
- fix: align CoAP vocabulary with current binding-templates by @JKRhb in #533
- fix(coap): use string type for option name by @JKRhb in #539
- fix(binding-opcua) fix binding-opcua by @erossignon in #537
- chore: add missing eslint and prettier configs by @JKRhb in #531
- feat(binding-websockets): add handlers for properties and actions by @miguelrk in #521
- fix: multilang the same in map by @danielpeintner in #540
- refactor: align with eslint rules #2 by @fatadel in #520
- fix(binding-opcua): fix flaky test by @erossignon in #542
- chore: add code coverage with nyc and codecov.io by @JKRhb in #535
- Add support for streams in action handlers by @relu91 in #543
- fix(docker): fix docker file by @erossignon in #518
- Fix 441 by @relu91 in #545
- countdown action with optional input by @danielpeintner in #546
- Add telegram badge to the main readme by @relu91 in #549
- refactor: use /properties instead of /all/properties by @danielpeintner in #548
- refactor: align with eslint rules #3 by @fatadel in #541
- docs: add statistics by @danielpeintner in #552
- chore: add codecov badge to README by @JKRhb in #556
- fix(binding-opcua;binding-coap) fix some test issues and resource leaks by @erossignon in #519
- docs: fix copyrights based on git log by @danielpeintner in #557
- Clean-up old and out-dated code in td-tools package by @danielpeintner in #565
- chore: use typescript composite build for speed by @erossignon in #554
- feat: use promise for stop/start in ProtocolClient by @danielpeintner in #562
- docs: pipeline badge should open report by @danielpeintner in #570
- Fix: eslint issue by @erossignon in #578
- fix(core) fix missing return values issue by @erossignon in #577
- chore(core) simplify start method by @erossignon in #576
- Fix set security by @erossignon in #575
- fix: eslint configuration issue #572 by @erossignon in #574
- fix(binding-http): flaky http tests by @erossignon in #579
- chore(core) use async pattern #569 by @erossignon in #573
- Feature/enforce return type by @erossignon in #560
- fix(core): resolve eslint issues by @danielpeintner in #582
- fix(td-tools): resolve eslint issues by @danielpeintner in #581
- use only one interface for Managed Streams by @relu91 in #584
- refactor(coap): fix eslint issues by @JKRhb in #588
- fix(binding-mqtt): fix eslint errors & warnings by @danielpeintner in #592
- fix(binding-websockets): eslint errors/warnings by @miguelrk in #590
- fix(binding-file): resolve eslint issues by @danielpeintner in #587
- fix(cli): eslint errors by @danielpeintner in #589
- fix(binding-opcua): fix eslint errors & warnings #586 by @erossignon in #591
- chore: remove oracle and fujitsu binding by @danielpeintner in #593
- fix(binding-mbus): eslint errors/warnings by @danielpeintner in #594
- feat: remove eslint for browser-bundle by @danielpeintner in #597
- MBus tests failing fix by @LennyHEVS in #504
- fix: location of cli.js by @danielpeintner in #598
- chore(binding-firestore-browser): remove duplicated entry in package.… by @erossignon in #604
- fix(http): missing types for accept language parser by @relu91 in #601
- Fix/ephemeral ports by @erossignon in #603
- fix(binding-file): remove default utf-8 encoding for binding-file and… by @lukesmolo in #608
- Re-introduce npm run link at the root level by @relu91 in #609
- fix(binding-opcua): fix build folder issue #599 by @erossignon in #600
- Opcua servient cli by @lukesmolo in #610
- chore: exclude only root examples folder from eslint by @danielpeintner in #612
- chore: use pretty-quick to only format changed files by @erossignon in #605
- chore(deps): bump vm2 from 3.9.3 to 3.9.4 by @dependabot in #615
- Fix coap binding with regards to counter example by @relu91 in #602
- feat(coap): update type definitions by @JKRhb in #538
- fix(coap): resolve issue with URL pathname by @JKRhb in #617
- fix(binding-opcua): fix for #611 by @lukesmolo in #613
- chore: add
lint:fix
npm scripts by @JKRhb in #621 - refactor: remove WebSocket from server start since it is not availabl… by @danielpeintner in #628
- style(http): fix eslint issues by @JKRhb in #620
- Issue interaction input to readable by @danielpeintner in #626
- Introduce new subscription APIs in ConsumedThing by @relu91 in #585
- chore: add/fix missing copyright headers by @danielpeintner in #633
- style(binding-netconf): fix eslint issues by @JKRhb in #622
- Improve ExposedThing interface by @relu91 in #623
- Add eslint workspaces import validator by @relu91 in #639
- chore(coap): update node-coap to version 1.x.x and fix type issues by @JKRhb in #634
- Handle security scheme
name
in http binding by @relu91 in #638 - chore: update copyright year in LICENSE file by @JKRhb in #641
- docs: the year in the copyright is year in which the content was created by @danielpeintner in #644
- Use
eslint-plugin-notice
for license header policies by @relu91 in #646 - Update template by @FadySalama in #619
- fix(coap-server): remove type casting to unknown by @JKRhb in #652
- Clean up examples by @danielpeintner in #618
- chore(deps): bump node-fetch from 2.6.5 to 2.6.7 by @dependabot in #653
- Add a brief introduction for the length content-type parameter by @relu91 in #655
- style(binding-modbus): resolve linting issues by @JKRhb in #660
- fix(coap-server): Don't allow port reuse, reintroduce test by @JKRhb in #657
- style(binding-netconf): resolve linting issues by @JKRhb in #659
- style(http-binding): Fix linting issues by @JKRhb in #658
- Improve mqtt implementation by @relu91 in #656
- chore(http): fixing epehemeral port again by @erossignon in #666
- chore(core): display info to better understand why schema validation … by @erossignon in #665
- chore(deps): bump simple-get from 3.1.0 to 3.1.1 by @dependabot in #664
- chore: update wot-typescript-definition by @erossignon in #663
- chore(deps): bump vm2 from 3.9.5 to 3.9.6 by @dependabot in #673
- Fix 606 by @relu91 in #676
- use drop-downs by @danielpeintner in #672
- downgrade to windows-2019 instead of latest by @erossignon in #677
- chore(deps): bump url-parse from 1.5.3 to 1.5.6 by @dependabot in #679
- Thing model helpers by @relu91 in #674
- Allign websocket server with the new
ExposedThing
methods by @relu91 in #675 - Clean up examples by @danielpeintner in #669
- Improve readme of all packages by @egekorkan in #682
- chore(deps): bump url-parse from 1.5.7 to 1.5.8 by @dependabot in #687
- docs: fix copyright year based on git log by @danielpeintner in #689
- Fix browser example by @relu91 in #686
- add code of conduct and security MD by @danielpeintner in #691
- new context url in all TDs - Issue 692 by @danielpeintner in #696
- add minimum npm version as requirement by @danielpeintner in #700
- avoid issues with no data for event by @danielpeintner in #698
- docs: remove details drop-downs and re-introduce TOC by @danielpeintner in #701
- Support
uriVariables
at the root level by @relu91 in #695 - feat: add example with global uriVariable by @danielpeintner in #704
- style(binding-modbus): solve lint issues by @relu91 in #702
- fix browser remaining browser examples by @danielpeintner in #699
- update wot-typescript-definitions to 0.8.0-SNAPSHOT.22 by @danielpeintner in #707
- using generic Eclipse SECURITY.md by @danielpeintner in #708
- Solve Eslint issues with circular definitions by @JKRhb in #709
- fix(examples): fix oauth2 exposer example by @JKRhb in #710
- chore: let CI fail on linting error by @JKRhb in #712
- style: fix eslint errors in Firestore binding by @JKRhb in #715
- chore: replace nyc with c8, update
package-lock.json
by @JKRhb in #716 - chore(main): fix check:versions by @erossignon in #713
- style(binding-netconf): address linting issues by @JKRhb in #714
- fix: remove internal keys from getThingDescription() call by @danielpeintner in #718
- fix(core): closing client after readStream in fetch by @relu91 in #720
- Feature/new binding opcua by @erossignon in #662
- fix(thing-model): move Thing Model code to td-tools, issue #680 by @lukesmolo in #719
- fix: examples in READMEs for v0.8 by @danielpeintner in #721
- Move vm from core to cli package by @relu91 in #723
- docs: fix copyright year based on latest change by @danielpeintner in #722
- CLI: pass port as argument by @relu91 in #726
- Thing model by @lukesmolo in #725
New Contributors
- @miguelrk made their first contribution in #514
- @erossignon made their first contribution in #515
- @dependabot made their first contribution in #615
- @FadySalama made their first contribution in #619
Full Changelog: v0.7.8...v0.8.0