Skip to content

Commit

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

- 0.10.0 (2020-05-04)
* Add `json.marshal` builtin function.
* Fix isssue where `{}` was treated as an empty set, not an empty object.
* Add `base64` builtin functions:

- `base64.encode`
- `base64.decode`
- `base64url.encode`
- `base64url.decode`
* Add `io.jwt` builtin functions:

- `io.jwt.encode_sign`
- `io.jwt.decode`
- `io.jwt.decode_verify`

These use an external library and will not work for all key types. We
can resolve that as demand for other key types comes up.

- 0.9.1 (2020-04-17)
* Better error for foo.bar() if foo is not imported
* Disallow :reload while debugging
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.9.1
Version: 0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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/debug-reload.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.9.1 repl - use :help for usage info
fregot v0.10.0 repl - use :help for usage info
Rule rule added
Reloading when debugging is not possible as it would modify the code currently running.
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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.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.9.1 repl - use :help for usage info
fregot v0.10.0 repl - use :help for usage info
Loading rules.rego...
Loaded package rules

0 comments on commit c237f74

Please sign in to comment.