Skip to content

@dlespiau dlespiau released this Jun 11, 2019 · 14 commits to master since this release

Feature: New std.parse and std.unparse functions to transform a string into a js value and a js value into JSON/YAML/HCL strings, respectively.
Documentation: Add some usage examples, including a somewhat complete micro-service definition

Assets 6

@dlespiau dlespiau released this May 16, 2019 · 55 commits to master since this release

Feature: jk has gained a new generate command. Instead of using std.write in an imperative fashion, one can now declare the list of configuration files to produce in the default export and leave the generation to jk. The quick start examples have been ported to generate.
Feature: jk run has been extended to support running a script from stdin and from an npm package.
Change: Expose @jkcfg/std/merge as its own module.

Assets 6

@dlespiau dlespiau released this Apr 25, 2019 · 90 commits to master since this release

Change: The std library has received an overhaul: it's now written in typescript and is composed of several modules. As a consequence a number of previous imports are deprecated.

Feature: run has now a -d option to list the dependencies of a script: files it imports, reads or source for input parameters. This allows external program to watch those dependencies for changes and know when to re-run jk to generate the corresponding new configuration.

Assets 6

@dlespiau dlespiau released this Apr 17, 2019 · 145 commits to master since this release

  • Feature: Implemented writing multiple values to a file as JSONStream and YAMLStream (#162)
  • Feature: New Resource std library object to support reading module relative files (#135)
  • Feature: New std.param.all() function that retrieves all input parameters (#143)
  • Feature: New completion command providing shell auto-completion support (#146)
  • Feature: Merged @jkcfg/mixins into the standard library (#140)
  • Feature: now supports reading from stdin (#149)
  • Feature: Support writing HCL/Terraform files (#151)
  • Fix: Make promise resolution deterministic (#142)
  • Fix: Fixed a subtle module importing issue in v8worker2 causing some modules to be properly imported.
  • Fix: Various fixes to the npm module importing logic (#152)
Assets 6

@dlespiau dlespiau released this Feb 18, 2019 · 200 commits to master since this release

  • Change: There's only one way to specify input parameters for run on the command line now, -p, --parameter instead of typed variants (eg. --ps for strings). This should make the UX a bit better without sacrificing typing. Of course we can still source parameters from a file too (#118).
  • Feature: Input parameters for run can now be sourced from a YAML file in addition to a JSON file (#126).
  • Fix: Fixed exception when std.param.Object is used without default values (#129).
  • Cleaned jk output on error (#127)
Assets 6

@dlespiau dlespiau released this Feb 4, 2019 · 220 commits to master since this release

  • Feature: New run option to specify the base directory.
  • Feature: std.write will now write strings as strings, not JSON values. This seemed like a more natural option.
  • Fix: Correctly print the version when using lightweight tags.
  • Fix: The npm module will now correctly descend recursively in the parent directories.
Assets 6

@squaremo squaremo released this Jan 24, 2019

  • Feature: #89 (after #70) Support for resolving NPM packages
  • Feature: #90 Add --verbose option which reports writes
  • Fix: #91, #71, avoid a double-free problem in the runtime by using a patched V8Worker2
  • Fix: #95 Show proper stack traces when e.g., read fails
Assets 6

@dlespiau dlespiau released this Jan 9, 2019 · 249 commits to master since this release

  • Feature: jk has now input parameters. The user defines them in a script and can be set from the command line or from a file.
  • Feature: jk can now import modules from a npm installed node_modules directory.
  • Feature: jk can now be used from typescript with the addition of type definitions for the standard library
  • Addition of a new version command
  • std.write() has gained an override option
  • can now return objects
Assets 6
You can’t perform that action at this time.