Commit Graph

838 Commits

Author SHA1 Message Date
Akim
0f9ede09fb
feat(js-client)!: Move to new js-client interface (#855)
* js-client.api -> js.client

* fix types

* Update js-client

* Remove redundant connect

* Set latest js-client
2023-08-25 11:39:10 +03:00
InversionSpaces
2a0b207633
feat(compiler): Restrict abilities usage [fixes LNG-208] (#854)
* Refactor

* Refactor

* Refactor

* Remove ScopeRaw

* Refactor, forbid exporting

* Add export checks

* Refactor

* Forbid exporting abilities

* Fix integration tests

* Forbid implicit ability export

* Simplify exports

* Fordbid using non data types in collections

* Forbid unappropriate struct field types

* Refactor

* Add export tests

* Add collection tests

* Add struct fields test

* Fixes

* Fix
2023-08-24 16:09:39 +03:00
Anatolios Laskaris
3b033852f9
chore: Use node 18 (#856)
Use node 18
2023-08-24 12:20:34 +02:00
InversionSpaces
bf0b51fa5b
fix(compiler): Fix nested abilities [fixes LNG-220] (#852)
* Fix fields gathering

* Remove println

* Add test

* Remove println

* Add comments

* Add comments
2023-08-22 11:53:06 +02:00
fluencebot
5db1282c1f
chore(main): release aqua 0.11.11 (#850)
* chore(main): release aqua 0.11.11

* chore: Bump aqua version to 0.11.11

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-08-21 16:40:35 +03:00
Anatolios Laskaris
badc7d7a45
chore(ci): Use fluencebot to bump versions (#851)
Use fluencebot to bump versions
2023-08-21 15:41:03 +03:00
Anatolios Laskaris
7a6fce27f7
chore: Revert release (#848)
* Revert "chore(main): release aqua 0.11.10 (#835)"

This reverts commit 071ba7d483.

* Release as 0.11.11
2023-08-21 14:37:49 +03:00
fluencebot
071ba7d483
chore(main): release aqua 0.11.10 (#835) 2023-08-21 14:11:02 +03:00
renovate[bot]
75b0b5760d
chore(deps): update catsv to v2.10.0 (#844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 13:45:12 +03:00
Dima
8060695dbb
feat: parseq implementation (fixes LNG-223) (#840)
* parsec implementation

* add test code

* parsec expression

* Refactor

* Refactor

* Add return strategy to on

* Add ExitStrategy

* Add TopologyPath

* Add ExitStrategy.ToRelay

* Handle ToRelay

* Refactor

* Refactor

* Refactor

* Handle OnModel with Relay strategy

* parsec -> parseq

* parsec -> parseq

* Add semantics test

* Add topology tests

* Add comments

---------

Co-authored-by: InversionSpaces <InversionSpaces@vivaldi.net>
2023-08-21 14:26:30 +04:00
Dima
019611a89c
feat(compiler): Structural typing for data and abilities [fixes LNG-215] (#843) 2023-08-18 16:15:20 +03:00
InversionSpaces
eb4cdb0dd1
fix(compiler): Generate stream restriction for scoped exprs [fixes LNG-222] (#841)
* Add show for AST

* Update ForSem

* Fix if and try

* Fix else, otherwise, catch, add tests

* Add integration tests
2023-08-17 10:30:02 +04:00
InversionSpaces
f562bd40b6
fix(compiler): Refactor values [fixes LNG-57] (#821)
* Refactor parser

* Savepoint

* Refactor CliFunc and TypesInterpreter

* Fix CliFunc

* Fix parser tests

* Fix tests compilation

* Fix callArrowToRaw

* Fix co parsing, add tests

* Add par tests

* Fix field parsing, add test

* Return ability to CallArrowToken

* Fix names

* Refactor and add comments

* Refactor, add comments

* Fix
2023-08-15 13:33:34 +03:00
Anatolios Laskaris
6146f8e40a
fix: Fix release build command (#834)
Fix
2023-08-10 16:46:03 +03:00
fluencebot
49c9be6dd8
chore(main): release aqua 0.11.9 (#813) 2023-08-09 15:18:11 +00:00
renovate[bot]
731f424576
chore(deps): pin dependency @fluencelabs/interfaces to 0.8.1 (#833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 15:02:45 +00:00
renovate[bot]
50e8bab3de
chore(deps): update dependency @fluencelabs/aqua-lib to v0.7.3 (#830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-09 17:49:01 +03:00
shamsartem
c7fca40f67
feat: wrap aqua api (#807) 2023-08-09 17:32:27 +03:00
InversionSpaces
a5e9354aeb
feat(compiler): Add equality ops [fixes LNG-217] (#820)
* Add eq ops

* Fixed if

* Fix return

* Fix tests

* Add parser tests

* Fix types, add semantics tests

* Add integration tests

* Add integration test

* Remove comment
2023-08-09 13:38:24 +00:00
Dima
ef4b0143ac
fix(compiler): Runtime error on compilation exported functions with top types [fixes LNG-218] (#822) 2023-08-09 16:21:18 +03:00
Anatolios Laskaris
d2637976c1
chore: Exclude integration-tests during publishing (#824)
* Exclude integration-tests

* Rename package

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-08-03 15:32:27 +03:00
Anatolios Laskaris
bc75611eb3
chore: Install without lockfile (#825)
Fix
2023-08-03 15:12:46 +03:00
Anatolios Laskaris
726230c987
chore(e2e): Override deps then install (#823)
Override deps then install
2023-08-03 14:04:08 +03:00
renovate[bot]
2d5d377967
chore(deps): update all github-actions (#810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 13:35:04 +03:00
Dima
4e3e70f4fc
fix(compiler): Nested abilities [fixes LNG-214] (#816) 2023-07-31 14:40:06 +03:00
renovate[bot]
dba12b8277
chore(deps): update dependency sbt/sbt to v1.9.3 (#817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 13:31:21 +03:00
InversionSpaces
a5b6102422
feat(compiler): Add boolean algebra [fixes LNG-211] (#814) 2023-07-27 14:11:36 +03:00
Dima
fabf8d7d61
feat(compiler): Restrict exporting functions that return arrow types or ability types [fixes LNG-209] (#815) 2023-07-26 12:55:16 +03:00
InversionSpaces
4c3c32b7c4
fix(compiler): Fix if with brackets parsing (#812) 2023-07-25 10:09:51 +00:00
InversionSpaces
50ba194b86
fix(compiler): Fix math ops for u64 [fixes LNG-204] (#811) 2023-07-25 12:53:50 +03:00
fluencebot
cb539f1332
chore(main): release aqua 0.11.8 (#805) 2023-07-20 18:28:33 +03:00
Anatolios Laskaris
c9bf77d53c
chore(release): Use pnpm instead of sed to bump version (#804)
Use pnpm instead of sed
2023-07-20 11:35:23 +03:00
Anatolios Laskaris
c097bedd47
chore(release): Bump aqua cli version in tests (#803)
Set aqua version in tests
2023-07-20 11:25:02 +03:00
Dima
63a9f42e86
feat(compiler): Abilities (#731) 2023-07-18 17:18:33 +00:00
renovate[bot]
ca52e2542c
fix(deps): update dependency @fluencelabs/fluence-network-environment to v1.1.2 (#786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 19:03:02 +03:00
renovate[bot]
a804504522
chore(deps): update dependency sbt/sbt to v1.9.2 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 13:00:08 +03:00
InversionSpaces
33ab33d4c8
fix(compiler): Fix search for one element cycles (#797) 2023-07-14 15:06:21 +03:00
Anatolios Laskaris
0f9c40e9d1
chore: Fix release (#795)
Fix?
2023-07-14 10:09:03 +03:00
renovate[bot]
cc8610b3e6
chore(deps): update dependency org.portable-scala:sbt-scalajs-crossproject to v1.3.2 (#789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 16:44:40 +03:00
InversionSpaces
b8b0fafda0
feat(compiler): Make on propagate errors [fixes LNG-203] (#788)
* Add fail model

* Make `on` propagate error

* Fix unit tests

* Fix TryTag inlining

* Update XorModel.wrap

* Add comments

* Remove wrapWithXor parameter

* Add unit tests

* Add integration tests

* Add comments

* Fix XorBranch topology
2023-07-12 16:18:47 +03:00
Anatolios Laskaris
a7dba14c7c
chore: Renaming things (#772)
* Renaming

* Use unstable

* Fix

* Fix

* Use main
2023-07-10 09:40:58 +03:00
InversionSpaces
c1fe24b04d
feat(compiler): Make topology hop with non-FFI snippet [fixes LNG-125] (#764)
* Remove MakeRes.canon

* Replace noop with hop

* Rewrite join

* Remove JoinModel, fix tests

* Share code between tests

* Pass type in RestrictionTag(Model)

* Fix MakeRes.hop

* Fix wrapping

* Rename vars, add comments

* Fix XorBranch topology

* Fix tests
2023-07-06 12:44:37 +03:00
folex
22f380a491
fix(ci): use unstable nox image (#780)
* fix(ci): use unstable nox image

* fix(integration-tests): js-client.node 0.7.0, .api 0.12.0

* fix: update pnpm-lock.yaml

* chore: remove aqua.js

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-07-04 12:04:12 -06:00
renovate[bot]
cef7dff098
chore(deps): update dependency sbt/sbt to v1.9.1 (#782)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:45:23 +00:00
renovate[bot]
742d1f35b7
chore(deps): pin dependency multiaddr to 10.0.1 (#773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 16:32:32 +00:00
renovate[bot]
a10d50407b
chore(deps): update dependency org.typelevel:cats-parse to v0.3.10 (#781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 19:13:49 +03:00
InversionSpaces
667a8255d9
feat(compiler): Find and display link cycles (#787)
Find and display dependency cycles
2023-07-04 10:07:22 +00:00
InversionSpaces
8ba7021cd4
refactor(semantics): Refactor semantics to produce concrete tags [fixes LNG-201] (#776)
* Introduce IfTag, TryTag; Remove XorTag

* Add IfTag, TryTag inlining

* Fix test compilation

* Fix test

* Hack to fix topology

* Support try otherwise syntax

* Add comments

* Refactor diff show

* Handle ParTag.Par in single check, add tests
2023-06-29 16:20:47 +00:00
Dima
339d3a8217
refactor: ArrowInliner refactoring (#777) 2023-06-29 11:43:38 +00:00
InversionSpaces
2985baadfc
chore(tests): Fix typo (#778) 2023-06-29 13:12:59 +03:00