- If
winston
is installed,logs.setupConsole()
andlogs.setupFile()
will now set up those transports both for the default logger (winston.info()
) and for the default collection (winston.loggers.get()
).
breadcrumbs.toString()
no longer prints out error name and message twice for non-vanilla Error objects- remove
winston
as a dependency (logs.setupConsole()
andlogs.setupFile()
both log to stderr if called withoutwinston
installed in the project) breadcrumbs._startsWithError
andbreadcrumbs._hasAts
now start with underscore
breadcrumbs
on the server is now an instance instead of the class. Long day.
- Actually expose
breadcrumbs
on the server
- Breaking: Remove
general
,time
,string
andcolor
root keys and all of their methods - Breaking:
env.merge()
no longer supports relative paths - New:
breadcrumbs
key and three public methods on it, available client and server - New:
env.merge()
first looks for env.js and then env.json inprocess.cwd()
- New:
env.merge()
supports js files in addition to json files - New:
isNode
andisClient
keys on rootthehelp-core
object client and server
- Really get rid of the old source map files in npm package
- Default set of time zones on the server is now taken from tz/min.json. To return to the comprehensive set of timezones, set the TIME_ZONE_DATA environment variable to point to tz/all.json.
- Minor version update:
moment
(client and server) - Update to latest timezone data
- Remove source map files from npm package
- Update dev dependencies
- Streamlined implementation of
time.getTimezone()
(no more ugly lookup list), which should also make it more reliable - New method:
time.getTimezones()
returns a list of timezones, good for user select boxes
- All time zone data moved from 'dist/tz' to 'tz' since many projects copy entire contents of 'dist/' directory into their 'lib/vendor' (and tz data is 1MB!)
- Remove timezones.txt from npm package
- Update dev dependencies
- Pare down what's in npm package
- All time zone data moved from 'lib/vendor/tz' to 'dist/tz' since 'lib' is now excluded from npm package
- Patch version update:
timezone-js
(both client and server) - Update timezone data
- Update dev dependencies
- Minor version update:
moment
(both npm and bower) - Bower dev dependency update:
jquery
- Update to gruntfile to copy jquery into 'lib/vendor'
- New: server methods to merge environment variables with data in 'env.json' (preferring real environment):
env.merge()
- New: server methods to set up logs easily:
logs.setupConsole()
andlogs.setupFile()
- Updated time zone data
- Patch version update to
timezone-js
- General version numbers for
winston
andamdefine
- Updates of dev dependencies:
blanket
,thehelp-project
,thehelp-test
- Patch upgrades (bower): moment
- Dev dependencies: lodash, jquery, requirejs, grunt, thehelp-project, thehelp-test
- Source maps now in dist/ with an upgrade to
thehelp-project
dependency
- Patch version updates: timezone-js, grunt, lodash
- Minor version updates: moment, thehelp-project, thehelp-test
- Fixing too-long lines
- instead of looking for timezone data at '[cwd]/lib/vendor/tz' if TIME_ZONE_DATA environment variable is not set, we now look inside this node module
- dist/tz folder no longer has server time zone data
- expose moment and timezone js on the time object for direct use
- adding readme
- dist/ now has three final versions of thehelp-core - one with all.json timezone data injected, one with min.json timezone data injected, and one that requires jquery/zepto/other to load it dynamically.
- including server timezone data in dist/tz folder
- Initial release
- Core logic is all there!