refactor(simulator): constify and factor out empty data structure
[e-mobility-charging-stations-simulator.git] / CHANGELOG.md
index d170edce8a72976bfcf77fa8b51c1ce74942a5e4..33a70c9f294b395c676e65e0cd129e4d23e8be46 100644 (file)
@@ -1,11 +1,96 @@
 # Changelog
 
-## [v1.1.91](https://github.com/sap/e-mobility-charging-stations-simulator/compare/v1.1.90...v1.1.91)
+## [v1.1.94](https://github.com/sap/e-mobility-charging-stations-simulator/compare/v1.1.93...v1.1.94)
+
+- fix: apply dependencies overrides [`db64a53`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/db64a53bae8bfe40bcdcff64fe5e4b1287cdfae3)
+- chore: apply dependencies update [`3d1b570`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/3d1b570a5cafb042d73719311e1abce73a18965d)
+- fix(simulator): fix empty array detection helper semantic [`53ac516`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/53ac516c575adaacd199a68d39b5ace22876ee83)
+- fix(simulator): fix brown paper bag bugs after helpers semantic fix [`9a15316`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/9a15316cb7ede50d57ab25f758f0ccf1aa1bd903)
+- chore(simulator): apply dependencies update [`b6a45d9`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b6a45d9ada7e4b734c86d1c54cabbda58a6b72bb)
+- fix(simulator): lookup OCPP configuration key case insensitively [`acda9ca`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/acda9cab8724c9b51d1f5f9a8a12c6dd3617ff55)
+
+## [v1.1.93](https://github.com/sap/e-mobility-charging-stations-simulator/compare/v1.1.92...v1.1.93) (2023-02-10)
+
+- fix(simulator): detect string emptyness properly [`#390`](https://github.com/sap/e-mobility-charging-stations-simulator/issues/390)
+- Apply dependencies update [`910bff7`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/910bff7b6fc78f799a860bf6a50a400afd4447cd)
+- chore: enforce conventionnal commits with commitlint [`1e49f7a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1e49f7aab4d2a893d548a74b1afbb067ec31552c)
+- Apply dependencies update [`6f415cb`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6f415cbb89608f97b89a22fbe624004851cc0ddf)
+- chore: apply dependencies update [`b9336ee`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b9336eedb151ad0c6f519d977fdbddfedf3b7f2a)
+- Apply dependencies update [`6a6acd3`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6a6acd38a8e51548534566bc57530608edb53bb7)
+- Improve log messages prefixing [`1b271a5`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1b271a549cfd1b8e678a56918f113ebc7c17f592)
+- chore(ui): apply dependencies update [`c3d8778`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/c3d8778e50c865e2b8b0513050edcddca06306d0)
+- refactor(simulator): make OCPPIncomingRequestService class inherit from [`27f08ad`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/27f08ad31f3e69c0681005edc6e9fec49d0450c2)
+- refactor(simulator): propagate and handle startup error at callee [`4ec634b`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4ec634b76a847dcf6a929c6584af4dbb9ed92c17)
+- Bump @sideway/formula from 3.0.0 to 3.0.1 in /ui/web [`c719653`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/c719653a38240230d778d4698b3667260bd35dcc)
+- Apply dependencies update [`3788f75`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/3788f755b573fecd2cb12b0ed3a5260955983e6d)
+- chore: apply dependencies update [`cb231df`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/cb231dfe83b60814c3327db9f250a63676b4546e)
+- chore: apply dependencies update [`b34de72`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b34de720f4839ac20de72e10d5550c01312f5c8a)
+- chore: apply dependencies update [`db407f0`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/db407f05ffa8cad8bcc26ba12773f619a13f04ba)
+- fix(simulator): calculate LRU cache capacity dynamically at startup to [`d1c99c5`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d1c99c59787e98b3954760fbc208a5dfbc3d8f57)
+- chore: version 1.1.93 [`27bdf05`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/27bdf05539fbeda022a73281c98acf65b830163b)
+- fix(simulator): fix delayed initialization in promise at startup [`a596d20`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a596d200439848662293885dd9730f91be083114)
+- refactor(simulator): move configuration checks at initialization [`846d285`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/846d285145c208d251fedf80426c7a4abf12d731)
+- Use arrow function for log messages prefixing [`8b7072d`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/8b7072dca602c80ec6ef9a3463b6d53b43aa8fa5)
+- refactor(simulator): random float generator signature simplification [`2f45578`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/2f45578b9925ac9137d92898216c8c4c0b0bacdc)
+- Apply dependencies update [`6be0735`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6be0735cd7fd635e50a97a42bc5d3ae56fd9fdfd)
+- fix(simulator): fix default version bump scale at firmware upgrade [`598c886`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/598c886d552bbefae7d2c539da6f104c243e3c7f)
+- fix(simulator): initialize charging station worker outside the [`326cec2`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/326cec2dcb1662396a9557ba8ae1c74ea523baed)
+- UTs cleanup [`b9c918a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b9c918a2c297aaa01be6bf4a47ffab2712dd93ad)
+- fix(simulator): detect string emptiness properly without helper usage [`8d54dcc`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/8d54dcc02f185433399891be628fe8ce7658e2d1)
+- refactor(simulator): remove unneeded intermediate variables in startup [`6ed3c84`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6ed3c84506348f5a7eb6c14e4b0c359b8780f471)
+- refactor(simulator): remove unneeded duplicate initialization at startup [`af8e02c`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/af8e02ca9a957f78366251dd2e2b818c7b398dd4)
+- refactor(simulator): move main process unhandled or uncaught error [`4724a29`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4724a293231a0cec198f85aa8af9aa0564bbd542)
+- refactor(simulator): use proper type for log format [`63ec69b`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/63ec69b72d260925caad20eeb924d893067f521e)
+- refactor(simulator): remove unneeded intermediate variable in firmware [`07c52a7`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/07c52a72c0b8ab72dc37241892e02b229e70c0f6)
+- Fix nullish checks [`6b060f3`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6b060f3dbf57fe5cbe6b857cde6c091854625456)
+- refactor(simulator): remove unneeded intermediate variable in helper [`602d810`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/602d810aef1eebef219b274fc5bfdd42c3ec819d)
+- fix: make release-it compliant with conventionnal commits [`0defffd`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/0defffdcef18918b65a99380b05d575fc9238152)
+- Merge pull request #393 from SAP/dependabot/npm_and_yarn/ui/web/sideway/formula-3.0.1 [`a6a7447`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a6a74471d6d282312b4f18d1bee74400c6c45017)
+- refactor(simulator): remove unneeded ternary operator [`1732e61`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1732e6140696f6d226d3c99bbf9529f828f72770)
+- perf(simulator): remove unneeded nullish check at startup [`41bda65`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/41bda658ed7c2caf82b4d6a8f7af06b65729e1fb)
+
+## [v1.1.92](https://github.com/sap/e-mobility-charging-stations-simulator/compare/v1.1.91...v1.1.92) (2023-01-26)
+
+- Add error handling to JSON schemas file reading [`#369`](https://github.com/sap/e-mobility-charging-stations-simulator/issues/369)
+- Apply dependencies update [`e456424`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/e4564243466c949f35fd219092747c4dd2ac347b)
+- Strict null check fixes [`72092cf`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/72092cfcf8a31c06e4592b25e060e2d74d2ed99c)
+- Switch log messages to string literal [`44eb602`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/44eb6026079c8dc2c77b10a96a42d0c0b2da7c8f)
+- Apply dependencies update [`b099197`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b09919731582dad401825be0aeb0185344a1d845)
+- Strict null type check fixes [`1895299`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1895299db899eb53db7fb1615b82624f806017e8)
+- Apply dependencies update [`dec8f36`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/dec8f3602f5ed9cd916cce460ee0e10aedaa087e)
+- Factor out JSON schemas parsing with per OCPP stack version [`7164966`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/7164966d863b4539243b473c5e2e9d22fb9b5fd1)
+- Fix file error handling propagation [`6d8b0b0`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6d8b0b0e25a198e2328d165b9413f6f4d13db2e7)
+- Strict null check fixes [`551e477`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/551e477c2cc2461de8dcc2b263a35c0c50240bbf)
+- Falsy/truthy test fixes [`d812bdc`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d812bdcbd13b39bf895bb3e01c0556d87c35a6d1)
+- Refine code formatting rules [`8475b22`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/8475b2228f0b36777e1a9528b2d61348facad82f)
+- Version 1.1.92 [`1831735`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/183173559d6bfc96e66c8ff5a0624b8215c2f71c)
+- Avoid strings concatenation [`14ecae6`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/14ecae6a3d6b172ca29353e5a2faed513feff4f5)
+- Use crypto unbiased random integer generator [`59395dc`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/59395dc149654128f2996f4999bccb66270f54e4)
+- Revert incorrect isEmptyString() semantic change [`4e276cc`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/4e276cc7fe5ba6090afa4cb7b45b0f0885d0f149)
+- Fix isEmptyString() UT [`1a4a811`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1a4a811c5bdaa4aadd32dec4851835be864d8c6a)
+- Evaluate OCPP messages buffer flush performance [`1431af7`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1431af786f4d2728bad4132d505758144798516b)
+- README.md: fix some default values [`a14885a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a14885a38eab808dd12ab3be6e2c3ee1d5eeb938)
+- Improve isIterable() UT [`afb26ef`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/afb26ef122e3517f1b6a32c14d7ffe92c0ae35a0)
+- Empty string handling fixes [`27e40a3`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/27e40a3b65c82807a3bf15a0e56b6f24fceb89f8)
+- Fix UT [`293aaa3`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/293aaa3118bbd8c6a6e7933f049d51031c134fa6)
+- Improve empty file name handling [`c78355e`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/c78355e4f754d07a9d150b10b11ad925946b5c5a)
+- Fix a null or undefined condition [`b40b5cb`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/b40b5cb39eb44088100f2ce5efc2a6fdf4b84f26)
+- Fix build [`e92fdb8`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/e92fdb8c90c72628a7644f9f60c8b0a1bbb95f0b)
+- Silence rollup warning [`0c7370d`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/0c7370da4f16b4471b21b510aa6c74664a99fe89)
+- Fix isEmptyString() semantic [`29405d4`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/29405d4fc27d01f8186482c0826b290152d027fe)
+- Revert wrong type change [`5eaabe9`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/5eaabe903f16359e6ddb3830216993f186cb85d5)
+- Fix extra whitespace in log messages prefix [`a1e5fe4`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a1e5fe4e22aaee2d4c7535fc9b6998f0e5f9a8f3)
+- Fix log message conversion to string literal [`cca3d47`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/cca3d47443640043862c0106f69485b11a11f31b)
+- Improve OCPP message type logging [`336f282`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/336f2829e8bdfc4f47839eaa73933bf5ca5b0af8)
+- Improve isIterable() UT [`d98f014`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/d98f014c7958d0400f717f2704fb74bb1f7852e3)
+
+## [v1.1.91](https://github.com/sap/e-mobility-charging-stations-simulator/compare/v1.1.90...v1.1.91) (2023-01-21)
 
 - Apply dependencies update [`6db3502`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/6db3502d06550329abb91eccff3c43d5e8598591)
 - Apply dependencies update [`a0901b9`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/a0901b95ecb9f51b00767d229951a94ceaf86429)
 - Ensure a transaction is always stopped, whatever is the CSMS response. [`2cace1a`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/2cace1a546e371a9326f84179d0e2384275048bf)
 - README.md: document firmware upgrade template section [`5e5a654`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/5e5a6546442070f66129af20a8a3312e177be33d)
+- Version 1.1.91 [`70cd75c`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/70cd75c28a6ae78a4615cc6ba037cfa76b721cbb)
 - CHANGELOG.md: spell fixes [`1c1ad09`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/1c1ad09e4e22b2dcf002bfeef114b880a07d8353)
 - Fix and add log messages [`8ca6874`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/8ca6874c767f7068b101291232cf69b05bbd28c1)
 - Fix OCPP messages buffering handling [`764d2c9`](https://github.com/sap/e-mobility-charging-stations-simulator/commit/764d2c911026befed9b15af0087eafcf7a3afc5e)