Commit Graph

614 Commits

Author SHA1 Message Date
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
renovate[bot]
9fdf4e1005
chore(deps): update hashicorp/vault-action action to v2.7.0 (#762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 14:46:38 +03:00
renovate[bot]
26f943177d
chore(deps): update dependency org.scala-js:sbt-scalajs to v1.13.2 (#774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-28 12:31:13 +03:00
Anatolios Laskaris
46705754e6
chore: Fix default branch (#771)
Fix
2023-06-22 15:13:24 +03:00
Anatolios Laskaris
aa10706506
chore: Refactor CI after moving tests from aqua-playground [fixes FLU-352] (#763)
* move integration tests to repo

* Move aqua-playground CI

* Fix

* Use local aqua cli

* Move aqua tests to e2e

* Test new build.sbt

* Fix?

* Test

* Test

* Test

* Test

* Update

* Fix

* Fix

* Fix

* fix

* Fix

* Rename aqua-api to api directory for consistency

* Migrate to pnpm

* Add bump version script

* Test snapshot workflow

* fix

* Fix

* Fix

* Setup pnpm

* Update pnpm version

* Fix

* Do not publish tests

* Update

* Fix

* Fix?

* delete import

* Fix

* Fix

* Fix?

* Fix

* Fix

* Use main branch

* Fix quotes

* Fix

* Fix release

* Cleanup

* Remove compiled examples

* Cleanup

---------

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2023-06-22 14:59:56 +03:00
Dima
6cc3a969d2
chore: move integration tests to repo [LNG-167] (#756) 2023-06-19 19:28:34 +03:00
InversionSpaces
b9d03cbcf0
refactor(compiler): Refactor Topology (#754)
* Separate files

* Refactor `capturedTopologies`

* Refactor pathOn

* Refactor firstExecutesOn, lastExecutesOn

* Refactor resolve

* Extract debug print

* Refactor cata and resolve

* Refactor through

* Refactor pathAfterAndPingNext

* Refactor For.beginsOn
2023-06-19 17:10:25 +02:00
renovate[bot]
4acbf4dc7e
chore(deps): update dependency org.typelevel:cats-parse to v0.3.9 (#760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 13:20:27 +03:00
Anatolios Laskaris
a70da08bdf
chore: Readd fluence-cli to e2e (#759)
* Readd fluence-cli

* Use main
2023-06-19 12:23:26 +03:00
fluencebot
4fcfaf9c7c
chore(main): release aqua 0.11.7 (#758)
* chore(main): release aqua 0.11.7

* chore: Bump aqua version to 0.11.7
2023-06-16 15:41:56 +03:00
InversionSpaces
e22fff7c8a
fix(compiler): Fix incorrect service method renaming [fixes LNG-199] (#757)
* Rename only arrows, not service calls

* Add tests

* Fix comment
2023-06-16 15:05:41 +03:00
fluencebot
c73a98b7a0
chore(main): release aqua 0.11.6 (#753)
* chore(main): release aqua 0.11.6

* chore: Bump aqua version to 0.11.6
2023-06-15 08:03:46 -06:00
Dima
889c50734b
fix: generate JS in Aqua API properly (#755)
fix aqua API for JS
2023-06-15 08:01:26 -06:00
InversionSpaces
017eca7056
fix(compiler): Fix SO in Topology [fixes LNG-149] (#752)
* Skip `next` in `for` topology resolution

* Add tests
2023-06-15 13:17:15 +02:00
Anatolios Laskaris
bae5eed08a
chore: Exclude aqua-api-example directory from renovate (#751)
Exclude aqua-api-example directory from renovate
2023-06-15 10:07:33 +03:00
fluencebot
6c7147212d
chore(main): release aqua 0.11.5 (#749) 2023-06-14 18:34:49 +03:00
InversionSpaces
d6e3ec725c
refactor(compiler): Remove ShadowRaw (#742) 2023-06-14 16:41:38 +03:00
InversionSpaces
f1abd587b7
fix(compiler): Fix closure passing [fixes LNG-92] (#747) 2023-06-14 16:09:50 +03:00
InversionSpaces
739854a20b
fix(parser): Fix compare ops parsing (#748)
* Fix order of compare ops parse

* Add tests
2023-06-14 12:52:30 +00:00
fluencebot
45c44b3046
chore(main): release aqua 0.11.4 (#743) 2023-06-13 14:08:12 +03:00
InversionSpaces
c5534a964c
fix(compiler): Fix closure call compilation [fixes LNG-193] (#741) 2023-06-13 12:56:17 +03:00
Dima
8c2240d3b1
fix(aqua-api): Compilation to js/ts for file without exports [LNG-196] (#744) 2023-06-13 11:04:50 +02:00
InversionSpaces
e9c004452e
feat(tracing): Introduce function calls tracing [fixes LNG-169] (#732)
* Introduced MetaModel.CallArrowModel

* Fixed ArrowInlinerSpec

* Implemented trace calls injection

* Propagate TracingConfig

* Add tracing flag to js api

* Use detach instead of xor

* Write tests

* ScalarType -> LiteralType

* Add tests

* Fix after rebase

* Fixed tests

* Add tests

* Remove debug prints

* Clean up and add comments

* Fix issues

* Add tracing flag to js api

* Rename liftString -> quote

* Change literal type

* Use CallServiceModel constructor

* Fix js args

* Fixed tests

* Add tracing option to cli
2023-06-12 15:28:27 +02:00
fluencebot
e2f67b3c0f
chore(main): release aqua 0.11.3 (#737)
* chore(main): release aqua 0.11.3

* chore: Bump aqua version to 0.11.3
2023-06-09 13:43:20 +02:00
Dima
5f5fc494b6
fix(aqua-api): Add default constants to Aqua API [LNG-194] (#738) 2023-06-09 10:59:41 +00:00