-
Notifications
You must be signed in to change notification settings - Fork 5
Changelog
Micleusanu Nicu edited this page Aug 26, 2014
·
36 revisions
- Improved cookies and langs parsers
- Revealed
connection.request
andconnection.response
in the public docs - Removed session for static content
- Implemented
connection.log()
- Removed
host.log
in favor ofconnection.log
- Now session stores should manage expired sessions
- Fixed incorect session cookie expire time
- Modified error handling for the server and hosts
- Improved internal structure
- Fixed configuration copy
- Implemented new API for HTTP connection parsing using
.parse()
method - Removed
connection.body
andconnection.files
in favor ofconnection.parse()
- Improvements for WS messages creation
- Improved HTTP request parsers
- Adjusted some implementation inaccuracy to the documentation
- Documentation updates
- Adapted host configuration to the new request parsing API
- Improved internal structure
- Small bufixes
- Implemented filtered compression by content type
- Improved ws client simple API
- Added
.link()
method for defining relations with other locations - Removed
.length()
method because of possible unexpected behavior with compression - Fixed incorrect multipart data attaching to the connection object
- Improved client-side API
- Improved connection API to return headers values, status code
- Added the possibility to remove headers from the response
- Implemented session store
- Removed the need in session secret key
- Added prefered type of compression
- Added
.length()
method to define or get the content length header - Fixed static directory routing
- Internal structure improvements
- Improved dynamic routes searching
- Improved general routing performance
- Added
*
wildcard character to dynamic routes to match any string - Added
.close()
method for the connection interface as an synonym for.end()
- Small bugfixes
- Fixed
DELETE
requests routing - Changed configuration for the HTTP and the WS hosts
- Improved internal structure and global processes, in special sessions
- Fixed session data applying
- Improved cache behavior
- Improved internal session process
- Improved cookies applying
- Fixed CORS content providing
- Small internal structure impromevents
- Improved configuration for http host and ws host
- Added session cookies protection
- Added
connection.keep()
- Some internal fixes and improvements
- Added callback to simples instance
- Improved internal structure
- Improved request routing
- Fixed advanced routing bugs
- Fixed some WS API issues
- Improved request parsing, added parsing for json data
- Parsed data is now stored in
connection.body
- Fixed bugs related to dynamic caching and cache accesing
- Improved client-side API
- Implemented static server behavior for serving index.html if present for subdirectories
- Fixed 500 error for request to subdirectories when no callback is defined in
.serve()
method - Fixed new behavior for sending WebSocket protocol header for Google Chrome 30
- Fixed behavior of client-side WS API on Firefox when the message size is too big
- API clean up, removed
.open()
,.close()
methods for HTTP and WS hosts - Added
.config()
method for WS host - Improved logger, added configurable stream
- Renamed configuration names for HTTP and WS hosts (some changes may still be made here)
- Fixed WebSocket parsing when receiving a bunch of frames
- Other small bugfixes
- Fixed POST requests behavior
- Made that
.host()
method will create or return an existing host or the main host - Documented
.route()
method as another way to create routes
- Added logger functionality
- Improved WebSocket unmasking
- Improved dynamic cache functionality
- Fixed missing host header that could break down the server
- Fixed error 404 routing
- Added routes for PUT and DELETE http methods
- Added
.status()
method for http connection - Added
files
parameter for static files directory callback - Added Node.JS event emitter implementation on client-side as
simples.ee
- Fixed bug related to advanced routing
- Fixed
.drain()
streaming on error - Fixed auxiliar server in HTTPS server pair WebSocket handling
- Improved dynamic caching
- Improved
.config()
method of http host by adding session time to live - Improved
.drain()
method by adding parameters for setting the type of the content - Improved the WebSocket channel creation
- Improved general error emitting
- Improved WebSocket handshake
- Improved internal structure
- Changed the internal log system
- Added a placeholder for render method
-
.render()
method now always imports connection object - Added
.config()
method and removed.accept()
and.referer()
methods for http host
- Bugfixes
- Some improvements in code structure
- Improved documentation
- Improved dynamic caching
- Changed the behavior of pair HTTP + HTTPS servers
- Optimized routing
- Optimized WebSocket parser
- Added
connection.protocol
- Fixed a lot of small bugs
- New template engine connection rules
- Multiple routes apply / remove
- Added shorthand for template rendering
- Added binary data in advanced mode
- Fixed a WebSocket connection bug with sending data
- Fixed crash on WebSocket close
- Made some optimizations
- Added
.ip
and.path
to connection - Fixed a rare bug in WebSocket with big data
- Fixed the bug with template engine connection
- Added
.leave()
method to host instances
- Fixed session in WebSocket
- Improved the internal organization of sessions
- Added CHANGELOG.md
- Combined request and response interfaces in connection interface
- Defined new template engine connection rules
- Improved DOCUMENTATION.md
- Added named parameters
- Removed
server.js
, combined functional withindex.js
- Reorganized internal structure
- WebSocket channel made event emitter
- Added HTTPS support
- Some bugfixes
- Made the static files cache dynamic
- Some bugfixes
- Added static files cache
- Some bugfixes
- Better session mechanics
- Improved WebSocket channel
- Added referer blocking
- Added WebSocket channel
- Global improvements
- Added callback for directories with static files
- Some good improvements
- Fixed template engine connection bug
- Fixed POST data parser
- Improved tests
- Some good improvements
- Added template engine connection
- Fixed session timeout
- Just bugfixes and optimizations
- Added client-side API
- Added raw / advanced mode for WebSocket
- Just bugfixes and API improments
- Added virtual hosting
- Changed mime structure
- Improved API
- More WebSocket API changes
- Global improvements
- Some API changes for WebSocket
- Added sessions
- Added CORS support
- Removed
.download()
method from response interface - Fixed bug with string used as parameter to
.send()
method
- Bugfixes
- Added new interactive tests
- Just bugfixes and optimizations
- Added DOCUMENTATION.md
- Renamed
.getStatic()
method to.serve()
- Removed own implementation of compress stream, replaced with zlib streams
- Added
.send()
method to response interface
- Error routing modified, moved to
.error()
method
- Removed a memory leak
- Added a POST request parser
- Added LICENSE
- Small improvements
- Added
.body
attribute to request interface
- Improved internal structure
- Removed the bug with one possible instance
- Modified the structure of simpleS prototype constructor
- Tried to remove the bug with one possible instance
- Modified
mime.js
structure - Modified routing structure
- Added
.getOrigin()
and.getProtocols()
methods to WebSocket connection
- Fixed WebSocket host choice
- Added default configuration for WebSocket host
- Modified
.start()
method to be more asynchronous
- First public release