Skip to content

Releases: smackem/redis-q

v1.3.0

17 Jul 07:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.3.0

v1.2.0

29 Oct 12:59
Compare
Choose a tag to compare

What's Changed

  • operator ~= has been changed to =~ to match the one form per
  • operator !~ added
  • Feature/issue 80 by @smackem in #82
  • Feature/issue 83 by @smackem in #84
  • resolved #85: timestamp and duration functions now use default format strings when null is specified as format string by @smackem in #86
  • resolved #87 (load function) by @smackem in #88
  • resolved #89 (shell command to control quiet bindings mode) by @smackem in #90

Full Changelog: v1.0.0...v1.2.0

v1.1.0

29 Aug 18:13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.1.0

v1.0.0

29 Jun 14:51
529d0f0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v1.0.0

v0.3.0

31 May 18:00
Compare
Choose a tag to compare

New features for this release:

  • #32 REPL command to load scripts
    #load <FILE>; loads interprets the script file <FILE>
  • #24 Trace function
    trace(value) prints value to the console and returns it - useful for debugging
  • #33 Chained expressions in top-level let clause
    like in f#, binding definitions can now be combined with other expressions:
    let x = 1 + 1 in x
    
    this allows entire function bodies to be defined in a single expression
  • #25 List slicing
    slice lists or strings by using the subscript syntax with ranges: "abcdef"[0..2] = "abc"
  • #34 Limit clause with only an offset
    as in sql, use this syntax to skip the first N elements: from n in ... limit all offset N ...
  • #30 Expression values (functions)
    define functions like this:
    let add(a, b) = a + b;
    add(1, 2) // prints 3
    
    This works nicely with #33
  • #31 Option to silence let bindings
    passing --silent-bindings on the command line prevents the value of let bindings to be printed instantly
  • #29 Enable script execution via command line
    execute scripts through the command line with the --file <FILE> and --eval <SOURCE> parameters
  • #8 Group by clause
    The group by clause supported by C#'s linq syntax is now available.

v0.2.1

15 May 13:46
Compare
Choose a tag to compare

0.2.1 adds the now() function that was missing in 0.2.0

v0.2.0

15 May 11:19
Compare
Choose a tag to compare

Closed issues for this release:
#14 Timestamp and duration values
#15 clip() and save() functions to copy values to the clipboard / save values to disk
#16 New shell commands for filesystem handling: #ls, #cd and #pwd from the repl behave like their unix counterparts
#17 Null-coalescing operator let x = nullableValue ?? 1 as in C#
#18 More redis commands: EXISTS, HEXISTS, HLEN, HMGET, HSCAN, HVALS, RANDOMKEY, SRANDMEMBER, SSCAN
#20 Execution time limit for evaluations (default 1 second, can be set in cli-options)
#22 Math functions: sqrt, pow, exp, sign, abs, log, log2, log10, sin, cos, tan, asin, acos, atan, hypot
#26 #dump prints all top-level bindings

There are also more options, execute redis-q --help for reference.

v0.1.0

01 May 14:23
Compare
Choose a tag to compare

Initial release for Windows, MacOSX and Linux.
Dependencies: -none-

Installation:

  • extract the zip file fitting your platform to any directory
  • from this directory, run redis-q to connect to redis at localhost:6379
  • to connect to a different host or port, enter redis-q <hostname>:<port>
  • redis-q --help shows all command-line options, which are very few for this initial release