Skip to content

Release pact 4.9 #1305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
4.9.0
---
### Bugfixes
- Pact value infos fixed (#1287)

### Features
- Webauthn support (#1193)


4.8.0
---
### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion src/Pact/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ enforcePactValue :: Pretty n => (Term n) -> Eval e PactValue
enforcePactValue t = case toPactValue t of
Left s -> evalError' t $ "Only value-level terms permitted: " <> pretty s
Right v -> do
elide <- ifExecutionFlagSet' FlagDisablePact48 id stripAllPactValueInfo
elide <- ifExecutionFlagSet' FlagDisablePact49 id stripAllPactValueInfo
return (elide v)

reduceApp :: App (Term Ref) -> Eval e (Term Name)
Expand Down
2 changes: 1 addition & 1 deletion tests/pact/caps.repl
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@
(continue-pact 1))

(begin-tx)
(env-exec-config ["DisablePact48"])
(env-exec-config ["DisablePact49"])

; pact 48 caps
(interface ops
Expand Down
2 changes: 1 addition & 1 deletion tests/pact/hash.repl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(expect "hash roundtrip" (hash "hello") (tx-hash))

(begin-tx)
(env-exec-config ["DisablePact48"])
(env-exec-config ["DisablePact49"])
(interface iface
(defun f:bool (a:module{iface}))
)
Expand Down
2 changes: 1 addition & 1 deletion tests/pact/principals.repl
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@
(create-table mstbl)

; Test principal caps created pre-info eliding
(env-exec-config ["DisablePact48"])
(env-exec-config ["DisablePact49"])
(write-principal 'a (create-principal (create-capability-guard (test-cap m))))

(write-principal 'b (create-principal (create-capability-guard (test-cap m))))
Expand Down