Releases: kadojs/kado
Releases · kadojs/kado
3.7.10
3.7.9
3.7.9
- Use development mode for building by default and require either
NODE_ENV=production
ornode app kado bundle --production
to enable complete
builds. - Disable view cache when in development mode.
- No longer restart on .html changes with nodemon.
- There is now
npm run build
for production andnpm run bundle
as well as
npm run postinstall
to handle development building.
3.7.8
3.7.7
- Fix local build suites to output to the system entry folder.
local.js
andlocalExtra.js
were not using the properly build module list.- Break build into system, module local chains with sync and extra packs.
- Add ability to filter bundling by -s for system or -m for module.
- Enable source maps in bundles by default.
- Add
-q
to do quick builds of local only and then-N
to skip building
source maps. Seenode app kado bundle --help
for more information.
3.7.6
- Adding assets on page routes did not clear on render. The Asset system now has
addCssOnce
andaddScriptOnce
these methods are cleared with each call to the
assetallCss
andallScript
methods. - Adds Dynamic Connector support. The
connector
folder can now contain generic
connectors that are scanned and connected at init time. - All connector support: dynamic, email, db are now scanned for in their
respective user space folders. Such asprojectroot/db/mongodb.js
etc. - Includes the StretchFS connector as the first of the dynamic connectors.
- Changes the outlook on build chains.
Extra
chains are now meant to deferred
while maintaining the levels. Such aslocal
andmodule
now have
localExtra
andmoduleExtra
these help facilitate loading extra needed
dependencies in each portion of the chain and helping to avoid duplicates. - Moves
moment
into the required build chain to support various needs. - Add
removeScript
andremoveCss
parameters to allow removal of system
level components in lieu of custom components or a lighter stack.
3.7.5
3.7.4
3.7.3
3.7.2
- Add the parameters
addCss: [{}], addScript: [{}]
to each interface
declaration in order to add additional resources directly from the app config.
Each object requires the keyuri
such as{uri: '/a.css'}
or
addScript: [{uri: '/new.js', defer: false}]
which loads a new JS resource
synchronously (all default adds are deferred).