kdb-common-1.3.0-2021.05.27
·
58 commits
to master
since this release
This release adds a number of major features and improvements:
- Logging (
log
)- slf4j-style parameterised logging
- Pattern-based logging formats
- Call line tracing for enhanced debugging (which is enabled by default if the process is started in "debug" mode)
- Log level in text output is now padded
- Job scheduler (
cron
)- Additional mode of operation -
tickless
- so timer only ticks when a job needs to execute, rather on a regular interval
- Additional mode of operation -
- HTTP client library (
http
)- Automatic deserialisation of kdb+ IPC binary format over HTTP (with content type header
application/kdb-ipc
)
- Automatic deserialisation of kdb+ IPC binary format over HTTP (with content type header
- Namespace functions (
ns
).ns.getFunctionArguments
now supports additional function types.ns.protectedExecute
now supports passing functions by value
- Conversion functions (
convert
).convert.tableToHtml
now supports mixed list columns (due to.type.ensureString
improvements)
NUC
cron
.cron.cfg.runners
has been renamed to.cron.runners
.cron.enable[]
replaced with.cron.changeMode[mode]
- Job start and end times are now rounded to the nearest millisecond
log
.log.level
is now accessed within the.log.current
dictionary.log.currentLogger
is now accessed within the.log.current
dictionary- The
.log.loggers
functions have been split into.log.formatter
and.log.loggers
functions (see adding your own logger)
type
.type.isGenericList
was a duplicate of.type.isMixedList
so was removed
Full Changelog
1f8f1b1 cron: Log when 'repeat until' job reaches the end time
3d69e3c cron: Add 'tickless' mode
e51e9fe http: Add PATCH request type
195169a http: Fix response parsing to not split body by "\r\n"
39e2f58 http: Add support for kdb IPC decoding
43909a9 ns: .ns.getFunctionArguments / .ns.protectedExecute upgrades [fixes #4]
2c07f5b http: Fix relative redirects and support 'x-gzip' as Content-Encoding
ae3086c log: Add support for pattern-based logging and function introspection
8ae9b2c require: Prevent re-init on subsequent .require.init calls
89c15e9 type: Remove .type.isGenericList (duplicate of .type.isMixedList)
137f663 ns: Add new .ns.deleteReference
f9d26d1 log: Fix incorrect change to interface update function call
29cd6aa log: Add support for slf4j-style parameterised logging
94655c8 cargs: Cache parsed results on first call
e039e09 util: Fix .util.showTabbed
2527cd0 convert: Fix documentation formatting
959c89a type: Make .type.ensureString deal with lists better
140e615 type: Add .type.isAnymap
8d6a135 type: Performance improvements (within -> in)
d5dea8f env / so: Add missing wiki documentation link