Releases: SAP/e-mobility-charging-stations-simulator
Releases · SAP/e-mobility-charging-stations-simulator
Version 1.2.33
- fix: fix control flow at remote start
#960
- build(deps): Bump @mikro-orm/mariadb from 6.0.4 to 6.0.5
#943
- Combined PRs
#951
- Combined PRs
#950
- Combined PRs
#949
- Combined PRs
#937
- fix: fix control flow at remote start
#959
- perf: cache only JSON payload validation functions
24d1571
- build(deps-dev): apply updates
7a78bbb
- build(deps-dev): apply updates
c63378a
- build(deps-dev): apply updates
0fefe05
- refactor: add generic 2 stages incoming request response handling
1b4a545
- build(deps-dev): apply updates
ef74336
- refactor: cleanup unneeded type casting
ba9a56a
- build(deps-dev): apply updates
b443581
- fix: use nextTick to delay event emission
5c24bae
- build(deps-dev): apply updates
3deb082
- build(deps-dev): apply updates
d03ef37
- build(deps-dev): apply updates
0a2bee0
- build(deps-dev): apply updates
bd8c9eb
- fix: ensure the ATG is properly restored after disconnection to CSMS
e054fc1
- build(deps): Bump @mikro-orm/core from 6.0.4 to 6.0.5
7f7aa7a
- build(deps-dev): apply updates
8d10cdd
- build(deps-dev): apply updates
a45eb0e
- build(deps-dev): apply updates
4c4f2e6
- build(deps-dev): apply updates
8caa511
- build(deps-dev): apply updates
3e09e94
- refactor: cleanup payload validation properties namespace
d5490a1
- fix: ensure remote start transaction triggers a delayed start transaction
54510a6
- build(deps-dev): Bump @mikro-orm/cli from 6.0.4 to 6.0.5
006190c
- refactor: remove unneeded try {} catch {}
f2f33b9
- build(deps-dev): cleanup dependencies
d61df29
- refactor: move OCPP event emission ops to the promises queue
ceb9a90
- fix: avoid duplicate payload validation function
298be10
- fix: fix race condition at reconnection on ATG duration computation
2960841
- test: add tests for BaseError custom error
fba0276
- build(deps-dev): Bump vite from 5.0.11 to 5.0.12 in /ui/web
fb4a626
- fix: ensure the message sequence is started after reconnection
7c97415
- build(deps): Bump @mikro-orm/sqlite from 6.0.4 to 6.0.5
e27c4f5
- build(deps-dev): Bump prettier from 3.2.3 to 3.2.4 in /ui/web
99eaf02
- refactor: cleanup charging station events handling
b88c8cf
- refactor: remove unneeded binding
65b5177
- refactor: improve error logging if ATG connector status is not found
e3fbf1a
- build(deps-dev): Bump prettier from 3.2.3 to 3.2.4
c7f3c88
- refactor: cleanup log messages formatting
4e41ea2
- build(deps-dev): apply updates
12e7a07
- refactor: type casting cleanups
7aba6c5
- fix: address two FIXMEs at websocket events handling
968f0e4
- perf: add fastpath for trigger message handling
ef69bc4
- fix: recreate stack trace on BaseError only if needed
f7be0fb
- build(deps): Bump @mikro-orm/reflection from 6.0.4 to 6.0.5
7823b4a
- build(deps): Bump actions/dependency-review-action from 3 to 4
f3bf03c
- refactor: use Error static function to generate BaseError stack trace
2ebd83d
- fix: improve malformed OCPP message handling
c3c8ae3
- refactor: type casting cleanups
3ccfabf
- refactor: use the same empty function everywhere
fc5529d
- build: bump volta pnpm version
1557694
- fix: ensure the second stage at handling incoming request is executed
1b7eb38
- build: bump volta pnpm version
3f9936c
- fix: handle WebSocket opening error
5a15db9
- refactor: refine missing ATG status log message [
703d80d
](703d80d...
Version 1.2.32
- Combined PRs
#926
- Combined PRs
#921
- build(deps): Bump vue from 3.4.3 to 3.4.4 in /ui/web
#915
- build(deps-dev): apply updates
a223d9b
- build(deps): apply updates
aafba9d
- build(deps-dev): apply updates
d360ae6
- refactor: improve types testing types definition
5dc7c99
- build(deps-dev): apply updates
f761ec2
- refactor: refine prettier configuration
a974c8e
- refactor: cleanup nullish values handling
f938317
- build(deps): apply updates
f0bede8
- build(deps-dev): apply udpates
dc29abc
- refactor: use top level await in bundling code
f36c247
- build(deps-dev): apply updates
0b5c37b
- build(deps-dev): apply updates
ac1946e
- refactor: update MikroORM entities definition
43be4c0
- build(deps-dev): apply updates
29c1afe
- build(deps): apply udpates
a6db51d
- refactor: cleanup MikroORM entities
a8599ae
- refactor: rename cloneObject() -> clone()
4061507
- refactor: prepare for MikroORM storage support
789007b
- refactor: make storage init compliant with MikroORM 6
4ccf551
- build(deps-dev): apply updates
7274efb
- refactor: consistent arguments name in type utils
bfcd3a8
- chore: update copyright years
a19b897
- fix: warn about reserved transaction started not found
a095d7d
- build(deps-dev): apply updates
e595dd5
- refactor: remove unneeded eslint-disable
3423c8a
- fix: handle properly async performance storage
be0a4d4
- build: add script to build MikroORM entities
1552a66
- fix: ensure dates in ISO string format are properly converted to Date
95dab6c
- docs: improve configuration file documentation
1021178
- fix: update mikro-orm.config.ts template for version 6
d5f6469
- refactor: silence linter
b5977da
- refactor: cleanup arguments namespace
1e2ec4a
- fix: fix nullish exception on boot notification handling
01d2a2c
- fix: ensure convertToDate() convert null date to undefined
79fd697
- docs: add missing evsesStatus section to configuration documentation
0aa874c
- build(ci): use latest in node version matrix
6dd374b
- refactor: cleanup eslint disablement rule
0c1e4bc
- docs: update copyright year
23f5af6
- refactor: set CSs stop timeout to 60s
98f5aa8
- fix: use MikroORM upsert
70b73ed
- test: improve a bit isEmptyObject() coverage
1c11470
- fix: ensure more date iso string are converted to Date
48c7e1d
- fix: fix nullish exception
73b78a1
- Merge dependabot/npm_and_yarn/ui/web/types/node-20.10.8 into combined-prs-branch
505937c
- Merge dependabot/npm_and_yarn/types/node-20.10.8 into combined-prs-branch
0c9f0f6
- refactor: switch eslint configuration to strict type checking
5199f9f
- refactor: cleanup type definition
79534cc
- build(deps-dev): apply updates
f4e4680
- build(deps): apply updates
9dcbad0
- build(deps-dev): apply updates
f0b146c
- build(deps-dev): apply udpates
83f3e9b
- build(deps): apply updates
47fd056
- refactor: cleanup some unneeded conditions
2466918
- build(deps-dev): apply updates
b534060
- build(deps): apply updates
02d891d
- build(deps-dev): apply updates
230f13e
- build(deps): apply updates
3a108cd
- fix: fix off-by-one in ATG statuses handling
0a1dd74
- fix: fix ATG connector statuses date handling [
6dde6c5
...
Version 1.2.31
- build(deps): Bump poolifier from 3.1.11 to 3.1.12
#908
- chore: switch coding style to JS standard
66a7748
- build: switch to NodeNext module resolution
a6ef1ec
- refactor: more coding style fixes
a807045
- fix: fix random connectors auto enablement
cc6845f
- build(deps-dev): apply updates
b13beb8
- build(deps-dev): apply updates
8fd8c45
- build(deps): apply updates
5f06937
- refactor: remove isUndefined() helper
300418e
- build(deps): apply updates
9f6d0c8
- refactor: cleanup isNullOrUndefined usage
aa63c9b
- refactor: remove isNullOrDefined() helper
be9f397
- fix: fix get composite schedule rejection condition
a4385ed
- refactor: cleanup isNullOrdefined usage
401fa92
- build: properly workaround Ajv TS type definitions bug
f5a1ff8
- fix: ensure configuration key visibility test does not alter configuration
563e40c
- build(deps-dev): apply updates
15af7ae
- build: temporary silence linter errors
8fc5fda
- build: use literal regexp for loopback address matching
bbb339c
- refactor: cleanup bundling code
a7c9924
- refactor: remove isUndefined() leftover
194b6bf
- perf: optimize configuration key visibility test
d0ed7db
- refactor: code cleanups
fbf3577
- build(ci): refine sonar configuration
4497266
- refactor: return set configuration value in setConfigurationKeyValue()
13b43b2
- refactor: code cleanup
1fb2148
- refactor: cleanup eslint-disable
e61f0f6
- build: refine lint-staged configuration
f4cae98
- build(ui): report coverage on console
9eb4b50
- refactor: code cleanup
bfb838a
- build: cleanup eslint-disable in code
761fec7
Version 1.2.30
- Combined PRs
#892
- build(deps): Bump sonarsource/sonarcloud-github-action from 2.1.0 to 2.1.1
#887
- build(deps): Bump github/codeql-action from 2 to 3
#888
- build(deps-dev): Bump eslint-plugin-n from 16.3.1 to 16.4.0
#885
- build(deps): Bump sonarsource/sonarcloud-github-action from 2.0.2 to 2.1.0
#884
- build(deps-dev): apply updates
46613b3
- build(deps): apply updates
2d4e5e7
- build(deps-dev): apply updates
7498d8a
- build(deps-dev): apply updates
d5286f9
- build(deps-dev): apply updates
2275d99
- build(deps-dev): apply updates
d5c6cfd
- build(deps-dev): apply updates
de7b9e0
- build(deps-dev): Bump esbuild from 0.19.7 to 0.19.8
15c2ca5
- build(deps): apply updates
eba2c65
- build(deps-dev): apply updates
71ac697
- build(deps-dev): Bump jsdom from 22.1.0 to 23.0.0 in /ui/web
d963b22
- build(deps): apply updates
55aa90e
- build(deps): apply updates
08b352f
- build(deps-dev): apply updates
0d589fc
- build(deps-dev): apply updates
61e399f
- refactor: factor out default station info
4f03d84
- build(deps-dev): apply updates
408f561
- perf: remove AsyncResource usage
d1ff859
- build(deps-dev): apply updates
04ad6a1
- build(deps-dev): apply updates
dc75038
- build(deps-dev): apply updates
7e1c8b6
- build(deps): apply udpates
1565a9c
- build(deps-dev): Bump vite from 5.0.8 to 5.0.9 in /ui/web
7a35de3
- build: cleanup eslint configuration
a78c196
- build(deps): apply updates
6a4032b
- build(deps-dev): Bump eslint-plugin-jsdoc from 46.9.0 to 46.9.1
3cd4d56
- fix: use unbiased standard deviation formula
66b40cf
- fix: avoid null exception at firmware upgrade
7780735
- build(deps): apply updates
1841338
- perf: a charging station worker is not an AsyncResource
ca0da0d
- build(deps): Bump basic-ftp from 5.0.3 to 5.0.4
bcc6340
- build(deps): apply updates
cb42286
- refactor: refine worker factory arguments checking
49e2c1e
- build(deps-dev): apply updates
66026d1
- refactor: cleanup null test
27662cf
- build(deps): Bump sonarsource/sonarcloud-github-action
25d7bec
- fix: resolve promise on charging station events once
2def357
- Merge dependabot/npm_and_yarn/basic-ftp-5.0.4 into combined-prs-branch
c3eed2f
- Merge dependabot/npm_and_yarn/eslint-plugin-jsdoc-46.9.1 into combined-prs-branch
03e47c2
- Merge dependabot/npm_and_yarn/ui/web/vite-5.0.9 into combined-prs-branch
b7bf497
- build(deps): Bump sonarsource/sonarcloud-github-action
8fbba56
- refactor: use RegExp.exec()
9e026a6
- refactor: silence TS type casting error
50fb029
- refactor: fix type casting
a0f6a47
- fix: ensure event listeners are removed at worker set stop
f073768
- Merge dependabot/npm_and_yarn/ui/web/jsdom-23.0.0 into combined-prs-branch
6e86b96
- Merge dependabot/npm_and_yarn/esbuild-0.19.8 into combined-prs-branch
1d75473
Version 1.2.29
- build(deps-dev): Bump @vitejs/plugin-vue from 4.5.0 to 4.5.1 in /ui/web
#872
- perf: minimize OCPPUtils exports
41f3983
- build(deps): apply updates
a735b67
- build(deps-dev): apply updates
5927293
- perf: reduce OCPPUtils memory usage
041365b
- build(deps-dev): apply updates
69b30c7
- fix: handle invalid hashIds in UI server payload
3a6ef20
- build(ci): fix linter errors
f1e3871
- build(deps-dev): apply updates
44337ae
- build: fix import issue with date-fns
c7c86b6
- build: fix console printing ordering
fc04731
- build: properly account build time
ce1b06a
- refactor: cleanup types import
6a5f590
Version 1.2.28
- build(deps-dev): apply updates
ea9eb85
- refactor: cleanup buffered messages handling code
2a2ad81
- fix: ensure no null serialized values end in UI server response payload
31fdd91
- fix: ensure UI server remains active at simulator stop
73edcc9
- fix: handle not found hashId in UI server
f12cf7e
- refactor: cleanup ElementsPerWorkerType type definition
65a1157
- refactor: cleanup crypto import
7cd0a62
- fix: only reset defined ATG connector status
37e207d
- refactor: add type for worker configuration attribute
47fb5f8
Version 1.2.27
- Combined PRs
#858
- docs: refine Web UI usage path
#860
- build(deps-dev): apply updates
94327d9
- build(deps-dev): apply updates
625f537
- build(deps-dev): apply updates
f4ba026
- refactor: factor out configuration handling helpers
4354af5
- build(deps-dev): apply updates
6a148c8
- build(deps): apply updates
e6a97a6
- fix: fix performance configuration change at runtime
6d2b7d0
- perf: allow to fine tune worker_threads ressource configuration
487f0df
- perf(simulator): remove worker configuration attribute from Bootstrap
5b373a2
- fix: fix recursion loop getTemplateFromFile -> logPrefix -> getTemplateFromFile
c1f16af
- refactor: rename elementsPerWorkers 'single' -> 'all
c20d5d7
- refactor(ui): add firmware status to UI types
2a52615
- fix: ignore harmless performance error at shutdown
b1bd4a1
- build(deps-dev): Bump tsx from 4.3.0 to 4.4.0
254be70
- fix: fix cf push by conditionnaly importing husky
9a2f0d4
- refactor: cleanup undefined handling
f1bd9d1
- fix: ensure event listeners are always removed at simulator stop
ee7c1da
- docs: ui/web/README.md: refine links
b4c9f3c
- docs: ui/web/README.md: fix link, take 2
9826239
- docs: ui/web/README.md: fix link
0338165
- Merge dependabot/github_actions/github/combine-prs-5.0.0 into combined-prs-branch
7837631
- Merge dependabot/npm_and_yarn/tsx-4.4.0 into combined-prs-branch
8ef1a84
- build(deps): Bump github/combine-prs from 4.1.0 to 5.0.0
da4c008
Version 1.2.26
- fix(simulator): buffer OCPP payload at sending error
#156
- build(deps-dev): apply updates
4a0329e
- build(deps-dev): apply updates
5ca3b55
- fix: make stationInfo attributes writable again
33276ba
- refactor: stricter type checking in conditions
4e3b1d6
- feat: add message buffer flush interval
1cee001
- fix: add getter/setter on some station info attributes
9fe79a1
- refactor: improve OCPP error defaults and usage
7375968
- build(deps-dev): apply updates
8e3118b
- fix: do not log twice OCPP request sending error
3febbc9
- fix: fix configuration loading from file
7878689
- refactor: remove unneeded max power getter
7ffc143
- fix: ensure updated CS event is emitted on all possible changes
8baae8e
- refactor: remove unneeded encapsulation in arrow function
b7ee97c
- refactor: remove unneeded registration status getter
05e2446
- fix: ensure the message buffer is flushed once accepted state is reached
6ccd865
- refactor: explicit condition check in OCPP stack
9aa1a33
- perf(ui): only build WS payload if connection is opened
3133b91
- fix: ensure configuration keys are saved with the right data structure
755a76d
- refactor: cleanup persistent stationInfo tunable handling
15af2fe
- build: bump volta node version
3216379
- build: remove now uneeded ESM workaround for esbuil
f01a4e6
- refactor: refine type casting in OCPP stack
e3fd8f6
- refactor: refine OCPP stack log message
42b8cf5
- refactor: cleanup types signature namespace
8b75cab
- refactor: more stricter type checking in condition
bc0f4d8
- refactor: add error name in worker set worker startup error reporting
7cd4006
Version 1.2.25
- build(deps-dev): apply udpates
793a8ff
- build(deps-dev): apply updates
464d3e1
- build(deps-dev): apply updates
54a8fbc
- fix: ensure OCPP request timeouting cancel it
1b2acf4
- build(deps-dev): apply updates
945c612
- fix: ensure per phase meterValues can't fail with custom value
969c488
- perf: cache request promise after sending it
82fa111
- fix: ensure error at WS message sending is handled
d42379d
- build(deps-dev): apply updates
29dff95
- refactor: factor out JSON schema validation function getter
0b0ca54
- fix: improve websocket usage error handling
1a32c36
- refactor: factor out WS error handling code
3c80de9
- feat: ensure measurand min value are taken into account
d71ce3f
- fix: fix OCPP message sending promise leak
9d7b5fa
- fix: remove incorrect promise race usage at stopping charging stations
5b2721d
- build(deps-dev): apply updates
42de5c9
- refactor: strong type data sent to worker
d769e04
- refactor: factor out voltage phase line to line computation
4c14964
- fix: fallback to minimum measurand value at meterValues generation
5bb45fe
- refactor: rename constant to a more sensible name
d81db08
- refactor: cleanup control flow in OCPP stack
69dae41
- build: refine .cfignore
c724c04
- refactor: sensible default at meterValues custom value handling
d624c9a
- build(ci): fix linter errors
9e9ddf7
- refactor: move charging station events enum to its own file
649e3f9
- refactor: remove unneeded nullish coalescing
ca483a4
- fix: ensure built sample meterValues value can't be overriden
1b2cdda
- docs: remove wrong comment
c6dcc33
Version 1.2.24
- build(deps-dev): Bump tsx from 3.14.0 to 4.0.0
#836
- build(deps): Bump github/combine-prs from 4.0.0 to 4.1.0
#834
- Combined PRs
#827
- Combined PRs
#824
- Combined PRs
#814
- Combined PRs
#813
- build(deps): Bump actions/setup-node from 3 to 4
#805
- Combined PRs
#796
- Combined PRs
#790
- build(deps): Bump @mikro-orm/sqlite from 5.8.7 to 5.8.8
#783
- build(deps): Bump @mikro-orm/core from 5.8.7 to 5.8.8
#781
- build(deps): Bump @mikro-orm/mariadb from 5.8.7 to 5.8.8
#784
- Combined PRs
#786
- Fix for failed execution in Docker container
#780
- build(deps-dev): Bump eslint-plugin-n from 16.1.0 to 16.2.0
#776
- Combined PRs
#779
- Combined PRs
#775
- Combined PRs
#774
- feat: add events for charging station status change
#458
- build: rollup -> esbuild
44ebef4
- build(deps): apply updates
7a164d1
- build(deps): apply updates
883940f
- refactor: remove getter on stationInfo properties
5398cec
- build(deps-dev): apply updates
3d20f4d
- build(deps-dev): apply updates
564dc47
- build(deps-dev): apply updates
dccd4bb
- build(deps-dev): apply updates
4e46562
- build: bump pnpm volta version
6302f32
- fix: disable dynamic reload until spurious file change is identified
b3b3f0e
- build(deps-dev): apply updates
948004f
- feat: reenable configuration files change watchers
1f8f633
- build(deps-dev): apply updates
d1500f9
- build(deps): apply updates
e41888d
- build(deps-dev): remove unused deps
2b1d37e
- fix: ensure charging stations are stopped if UI server is disabled at
36adaf0
- fix: ensure running transactions are stopped at CS stop
9ff486f
- refactor(simulator): cleanup JSON type usage in OCPP payload validation
291b5ec
- refactor: make ATG wait busy loop test first
60400e2
- fix: make ATG wait for CS/connector availability
3e888c6
- build(deps-dev): apply updates
9488054
- perf(simulator): compile payload validation JSON schema only once
ec0eebc
- fix(simulator): ensure configuration file reload will restart the
ab7a96f
- fix(simulator): handle close to zero duration formatting
17b07e4
- fix: ensure stop transaction is sent at ATG stop
4956399
- fix: avoid NaN at meterValues generation
5a47f72
- build(deps-dev): Bump @types/node from 20.8.9 to 20.8.10 in /ui/web
c0dd438
- fix(simulator): properly handle template change at ATG initialization
61854f7
- build(simulator): use node.js builtin source maps support
d60bc09
- test: add missing file
a902686
- fix: do not test for connector status in ATG
77684af
- build: bump volta pnpm version
129fdda
- fix(simulator): format properly duration close to zero
d7ceb0f
- build(deps-dev): apply updates
7d2c018
- fix: avoid concurrent configuration change callback execution
1b4ccee
- build(deps-dev): Bump @types/node from 20.8.9 to 20.8.10
9604a97
- perf: reduce bundle size by specifing external deps
ae2f529
- build(deps-dev): Bump eslint-plugin-vue from 9.18.0 to 9.18.1 in /ui/web
2d10f40
- fix(ui): util module is not available in browser
6ebeab4
- build(deps): Bump poolifier from 3.0.4 to 3.0.5
db98e2e
- build: use TS for rollup configuration
5ae86cf
- refactor(simulator): remove unneeded intermediate variable
74ed61d
- fix: fix types in stationInfo properties refactoring
9a77cc0
- test: add ElectricUtils.ts tests
bc4da6e
- build(ci): add dependencies audit step
52cdd8a
- fix: fix stationInfo default values [
73de8f0
](https://github.com/sap/e-mobility-charging-stations-simul...