From 26abba7c9a9e41055c67a7439ee35747319d9a9e Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 28 May 2020 19:03:17 +0200 Subject: [PATCH] Bump version to 0.11.1 --- CHANGELOG.md | 5 +++++ fregot.cabal | 2 +- tests/golden/cli/repl-input.stderr | 2 +- tests/golden/repl/break-data.stderr | 2 +- tests/golden/repl/break-source.stderr | 2 +- tests/golden/repl/break-unset.stderr | 2 +- tests/golden/repl/debug-cache.stderr | 2 +- tests/golden/repl/debug-context.stderr | 2 +- tests/golden/repl/debug-error.stderr | 2 +- tests/golden/repl/debug-reload.stderr | 2 +- tests/golden/repl/help.stderr | 2 +- tests/golden/repl/input-doc.stderr | 2 +- tests/golden/repl/input-yaml.stderr | 2 +- tests/golden/repl/load.stderr | 2 +- tests/golden/repl/open.stderr | 2 +- tests/golden/repl/plain-call.stderr | 2 +- tests/golden/repl/pretty.stderr | 2 +- tests/golden/repl/rewind.stderr | 2 +- tests/golden/repl/set.stderr | 2 +- tests/golden/repl/step-into.stderr | 2 +- tests/golden/repl/step-over.stderr | 2 +- tests/golden/repl/test.stderr | 2 +- tests/golden/repl/watch-input.stderr | 2 +- tests/golden/repl/watch-warn.stderr | 2 +- tests/golden/types/comprehensions.stderr | 2 +- tests/golden/types/granular.stderr | 2 +- tests/golden/types/rules.stderr | 2 +- 27 files changed, 31 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2502c38..b234c8d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG + - 0.11.1 (2020-05-28) + * Fix zero `with` statements wiping caches. This was a serious + performance regression introduced in `v0.9.0`. + * Always use lenient decoding for base64 strings. + - 0.11.0 (2020-05-20) * You can now remove a breakpoint again by calling `:break` with the same argument that you used to set it. diff --git a/fregot.cabal b/fregot.cabal index 224faec6..dc110803 100644 --- a/fregot.cabal +++ b/fregot.cabal @@ -1,5 +1,5 @@ Name: fregot -Version: 0.11.0 +Version: 0.11.1 Synopsis: Fugue Rego Toolkit License: Apache-2.0 License-file: LICENSE diff --git a/tests/golden/cli/repl-input.stderr b/tests/golden/cli/repl-input.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/cli/repl-input.stderr +++ b/tests/golden/cli/repl-input.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/repl/break-data.stderr b/tests/golden/repl/break-data.stderr index 35f3db23..d2e0d955 100644 --- a/tests/golden/repl/break-data.stderr +++ b/tests/golden/repl/break-data.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/break-source.stderr b/tests/golden/repl/break-source.stderr index d20279a3..bce94d0a 100644 --- a/tests/golden/repl/break-source.stderr +++ b/tests/golden/repl/break-source.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at step.rego:5 diff --git a/tests/golden/repl/break-unset.stderr b/tests/golden/repl/break-unset.stderr index fb559215..1dd879fa 100644 --- a/tests/golden/repl/break-unset.stderr +++ b/tests/golden/repl/break-unset.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at step.rego:5 Removed breakpoint at step.rego:5 no breakpoints set diff --git a/tests/golden/repl/debug-cache.stderr b/tests/golden/repl/debug-cache.stderr index c2544701..c4409bc5 100644 --- a/tests/golden/repl/debug-cache.stderr +++ b/tests/golden/repl/debug-cache.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading debug-cache.rego... Loaded package fregot.tests.repl.debug_cache Set breakpoint at fregot.tests.repl.debug_cache.test_allow diff --git a/tests/golden/repl/debug-context.stderr b/tests/golden/repl/debug-context.stderr index 9369bf68..baa3c38a 100644 --- a/tests/golden/repl/debug-context.stderr +++ b/tests/golden/repl/debug-context.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at debug_context.valid_security_groups diff --git a/tests/golden/repl/debug-error.stderr b/tests/golden/repl/debug-error.stderr index 2682ecb7..3072ab8c 100644 --- a/tests/golden/repl/debug-error.stderr +++ b/tests/golden/repl/debug-error.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at debug_error.test_crash fregot (eval error): "debug-error.rego" (line 5, column 3): diff --git a/tests/golden/repl/debug-reload.stderr b/tests/golden/repl/debug-reload.stderr index 5844949d..f0c72b78 100644 --- a/tests/golden/repl/debug-reload.stderr +++ b/tests/golden/repl/debug-reload.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Rule rule added Set breakpoint at repl.rule Reloading when debugging is not possible as it would modify the code currently running. diff --git a/tests/golden/repl/help.stderr b/tests/golden/repl/help.stderr index 871a9814..a564551c 100644 --- a/tests/golden/repl/help.stderr +++ b/tests/golden/repl/help.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Enter an expression to evaluate it. Enter a rule to add it to the current package. diff --git a/tests/golden/repl/input-doc.stderr b/tests/golden/repl/input-doc.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/repl/input-doc.stderr +++ b/tests/golden/repl/input-doc.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/repl/input-yaml.stderr b/tests/golden/repl/input-yaml.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/repl/input-yaml.stderr +++ b/tests/golden/repl/input-yaml.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/repl/load.stderr b/tests/golden/repl/load.stderr index b15e19d7..79eb50d8 100644 --- a/tests/golden/repl/load.stderr +++ b/tests/golden/repl/load.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading load.rego... Loaded package fregot.tests.repl.load diff --git a/tests/golden/repl/open.stderr b/tests/golden/repl/open.stderr index 18cf278f..f2ad8aaf 100644 --- a/tests/golden/repl/open.stderr +++ b/tests/golden/repl/open.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Created new package mypkg1 Rule r added Created new package mypkg2 diff --git a/tests/golden/repl/plain-call.stderr b/tests/golden/repl/plain-call.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/repl/plain-call.stderr +++ b/tests/golden/repl/plain-call.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/repl/pretty.stderr b/tests/golden/repl/pretty.stderr index 4a4c98dd..43bc4d35 100644 --- a/tests/golden/repl/pretty.stderr +++ b/tests/golden/repl/pretty.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading pretty.rego... Loaded package pretty diff --git a/tests/golden/repl/rewind.stderr b/tests/golden/repl/rewind.stderr index 93b8e7a1..a1127093 100644 --- a/tests/golden/repl/rewind.stderr +++ b/tests/golden/repl/rewind.stderr @@ -1,5 +1,5 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at rewind.crashing_rule fregot (eval error): "rewind.rego" (line 5, column 3): diff --git a/tests/golden/repl/set.stderr b/tests/golden/repl/set.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/repl/set.stderr +++ b/tests/golden/repl/set.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/repl/step-into.stderr b/tests/golden/repl/step-into.stderr index 35f3db23..d2e0d955 100644 --- a/tests/golden/repl/step-into.stderr +++ b/tests/golden/repl/step-into.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/step-over.stderr b/tests/golden/repl/step-over.stderr index 35f3db23..d2e0d955 100644 --- a/tests/golden/repl/step-over.stderr +++ b/tests/golden/repl/step-over.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Set breakpoint at step.test_step diff --git a/tests/golden/repl/test.stderr b/tests/golden/repl/test.stderr index ed663010..627451fd 100644 --- a/tests/golden/repl/test.stderr +++ b/tests/golden/repl/test.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading test.rego... Loaded package fregot.tests.repl.test diff --git a/tests/golden/repl/watch-input.stderr b/tests/golden/repl/watch-input.stderr index 22cf0b5f..ca1c7774 100644 --- a/tests/golden/repl/watch-input.stderr +++ b/tests/golden/repl/watch-input.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Reloaded watch-input-2.json diff --git a/tests/golden/repl/watch-warn.stderr b/tests/golden/repl/watch-warn.stderr index 882b45e8..608230e3 100644 --- a/tests/golden/repl/watch-warn.stderr +++ b/tests/golden/repl/watch-warn.stderr @@ -1,3 +1,3 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Restart the with `--watch` to enable watching. diff --git a/tests/golden/types/comprehensions.stderr b/tests/golden/types/comprehensions.stderr index a1b0c1af..ba0230e4 100644 --- a/tests/golden/types/comprehensions.stderr +++ b/tests/golden/types/comprehensions.stderr @@ -1,2 +1,2 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info diff --git a/tests/golden/types/granular.stderr b/tests/golden/types/granular.stderr index ecd20fce..674a11a2 100644 --- a/tests/golden/types/granular.stderr +++ b/tests/golden/types/granular.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading granular.rego... Loaded package granular diff --git a/tests/golden/types/rules.stderr b/tests/golden/types/rules.stderr index d6ccced2..a90d1925 100644 --- a/tests/golden/types/rules.stderr +++ b/tests/golden/types/rules.stderr @@ -1,4 +1,4 @@ F u g u e R E G O T o o l k i t -fregot v0.11.0 repl - use :help for usage info +fregot v0.11.1 repl - use :help for usage info Loading rules.rego... Loaded package rules