aquavm/CHANGELOG.md

254 lines
11 KiB
Markdown
Raw Normal View History

## Version 0.31.0 (2022-10-11)
[PR 362](https://github.com/fluencelabs/aquavm/pull/362):
Partially revert [PR 340](https://github.com/fluencelabs/aquavm/pull/340) due to fixes in [PR 358](https://github.com/fluencelabs/aquavm/pull/358)
[PR 360](https://github.com/fluencelabs/aquavm/pull/360):
Allow using stream without insertion
[PR 358](https://github.com/fluencelabs/aquavm/pull/358):
Implement a temporary fix for fold with canon
## Version 0.30.0 (2022-09-28)
[PR 340](https://github.com/fluencelabs/aquavm/pull/340):
Change behaviour of folds over streams
2022-09-19 14:36:46 +03:00
## Version 0.29.0 (2022-09-19)
[PR 335](https://github.com/fluencelabs/aquavm/pull/335):
Introduce `never` instruction
[PR 332](https://github.com/fluencelabs/aquavm/pull/332):
Fix bug with incorrect positions in `canon` instruction
2022-09-08 16:58:04 +03:00
## Version 0.28.0 (2022-09-07)
[PR 314](https://github.com/fluencelabs/aquavm/pull/314):
The length functor was introduced
[PR 307](https://github.com/fluencelabs/aquavm/pull/307):
bug with iteration over empty canonicalized stream was fixed
[PR 305](https://github.com/fluencelabs/aquavm/pull/305):
bug with absence of join behaviour for canonicalized streams in fold instructions was fixed
[PR 303](https://github.com/fluencelabs/aquavm/pull/303):
unsafe code for `LambdaAST` creation was removed
[PR 301](https://github.com/fluencelabs/aquavm/pull/301):
bug with adding just executed values to a restricted stream was fixed
2022-08-26 00:43:43 +03:00
## Version 0.27.0 (2022-08-23)
2022-09-08 16:58:04 +03:00
[PR 292](https://github.com/fluencelabs/aquavm/pull/292):
2022-08-26 00:43:43 +03:00
Introduced a new `canon` instruction
[PR 296](https://github.com/fluencelabs/aquavm/pull/296):
A bug with an inappropriate check of states in the `Ap` merger was fixed
## Version 0.26.0 (2022-08-19)
[PR 294](https://github.com/fluencelabs/aquavm/pull/294):
Accompanying to air-interpreter update that makes interface more handy for `air-trace`
## Version 0.25.0 (2022-07-27)
2022-09-08 16:58:04 +03:00
[PR 287](https://github.com/fluencelabs/aquavm/pull/287):
2022-08-26 00:43:43 +03:00
Memory leak introduced by switching to reactor/command model in WASI fixed
[PR 276](https://github.com/fluencelabs/aquavm/pull/276):
AquaVM performance was improved by removing excess logging
[PR 273](https://github.com/fluencelabs/aquavm/pull/273):
Introduced `TracePos` for `TraceHandler` positions
2022-09-08 16:58:04 +03:00
[PR 270](https://github.com/fluencelabs/aquavm/pull/270):
2022-08-26 00:43:43 +03:00
A bug with empty subtrace lore in TraceHandler was fixed
## Version 0.24.0 (2022-04-21)
2022-04-20 23:05:37 +03:00
2022-09-08 16:58:04 +03:00
[PR 253](https://github.com/fluencelabs/aquavm/pull/253):
2022-04-21 11:44:18 +03:00
Introduced %ttl% keyword
2022-08-26 00:43:43 +03:00
## Version 0.24.0 (2022-04-20)
2022-04-21 11:44:18 +03:00
2022-09-08 16:58:04 +03:00
[PR 250](https://github.com/fluencelabs/aquavm/pull/250):
2022-04-20 23:05:37 +03:00
Introduced %timestamp% keyword
2022-08-26 00:43:43 +03:00
## Version 0.23.0 (2022-04-20)
2022-09-08 16:58:04 +03:00
[PR 248](https://github.com/fluencelabs/aquavm/pull/248):
Introduced new for scalars
2022-09-08 16:58:04 +03:00
[PR 244](https://github.com/fluencelabs/aquavm/pull/244):
Stack size was increased to 50 MiB
2022-08-26 00:43:43 +03:00
## Version 0.22.0 (2022-04-14)
2022-09-08 16:58:04 +03:00
[PR 243](https://github.com/fluencelabs/aquavm/pull/243):
Clean scalars at the end of scope, only one next in a fold over scalar is possible now
2022-09-08 16:58:04 +03:00
[PR 231](https://github.com/fluencelabs/aquavm/pull/231):
Test refactoring
2022-09-08 16:58:04 +03:00
[PR 228](https://github.com/fluencelabs/aquavm/pull/228):
Improve stream determinism
2022-08-26 00:43:43 +03:00
## Version 0.21.0 (2022-02-26)
2022-02-26 00:54:11 +03:00
[PR 225](https://github.com/fluencelabs/aquavm/pull/225):
Introduce recursive streams
[PR 224](https://github.com/fluencelabs/aquavm/pull/224) [PR 220](https://github.com/fluencelabs/aquavm/pull/224) [PR 217](https://github.com/fluencelabs/aquavm/pull/217) [PR 215](https://github.com/fluencelabs/aquavm/pull/215) [PR 212](https://github.com/fluencelabs/aquavm/pull/212) [PR 207](https://github.com/fluencelabs/aquavm/pull/207):
2022-08-26 00:43:43 +03:00
Various bugs were fixed
2022-02-26 00:54:11 +03:00
[PR 210](https://github.com/fluencelabs/aquavm/pull/210):
Add API for returning AquaVM consumed memory size
2021-12-29 21:24:03 +03:00
## Version 0.20.0 (2021-12-29)
[PR 205](https://github.com/fluencelabs/aquavm/pull/205):
Supported scalars in `fail` instructions.
[PR 202](https://github.com/fluencelabs/aquavm/pull/202) [PR 198](https://github.com/fluencelabs/aquavm/pull/198):
AquaVM errors mechanism was completely refactored.
[PR 207](https://github.com/fluencelabs/aquavm/pull/207):
Fixed bug with empty array in `match`.
2021-12-16 21:34:27 +03:00
## Version 0.19.0 (2021-12-15)
[PR 196](https://github.com/fluencelabs/aquavm/pull/196):
Introduced fail instruction.
[PR 194](https://github.com/fluencelabs/aquavm/pull/194):
Added variables names in resolve errors.
2021-12-15 12:46:09 +03:00
## Version 0.18.0 (2021-12-14)
[PR 192](https://github.com/fluencelabs/aquavm/pull/172):
Added a possibility to use scalars in lambdas.
[PR 190](https://github.com/fluencelabs/aquavm/pull/190), [PR 186](https://github.com/fluencelabs/aquavm/pull/186), [PR 185](https://github.com/fluencelabs/aquavm/pull/185), [PR 182](https://github.com/fluencelabs/aquavm/pull/182), [PR 181](https://github.com/fluencelabs/aquavm/pull/181):
Bug fixing.
## Version 0.17.0 (2021-11-24)
[PR 172](https://github.com/fluencelabs/aquavm/pull/172):
A new instruction intended to restrict a scope of variables was introduced to AquaVM.
[PR 168](https://github.com/fluencelabs/aquavm/pull/168):
AIR parser and AST was highly refactored to be more suitable to the scalar/stream restriction scheme used in AIR instructions.
[PR 164](https://github.com/fluencelabs/aquavm/pull/164):
SecurityTetraplet was decoupled with marine-rs-sdk to have the only one definition in AquaVM that then exported by marine-rs-sdk.
[PR 162](https://github.com/fluencelabs/aquavm/pull/162):
The scalar scoping scheme was improved in order to support more than two scope levels.
## Version 0.16.0 (2021-10-18)
[PR 154](https://github.com/fluencelabs/aquavm/pull/154)
The json path crate has been removed and changed to custom lambda scheme that have a subset of functionality of json path used by the Aqua compiler. The flattening sign `!` is still allowed now, but does nothing.
[PR 150](https://github.com/fluencelabs/aquavm/pull/150), [PR 152](https://github.com/fluencelabs/aquavm/pull/152), [PR 153](https://github.com/fluencelabs/aquavm/pull/153) [PR 160](https://github.com/fluencelabs/aquavm/pull/160)
Some parts of the interpreter has been refactored to make it more modular.
[PR 144](https://github.com/fluencelabs/aquavm/pull/144)
The interpreter changed to be built with `unwind` panic handler and some other debug options were turned on.
## Version 0.15.0 (2021-10-04)
[PR 140](https://github.com/fluencelabs/aquavm/pull/130):
- the interpreter become async, now it's a pure function without any imports from a peer. Instead of calling import `call_service` from a peer, it now returns call results in the outcome structure, and receives their result in the `invoke` export.
- data structure now includes a new field to track last call request id to give peer more freedom.
- AVM server was completely refactored to support the new interpreter model and to expose a new trait storing data for a node.
[PR 139](https://github.com/fluencelabs/aquavm/pull/139)
Senders in `RequestSentBy` could be different now.
[PR 138](https://github.com/fluencelabs/aquavm/pull/138)
The computation algo for `subtrace_len` was completely refactored.
[PR 136](https://github.com/fluencelabs/aquavm/pull/136)
`serde` and `serde_json` crates were used without locking their version
[PR 133](https://github.com/fluencelabs/aquavm/pull/133)
fixed bug with applying json path to an empty stream
[PR 132](https://github.com/fluencelabs/aquavm/pull/132)
fix bug with json flattening
2021-08-24 16:14:15 +03:00
## Version 0.14.0 (2021-08-24)
[PR 74](https://github.com/fluencelabs/aquavm/pull/74):
2021-08-24 16:14:15 +03:00
- introduced a new CRDT-like data format for streams:
- call results contains different values for streams and scalars
- introduced a new state for fold whose iterables are streams
- merging scheme was rewritten, and became lazy
- refactor the internal value mechanism
- introduced a new instruction `(ap` responsible for applying json path to scalars and save results as a new scalar or add it to a stream. In the second case it'll produce a new state in a data.
- introduced a new string literal `[]` represents empty array
## Version 0.10.8 (2021-07-06)
- improve the error message of the invalid executed state error ([PR 121](https://github.com/fluencelabs/aquavm/pull/121))
## Version 0.10.7 (2021-07-01)
- add support of a particle file vault ([PR 120](https://github.com/fluencelabs/aquavm/pull/120))
## Version 0.10.6 (2021-06-10)
- fixed the error message for incorrect json path in `%last_error%` ([PR 119](https://github.com/fluencelabs/aquavm/pull/119))
## Version 0.10.5 (2021-06-10)
- json path applied to scalar values becomes non-joinable ([PR 118](https://github.com/fluencelabs/aquavm/pull/118))
## Version 0.10.4 (2021-06-09)
- `%last_error%` includes `peer_id` now, that contains id of a peer where an error occurred ([PR 117](https://github.com/fluencelabs/aquavm/pull/117)).
## Version 0.10.3-0.10.1 (2021-06-04)
- improved logger initialization and interface for wasm-bindgen target ([PR 116](https://github.com/fluencelabs/aquavm/pull/116), [PR 115](https://github.com/fluencelabs/aquavm/pull/115)).
## Version 0.10.0 (2021-06-09)
- `%last_error%` becomes an object of type
```rust
pub struct LastError {
/// text representation of an instruction that caused the last error
pub instruction: String,
/// text representation of an error message
pub msg: String,
}
```
and it's possible to address its fields separately: `%last_error%.$.instruction`, `%last_error%.$.msg` ([PR 112](https://github.com/fluencelabs/aquavm/pull/112)).
2020-11-11 14:43:26 +03:00
## Version 0.1.3 (2020-11-11)
2021-10-05 20:08:10 +03:00
- Switched to the new LALRPOP parser ([PR 13](https://github.com/fluencelabs/aquavm/pull/13)):
- arguments should be wrapped with square braces []
2020-11-11 14:43:26 +03:00
- empty results in call allowed and lead to forget a call result
- Added a few benchmarks
2021-10-05 20:08:10 +03:00
- Fixed behaviour of the Xor instruction with inner Par instructions ([PR 19](https://github.com/fluencelabs/aquavm/pull/19))
- Iterator in the Fold becomes resolvable ([PR 23](https://github.com/fluencelabs/aquavm/pull/23))
2020-11-11 14:43:26 +03:00
2020-10-30 20:29:05 +03:00
## Version 0.1.2 (2020-10-29)
2021-10-05 20:08:10 +03:00
- Added new data format ([PR 12](https://github.com/fluencelabs/aquavm/pull/12)):
2020-10-30 20:29:05 +03:00
- previously data was a hashmap with variable names to values, and now it is call evidence path that contains call and par evidence states
- logger is refactored and supports now several log targets
2021-02-17 23:36:36 +03:00
- interpreter decoupled into two crates: `interpreter-lib` and `interpreter`. To build it for the FCE target the `fce` feature should be specified (`fce build --features fce`)
2020-10-30 20:29:05 +03:00
## Version 0.1.1 (2020-10-23)
2021-10-05 20:08:10 +03:00
- Added join behaviour ([PR 11](https://github.com/fluencelabs/aquavm/pull/11)):
2020-10-30 20:29:05 +03:00
- if `call` uses non existing variable, it is just being passed and isn't executed without any error
- `par` becomes completed when at least one of its subgraph is completed