# [@rss/common-nodejs-v2.0.4](https://github.com/risk-and-safety/platform-legacy-packages/compare/@rss/common-nodejs-v2.0.3...@rss/common-nodejs-v2.0.4) (2026-08-25)


### Bug Fixes

* **common-nodejs:** preserve kafkajs v1 partitioning behavior ([9f5dcdd](https://github.com/risk-and-safety/platform-legacy-packages/commit/9f5dcddec78a4a2e9b36b1384b9a91f0ff7b57bb))
* **deps:** bump in-range deps and refresh lockfile to clear audit findings ([edb8aec](https://github.com/risk-and-safety/platform-legacy-packages/commit/edb8aec595b2030e35d69646345d6d9aeed9c742))

# [@rss/common-nodejs-v2.0.3](https://github.com/risk-and-safety/platform-legacy-packages/compare/@rss/common-nodejs-v2.0.2...@rss/common-nodejs-v2.0.3) (2026-07-21)


### Bug Fixes

* **deps:** bump runtime deps and migrate dev tooling to latest majors ([484f893](https://github.com/risk-and-safety/platform-legacy-packages/commit/484f893a36bee35d954fec4e939f4dc4e035ca0a))
* **deps:** downgrade @elastic/elasticsearch to 7.13.0 in common-nodejs ([33ca85a](https://github.com/risk-and-safety/platform-legacy-packages/commit/33ca85addbfd1b2225f63501e3d1bdd67c85f691))

# [@rss/common-nodejs-v2.0.2](https://github.com/risk-and-safety/platform-legacy-packages/compare/@rss/common-nodejs-v2.0.1...@rss/common-nodejs-v2.0.2) (2026-07-17)


### Bug Fixes

* **rss-common-nodejs:** bump aws-sdk v3 to 3.1090 and drop vulnerable transitives ([3d2d931](https://github.com/risk-and-safety/platform-legacy-packages/commit/3d2d9315aa4640ec2198baaa610a81a09d1965e0))

# [@rss/common-nodejs-v2.0.1](https://github.com/risk-and-safety/platform-legacy-packages/compare/@rss/common-nodejs-v2.0.0...@rss/common-nodejs-v2.0.1) (2026-07-17)


### Bug Fixes

* **deps:** patch axios and cookie dependabot advisories ([99488b2](https://github.com/risk-and-safety/platform-legacy-packages/commit/99488b21ab84bbee122f3ebd9f3a474f9477f4c5))
* **rss-common-nodejs:** migrate aws-sdk v2 to v3 ([0468e40](https://github.com/risk-and-safety/platform-legacy-packages/commit/0468e4085e72a5b9d93ee9e29d7f4ae4301ea88c))

# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.4.4](https://github.com/risk-and-safety/platform/compare/@rss/common-nodejs@1.4.2...@rss/common-nodejs@1.4.4) (2022-04-21)


### Bug Fixes

* **logging:** force body to be JSON for ElasticSearch ([46c6709](https://github.com/risk-and-safety/platform/commit/46c67091bdd437641c88ed924b7d520a0cef055f))





## [1.4.2](https://github.com/risk-and-safety/platform/compare/@rss/common-nodejs@1.4.0...@rss/common-nodejs@1.4.2) (2021-11-20)


### Bug Fixes

* **logger:** log method for servers using new dispatcher ([d128642](https://github.com/risk-and-safety/platform/commit/d128642dfdcc55dbce69ab5c029b5675c475b850))





# 1.4.0 (2021-11-19)


### Bug Fixes

* **elastic:** do not wait for completion on reindex to prevent timeout of migration scripts ([d352a54](https://github.com/risk-and-safety/platform/commit/d352a54d15a92bf78fe35818dcdfe23f50ba4949))
* **elasticsearch:** downgrade to 7.13 to support AWS ES ([42fde60](https://github.com/risk-and-safety/platform/commit/42fde609b9a5de464142a43878c6deefcfbdc761))
* **errorHandler:** account for null err.errors on 400 status ([3625e31](https://github.com/risk-and-safety/platform/commit/3625e31147da8949f53975442bb0c46f80812dd8))
* **kafka:** pass Buffer to helper.handlerError not an object ([661711b](https://github.com/risk-and-safety/platform/commit/661711bfb93d3072a9b07a3e4791e9743ea589cc))
* **logging:** non-ValidationError should be bunyan 50, log App name PC-933 ([befb590](https://github.com/risk-and-safety/platform/commit/befb5903d5be36f6301c08d218e089ac75d27ca0))
* **npm:** bump client-fuse dev dep, prettier in all pkgs CUD-173 ([648b5c1](https://github.com/risk-and-safety/platform/commit/648b5c1c30758c157202a5a9a3aa4a0306a08f62))
* Revert jest to 26.6.0 to fix localhost issues ([fea7898](https://github.com/risk-and-safety/platform/commit/fea7898034f9540d50e48767c478d48111943157))
* **logging:** bump @rss/common-nodejs for middleware fix ([7e808e2](https://github.com/risk-and-safety/platform/commit/7e808e28d0f2cb2d8af7bdcd8e9bfdfebd8df0ec))
* **logging:** bunyan middleware, copy body.user to req.user ([455e656](https://github.com/risk-and-safety/platform/commit/455e656ba0ad0234df1e22e1964deff7d10fca2a))
* **logging:** downgrade middleware to Node12 syntax for printable ([0b8c15a](https://github.com/risk-and-safety/platform/commit/0b8c15a90750add9890868e7296c9879498f577c))
* **node:** avoid optional chaining for printable on Node v12 ([177936f](https://github.com/risk-and-safety/platform/commit/177936f97afaad9eb71d30b337ad487d58ee319b))
* **snyk:** updated version for snyk fixes (VUL-429) ([bc043e5](https://github.com/risk-and-safety/platform/commit/bc043e5b6b5473ed72c789d597e7898d2bbf466f))
* **tracker:** Core group query fix to retrieve groups by ids.(SLIP-166) ([b48bb18](https://github.com/risk-and-safety/platform/commit/b48bb182f823199aa68441e8a62d3e12b8d7ac71))
* **tracker:** Updated groups fetch to return minimal info.(SLIP-166) ([99a0a8f](https://github.com/risk-and-safety/platform/commit/99a0a8f00cfd7c621bfc4d1450d9e997f5a50e7e))
* **workflow:** do not save history for every workflow action processed IFH-418 ([f70ba6f](https://github.com/risk-and-safety/platform/commit/f70ba6f801e9ce71c40801416ba0f7c69af56c4f))


### Features

* **client-fuse:** bump to 6.0.0 ([a8b6bb8](https://github.com/risk-and-safety/platform/commit/a8b6bb82daaaaacdcc21bf3236321d76fb92dcf9))
* **deploy:** reduce Github Actions from 36 to 3 using matrix ([f99504a](https://github.com/risk-and-safety/platform/commit/f99504aea26025318b79ef3fd0e4dbbfa7d676b6))
* **incident-mgmt:** permission checks on backend routes (INCMGT-115) ([6bb7f72](https://github.com/risk-and-safety/platform/commit/6bb7f726ceda53408cb4002eb373a21585d9ed84))
* **logging:** trim body.user, response length IN-563, response time PC-284 ([f0e745c](https://github.com/risk-and-safety/platform/commit/f0e745c953c8126106729c31501697a89f238c13))
* **relationship:** refactor consumer and add health check ([70b117f](https://github.com/risk-and-safety/platform/commit/70b117f49c56ef1affd68fc4df39b1158a5780fa))
* **security:** add SonarCloud code scan to GitHub Actions ([3055134](https://github.com/risk-and-safety/platform/commit/30551343cc0ca5aaa27499511ecb07ec15479b18))



## 2020.11.11-11.50 (2020-11-11)


### Bug Fixes

* **auth:** independently validate tokens if the user has more than one ([072f078](https://github.com/risk-and-safety/platform/commit/072f078276ba83202200275bde98c3c465c8f56b))
* **dependencies:** move mysql2 into dependencies ([a6f2fc2](https://github.com/risk-and-safety/platform/commit/a6f2fc27aafcbf7f9f7a8747b8f385945d687fe8))
* **email:** email links to have absolute paths based on campus code ([e01a350](https://github.com/risk-and-safety/platform/commit/e01a350ff2cfc4dadcd418ee7aed987c6d7d4c2a))
* **kafka:** add rss.error topic for catching consumer errors ([e6b434b](https://github.com/risk-and-safety/platform/commit/e6b434b730b8c445360445813e55e96ca8beda46))
* **kafka:** push mesage.value to kafka rss.error topic ([9db4bcd](https://github.com/risk-and-safety/platform/commit/9db4bcdb2fa54954c660a6befe5b5687bda14f48))
* **kafka:** return config in helper ([8d5d9f6](https://github.com/risk-and-safety/platform/commit/8d5d9f6ccdae916fa34d32191bdd83e3560c17f5))
* **log:** fix typo ([7aa3717](https://github.com/risk-and-safety/platform/commit/7aa3717a8d4c9b031d08a0f39795aadcbbba42c1))
* **logging:** prevent logging entire req in node 14 ([640176a](https://github.com/risk-and-safety/platform/commit/640176a8a65173c4155086876d032ac6c21e0184))
* **logs:** add new stream for logs when running locally ([306be20](https://github.com/risk-and-safety/platform/commit/306be2088ee22297c2d23e2bbad325881899a836))
* **mongo:** remove logging url when fail to connect to mongo ([4c42b05](https://github.com/risk-and-safety/platform/commit/4c42b053ebbeabff7c0851b76443746a0ff2e08c))
* **mongo:** throw error if mongo is down to kill node process so pod restarts ([26d238d](https://github.com/risk-and-safety/platform/commit/26d238d46cb4993a96cd5fb85ba39e1c15a5eda0))
* **nodejs-logger:** remove token from body.user ([4c27847](https://github.com/risk-and-safety/platform/commit/4c278473cb6b518323bcfda984a85bf3279b487d))
* **null-check:** check for null and error. Also remove token to be printed on log ([b21c33c](https://github.com/risk-and-safety/platform/commit/b21c33c7cf41e10c8cb3b56fea221928f2c03f9b))
* **package:** issues with monorepo ([299f8f7](https://github.com/risk-and-safety/platform/commit/299f8f7ee31dbe67ab15701c6043c88d2c801406))
* **permissions:** remove document permissions from relationship config PC-520 ([5f92baf](https://github.com/risk-and-safety/platform/commit/5f92bafe20eb71fea208d4265178d17b3c4ba0e8))
* **relationship:** fix label ([ca60f8d](https://github.com/risk-and-safety/platform/commit/ca60f8db3ff4f881685e986fdddc54e2312aef6d))
* **relationship:** fix permission issues consuming cs kafka topics ([76f9f94](https://github.com/risk-and-safety/platform/commit/76f9f946f2b8b60d442931b27e92ef6d07721bee))
* **resolutions:** remove resolutions from all package except root ([dbdb38f](https://github.com/risk-and-safety/platform/commit/dbdb38f12945e50dd8f254c9e5706015943bca70))
* **rss-common-nodejs:** mysql url ([d87b9c6](https://github.com/risk-and-safety/platform/commit/d87b9c6dc1cc9a251bdd311ce9817305d66cbe47))
* **rss/common-nodejs:** fix import of token-helper for axios helper ([3ff74e8](https://github.com/risk-and-safety/platform/commit/3ff74e8fbdc23b39c0a4aac5a13766d89a5d8646))
* **secret-path:** fix the path issue for windows environment ([e3eb8de](https://github.com/risk-and-safety/platform/commit/e3eb8de17c343fea1388a3969b77ec39610b9e19))
* **sublocation:** specify when to upsert ([fb80570](https://github.com/risk-and-safety/platform/commit/fb805709c8ecf091dd34e9eed340aca95f4a4993))


### Features

* **all:** add dependency tree ([1a817fb](https://github.com/risk-and-safety/platform/commit/1a817fb0b55d0e10fe0a9f655cb9788ff48ff740))
* **analytics:** Implemented MySQL and Modified All Services ([394c6e9](https://github.com/risk-and-safety/platform/commit/394c6e91e2f7e63d83c2decace4dc19089bb4659))
* **analytics:** Server Side Code Setup With MsSQL ([53b9910](https://github.com/risk-and-safety/platform/commit/53b9910c4f66de597abe378485ecda26133fada6))
* **assessment:** Ability to archive an assessment ([d0bb718](https://github.com/risk-and-safety/platform/commit/d0bb71869d9603e40f84074e74660067b5fe25d2))
* **assessment:** add events array to edges ([09b7db1](https://github.com/risk-and-safety/platform/commit/09b7db1b547d069b0f9c3f4cede3187cc4c216ac))
* **assessment:** implement available actions for RP ([2ca0503](https://github.com/risk-and-safety/platform/commit/2ca0503079072b06aa8e6ed7de39dd48ce16bed8))
* **assessment:** name on createion and rename assessment ([318eb7f](https://github.com/risk-and-safety/platform/commit/318eb7f4f3bb427473e7cf708357ec58dfcff523))
* **assessment:** Notify EHS Admins when a assessment has been completed with no outcomes ([bec36a5](https://github.com/risk-and-safety/platform/commit/bec36a5bbd5615e572981dba1c95d02b7e790ecf))
* **assessment:** Push Roster updates to core from assessment AFE-799 ([208ed63](https://github.com/risk-and-safety/platform/commit/208ed634fe643630b6d03907b3e95ee404f04be7))
* **assessment:** rest-api for getting assessment by parent and template PC-269 ([d8cd56e](https://github.com/risk-and-safety/platform/commit/d8cd56ee1ab49848333e0948019d151d28946b8d))
* **assessment:** update member roles ([ac0a4c4](https://github.com/risk-and-safety/platform/commit/ac0a4c475d1d38b2d64504e675c54f9ab8459e2f))
* **assessment:** use relationships for crud permissions ([f98b87d](https://github.com/risk-and-safety/platform/commit/f98b87d93adb77aa4edaae7c4b5d4955429da692))
* **assessment-members:** add and remove relationships to an assessment based on state of assessment ([6eccec4](https://github.com/risk-and-safety/platform/commit/6eccec4cd4c464af17c57700f7498a37e480e2d1))
* **assessment-server:** List Parents based on template NCRDBL2-140 ([76e6813](https://github.com/risk-and-safety/platform/commit/76e681339593cbf7afd603a193e673010a7c9815))
* **assessment-server:** Pass roster to moodle ([d9838a8](https://github.com/risk-and-safety/platform/commit/d9838a822ade97e8c59bb18e5d6d2a4475cf1eb8))
* **assessment-server:** training migration script ([ca56747](https://github.com/risk-and-safety/platform/commit/ca567477f389109499b8e8249bfca264e3efa566))
* **assessment-server:** Unit risk assessment ([389770e](https://github.com/risk-and-safety/platform/commit/389770eca4ae25066c656a8ddf4c23563fc0c1df))
* **assessment-version:** create a new assessment version when amending and deactivate previous assessment version, add seriesId to assessment ([d9ea99e](https://github.com/risk-and-safety/platform/commit/d9ea99e89a3503f45849f14ece40a8d1b875d4e4))
* **assign-to:** assign role people to assessment BIOS-222 ([753903a](https://github.com/risk-and-safety/platform/commit/753903a4ca56c7214183cc141ceec6535c363fc6))
* **away:** setup mongo and validations to create a trip in the database AWAY-58 ([b6d7528](https://github.com/risk-and-safety/platform/commit/b6d75283fd14bb24095109cb4b28c19fd85bd0ad))
* **aws:** add Jenkins pipeline, refactor chemical, export, drive, feature, procedures, purple for k8s ([8319b32](https://github.com/risk-and-safety/platform/commit/8319b32cadad0b387b771282de0e29b3192539cd))
* **chemical:** certification reminders ([eb9c0bb](https://github.com/risk-and-safety/platform/commit/eb9c0bb739b181fd091e57e11cdbcb70a5b94aa3))
* **cognito:** add lambda function for cognito ([6414760](https://github.com/risk-and-safety/platform/commit/64147607857d3793ef9a193d20f2154a7aba10cc))
* **cognito:** add logic to rss-common-nodejs to handle cognito ([e4b9b08](https://github.com/risk-and-safety/platform/commit/e4b9b0804dc682a73c78df2f28c63f3b550e9c79))
* **common-nodejs:** add elastic into common-nodejs ([3c7e7a5](https://github.com/risk-and-safety/platform/commit/3c7e7a5711df06d940ec6b21c042c17eb5019acb))
* **common-nodejs:** add proxy for env ([f339c92](https://github.com/risk-and-safety/platform/commit/f339c92180c96a3171c5db2b5b8514d91be14536))
* **common-nodejs:** add share mongo file ([6dadd27](https://github.com/risk-and-safety/platform/commit/6dadd2767d3994d3d89838bd16315e018d4331de))
* **drones:** s3 files scanning ([3e0ffc2](https://github.com/risk-and-safety/platform/commit/3e0ffc2ef3f0297cf1bccd31ceea9e7f3c012a0e))
* **graph:** pass req.headers through to handle impersonate-id PC-594 ([77ca530](https://github.com/risk-and-safety/platform/commit/77ca530b67e93d9786861b255dc24b86db791426))
* **inspect:** get inspectors and subject on report details ([49fa69b](https://github.com/risk-and-safety/platform/commit/49fa69be87f702bfaf5d0d22515df660896c4b6f))
* **inventory:** kafka implementation for consuming group changes on inventories ([984b165](https://github.com/risk-and-safety/platform/commit/984b1657139a9112fc82bf9679201997455b4bd5))
* **inventory:** script to add inventories and relationships to neptune ([f723629](https://github.com/risk-and-safety/platform/commit/f723629b8d3c660779a9e6f3100841aa5d226fd8))
* **jaggaer:** parse xml and split up api ([af741fa](https://github.com/risk-and-safety/platform/commit/af741fae1974b796242e604dc1543593bfaf0d05))
* **kafka:** change to use sasl authentication ([073541f](https://github.com/risk-and-safety/platform/commit/073541f3e3972f89ae95072e4d954545d186e25b))
* **kafka:** Initial kafka changes ([6d70b69](https://github.com/risk-and-safety/platform/commit/6d70b69273e25ad7e230eb03c223080e92e365dc))
* **ldap:** add querying ldap ([aec46bc](https://github.com/risk-and-safety/platform/commit/aec46bc358dd4d62b1883e952367de010cb62be5))
* **moodle:** Ability to create or find user in moodle module ([3d3abbb](https://github.com/risk-and-safety/platform/commit/3d3abbb1be1459e657d6bb825ab271e5470c4e99))
* **organization-server:** Activate organization ([261cfe2](https://github.com/risk-and-safety/platform/commit/261cfe2bf6dbb2450a2b51d449896949f69dcbf6))
* **relationship:** add neptune apis for traversing adjacent nodes, related suggestions PC-256 ([c5da5f9](https://github.com/risk-and-safety/platform/commit/c5da5f95e9224dd501f9fe67ca073787e826a4db))
* **relationship:** pass headers through dispatcher, update relationship permissions based on access tokens PC-520 ([20a407a](https://github.com/risk-and-safety/platform/commit/20a407a2e159e8ce45a86308c68a215df431c792))
* **relationship:** push relationship changes to kinesis stream PC-240 ([f1fcada](https://github.com/risk-and-safety/platform/commit/f1fcada62317c3d1234d5da215212b06882bc247))
* **relationship-server:** Related nodes based on type and target, search based on name AFE-833 ([0fe2f74](https://github.com/risk-and-safety/platform/commit/0fe2f749840fdc4f2e5d5ddc4c2f8f7ec3635c45))
* **relationship-server:** separate permission from related nodes by id ([744861c](https://github.com/risk-and-safety/platform/commit/744861c2e2bbf1ba9d897a10e9ebae2b133205ba))
* **relationships:** create api for deactivateNode that deactivates all edges around a node ([58b7ae3](https://github.com/risk-and-safety/platform/commit/58b7ae312aec49c0e0b005e1d479cdcc69f08106))
* **relationships:** group by series in traverse and link by seriesId in home page my work, fix routing for seriesId ([8912426](https://github.com/risk-and-safety/platform/commit/8912426360e1c81794565b9ebe98440911d434a3))
* **rest-api:** allow Berkeley System to update assessment owner, update group owner from assessment ([90528cb](https://github.com/risk-and-safety/platform/commit/90528cb64345334dbfcc91c230e6a16612af4c3d))
* **rest-api-server:** Initial implementation changes ([8208b97](https://github.com/risk-and-safety/platform/commit/8208b9713b6baf13c6f057d6c5726cc94993ed4c))
* **training-server:** create job to migrate training delta from mysql to mongo ([cfe410b](https://github.com/risk-and-safety/platform/commit/cfe410b556c1354fba5521d62396e3de324a32ab))
* **unit-risk:** Get seriesId based on template and parent- NCRDBL2-141 ([078fdb0](https://github.com/risk-and-safety/platform/commit/078fdb03ccb299eb7ea415c449bb2071ef19356d))
* **v2:** reminder for expired assessments ([da30df9](https://github.com/risk-and-safety/platform/commit/da30df9dd5294ef1318ec987504f79235b9bddc8))
* **workflow-history:** get assessment workflow history BIO-312 ([7d8057a](https://github.com/risk-and-safety/platform/commit/7d8057a3fa43153885054d2548edfc11526caf6b))
* **workflow-server:** add method to return history for a document ([62879c5](https://github.com/risk-and-safety/platform/commit/62879c53e937b9e126da815430129bc7bb9e8b38))
* Auto-Assign LHA training to the user ([688c22c](https://github.com/risk-and-safety/platform/commit/688c22cf4f31e079fee918d5a03414b29d449aee))
* find all assessments by series id and view on a page ([ea08023](https://github.com/risk-and-safety/platform/commit/ea08023397eac48887e3a2a781adf95ffa3f434f))
* **common-nodejs:** secret helper file ([3c49ccd](https://github.com/risk-and-safety/platform/commit/3c49ccde992261fa14526943b947d49129710668))
* **env:** add env and intialize it by default ([aff5d80](https://github.com/risk-and-safety/platform/commit/aff5d80d177b952bfa81d287f83a06d43d26feee))
* **order:** add route for jaggaer ([9c043b2](https://github.com/risk-and-safety/platform/commit/9c043b243df24fc00417c51a565b764c36b04b4d))
* **relationships:** add CAMPUS node and edges for DOCUMENT (ex: Assessment) and PPE COORDINATOR ([b98f819](https://github.com/risk-and-safety/platform/commit/b98f81953baa244361a12cb0369f1540ea0c8249))
* **relationships:** soft delete relationships to track history ([94fa7e8](https://github.com/risk-and-safety/platform/commit/94fa7e8e9e1f92442e64ebf811b114c8f93861e6))
* **rss-common-nodejs:** add common library for nodejs ([6c945c6](https://github.com/risk-and-safety/platform/commit/6c945c69928342c15fd2cd7646694b08cff9eceb))
* **rss-common-nodejs:** add middleware that takes care of logging, healtz, & favicon ([da27196](https://github.com/risk-and-safety/platform/commit/da271965bf658894aa41610be542205f5e4d9c46))
* **workflow:** add assessment LHAT rules to workflow ([330f5d7](https://github.com/risk-and-safety/platform/commit/330f5d78a296682c367018ede9f013f998fa2edb))
* **workflow-server:** Workflow rules for assignment AFE-849 ([16c4a91](https://github.com/risk-and-safety/platform/commit/16c4a91f9c582b71f70dbe465d4e3db8a0d81a39))
* Add locations to asessment ([b2b58e5](https://github.com/risk-and-safety/platform/commit/b2b58e52e6e831ffa78fea9a28caca7c51ccd298))
