Commit graph

382 commits

Author SHA1 Message Date
dependabot[bot]
f70de293a5
Bump hap-nodejs from 0.10.4 to 0.11.0 (#31) 2022-11-18 13:11:43 +01:00
dependabot[bot]
e791b690aa
Bump typescript from 4.8.4 to 4.9.3 (#30) 2022-11-18 12:41:55 +01:00
dependabot[bot]
cc81f5868e
Bump @typescript-eslint/parser from 5.42.1 to 5.43.0 (#28) 2022-11-18 09:46:07 +01:00
dependabot[bot]
3e5006dd5d
Bump @typescript-eslint/eslint-plugin from 5.42.1 to 5.43.0 (#29) 2022-11-18 09:45:53 +01:00
dependabot[bot]
c24a9731c1
Bump fastify from 4.9.2 to 4.10.0 (#27) 2022-11-18 09:43:00 +01:00
Lars Strojny
fc1bf8b334 Release 0.0.13 2022-11-17 13:20:16 +01:00
Lars Strojny
6f7686ba34
Auto-generate configuration documentation in README (#26)
Auto-generate the documentation of the configuration options in
`README.md` from `config.schema.json`.
2022-11-17 13:19:22 +01:00
Lars Strojny
261fa74ac9
Add configuration option for the metric server interface (#25)
Add a configuration option `interface` to allow configuring where the
HTTP metric server should bind to.
2022-11-17 13:15:07 +01:00
Lars Strojny
04706f69d5 Release 0.0.12 2022-11-16 23:29:53 +01:00
Lars Strojny
2e8f2d0579 Clean build on release 2022-11-16 23:28:48 +01:00
Lars Strojny
9127408d23 Ignore release script 2022-11-16 23:26:32 +01:00
Lars Strojny
b8a4c2c9e6 Release 0.0.11 2022-11-16 22:50:48 +01:00
Lars Strojny
ce8876793d
Fall back to IPv4 if EAFNOSUPPORT (#24)
If listening to `::` fails, try `0.0.0.0` instead. Addresses #22
2022-11-16 22:47:41 +01:00
Lars Strojny
f8007b55ca
Add experimental support for basic auth and TLS (#23)
Allows restricting access to the monitoring endpoint using basic auth
and configure TLS certificates.
2022-11-16 22:19:08 +01:00
Lars Strojny
edf4e605e5
Cache expensive CI steps (#21)
Speed-up pipeline by caching eslint, prettier, TypeScript, node_modules
2022-11-14 02:43:27 +01:00
Lars Strojny
57e8a4d831 Reverse lint/tests exclusion on CI, better job name labels 2022-11-14 02:02:07 +01:00
Lars Strojny
479fbe5727 Refactor internal APIs 2022-11-14 01:20:53 +01:00
Lars Strojny
4fad222b82 Format insecure.conf path in README 2022-11-13 13:40:10 +01:00
Lars Strojny
34be5bbca2 Implement consistent request logging 2022-11-13 13:34:33 +01:00
Lars Strojny
8102144b85 Explicit type imports 2022-11-13 13:34:09 +01:00
Lars Strojny
83f64d3999 Release 0.0.10 2022-11-13 11:14:15 +01:00
Lars Strojny
b74721ee76
Handle null values in characteristics (#20)
Apparently `characteristic.value` can also be null. Let’s handle it
properly. Fixes #19
2022-11-13 11:13:13 +01:00
Lars Strojny
249e4cf10c Ignore local release script 2022-11-10 13:54:12 +01:00
Lars Strojny
1828c4836a Release 0.0.9 2022-11-10 13:46:23 +01:00
Lars Strojny
fd113c1868 Run npm test in CI mode for releases 2022-11-10 13:43:23 +01:00
Lars Strojny
ab90f03264
Set up release-it as the release management tool (#18)
Will manage the release and automatically generate proper releases on
GitHub
2022-11-10 13:40:34 +01:00
Lars Strojny
52efa69bf0
Automate code generation for config schema (#16)
Use a fork of https://github.com/lstrojny/json-schema-to-zod to generate
the boundary check for the config automatically.
2022-11-10 13:06:16 +01:00
Lars Strojny
1088a78079
Strict type imports (#17)
When a symbols is only used as a type, require `import type {…}`
2022-11-10 13:00:45 +01:00
Lars Strojny
58d2683e38 0.0.8 2022-11-10 11:45:37 +01:00
Lars Strojny
822f0da2eb
Set charset in metrics content type (#15)
Send `Content-Type: text/plain; charset=utf-8; version=0.0.4` instead of
`Content-Type: text/plain; version=0.0.4` so that special characters in
names have a chance to work.
2022-11-10 11:10:31 +01:00
Lars Strojny
f6bc8ca90c
Use code generation for UUID service map (#14)
Instead of introspecting *hap-nodejs* at runtime for UUID to service
mapping, generate the map during build time.
2022-11-10 11:07:31 +01:00
Lars Strojny
38bf24df90 0.0.7 2022-11-09 21:44:24 +01:00
Lars Strojny
828ae9eade Improve release management script 2022-11-09 21:40:34 +01:00
Lars Strojny
71e45a3d8c
More user-friendly (and developer-friendly) zod error reporting (#12)
Show each error message from zod and include an excerpt of the data
around the failing path if possible
2022-11-09 21:36:23 +01:00
Lars Strojny
0735327b7c 0.0.6 2022-11-09 19:22:44 +01:00
Lars Strojny
ad2715699f
Add funding info 2022-11-09 19:09:43 +01:00
Lars Strojny
2bd799ca9c
Integration tests for the fastify HTTP adapter (#11) 2022-11-09 19:08:24 +01:00
Lars Strojny
e1b5303384 Release management 2022-11-09 18:23:18 +01:00
Lars Strojny
bab8714b05 0.0.5 2022-11-09 14:58:36 +01:00
Lars Strojny
eead518f95
Gracefully handle unknown service UUIDs (#10) 2022-11-09 14:58:03 +01:00
Lars Strojny
8130292d2b
Include Prometheus logo in README 2022-11-09 14:31:41 +01:00
Lars Strojny
ef14844589 0.0.4 2022-11-09 14:11:22 +01:00
Lars Strojny
72761ceee6
Support "tlv8" and "data" characteristic formats (#8) 2022-11-09 14:10:50 +01:00
Lars Strojny
bbc19b935d 0.0.3 2022-11-09 00:41:37 +01:00
Lars Strojny
e64b621336 Mention where the escape functions come from 2022-11-09 00:41:15 +01:00
Lars Strojny
4d1069c041 Fix development environment 2022-11-09 00:41:02 +01:00
Lars Strojny
de101f9006 Use published version of hap-node-client 2022-11-09 00:33:00 +01:00
Lars Strojny
e202c0ba3a 0.0.2 2022-11-09 00:15:59 +01:00
dependabot[bot]
43d9eef9bd
Bump @types/node from 16.18.3 to 18.11.9 (#6)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.18.3 to 18.11.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 00:12:35 +01:00
dependabot[bot]
ef6a6ce5fa
Bump jest from 29.3.0 to 29.3.1 (#5)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.3.0 to 29.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.3.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 00:12:26 +01:00