Changelog
1.0.0 - 2015-04-08
bedrock.admin.init
was introduced that emits
prior to bedrock.init
. This new event is emitted while the process has
any elevated privileges and after it is handled, elevated privileges are
dropped. This changes bedrock.init
so that it runs without elevated
privileges. This only affected bedrock.server
in a negative way; this
module has been updated to comply with the change. Also, bedrock.init
should no longer be used to emit custom events; these should be deferred
to bedrock.start
to prevent scenarios where a listener of an event
emitted by one module can't use the API of another unrelated module because
it hasn't been initialized yet. Deferring custom event emitting to
bedrock.start
as a best practice avoids this scenario.Changelog
0.3.0 - 2015-02-16
bedrock-*
modules.bedrock-angular-*
modules.config.app.*
changed to config.core.*
.config.server.workers
changed to config.core.workers
.iso8601
library, etc)bedrock.security
API removed. Other libraries such as jsonld-signatures
can be used.bedrock.tools
renamed to bedrock.util
; bedrock.tools
is deprecated.bedrock-seed
.configs
dir removed.lib/test.config.js
.config.environment
in favor of feature flags.config.core.starting.groupId
and config.core.starting.userId
used for
master before logging initialized.config.core.running.groupId
and config.core.running.userId
used for
master and workers after logging initialized.config.core.errors.showStack
used to control general error stack traces.config.jsonld.strictSSL
used to control strict SSL of jsonld library.config.views.serviceUnavailable
to control 503 Service Unavailable for
all requests.config.core.masterTitle
changed to config.core.master.title
.config.core.workerTitle
changed to config.core.worker.title
.config.core.restartWorkers
changed to config.core.worker.restart
.MODULE_NS
.*NotFound
error types to just NotFound
.bedrock.config.mail.events
array:
{type: 'EVENT-TYPE', template: 'TEMPLATE-HANDLER-ID'}
bedrock.config.mail.templates.config[ID]
:
{filename: 'FULL-FILENAME', [disabled: true]}
config.server.cache.*
renamed to config.express.cache.*
.config.server.session.*
renamed to config.express.session.*
.config.server.static
renamed to config.express.static
.config.server.staticOptions
renamed to config.express.staticOptions
.config.express.useSession
to control session support.config.express.dumpExceptions
to control error exceptions.config.express.showStack
to control error stack traces.config.website.i18nPaths
renamed to config.i18n.localePath
.config.website.writeLocales
renamed to config.i18n.writeLocales
.bedrock-validation
and other modules.bedrock.config.validation.schemas.paths
array.config.database
changed to config.mongodb
.bedrock-mongodb
module now uses version 2.x of the Node.js driver, see Migrating to 2.X.-R/--reporter
changed to --mocha-reporter
.config.website.views
moved to config.views
.config.views.vars
are now shared between client and server templates except for any vars under _private
which are server-only.config.views.vars.clientData
has been removed.config.views.vars.session
moved to config.views.vars.idp.session
.config.views.vars
have been removed: session.auth
, session.loaded
, serviceHost
, serviceDomain
, productionMode
.