Releases
v20240812
Generic
New Rhino javascript runtime (1.7.15)
Added functions to programmatically access oafp functionality
new $path functions: to_toml, from_toml, range, ranges, inc, dec, unset, getc, search_keys, search_values, k2a, geta, sql_format, sort_semver, sort_by_semver, progress, ch, path, opath, to_ms, env, envs, oafp
New OAF_CONSOLE boolean environment variable to force ansi color rendering in capable terminals (for example when using oafp with pipes)
New askChooseMultiple and improvements to askChoose with new color format theme options
New pForEach function for parallel forEach equivalent.
New askStruct function to make a questionnaire based on a provided map over using other “ask*” functions.
New filter capability for askChoose and askChooseMultiple
New byPopularity behaviour for $cache when maxSize is defined
For non javascript, json and yaml extensions the ‘—sb’ option will generate a oafp shebang addition
Support for oafp shebang as oafp-sb
Fixes and performance improvements on printTable
Improvements to parallel automatic load balancing
Performances improvements in printTree
Flags
New SH.prefixLog flag to control if $sh().prefix should use, by default, log or print functions
New HTTP_DEFAULT_HEADERS flag to control if default headers (e.g. Accept) should be included.
New HTTP_USE_MEDIA_TYPE flag to control the use of OkHttp media type functionality.
isJavaArray function to better determine if the Java object provided is an array
New PATH_CNF flag to allow for the inclusion of custom $path functions
New ALTERNATIVES.listFilesRecursive feature flag to use the new listFilesRecursive implementation
New ALTERNATIVES.colorify feature flag to use the new colorify implementation
Libs bumps
Commons-Cli, Commons-Codec, Commons-Compress, Commons-CSV, Commons-Logging, Commons-IO, Commons-Net
GSON
Jetty
Jackson
JSCH
JJWT
Kotlin
H2
PostgreSQL
SNMP4J
DNSJava
SLF4J
oJob
IO
Performance improvements and new mode, permissions and linkName fields to io.listFilesTAR
SSH
New getSession , isConnected and sendKeepAlive functions
ow.format
New sqlFormat to beautify SQL statements for different databases
“string.wordWrap” improvements
New semVer for semantic versioning handling
ow.obj
Improvements to rest functions character enconding
New syncMap for synchronized javascript Map functionality
New key2array to return the values of filtered keys
Fix #1017
ow.ch
Small improvements to server
New option multifile for type file
ow.ai
GPT getModels
Improvements on normalize.withSchema
New normalize.denormalizeWithSchema to denormalize previously normalized data given a schema
New gpt.promptImgGen function to support image generation transformation models
New normalize.softMax and normalize.quantitize
Improvements to GPT external models API requests
Support for brainjs with new network types: neuralnetwork, rnntimestep, lstmtimestep, grutimestep, rnn, lstm, gru, feedforward and recurrent
ow.java
cipher.getCert4String function to obtain a Java certificate object from a string certificate representation (X509)
parseHSPerf improved to be able to read dumps right after shutdown of the original java process
withMD as new color theme options for better customization (specially for light and dark terminals)
ow.template
You can’t perform that action at this time.