Skip to content

Commit

Permalink
Bump version to 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj-luminal authored Mar 18, 2020
1 parent 4a6e1b1 commit 8cbad96
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 23 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

- 0.9.0 (2020-03-19)
* Support `with data` statements in addition to `with input` statements.
* Fix issue when using REPL reloading and the `--input` argument.
* Fix a crashing when indexing the `null` value with a key.
* Fix scoping of `with` statements. `with` statements used to (wrongly)
affect the input for the entirety of the query, whereas they should
really only affect the current statement.

- 0.8.0 (2020-02-27)
* Small performance tweaks.
* Add `copyHandle` to interpreter module.
Expand Down
2 changes: 1 addition & 1 deletion fregot.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: fregot
Version: 0.8.0
Version: 0.9.0
Synopsis: Fugue Rego Toolkit
License: Apache-2.0
License-file: LICENSE
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/cli/repl-input.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/break-data.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/break-source.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/debug-cache.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Loading debug-cache.rego...
Loaded package fregot.tests.repl.debug_cache
2 changes: 1 addition & 1 deletion tests/golden/repl/debug-context.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/debug-error.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
fregot (eval error):
"debug-error.rego" (line 5, column 3):
builtin type error:
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/repl/help.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Enter an expression to evaluate it.
Enter a rule to add it to the current package.

Expand Down
2 changes: 1 addition & 1 deletion tests/golden/repl/input-doc.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/input-yaml.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/load.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Loading load.rego...
Loaded package fregot.tests.repl.load
2 changes: 1 addition & 1 deletion tests/golden/repl/open.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Created new package mypkg1
Rule r added
Created new package mypkg2
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/repl/plain-call.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/rewind.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
fregot (eval error):
"rewind.rego" (line 5, column 3):
builtin type error:
Expand Down
2 changes: 1 addition & 1 deletion tests/golden/repl/set.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/step-into.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/step-over.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/repl/test.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Loading test.rego...
Loaded package fregot.tests.repl.test
2 changes: 1 addition & 1 deletion tests/golden/repl/watch-input.stderr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Reloaded watch-input-2.json
2 changes: 1 addition & 1 deletion tests/golden/repl/watch-warn.stderr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Restart the with `--watch` to enable watching.
2 changes: 1 addition & 1 deletion tests/golden/types/comprehensions.stderr
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
2 changes: 1 addition & 1 deletion tests/golden/types/granular.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Loading granular.rego...
Loaded package granular
2 changes: 1 addition & 1 deletion tests/golden/types/rules.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
F u g u e R E G O T o o l k i t
fregot v0.8.0 repl - use :help for usage info
fregot v0.9.0 repl - use :help for usage info
Loading rules.rego...
Loaded package rules

0 comments on commit 8cbad96

Please sign in to comment.