Skip to content

Releases: Michaelpalacce/EventRequest

v36.0.0

02 Jul 19:28
723d63e
Compare
Choose a tag to compare
  • Changed where index is located, to fix a deprecation warning
  • Support for node 20

v35.2.0

27 Jan 21:16
2c4d1d5
Compare
Choose a tag to compare
  • Fix some Logging documentation issues
  • Fix logging for unhandledRejection and uncaughtException
  • Content-Type plugin added. Added documentation and tests for it.

v35.1.0

09 Feb 23:25
48693a0
Compare
Choose a tag to compare
  • Fixed documentation regarding logging
  • Added an example kernel.js file
  • Updated README.md and documentation

v35.0.1

09 Feb 07:59
a139e56
Compare
Choose a tag to compare
  • Fixed invalid main field error in package.json
  • Removed unnecessary escape character

v35.0.0

08 Feb 12:11
f78a1a6
Compare
Choose a tag to compare
  • 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

22 Jan 20:26
9832d54
Compare
Choose a tag to compare
  • 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

22 Jan 00:20
Compare
Choose a tag to compare

Housekeeping release

v33.4.0

16 Jan 12:10
69a3478
Compare
Choose a tag to compare

33.4.0

  • Updated maintenance
  • Moved to Github Action Deployment

v33.3.0

12 Nov 20:41
9ab09a1
Compare
Choose a tag to compare

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 and add 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

20 Aug 22:38
7b7e9d1
Compare
Choose a tag to compare