Releases: Michaelpalacce/EventRequest
Releases · Michaelpalacce/EventRequest
v36.0.0
v35.2.0
- Fix some Logging documentation issues
- Fix logging for
unhandledRejection
anduncaughtException
- Content-Type plugin added. Added documentation and tests for it.
v35.1.0
- Fixed documentation regarding logging
- Added an example
kernel.js
file - Updated README.md and documentation
v35.0.1
- Fixed invalid main field error in package.json
- Removed unnecessary escape character
v35.0.0
- Fixed the logger plugin and the way it detects if a logger has been passed, now the plugin does not use .verbose .notice etc, so you can pass your custom log levels
v34.0.0
- Housekeeping, more work done on JSDoc
- Improvements to file streams. Implemented MimeTypes in image file stream
- Changed the default makeId length to 32
v33.5.0
Housekeeping release
v33.4.0
33.4.0
- Updated maintenance
- Moved to Github Action Deployment
v33.3.0
33.3.0
- Jenkins tests for node 17
33.2.0
- Session component improvements
- Session plugin improvements
- Added
set
as an alias of add in Session component andadd
has been deprecated - New error: app.er.session.couldNotSaveSessionToDataServer when saving a session but an error ocurrs
- init added to session to init the session from the cookie or headers
- initSession removed from the session plugin, the new init function is used and it is done automatically
- Added new
getAll
to the session to return all values stored directly - Documentation improvements
33.1.0
- Improvements to rate limits plugin. Tried to speed it up as possible and remove legacy stuff.
- Removed saving configuration to a file for rate limits plugin
- Removed rateLimited event.
- Removed file usage for rate limits plugin
33.0.0
- ! BREAKING CHANGE ! Updated the static plugin with a new type of serving content ( dynamic ) and set it to default
- Some test improvements and some convention fixes
- Added new Mime Type Plugin
32.2.4
- Fix for conditional in Jenkinsfile
32.2.3
- Fix in jenkinsfile
32.2.2
- Added a Jenkinsfile
32.2.1
- Updates to test, to run even when resources are limited
32.2.0
- EventRequest.send will send an empty buffer if method was HEAD
32.1.0
- etag plugin small changes to how it searches for header values
- Improvements to the cache control plugin.
32.0.0
- Added Tests for Node 16.x
- Changed when the cleanUp is called. It will no longer be called during request.close event but during response.close event due to changes in when the request.close event is called ( it is called if data is finished sending )
- Added additional tests for this new behavior and more tests to test the eventRequest.isFinished
31.1.0
- Small route improvements
- Added a warning to the er_rate_limits plugin, it's way too resource intensive, do not use.
- Modified the cors plugin so that the options are calculated only once
- Some small code improvements
31.0.0
- RegExp when adding two routers with a path will not be evaluated anymore.
- When adding two routers with a path if the router being added has routes that are empty, they will now be changed to a regexp:
^${path}?(.+)
- DEV: Code coverage is now done with docker-compose as well as testing on node 12,14,15
30.2.0
- Improved session plugin it now accepts a flag isSecureCookie that determines if the cookie should be sent with SameSite: None; Secure for CORS enabled sites
30.1.0
- Improved er_cors so it accepts an array of origins and also a er_dynamic value that will always match
30.0.3
- Fixed JSON body parser bug
30.0.2
- Added MIME type support for the image file streamer
- Removed 'stream_start' event from being dispatched
30.0.1
- Added test that ${} does get escaped in the templating engine
- Added docker-compose for internal testing for different node versions. Created dockerfiles because otherwise volumes share the file system
- Added 15.x tests for linux and windows
30.0.0
- Added new experimental templating engine
- Changed the way er_templating_engine works to be more customizable
29.5.3
- Removed pluginBag it's use was confusing and was unnecessary
- DEPRECATED er_response_cache
- Env plugin will no longer watch the env file
- New tests added for bucket with big maps
- A lot of test cleanup for faster testing and a bunch of small test naming convention fixes
29.5.2
- Send no longer sets Content-Length as it is set automatically on request end
- The body parser plugin now works differently. It no longer requires a plugin bag. It also does not use the body parser handler, hence it will not always handle the body. The fallback parser now needs to be added manually by adding the raw body parser
- Small bugfix for the response_cache_plugin
- Bugfix for event.setCookie for Expires
- File streams no longer set Content-Length
29.5.1
- Updated Maintained badge
29.5.0
- Small Documentation improvement and examples added for how to remove logging and remove error handling
- Small code cleanup
- Logger no longer logs on 'cachedResponse'
29.4.1
- Small Documentation improvements
- EventRequest.send will now return a promise
- EventRequest.end is now async for consistency with sendError
29.4.0
- Validation Improvements
- Updated the way maxCounter is calculated in the Bucket
- Tests Updated
29.3.0
- Added er_etag plugin
- EventRequest.send now accepts a Buffer as well. Buffers will not be modified
- Added a new EventRequest.formatResponse Function that can be used to format the payload you are going to send in a format that is applicable ( String or Buffer )
- er_static can now work with etags
- Added Documentation about er_etag plugin
- Added tests for er_etag plugin
29.2.1
- Empty Release, NPM not showing README.md, issue is github actions. Will publish directly from master from now on
v29.2.0: Merge pull request #45 from Michaelpalacce/develop
[develop] v29.2.0