Skip to content

Releases: codemeasandwich/scribbles

v1.7.0

16 Jan 10:39

Choose a tag to compare

Features

  • add integration tests and update documentation
  • add colored log output support
  • add console.group support
  • add edge lookup hash for tracestate header optimization
  • add endpoint logging support (url, path, query, params, method)
  • add method name to logging context
  • add global config option to attach log functions to console/global
  • add "from" property to dataOut with full stack trace
  • add hijack config option to disable http.request wrapping
  • add typescript type definitions

Bug Fixes

  • correct pre-commit hooks and publish scripts configuration
  • added missing type defs
  • handle missing git remote origin on Linux
  • validate reserved function names in levels config
  • use source-map-support to resolve original file paths in getSource()
  • add undefined check for config in hijacker
  • add HTTPS support to request hijacker
  • decode URL-encoded filenames in log output
  • pass config parameter to hijacker function
  • prevent timers from keeping process alive and handle missing data
  • add args array to getSource return object

Refactoring

  • organize src folder into logical subfolders
  • export loader functions for testing

Documentation

  • add files.md documentation for src subfolders
  • clarify source map support for transpiled code
  • add link to IP intelligence API guide for proxy detection
  • add security warning for proxy header spoofing
  • clarify HTTPS support in trace header injection
  • clarify trace header injection requires opt-in config
  • add headersMapping example to README
  • document modular architecture
  • document automatic variable name extraction feature
  • clarify that scribbles.trace is for distributed tracing, not console.trace
  • add value serialization documentation to readme

Styling

  • format index.js with consistent spacing

Tests

  • add comprehensive test suite

Chores

  • add files array to package.json for optimized npm deployment
  • added missing npm publish script
  • add test scripts and coverage tooling
  • bundle source with esbuild for npm publish

Other Changes

  • dump version
  • Added Promise Obj print
  • Update ReadMe.md
  • Update appDir.js
  • Read Var names passed to Scribbles
  • Added array index with not inlined
  • Use terminal width as inlineCharacterLimit
  • Better ip lookup within trace
  • Update stringify.js
  • dump version for Map & set support in output
  • Update stringify.js
  • Added Map and Set support to stringify
  • Update stringify.js
  • Update ReadMe.md
  • Update ReadMe.md
  • can now pretty object printout
  • ReadMe: Using TypeScript in a bundle?
  • added traceTrigger to feature list
  • Merge remote-tracking branch 'origin/master'
  • More ReadMe info about 'Filter Tracing'
  • Added traceTrigger
  • I know I said the last.. but this one is the last.
  • Last ReadMe update... for now
  • more ReadMe
  • update ReadMe
  • update ReadMe
  • fixed typeo in example in ReadMe
  • updated Readme
  • Added sub-millisecond to timer
  • Allow custom json parser for input values
  • Merge branch 'master' of github.com:codemeasandwich/scribbles
  • Added single quotes around variable names that dont conform to Js
  • Merge pull request #8 from codemeasandwich/dependabot/npm_and_yarn/moment-2.29.4
  • Moved Todo from ReadMe in issues
  • tweaks to the timer logging funciton
  • updated ReadMe
  • Added White list Headers via Regx #6
  • Added "x-git-hash" to request going to other servicers
  • Dump NPM ver
  • Removed "! For the best performance..." from Readme as stacktrace call are actually not that expensive
  • Add time duration fns
  • Move stringify example from commit int sample.js
  • fix to Error in setting scribbles as global.console #9
  • ..
  • fix printout not filtering fn names
  • naming of arrow fns
  • formatting
  • Show if arrow fn in print
  • example into stringify
  • add reference name to recursion refs
  • fix to - print an object, is missing props what are functions #10
  • Bump moment from 2.24.0 to 2.29.4
  • Added git info support to webpack bundles
  • Added Bundle trace support, no git available, more header opts
  • fix to log level on parced source files
  • stdout support refs of undefined and functions
  • Better input argument detection
  • split up index
  • more comprehensive sample cases
  • fixed up sample output
  • Merge branch 'master' of github.com:codemeasandwich/scribbles
  • sample calls
  • linter rules
  • naming anonymous functions
  • tweak to status
  • Fixed: status not point to the right called place
  • compile string-template with config is called
  • scribbles version to matching log with parsers
  • Moved "instance" into "info"
  • ReadMe: Added missing 'instance' value from dataOut example
  • ReadMe: Updated the handling of headers example
  • ReadMe: Changed distributed tracing example to use 'axios'
  • Added 'instance' id to data
  • Update to Readme
  • status.state now will indicates if the event loop is blocking
  • Added status fn
  • parse all new source to find refs to scribbles & inject location
  • Change config 'forward' to 'headers'
  • Added 'forwardHeaders'
  • Support forwarding headers
  • update Readme with 'forward' on config
  • Can now pass customHeader to trace.header
  • Allow setting configuration through package.json
  • Added check for "at" at start of stack lines
  • Check Node version before starting
  • Added embedded middleware: express
  • Removed time from root of dataOut
  • fix some stacks may have an extra empty line
  • Fixed bug in processing error stacktrace
  • Better support for Traceparent
  • Fixed misspelling in get header function
  • Trace context vender now defaults to the repo name
  • update to ReadMe
  • removed unneed npms
  • Fixed traceparent misspelt
  • fixed process ID to base 16
  • Removed cuid was spanId can do the same job
  • Added parentId & tracestate to dataout
  • data out is now separated into topics
  • A bit of week of the weekend
  • Added process values to the dataOut
  • Optimise when messages are in the same correlation
  • Added process values to annotate output
  • fixed: memory leak when using correlation
  • Fixed correlation losing reference with intermixed asynchronous calls
  • Fixed "correlationId" not loading
  • removed debug console line
  • correlate only take a callback now
  • Changed 'standerOut' to 'stdOut'
  • Added correlated logging
  • Customising Time format
  • Added custom logging levels
  • removed unneeded dependencies
  • Added some source
  • Initial commit