Relevant new features, bugfixes, etc. for each version will be maintained here.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
No unreleased changes
- Added error handling for situations where the entire
status.json
file is not yet written to disk and we try to access it, which would result in a crash due to attempting to parse improperly formatted JSON.
- Added broadcasting of the contents of ancillary files (e.g.
status.json
) as events
- Fixed several misspelled words throughout the project
- Ignore
ECONNRESET
error from WebSocket to prevent application crashing when it would normally just reconnect
- Added heartbeat pings between server and clients
- Added ability for clients to register names
- Added ability to force clients to register
- Added ability to prevent subscriptions
- Added ability to define custom default subscriptions
- Added ability to configure error messages
- Added error messages
- Added some other directories and files to make things a bit easier to follow and less cluttered
- Reformatted config Object for constuctor
- Updated
README.md
to reflect latest changes
- Fixed issue with
lint
script looking at outdated, non-existant path
- Previous configuration format
- Fixed port
0
when running outside of test scripts - Actually using
httpServer
withws
correctly
This came up when testing launching a Journal Server inside of an Electron Application and things were failing without telling the http server to listen and then grabbing the port.
- Ability to use
0
for port to get randomly assigned port from OS
- Removed
process
declaration fromsrc/index.js
- Suppressed broadcast of Journal Events during initial indexing of Journal at startup
.github
diretory for storing GitHub-specific files.github/issue_template.md
to help with bug reporting.github/pull_request_template.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
referenced Issue template and reduced Bug Reporting verbiage; added link to Issues page- Added
.github
to.npmignore
so it isn't published - Added
CODE_OF_CONDUCT.md
to.npmignore
- Reworded some of Contributing Guidelines
- Added basic Journals to
examples/mocks
for testing
- Added
.npmignore
- Incrementing patch version to republish with
.npmignore
update
- Ability to specify custom polling
interval
for Journal watcher
- Added
CHANGELOG.md
- Updated version in
package.json
andREADME.md
- Ability to specify custom
headers
Object to add to broadcasts pre-commit
package enforcingnpm run lint
before committing
- Fixed ESLint errors
- Added
CONTRIBUTING.md
info - Changed server logs to say
"broadcast"
instead of"emit"
- Journal Server version number returned in broadcast headers
- Service Name for Network Discovery is now configurable
- Better
README.md
documentation formatting - Better organization for
examples
directory
- Bonjour/Zeroconf for Network Discover of Journal Server
- Graceful shutdown of Journal Server
- Updated
README.md
with more accurate documentation
- Allow client to subscribe to specific Journal Events