Skip to content

Commit 030e255

Browse files
authored
Release pact 4.8 (#1285)
* release pact 4.8 * docs difference
1 parent 590ae43 commit 030e255

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGELOG.md

+28-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
1-
- Support lambdas in static TC (#1232)
1+
4.8.0
2+
---
3+
### Bugfixes
4+
- Fix name resolution within module redeploy (#1235)
5+
- Fixed issue with the hash of cap guards, `hash` native and principals (#1273) (#1278)
6+
- Fixed error message for calling a non-function value (#1268)
7+
8+
### Eval
9+
- Tweaked the gas of concat (#1269), reverse and format (#1271)
10+
- Allow computation on integers less than 10^80 without gas penalty (#1272)
11+
12+
### Internal changes
13+
- More granular gas units (#1245)
14+
- Remove GHCJS support (#1280)
15+
- GHC 9.6+ version support (#1242)
16+
- Package docs in nix flake (#1258)
17+
- Vendor sources of prettyprinter-1.6.0 (#1263)
18+
- Use MTL 2.3+ (#1261)
19+
- replace cryptonite by crypton (#1240)
20+
21+
### Formal Verification
22+
- Support lambdas in static typechecker (#1232)
23+
- Fix swapped type assignment in fold symeval (#1253)
24+
25+
### Other
26+
- Improve modref docs (#1256)
27+
28+
Thanks to @thomashoneyman for the contribution!
229

330
4.7.1
431
---

docs/en/pact-functions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ Return ID if called during current pact execution, failing if not.
461461
Obtain current pact build version.
462462
```lisp
463463
pact> (pact-version)
464-
"4.7.1"
464+
"4.8"
465465
```
466466

467467
Top level only: this function will fail if used in module code.
@@ -1965,7 +1965,7 @@ Set environment gas limit to LIMIT.
19651965
Enable and obtain gas logging. Bracket around the code whose gas logs you want to inspect.
19661966
```lisp
19671967
pact> (env-gasmodel "table") (env-gaslimit 10) (env-gaslog) (map (+ 1) [1 2 3]) (env-gaslog)
1968-
["TOTAL: 7" "map:GUnreduced:currTotalGas=4: 4" "+:GUnreduced:currTotalGas=5: 1" ":GIntegerOpCost:(1, ):(1, ):currTotalGas=5: 0" "+:GUnreduced:currTotalGas=6: 1" ":GIntegerOpCost:(1, ):(2, ):currTotalGas=6: 0" "+:GUnreduced:currTotalGas=7: 1" ":GIntegerOpCost:(1, ):(3, ):currTotalGas=7: 0"]
1968+
["TOTAL: 7" "map:GUnreduced:currTotalGas=4: 4" "+:GUnreduced:currTotalGas=5: 1" ":GIntegerOpCost:(1, ):(1, ):Pact48IntThreshold:currTotalGas=5: 0" "+:GUnreduced:currTotalGas=6: 1" ":GIntegerOpCost:(1, ):(2, ):Pact48IntThreshold:currTotalGas=6: 0" "+:GUnreduced:currTotalGas=7: 1" ":GIntegerOpCost:(1, ):(3, ):Pact48IntThreshold:currTotalGas=7: 0"]
19691969
```
19701970

19711971

pact.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: pact
3-
version: 4.7.1
3+
version: 4.8
44
-- ^ 4 digit is prerelease, 3- or 2-digit for prod release
55
synopsis: Smart contract language library and REPL
66
description:

0 commit comments

Comments
 (0)