Commit Graph

71 Commits

Author SHA1 Message Date
DieMyst
d5076c92dd deprecate module, force aqua, fix integration and unit tests 2023-12-20 19:14:23 +07:00
fluencebot
7fe0212761
chore(main): release aqua 0.13.2 (#1016)
* chore(main): release aqua 0.13.2

* chore: Bump aqua version to 0.13.2
2023-12-15 18:27:46 +00:00
renovate[bot]
bb013d79f7
chore(deps): update dependency @fluencelabs/aqua-lib to v0.8.2 (#1017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 11:35:06 +03:00
renovate[bot]
d97de9c83f
chore(deps): update dependency @types/node to v18.19.3 (#1012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 11:46:35 +01:00
renovate[bot]
409570afde
chore(deps): update dependency typescript to v5.3.3 (#1013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 09:58:51 +00:00
renovate[bot]
39a23db2bf
chore(deps): update dependency ts-node to v10.9.2 (#1010)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 09:43:11 +00:00
renovate[bot]
7689ee0fd9
chore(deps): update dependency prettier to v3.1.1 (#1015)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 09:29:09 +00:00
fluencebot
051aa41715
chore(main): release aqua 0.13.1 (#988) 2023-12-07 16:45:46 +03:00
Dima
74d02e1f63
feat(language-server): Pass token types to LSP [LNG-285] (#999) 2023-12-07 12:06:51 +00:00
Dima
4cecab1a26
fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00:00
renovate[bot]
6329e42f56
chore(deps): update dependency @fluencelabs/aqua-lib to v0.8.1 (#976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-11-27 12:04:23 +00:00
renovate[bot]
9d0fb2b841
fix(deps): update dependency @fluencelabs/js-client to v0.5.3 (#978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 11:48:09 +00:00
InversionSpaces
e65836e3c8
fix(tests): Fix imports in integration tests (#998)
Fix imports
2023-11-27 12:35:15 +01:00
InversionSpaces
2d4b2aece4
fix(compiler): Allow returning resolved service as ability [LNG-266] (#977)
* Refactor

* Refactor type system

* Remove println

* Fix renaming

* Add unit tests

* Do not convert to call arrow

* Check ability

* Refactor captured values resolution

* Remove println

* Fix fields gathering

* Remove println

* Remove println

* Fix renaming, export ability

* Rename only abilities

* Fix unit tests

* Fix captured arrows renaming

* Add comments

* Refactor

* Rename only arrows

* Add comments, refactor

* Add comments

* Rename method

* Add integration test

---------

Co-authored-by: Anatolios Laskaris <github_me@nahsi.dev>
Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-11-23 10:12:44 +00:00
fluencebot
d7023c0f10
chore(main): release aqua 0.13.0 (#944)
* chore(main): release aqua 0.13.0

* chore: Bump aqua version to 0.13.0
2023-11-22 15:21:38 +01:00
InversionSpaces
11c8970fd8
feat(compiler)!: Make nil option bottom [LNG-279] (#968)
* Make nil option of bottom

* Fix tests

* Make literals of data type

* Add unit tests

* Remove print
2023-11-14 11:02:58 +00:00
InversionSpaces
68425ed42a
feat(compiler)!: Prohibit mutating options [LNG-277] (#960)
* Parse any nested type

* Refactor type system

* Fix restriction

* Refactor type resolution

* Return stream definition

* Update examples

* Refactor

* Refactor

* Refactor integration tests

* Export service

* Add integration test

* Fix args provider

* Add parser unit tests

* Add type resolution unit tests

* Add more unit tests

* DataTypeToken -> CompositeTypeToken

* GeneralStreamType -> MutableStreamType

* Refactor

* Refactor TypeResolution

* colType -> collectionType

* Refactor

* Fix PushToStreamSem

* BasicTypeToken -> ScalarTypeToken

* CompositeTypeToken -> BasicTypeToken

* Fix for nil

* Make stream collectible

* Refactor collectible type

* Use internalError

* Add unit tests
2023-11-13 11:58:36 +03:00
renovate[bot]
313502ecae
fix(deps): update dependency @fluencelabs/js-client to v0.4.3 (#966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 07:55:30 +03:00
renovate[bot]
077dc8ff13
fix(deps): update dependency @fluencelabs/js-client to v0.4.2 (#956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 10:24:31 +01:00
renovate[bot]
634b1c17b6
fix(deps): update dependency @fluencelabs/js-client to v0.4.1 (#945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-30 08:46:50 +00:00
Dima
45ca7bbf3e
fix(compiler): Multiple closures in one function [LNG-262] (#941) 2023-10-27 09:24:52 +02:00
fluencebot
2f11a0649f
chore(main): release aqua 0.12.4 (#917)
* chore(main): release aqua 0.12.4

* chore: Bump aqua version to 0.12.4
2023-10-23 14:20:47 +00:00
Dima
fab46ee130
fix(compiler): Return ability arrow [LNG-258] (#935) 2023-10-23 16:59:55 +03:00
InversionSpaces
c83d69e689
fix(compiler): Passed function is not handled correctly [LNG-260] (#940)
* Fix renaming

* Add integration test
2023-10-23 11:54:09 +00:00
renovate[bot]
441c012e01
fix(deps): update dependency @fluencelabs/js-client to v0.3.0 (#936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 13:34:46 +03:00
renovate[bot]
030a0d464b
chore(deps): update dependency @fluencelabs/aqua-lib to v0.7.7 (#923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 12:35:45 +00:00
renovate[bot]
14f3d92ef4
fix(deps): update dependency @fluencelabs/js-client to v0.2.1 (#930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:32 +03:00
InversionSpaces
ba15d9e06a
fix(compiler): Fix topology for adjacent ons [LNG-257] (#929)
* Always enforce path

* Revert "Always enforce path"

This reverts commit 5ee1e37c9e.

* Add integration test

* Force return to relay

* Remove unused import

* Add comment

* Add unit test

* Add TODO

* Remove println

* Fix typo
2023-10-17 11:59:30 +00:00
InversionSpaces
f39bca928a
chore(deps): Bump js-client to 0.2.0 (#928)
Bump js-client to 0.2.0
2023-10-11 14:21:42 +00:00
fluencebot
c109f37efa
chore(main): release aqua 0.12.3 (#912)
* chore(main): release aqua 0.12.3

* chore: Bump aqua version to 0.12.3
2023-09-28 10:12:26 +00:00
Dima
878990a837
feat: Create structs with stream maps [fixes LNG-244] (#893) 2023-09-27 15:07:22 +03:00
InversionSpaces
b2ca1d35bf
feat(tests): Add integration test for result error handling (#914)
* Add integration test

* Fix test

* Fix test
2023-09-27 13:14:50 +02:00
InversionSpaces
ca6cae96ad
feat(compiler): Make if propagate errors [fixes LNG-202] (#779)
* Change if inlining, add fail model

* Inline if

* Fix, add comments

* Add integration test

* Fix test

* Fix test

* toBe -> toEqual

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-27 09:52:52 +00:00
InversionSpaces
a80033b81c
feat(compiler): Replace %last_error% with :error: [fixes LNG-239] (#883)
* %last_error% -> :error:

* Add integration test

* Fix integration tests

* Update integration test
2023-09-26 13:28:13 +03:00
fluencebot
91af0bf055
chore(main): release aqua 0.12.2 (#889) 2023-09-26 11:53:26 +03:00
renovate[bot]
1c708c8bb0
fix(deps): update dependency @fluencelabs/js-client to v0.1.7 (#908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 09:55:51 +00:00
renovate[bot]
fb75bc267e
fix(deps): update dependency @fluencelabs/js-client to v0.1.6 (#890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-19 12:05:19 +00:00
InversionSpaces
ed9e708939
fix(compiler): Fix arrows capture in closures [fixes LNG-242] (#903)
* Fix arrows capture

* Add comment

* Add test

* Add integration test
2023-09-19 14:25:11 +03:00
InversionSpaces
6be2a3d5da
feat(compiler): Services as abilities [fixes LNG-206] (#873)
* Refactor ServiceSem

* Refactor AbilityIdSem

* Remove tokens from state

* Refactor

* Add mangler

* Fix tests

* Refactor valueToRaw

* ServiceIdTag

* AbilityId -> ServiceId

* Add ServiceType

* Fix defineServiceType

* Refactor resolveArrowDef

* Refactor TypesHelper

* Add ServiceIdTag inlining

* Implement resolution

* Add service as ability passing

* Fix importing services

* Fix cli

* Implement default service

* Remove println

* Fix capture

* Add integration test

* Fix id

* Fix test

* Fix test

* Refactor test

* Do not resolve id

* Refactor FuncArrow creation

* Refactor FuncArrow wrapper creation

* Add named arguments

* Add comment

* ensureIsString -> valueToStringRaw, refactor OnSem

* Resolve services as abilities

* Add name to varNames

* Remove service hack

* Capture services, do not rename captured

* Rename arrows along with values

* Fix CallArrowRaw.map

* Fix unit tests

* Remove service case

* Refactor abilities state

* Propagate rootServiceIds

* Remove unused

* Add comments

* Refactor

* Refactor

* Add test

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-15 10:34:21 +02:00
renovate[bot]
d6f879ef7a
fix(deps): update dependency @fluencelabs/js-client to v0.1.4 (#887)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-14 13:32:45 +00:00
Dima
9f863eae43
chore: Compile integration tests with aqua-api [fixes LNG-240] (#884) 2023-09-12 13:11:50 +03:00
fluencebot
03042a71f3
chore(main): release aqua 0.12.1 (#866)
* chore(main): release aqua 0.12.1

* chore: Bump aqua version to 0.12.1

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-09-11 16:11:55 +03:00
renovate[bot]
df111adf21
fix(deps): update dependency @fluencelabs/js-client to v0.1.3 (#875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 10:37:37 +02:00
renovate[bot]
1f23545b49
fix(deps): update dependency @fluencelabs/js-client to v0.1.1 (#865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 14:23:04 +03:00
InversionSpaces
443e65e3d8
fix(compiler): Fix closure stream capture [fixes LNG-58] (#857) 2023-09-01 16:05:32 +03:00
fluencebot
5adbae0677
chore(main): release aqua 0.12.0 (#853)
* chore(main): release aqua 0.12.0

* chore: Bump aqua version to 0.12.0
2023-08-25 11:55:20 +03:00
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
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
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