Skip to content

Commit

Permalink
2.6 release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Popejoy committed Nov 13, 2018
1 parent a085571 commit 842dd54
Show file tree
Hide file tree
Showing 12 changed files with 1,633 additions and 1,531 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
dist
dist-newstyle
docs/_build
docs/en/_build
docs/jp/_build
/web/pact.js
/web/pact.min.js
/web/npm-debug.log
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
2.6.0
---
* Pact Interfaces
* Localized docs in JP, EN
* Add configurable gas limit for `pact -s`
* Remove file server from `pact -s`
* Fix empty list runtime type enforcement bug
* Enforce top-level only for builtins `pact-version`, `enforce-pact-version`, etc
* Various changes to support web repl
* use cryptonite for Blake2 implementation
* new `str-to-int` builtin
* Numerous fixes to pact reference docs
* New compiler using megaparsec
* analysis supports `str-to-int` and `read-integer` built-ins
* new `row-exists`, `read`, `column-of`, `column-written` properties
* `@model` now always takes a list when applied on modules, functions, or schemas.
* properties can now be applied to an entire module
* Fix bug in analysis impl of decimal arithmetic
* Model falsifications are now presented as execution traces with example values

2.5.1
---
* Fix keyset enforce of old keyset

2.5.0
---
* Pluggable gas model with simple fixed-rate implementation
Expand Down
4 changes: 2 additions & 2 deletions docs/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
# built documents.
#
# The short X.Y version.
version = u'2.5.0'
version = u'2.6.0'
# The full version, including alpha/beta/rc tags.
release = u'2.5.0'
release = u'2.6.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
12 changes: 6 additions & 6 deletions docs/en/pact-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Return ID if called during current pact execution, failing if not.
Obtain current pact build version.
```lisp
pact> (pact-version)
"2.5.0"
"2.6.0"
```

Top level only: this function will fail if used in module code.
Expand Down Expand Up @@ -385,12 +385,12 @@ pact> (sort ['age] [{'name: "Lin",'age: 30} {'name: "Val",'age: 25}])
*base* `integer` *str-val* `string` *→* `integer`


Compute the integer value of STR-VAL in base 10, or in BASE if specified. STR-VAL must be <= 128 chars in length and BASE must be between 2 and 16.
Compute the integer value of STR-VAL in base 10, or in BASE if specified. STR-VAL must be <= 128 chars in length and BASE must be between 2 and 16. Each digit must be in the correct range for the base.
```lisp
pact> (str-to-int 16 "123456")
1193046
pact> (str-to-int "abcdef123456")
1123455123456
pact> (str-to-int 16 "abcdef123456")
188900967593046
pact> (str-to-int "123456")
123456
```


Expand Down
Loading

0 comments on commit 842dd54

Please sign in to comment.