- Relicense under the Apache-2.0 license.
- BREAKING: Require
@bedrock/core@6
peer dep.
- Add
_readCertificateBundles
export for testing purposes.
- Remove
node-forge
dependency by relying on built-in CA option (for client-side certs) made available since node >= 8.
- Use
jsdoc-to-markdown@7
.
- BREAKING: Rename package to
@bedrock/server
. - BREAKING: Convert to module (ESM).
- BREAKING: Remove default export.
- BREAKING: Require node 14.x.
- Add missing
esm
dependency.
- Update peer deps:
bedrock@4.5
.
- Update internals to use esm style and use
esm.js
to transpile to CommonJS.
- Use node-forge@1.2.1.
- Setup nyc and add code coverage to github actions.
- BREAKING Use native http2 implementation instead of
spdy
. If you are also using bedrock-express then use version 4.1+ of that library to ensure there are no compatibility issues. Note:spdy
is an old package that does not receive regular maintenance and node now has its own http2 implementation -- so using it is preferred.
- Update peer dependencies; use bedrock@4.
- Do not listen for HTTP/HTTPS requests until readiness checks have passed. This
is compatible with deployment platforms that lack explicit health and
readiness checks, but instead expect that the application is ready when it
responds to requests sent to the HTTP/HTTPS server's TCP port.
- Emit a new
bedrock-server.readinessCheck
event. - Delay the start of the HTTP/HTTPS servers until the
bedrock-server.readinessCheck
listeners have succeeded.
- Emit a new
- Use node-forge@0.10.0.
- Change default server name from
bedrock.localhost
tolocalhost
. - Setup CI.
- Add HTTP/2 support.
- Add missing colon between address and port number in logging.
- Update to latest bedrock events API.
- Use more async/await.
- Improve logging.
- Start HTTP/HTTPS listeners on the
bedrock.ready
event.bedrock-express@2.1.1
now attaches onbedrock.start
.
- Start HTTP/HTTPS listeners on the
bedrock.started
event. This is afterbedrock-express
configures routes onbedrock.ready
.
- Change default server name from
bedrock.local
tobedrock.localhost
. - Update development certificate to use sha256.
- Fixed incorrect use of
const
.
- Change default server name from
bedrock.dev
tobedrock.local
.dev
is a real top-level domain.
- Update
node-forge
dependency. - Update
async
dependency. - Use ES6 syntax.
- Update bedrock dependency.
- Use computed config for various server values.
- Add defaults for bindAddr, host, baseUri.
- Restructure test framework for CI.
- Fix typo that prevented replacing default HTTP behavior.
- Update bedrock dependencies.
- Add ability to directly configure
tls.createServer
options viabedrock.config.server.https.options
. Any options given inbedrock.config.server.*
(such asbedrock.config.server.key
) may overwrite those specified inbedrock.config.server.https.options
.
- Update deps for npm v3 compatibility.
- Fix dependencies for testing.
- Remove
bedrock.setProcessUser()
handled by bedrock core. - Use
bedrock.admin.init
event.
- Upgrade to express
0.4.x
.
- See git history for changes.