Optimize a loop in the worker related code.
[e-mobility-charging-stations-simulator.git] / CHANGELOG.md
index 39fa3329d22280bd85b6f2740729a94f4cc2412a..61b0c40cee0972771c59d49a398703a8c9f4f421 100644 (file)
@@ -4,9 +4,291 @@ All notable changes to this project will be documented in this file. Dates are d
 
 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
 
+#### [v1.0.39](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.38...v1.0.39)
+
+- Add sonarcloud to GitHub actions [`613dc1b`](https://github.com/jerome-benoit/ev-simulator/commit/613dc1b79b181fc8d14b87e452a7c51848043cd5)
+- Fix sonarcloud bugs report. [`2891f76`](https://github.com/jerome-benoit/ev-simulator/commit/2891f7616d9f39d05f5c47876e29d2dbdbe9f6a5)
+- Rename OCCP16IncomingRequestService.ts to OCPP16IncomingRequestService.ts [`e717128`](https://github.com/jerome-benoit/ev-simulator/commit/e71712800639b0aaebec9af189fdbbaa4f453b92)
+
+#### [v1.0.38](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.37...v1.0.38)
+
+> 21 August 2021
+
+- Release 1.0.38 [`9f8f6e1`](https://github.com/jerome-benoit/ev-simulator/commit/9f8f6e12f777d2b4bf8a4ed1d149d12b34841c77)
+- Bump @types/node from 14.17.10 to 14.17.11 [`1dcc833`](https://github.com/jerome-benoit/ev-simulator/commit/1dcc83343029ad4fad11ac9751673d6001b64f6a)
+- Bump mocha from 9.0.3 to 9.1.0 [`f44d1bd`](https://github.com/jerome-benoit/ev-simulator/commit/f44d1bd2a045f9448d10290358f5fa47770c9e9c)
+
+#### [v1.0.37](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.36...v1.0.37)
+
+> 20 August 2021
+
+- Bump ws from 8.1.0 to 8.2.0 [`#2`](https://github.com/jerome-benoit/ev-simulator/pull/2)
+- Apply dependencies update [`3cefc16`](https://github.com/jerome-benoit/ev-simulator/commit/3cefc161e5bf53380b26c21e51938661fb24230b)
+- Create codeql-analysis.yml [`a87910a`](https://github.com/jerome-benoit/ev-simulator/commit/a87910a5dac3a732d9683d337818bf29784de480)
+- Add charging station template fields for HTTP basic authentication [`15042c5`](https://github.com/jerome-benoit/ev-simulator/commit/15042c5fdee2d617c1d533699334cbf044f1a97e)
+
+#### [v1.0.36](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.35...v1.0.36)
+
+> 15 August 2021
+
+- Fix MeterValues JSON payload [`#17`](https://github.com/sap-labs-france/ev-simulator/issues/17)
+- Release 1.0.36 [`81696b2`](https://github.com/jerome-benoit/ev-simulator/commit/81696b26fc1f48ea24c5cf0026b14760e6af37c7)
+- Fix a unit test failure. [`6c23cbb`](https://github.com/jerome-benoit/ev-simulator/commit/6c23cbbbf00352ee21bad7e853f4e6b549f17cb2)
+
+#### [v1.0.35](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.34...v1.0.35)
+
+> 15 August 2021
+
+- Apply security dependencies update. [`6c5fc6c`](https://github.com/jerome-benoit/ev-simulator/commit/6c5fc6c3595e93bf42e5002385a3cd0399ed6aa8)
+- Apply dependencies update. [`62cfe9f`](https://github.com/jerome-benoit/ev-simulator/commit/62cfe9f65077aaf50438f1c487a62a447d3ec299)
+- Add 95th percentile to performance statistics [`b49422c`](https://github.com/jerome-benoit/ev-simulator/commit/b49422c609edeff25577c1350f3bd2410bdd3b07)
+
+#### [v1.0.34](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.33...v1.0.34)
+
+> 14 August 2021
+
+- Fix performance statistics handling at charging station template reload [`087a502`](https://github.com/jerome-benoit/ev-simulator/commit/087a502dd0b03aa2107ebd6355062397e86d5e7f)
+- Release 1.0.34 [`8e3ffcc`](https://github.com/jerome-benoit/ev-simulator/commit/8e3ffccaafbe25bab04776ff10e8c6b2f5751062)
+- Fix error handling of incoming OCPP request [`e64c092`](https://github.com/jerome-benoit/ev-simulator/commit/e64c092349ce9744ed017cfa757dc0b86bff5fd5)
+
+#### [v1.0.33](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.32...v1.0.33)
+
+> 13 August 2021
+
+- Ensure performance statistics is started before connection to the OCPP [`7874b0b`](https://github.com/jerome-benoit/ev-simulator/commit/7874b0b1fbf94d34e8c65ed3e669f1c97f74dd1d)
+- Release 1.0.33 [`a07c191`](https://github.com/jerome-benoit/ev-simulator/commit/a07c1910dc3c565f7dce91bcf705b57a8171fa19)
+
+#### [v1.0.32](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.31...v1.0.32)
+
+> 13 August 2021
+
+- Cleanups: performance statistics, URI handling. [`57939a9`](https://github.com/jerome-benoit/ev-simulator/commit/57939a9da57b9ed1780ec63a2ecceaf44a107b17)
+- Add support for performance statistics for all requests sent to the OCPP [`aef1b33`](https://github.com/jerome-benoit/ev-simulator/commit/aef1b33aa631deaf5c939dc6a232ca8cc8147fc6)
+- Apply dependencies update [`6c9f025`](https://github.com/jerome-benoit/ev-simulator/commit/6c9f025b898abf3e383a5a4ff8ca9401d33028ca)
+
+#### [v1.0.31](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.30...v1.0.31)
+
+> 28 July 2021
+
+- Log a warning if a transaction id sent by the OCPP-J server is not an [`f3a6f63`](https://github.com/jerome-benoit/ev-simulator/commit/f3a6f63b4e690cecc8fdf84847a994970e12b94a)
+- Release 1.0.31 [`de5225a`](https://github.com/jerome-benoit/ev-simulator/commit/de5225a33d7b87ba256c08b6b73f68817dd8c4f2)
+
+#### [v1.0.30](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.29...v1.0.30)
+
+> 22 July 2021
+
+- Apply dependencies update. [`cef316b`](https://github.com/jerome-benoit/ev-simulator/commit/cef316bf18434cad32c630d0acb72b122ae446aa)
+- Release 1.0.30 [`f4c414e`](https://github.com/jerome-benoit/ev-simulator/commit/f4c414eb06d50dcdba02e48d63c787860e8c2f9f)
+- Sync with public GitHub [`d50cc82`](https://github.com/jerome-benoit/ev-simulator/commit/d50cc82b606aa331d1972897f5448f2067a35165)
+
+#### [v1.0.29](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.28...v1.0.29)
+
+> 20 July 2021
+
+- Release 1.0.29 [`34ca7a7`](https://github.com/jerome-benoit/ev-simulator/commit/34ca7a78f0b9f68acb624973b59b9c78e7b8bda3)
+- Allow to use fluctuated value for SoC MeterValues. [`561d966`](https://github.com/jerome-benoit/ev-simulator/commit/561d966b15fec605a437b17b9a0183a57789414c)
+
+#### [v1.0.28](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.27...v1.0.28)
+
+> 16 July 2021
+
+- Improve and fix error handling at sending OCPP commands [`290d006`](https://github.com/jerome-benoit/ev-simulator/commit/290d006c2d91dce4e9d187189c3e4fae870647f7)
+- Apply dependencies update [`9f3a873`](https://github.com/jerome-benoit/ev-simulator/commit/9f3a8735ce581cf8103483db73df03c031f836dd)
+- Release 1.0.28 [`ade0191`](https://github.com/jerome-benoit/ev-simulator/commit/ade01910e729e29cb246be8e113fdd40a4cbf4d0)
+
+#### [v1.0.27](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.26...v1.0.27)
+
+> 10 July 2021
+
+- Add GetDiagnostics command support [`47e2247`](https://github.com/jerome-benoit/ev-simulator/commit/47e224777669f935f45d443b6da948e7977fd9b7)
+- Release 1.0.27 [`dcd06cc`](https://github.com/jerome-benoit/ev-simulator/commit/dcd06cc1ba5bd15b67478926cfe82b190b44120b)
+- Apply dependencies update. [`6e1221a`](https://github.com/jerome-benoit/ev-simulator/commit/6e1221a35c45a9f04254f31b12385cba7b20f910)
+
+#### [v1.0.26](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.25...v1.0.26)
+
+> 28 June 2021
+
+- Properly handle charging profiles set a remote start transaction. [`e060fe5`](https://github.com/jerome-benoit/ev-simulator/commit/e060fe587a245ba900b8895f9cf5b8f926bdecb6)
+- Release 1.0.26 [`396d8df`](https://github.com/jerome-benoit/ev-simulator/commit/396d8df236da2c3f2639df79ad52c0d3d3b5fd62)
+
+#### [v1.0.25](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.24...v1.0.25)
+
+> 27 June 2021
+
+- Various fixes at charging profiles handling: [`a7fc821`](https://github.com/jerome-benoit/ev-simulator/commit/a7fc8211ff35f821074120edea9ddb6ce024d58d)
+- Consistent variables naming. [`5a20b4f`](https://github.com/jerome-benoit/ev-simulator/commit/5a20b4fd01f3efb08e45409716f8365ca2088e9a)
+- Consistent naming for CS template enums [`4c2b490`](https://github.com/jerome-benoit/ev-simulator/commit/4c2b490420d856ee0602b3806d6508b67643613b)
+
+#### [v1.0.24](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.23...v1.0.24)
+
+> 21 June 2021
+
+- Keep track of authorize request idtag status. [`163547b`](https://github.com/jerome-benoit/ev-simulator/commit/163547b1c0d9b1062891962feedb127fc0c1cc94)
+- Release 1.0.24 [`7b397d7`](https://github.com/jerome-benoit/ev-simulator/commit/7b397d7e4e4ddb66365674421577bdc967cf782a)
+
+#### [v1.0.23](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.22...v1.0.23)
+
+> 20 June 2021
+
+- Release 1.0.23 [`7486490`](https://github.com/jerome-benoit/ev-simulator/commit/7486490983618858f340fc03ceee4bdb7a6f5db5)
+- Optimize random fluctuated computation [`97ef739`](https://github.com/jerome-benoit/ev-simulator/commit/97ef739c0f207e2b729bd3f185c463eb0ff35c7d)
+
+#### [v1.0.22](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.21...v1.0.22)
+
+> 20 June 2021
+
+- Release 1.0.22 [`b410677`](https://github.com/jerome-benoit/ev-simulator/commit/b410677559d7af5cb7b2dbc9d4418da6d56d1bb2)
+- Consistent name for MeterValues related CS template tunable. [`6b10669`](https://github.com/jerome-benoit/ev-simulator/commit/6b10669bf67da4baa14bc5b28161710e4025c913)
+
+#### [v1.0.21](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.20...v1.0.21)
+
+> 20 June 2021
+
+- Add tunable for phase line to line voltage MeterValues [`9bd8738`](https://github.com/jerome-benoit/ev-simulator/commit/9bd87386d65158edef865cafd0daabff91822b87)
+- Release 1.0.21 [`a6d8a23`](https://github.com/jerome-benoit/ev-simulator/commit/a6d8a2363ef5fb8def961283aa5fdc36f8090fb2)
+
+#### [v1.0.20](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.19...v1.0.20)
+
+> 19 June 2021
+
+- Add per phase support to MeterValues in template. [`9ccca26`](https://github.com/jerome-benoit/ev-simulator/commit/9ccca265277990663dad8ad0573b7c283e221c6f)
+- Use ConnectionTineOut OCPP parameter as WS timeout [`147d0e0`](https://github.com/jerome-benoit/ev-simulator/commit/147d0e0f63942b395dabf86ab7488f6f270cf027)
+- Release 1.0.20 [`b2fcc85`](https://github.com/jerome-benoit/ev-simulator/commit/b2fcc85d7219058677263b0943da2ad9c073f9de)
+
+#### [v1.0.19](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.18...v1.0.19)
+
+> 13 June 2021
+
+- Release 1.0.19 [`46fe960`](https://github.com/jerome-benoit/ev-simulator/commit/46fe9601fe66f75a48301a658347fd393582ea22)
+- Add support for ConnectionTimeOut standard parameter [`291cb25`](https://github.com/jerome-benoit/ev-simulator/commit/291cb255bec471875566d94ea674b7f476a2b7a1)
+
+#### [v1.0.18](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.17...v1.0.18)
+
+> 13 June 2021
+
+- Complete AuthorizeRemoteTxRequests support in remote start transaction [`36f6a92`](https://github.com/jerome-benoit/ev-simulator/commit/36f6a92e3ab0a4a452da57aad6510bda259296ce)
+- Release 1.0.18 [`18b2d50`](https://github.com/jerome-benoit/ev-simulator/commit/18b2d50578dc6a5299bd1d770a6734e59d9a5431)
+
+#### [v1.0.17](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.16...v1.0.17)
+
+> 13 June 2021
+
+- Documentation on OCPP parameters [`7e1dc87`](https://github.com/jerome-benoit/ev-simulator/commit/7e1dc8784bef178de6438ae9af2bece427809cde)
+- README.md: fix sections hierarchy [`c56d42f`](https://github.com/jerome-benoit/ev-simulator/commit/c56d42f1989acd8c336fb165d5e295245adb37fa)
+- Release 1.0.17 [`8e84ea8`](https://github.com/jerome-benoit/ev-simulator/commit/8e84ea8faabb8b05cc46f71d5fb93d0eb51d3a3b)
+
+#### [v1.0.16](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.15...v1.0.16)
+
+> 13 June 2021
+
+- Add support for transaction data MeterValues [`fd0c36f`](https://github.com/jerome-benoit/ev-simulator/commit/fd0c36fab7509aeb48c1fbb40b70072fe64ae63c)
+- Release 1.0.16 [`b6c7cd2`](https://github.com/jerome-benoit/ev-simulator/commit/b6c7cd21424c1daec0d11933a4c457bc3d97524d)
+
+#### [v1.0.15](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.14...v1.0.15)
+
+> 12 June 2021
+
+- MeterValues: add Transaction.Begin and .End support [`6ed92bc`](https://github.com/jerome-benoit/ev-simulator/commit/6ed92bc13120d78f84f2182ddbafd3cbcaa37359)
+- Add support for unit in meter values. [`4a1857a`](https://github.com/jerome-benoit/ev-simulator/commit/4a1857a25fbcc203def0c0b1a6c5ebcb19602fe6)
+- Fix power unit in kW handling in charging station template [`510f0fa`](https://github.com/jerome-benoit/ev-simulator/commit/510f0fa5461cada6ca7c0e2aea525674fb00f079)
+
+#### [v1.0.14](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.13...v1.0.14)
+
+> 11 June 2021
+
+- Add initial support at sending transaction.{begin,end} meter values [`326f6e3`](https://github.com/jerome-benoit/ev-simulator/commit/326f6e386ccb8d0bbbd713a19ca4c827a2856097)
+- Release 1.0.14 [`ff6bb9b`](https://github.com/jerome-benoit/ev-simulator/commit/ff6bb9b48054b5f5ab39a93b8257ce6662064a85)
+- Refine eslint configuration [`c93aeb2`](https://github.com/jerome-benoit/ev-simulator/commit/c93aeb26312b1a939cf741d5b501abf2c44054c7)
+
+#### [v1.0.13](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.12...v1.0.13)
+
+> 11 June 2021
+
+- Bump glob-parent from 5.1.1 to 5.1.2 [`#14`](https://github.com/jerome-benoit/ev-simulator/pull/14)
+- Bump normalize-url from 4.5.0 to 4.5.1 [`#13`](https://github.com/jerome-benoit/ev-simulator/pull/13)
+- Apply dependencies update [`5cd0ee9`](https://github.com/jerome-benoit/ev-simulator/commit/5cd0ee90cba70da2d60d06f0ff450cfdd67a515d)
+- Apply dependencies update. [`d23a826`](https://github.com/jerome-benoit/ev-simulator/commit/d23a826b28694f55bfd5c21c6fb0e95bbd064077)
+- Add eslint node plugin. [`d1c056a`](https://github.com/jerome-benoit/ev-simulator/commit/d1c056a195a23d1aa6c9aa122f0c892c3db5c672)
+
+#### [v1.0.12](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.11...v1.0.12)
+
+> 4 June 2021
+
+- Default ATG to send authorize command before starting a transaction [`e644918`](https://github.com/jerome-benoit/ev-simulator/commit/e644918b4a997877aeae1c7875ef1296585872c7)
+- Release 1.0.12 [`6e0eda4`](https://github.com/jerome-benoit/ev-simulator/commit/6e0eda47dec50d025b0db8cf0816a3358ea977d2)
+
+#### [v1.0.11](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.10...v1.0.11)
+
+> 3 June 2021
+
+- Refine some logs level. [`9fbc92f`](https://github.com/jerome-benoit/ev-simulator/commit/9fbc92f7bbead3a303a2a5718d65b0ffd545e24d)
+- Update submodule reference [`0a44f74`](https://github.com/jerome-benoit/ev-simulator/commit/0a44f741496e11fad67ea038e6a0c7ac43272b0f)
+- Apply dependencies update. [`fe44e26`](https://github.com/jerome-benoit/ev-simulator/commit/fe44e266643939d029b23bd3c511de35a0000eff)
+
+#### [v1.0.10](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.9...v1.0.10)
+
+> 31 May 2021
+
+- Release 1.0.10 [`101e988`](https://github.com/jerome-benoit/ev-simulator/commit/101e9880c373361193926886e0c6e3f1f7fa376b)
+- Put auto-changelog configuration in package.json [`d22589b`](https://github.com/jerome-benoit/ev-simulator/commit/d22589b3543c990500a04be179088a4a3a7be7cb)
+
+#### [v1.0.9](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.8...v1.0.9)
+
+> 31 May 2021
+
+- Gracefully handle simulator missing files or files not found. [`23132a4`](https://github.com/jerome-benoit/ev-simulator/commit/23132a44933014c707d4fc3d0c681dc99cee7828)
+- Release 1.0.9 [`e3e5326`](https://github.com/jerome-benoit/ev-simulator/commit/e3e532609e80521181cf8e10a9e838fa360c5d66)
+- Apply dependencies update [`1fa8a76`](https://github.com/jerome-benoit/ev-simulator/commit/1fa8a76f6ffae9fe625a1707a9e1141c922f4774)
+
+#### [v1.0.8](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.7...v1.0.8)
+
+> 30 May 2021
+
+- Release 1.0.8 [`2bbddc3`](https://github.com/jerome-benoit/ev-simulator/commit/2bbddc367e37d0d163ee0e22f63c7093bb3aa0cd)
+- Add docker image build to GitHub actions [`c168e7a`](https://github.com/jerome-benoit/ev-simulator/commit/c168e7ade3388c9cea07d6cf4759bf0e7a1407a3)
+- Run the docker image build in GitHub actions. [`c871184`](https://github.com/jerome-benoit/ev-simulator/commit/c871184e11055b02f83ae3a36fe7af285bac8251)
+
+#### [v1.0.7](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.6...v1.0.7)
+
+> 30 May 2021
+
+- Release 1.0.7 [`6c6e9c2`](https://github.com/jerome-benoit/ev-simulator/commit/6c6e9c29422663a5f256a053d29cb35e51693f28)
+- Fix unit tests GitHub action name [`bc30952`](https://github.com/jerome-benoit/ev-simulator/commit/bc3095278757a8b8e9dbe09e98097461921fe3fa)
+
+#### [v1.0.6](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.5...v1.0.6)
+
+> 30 May 2021
+
+- Release 1.0.6 [`de630c3`](https://github.com/jerome-benoit/ev-simulator/commit/de630c3bbcbf1d3ba96b0097d5c4fb11584be5c8)
+- Fix CHANGELOG.md compare link generation [`d2b9eb6`](https://github.com/jerome-benoit/ev-simulator/commit/d2b9eb67601279d9b060ff59c96c2a44fb5b6d5e)
+
+#### [v1.0.5](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.4...v1.0.5)
+
+> 30 May 2021
+
+- Release 1.0.5 [`e7958d4`](https://github.com/jerome-benoit/ev-simulator/commit/e7958d495f884d707639bd3ef662f2b8f9cbd32b)
+- Fix CHANGELOG.md commit link generation [`8e6d4b0`](https://github.com/jerome-benoit/ev-simulator/commit/8e6d4b0936a465599c971af37ca900372fdbac9c)
+
+#### [v1.0.4](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.3...v1.0.4)
+
+> 30 May 2021
+
+- Enhance documentation [`6f0ec20`](https://github.com/jerome-benoit/ev-simulator/commit/6f0ec20eb58d0344c807ed297f9080191270697e)
+- Refine the documentation [`778f792`](https://github.com/jerome-benoit/ev-simulator/commit/778f79241952fefd769c87b195e01e8101964928)
+- README.md: Use red cross emoji for unsupported OCPP commands [`9e1b12e`](https://github.com/jerome-benoit/ev-simulator/commit/9e1b12e45e39c041e57442b641c8f1107ec3f8b3)
+
+#### [v1.0.3](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.3-1...v1.0.3)
+
+> 30 May 2021
+
+- Release 1.0.3 [`ff62e9c`](https://github.com/jerome-benoit/ev-simulator/commit/ff62e9c8adbdb20d56eb045c7e3f311bb09229da)
+
 #### [v1.0.3-1](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.3-0...v1.0.3-1)
 
+> 30 May 2021
+
 - Add CHANGELOG.md file to git. [`bf45eb6`](https://github.com/jerome-benoit/ev-simulator/commit/bf45eb680705907ff1cbb22a7ab94f39dd000213)
+- Release 1.0.3-1 [`d63fdaa`](https://github.com/jerome-benoit/ev-simulator/commit/d63fdaaa7f95da871e596b1232dadeafc32b5540)
 
 #### [v1.0.3-0](https://github.com/jerome-benoit/ev-simulator/compare/v1.0.2...v1.0.3-0)