- Fixed issue with type of
content
ofrequest
- Added
rawContent
andformData
fields torequest
for more fine grained control
- Fixed issue with proxy injector not returning response
- Fixed error handling with wrong JSON format (#65)
- Removed support for Node.js below 16
- Replaced
request
withaxios
- Updated dependencies
- Fixed the
x-forwarded-host
header value - Updated dependencies
- Updated build to use esbuild instead of ncc
- Fixed issue with bundled
package.json
reference
- Added possibility to specify multiple headers or query parameters
- Updated dependencies
- Support for different hostname bindings (default:
0.0.0.0
) - Added ordering of files to be deterministic (#57)
- Updated dependencies
- Support for reading certificates from
node_modules
- Removed support for Node.js below 12
- Added support for asynchronous creators (#54)
- Added optional
direction
parameter to middlewares (#53) - Added a deep merge of injector settings (#52)
- Updated dependencies
- Fixed error logging in WebSocket proxies
- Added forwarding of headers to WebSocket proxies
- Updated dependencies
- Fixed issue with WebSocket not being proxied
- Fixed issue making the paths in
sources
of a krasrc absolute - Improved resolution for injectors and middlewares
- Added documentation for middlewares feature
- Allow specifying multiple input files for using
readKrasConfig
- Removed automatic use of global krasrc file in programmatic API
- Improved merging of kras configurations
- Updated dependencies
- Added configurable file size limit (#50)
- Updated license year
- Added support for POST requests with query strings (#48)
- Updated dependencies
- Extracted the frontend to the
kras-management-portal
package - Made the frontend easily exchangeable via the
.krasrc
- Added support for
multipart/form-data
file upload - Improved configuration file error notification
- Updated dependencies
- Improved stability of web socket connections
- Updated dependencies
- Fixed a bug preventing changes to root proxy targets in the UI
- Support generator in json-injector
- Added
injectHeaders
option to the proxy injector - Added
xfwd
option to the proxy injector - Updated dependencies
- Added options for proxy headers
- Updated dependencies
- Allow arrays for dictionary
- Updated dependencies
- Externalized
bufferutil
- Externalized
utf-8-validate
- Updated dependencies
- Improved declarations
- Updated dependencies
- Updated bundled declarations
- Provide kras in a pre-bundled state
- Provide kras declarations in a single file
- Updated dependencies
- Normalized the configuration (removed trailing slash)
- Updated dependencies
- Updated dependencies
- Improved the configuration
- Allow specifying injectors by fully qualified paths (#21)
- Improved configuration of map (#20)
- Updated dependencies due to CVE-2019-10746
- Updated dependencies due to CVE-2019-10747
- Updated dependencies due to WS-2019-0063
- Updated dependencies due to WS-2019-0064
- Updated dependencies due to WS-2018-0590
- Added
buildKrasWithCli
helper
- Improved re-usability of CLI in library
- Restructured library exports
- Updated dependencies
- Updated outdated dependencies
- Improved WebSocket messages
- Include more debug information
- Fixed bug in WebSocket initialization
- Updated outdated dependencies
- Updated outdated dependencies
- Updated dependencies due to GHSA-mh6f-8j2x-4483
- Updated dependencies due to CVE-2018-1000620
- Updated dependencies due to CVE-2018-16469
- Expose
KrasServer
- Added linting and prettier
- Updated dependencies due to CVE 2018-14041
- Updated dependencies due to CVE 2018-3721
- Updated dependencies due to CVE 2018-3774
- Refactored deprecated calls
- Updated dependencies due to CVE 2018-3719
- Updated request to effectively use hook 4.2.1
- Removed unnecessary console.log
- Updated documentation
- Fixed find target bug in HAR injector
- Made
ScriptResponseBuilderData
properties optional - Allow setting WebSocket options
- Cover WebSockets with any route (if no target given)
- Middleware works against base directory (in case of path)
- Command-line option to disable API (
--skip-api
) - Expose the
KrasWebSocket
- Fixed WebSocket communication after opening (#18)
- WebSocket injection in scripts is now possible (#16)
- Possibility for middleware via options (#15)
- Scripts from the script injector get the server via
$server
from the context - Disabled management API disables recording
- Option for deactivating management API (#13)
- Ability to protect the management API (#14)
- Provide download settings functionality (#17)
- Enhanced documentation (#10)
- Provide function injector for unit tests
- Improved initial console output
- Added preview animation to README
- Fixed WS proxy bug when sending on closed sockets (#12)
- Added roadmap
- Allow editing extended config of script injector in client
- Provided convenience functions for unit testing (#11)
- Added ability to dispose injectors for fully stopping the server
- Include typings for
kras/utils
module - Default to plain text editing in the client
- Also include YAML as potential format in the client
- Added utils module for kras injectors, use
kras/utils
- Fixed picking wrong paths in local injector debug mode
- Improved injector file options in the API and client
- Improved injector directory options in the API and client (#9)
- Allow switching
delay
in the client for the har-injector - Added
randomize
option for the json-injector
- Changed default base directory from
db
tomocks
- By default all injectors also use the base directory
- Fixed bug where files have been present, but not evaluated (#8)
- Also allow variations of injector names
- Enable local debugging of injectors
- Added information on creating injectors
- Added restart and stop functionality (#5)
- Introduced dedicated logs page
- Documentation on usage with webpack
- Non-existing directory is created and watched (#7)
- Edit directories during runtime in the client
- Extended injector resolution algorithm
- Allow transmitting WebSocket send (#6)
- Included log levels,
error
,debug
, andinfo
- Introduced more log messages (if wanted)
- Go back: store current tab in route
- Provide ability to edit files in the client (#4)
- Added support for multi directories in the HAR, JSON, and Script injector (#3)
- Script injector now ignores modules that do not export a function (#2)
- Fixed the badge links in README
- Fixed the double execution of build
- Expose
readKrasConfig
and defaultkrasrc
name - Show available logs in the overview of the management client (#1)
- Allow resetting logs via the management API
- Implemented the deactivate WS setting
- Improved error handling in the client
- Started injector documentation
- Introduced general information in the client
- Advanced settings for the proxy request
- Removed unused dependency to http-proxy
- Enhanced config construction
- Configuration reduced to JSON only
- Extended the README
- Improved file path handling
- Connect manage app to live feed
- Extended options of injectors
- Improved release automation
- Fixed binary creation
- Deliver typings in package
- Optimized package content
- Initial release