Skip to content

Changes

Summary

  1. #28 remove the IIFE build from the API and DOM modules (details)
  2. only serialize strings with quotation marks (details)
  3. remove object serialization & fix serialization for In (details)
  4. add support for _created field to thing model (details)
  5. add tests for _created field (details)
  6. create stringify function (details)
  7. fix test for thing without metadata (details)
  8. correct merge mistake (details)
  9. correct merge mistake (details)
  10. rename getter to _created (details)
  11. update package-lock.json (details)
  12. Publish all modules as ESM instead of a mix of ESM and CJS. (details)
  13. implement requested changes (details)
  14. implement requested changes (details)
  15. Export node client as commonjs module as ESM still has problems in node (details)
  16. Don't publish the API module (details)
  17. fix jest config (details)
  18. Remove ACL, which is only available in API 1 (details)
  19. Remove API 1 build steps, handles, client interfaces and implementations (details)
  20. Update node versions in GitHub actions (details)
  21. Remove karma conf (details)
  22. removed unused function, fixed imports in test (details)
Commit 46e1725b1203d81e50e1c49b1c872e1491dd5471 by Florian Fendt
#28 remove the IIFE build from the API and DOM modules

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/api/README.md (diff)
The file was modified javascript/lib/dom/README.md (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/api/rollup.config.js (diff)
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/dom/rollup.config.js (diff)
The file was modified javascript/lib/dom/package.json (diff)
The file was modified javascript/README.md (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
Commit dd142fcbca5ab243010c06f0d2aeac94e6142324 by Matthias Weirich
only serialize strings with quotation marks

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/tests/options/request.options.spec.ts (diff)
The file was modified javascript/lib/api/src/options/filter.options.ts (diff)
The file was modified javascript/lib/api/tests/options/filter.options.spec.ts (diff)
Commit af848a89130964b7d9db876012fe29263d9f5a9f by Matthias Weirich
remove object serialization & fix serialization for In

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/options/filter.options.ts (diff)
The file was modified javascript/lib/api/tests/options/filter.options.spec.ts (diff)
Commit cbf58e0ed5da41a1ac1fc79237b16f8202124307 by Matthias Weirich
add support for _created field to thing model

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
Commit 5bc9c9f275ea8380af1145a629b22af829b8e9e7 by Matthias Weirich
add tests for _created field

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/tests/model/things.model.spec.ts (diff)
Commit b2ee82d5ab2ca76de08a4b59447d3468fde9f99a by Matthias Weirich
create stringify function

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/options/filter.options.ts (diff)
Commit 9d1bc7c8a6bed482d90d9dc12b1ecac11e9c4ca5 by Matthias Weirich
fix test for thing without metadata

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/tests/model/things.model.spec.ts (diff)
The file was modified javascript/package.json (diff)
Commit 9397dd2723b6f6bf3c59520024bb6724c86925a2 by Matthias Weirich
correct merge mistake

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
Commit a8836af0eaf0b94ee826dee2b0e92668a77fbfc3 by Matthias Weirich
correct merge mistake

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
Commit fcede81695216fb3e16395b8412809bbac009b12 by Matthias Weirich
rename getter to _created

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
Commit efe7e0d2b1edfacd4df01a0dd3fb7ac95f6c1fc5 by Matthias Weirich
update package-lock.json

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/package-lock.json (diff)
Commit b0fe6d5199902c1166d54215f8fdb5e4df1680ec by Florian Fendt
Publish all modules as ESM instead of a mix of ESM and CJS.
Get rid of all bundler (rollup) configurations.
Pull up jest versions for ESM support.
Use direct imports from implementing modules to api module

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/node/tsconfig-barrels.json (diff)
The file was modified javascript/lib/dom/src/fetch-http.ts (diff)
The file was modified javascript/lib/dom/src/fetch-websocket.ts (diff)
The file was modified javascript/lib/dom/package.json (diff)
The file was removedjavascript/lib/dom/rollup.config.js
The file was modified javascript/lib/node/tests/node-auth.spec.ts (diff)
The file was modified javascript/lib/node/tests/ditto-node-client.spec.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/commands.websocket.spec.ts (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/dom/tests/ditto-dom-client.spec.ts (diff)
The file was modified javascript/lib/node/jest.config.js (diff)
The file was modified javascript/lib/api/tests/client/websocket/bufferless.websocket.spec.ts (diff)
The file was modified javascript/lib/node/src/ditto-node-client.ts (diff)
The file was modified javascript/lib/node/tsconfig.json (diff)
The file was modified javascript/lib/api/tests/client/http/http-client-builder.spec.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/events.websocket.spec.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/messages.websocket.spec.ts (diff)
The file was modified javascript/lib/node/src/node-auth.ts (diff)
The file was modified javascript/lib/node/src/node-http.ts (diff)
The file was modified javascript/lib/api/package.json (diff)
The file was removedjavascript/lib/api/rollup.config.js
The file was modified javascript/lib/api/tests/client/websocket/buffer.websocket.spec.ts (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/api/jest.config.js (diff)
The file was modified javascript/package-lock.json (diff)
The file was modified javascript/lib/dom/src/ditto-dom-client.ts (diff)
The file was modified javascript/lib/node/src/node-websocket.ts (diff)
The file was modified javascript/lib/dom/src/dom-auth.ts (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/lib/dom/tests/dom-auth.spec.ts (diff)
The file was modified javascript/lib/dom/jest.config.js (diff)
The file was modified javascript/tslint-base.json (diff)
Commit a255d65083c5367b34cc439d21c1d8343edcdace by Matthias Weirich
implement requested changes

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/package.json (diff)
The file was modified javascript/lib/api/tests/model/things.model.spec.ts (diff)
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
The file was modified javascript/package-lock.json (diff)
Commit 3454b9e2efdb1aa5afcc06a93121dbdd8104f964 by Matthias Weirich
implement requested changes

Signed-off-by: Matthias Weirich <matthias.weirich@selectcode.de>
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
Commit b19030e9ffaf0417451bd19f186edd1930566570 by Florian Fendt
Export node client as commonjs module as ESM still has problems in node

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/dom/README.md (diff)
The file was modified javascript/lib/node/README.md (diff)
The file was modified javascript/lib/node/tsconfig-barrels.json (diff)
The file was modified javascript/lib/node/tsconfig.json (diff)
The file was modified javascript/lib/node/package.json (diff)
The file was modified javascript/README.md (diff)
Commit c87fc22b693a933947edbce63c08620c48ee6722 by Florian Fendt
Don't publish the API module

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/api/package.json (diff)
Commit 3733a95d605e15a6cc5ad43559b9fe10d63126e6 by Florian Fendt
fix jest config

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/node/jest.config.js (diff)
Commit 7a4d42a3bc6255f8fbbe33846a49afbd90328e1f by Florian Fendt
Remove ACL, which is only available in API 1

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/lib/api/tests/model/things.model.spec.ts (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/package-lock.json (diff)
Commit 4525c8262c00e9949162475ab7241aff5d9fd905 by Florian Fendt
Remove API 1 build steps, handles, client interfaces and implementations

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified javascript/lib/api/tests/client/http/search.http.spec.ts (diff)
The file was modified javascript/lib/api/src/client/handles/things.interfaces.ts (diff)
The file was modified javascript/lib/api/src/client/http-client-builder.ts (diff)
The file was modified javascript/lib/api/src/client/websocket-client-builder.ts (diff)
The file was modified javascript/lib/api/tests/client/http/messages.http.spec.ts (diff)
The file was modified javascript/lib/api/src/client/request-factory/websocket-request-sender.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/buffer.websocket.spec.ts (diff)
The file was modified javascript/lib/node/README.md (diff)
The file was modified javascript/lib/api/tests/client/http/http-client-builder.spec.ts (diff)
The file was modified javascript/lib/api/src/client/ditto-client-http.ts (diff)
The file was modified javascript/lib/api/tests/client/http/http.helper.ts (diff)
The file was modified javascript/lib/api/src/client/handles/things.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/things.websocket.spec.ts (diff)
The file was modified javascript/lib/api/src/model/ditto-protocol.ts (diff)
The file was modified javascript/lib/api/tests/client/http/policies.http.spec.ts (diff)
The file was modified javascript/lib/api/src/model/things.model.ts (diff)
The file was modified javascript/lib/api/tests/client/http/features.http.spec.ts (diff)
The file was modified javascript/lib/api/tests/client/websocket/websocket.helper.ts (diff)
The file was modified javascript/lib/dom/README.md (diff)
The file was modified javascript/lib/api/src/client/builder-steps.ts (diff)
The file was modified javascript/lib/api/tests/client/http/things.http.spec.ts (diff)
The file was modified javascript/lib/api/README.md (diff)
The file was modified javascript/lib/api/tests/client/websocket/bufferless.websocket.spec.ts (diff)
Commit 1de905eaa0d0c618be155d1d3458c8f51a466a22 by Florian Fendt
Update node versions in GitHub actions

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modified .github/workflows/nodejs.yml (diff)
Commit 8ce6b50c8b7c0436c75c05878645396b407042ab by Florian Fendt
Remove karma conf

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was removedjavascript/lib/api/karma-full.conf.js
The file was removedjavascript/lib/api/karma.conf.js
Commit 4e711f2c6bc3613bff4e6b55f937b17a11be3951 by Johannes Schneider
removed unused function, fixed imports in test
The file was modified javascript/lib/api/package-lock.json (diff)
The file was modified javascript/lib/api/src/client/handles/things.ts (diff)
The file was modified javascript/lib/dom/package-lock.json (diff)
The file was modified javascript/lib/node/package-lock.json (diff)
The file was modified javascript/package-lock.json (diff)
The file was modified javascript/lib/api/tests/model/things.model.spec.ts (diff)