diff --git a/CHANGELOG.md b/CHANGELOG.md index 18a77ae..f07729f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [3.12.0] - 2023-XX-XX +## [3.12.1] - 2023-XX-XX + +### Added +- Added `failOnEmptyBody` flag for `callServer` to specify wether or not a request should fail if it has no body. + +## [3.12.0] - 2023-12-03 ### Added - Support for header-based logger feature - Added `risk_start_time` and `enforcer_start_time` fields to enforcer activities. -- Added `failOnEmptyBody` flag for `callServer` to specify wether or not a request should fail if it has no body. + ### Changed - Changed the structure of the headers field on async activities to array diff --git a/README.md b/README.md index 5fca4c9..2636d63 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [PerimeterX](http://www.perimeterx.com) Shared base for NodeJS enforcers ============================================================= -> Latest stable version: [v3.11.0](https://www.npmjs.com/package/perimeterx-node-core) +> Latest stable version: [v3.12.0](https://www.npmjs.com/package/perimeterx-node-core) This is a shared base implementation for PerimeterX Express enforcer and future NodeJS enforcers. For a fully functioning implementation example, see the [Node-Express enforcer](https://github.com/PerimeterX/perimeterx-node-express/) implementation. diff --git a/package-lock.json b/package-lock.json index 821ccfd..0ff58b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "perimeterx-node-core", - "version": "3.11.0", + "version": "3.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "perimeterx-node-core", - "version": "3.11.0", + "version": "3.12.0", "license": "ISC", "dependencies": { "agent-phin": "^1.0.4", diff --git a/package.json b/package.json index 903f49f..4a73bf2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "perimeterx-node-core", - "version": "3.11.0", + "version": "3.12.0", "description": "PerimeterX NodeJS shared core for various applications to monitor and block traffic according to PerimeterX risk score", "main": "index.js", "scripts": {