Commit Graph

839 Commits

Author SHA1 Message Date
InversionSpaces
a4d8ee7083
fix(compiler): Do not generate hop back with empty response by default [LNG-305] (#1019)
Change default flag, add test
2023-12-21 11:17:50 +00:00
InversionSpaces
5bc01a9c02
feat(lsp-api): Fix interface definition [LNG-298] (#1027)
* Fix interface definition

* Fix comment
2023-12-19 17:01:34 +01:00
InversionSpaces
33a2ca87e0
feat(api): Refactor js api interfaces (#1024)
Change types
2023-12-18 12:48:03 +01: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
InversionSpaces
6732f8f2cc
fix(tests): Lower tests size (#1018)
* Lower tests size

* Remove prints
2023-12-14 10:27:14 +01: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
InversionSpaces
f7bfa8317b
feat(api): Accept structured imports [LNG-288] (#989)
* Refactor sources

* Fix FuncCompiler compilation

* Normalize imports

* Add relative imports

* Remove Prelude

* Remove import

* Add a log

* Add more logs

* Use snapshot of fs2

* Remove prints

* Add comments

* Savepoint

* Rewrite imports resolution

* Fix relative import

* Add comment

* Added comments

* Fix comment

* Add comments

* Refactor

* Refactor

* Add tests

* Fix tests

* Update tests

* Add comment

* Lower number of tests

* Comment, rename

* Add comment

* Add emptiness check
2023-12-13 17:19:34 +01:00
renovate[bot]
00252fe8a7
chore(deps): update all github-actions (major) (#1014)
chore(deps): update all github-actions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-13 11:46:28 +02:00
renovate[bot]
2f135e4fd2
chore(deps): update dependency com.outr:scribe to v3.13.0 (#1008)
* chore(deps): update dependency com.outr:scribe to v3.13.0

* Fix field

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: InversionSpaces <inversionspaces@vivaldi.net>
2023-12-11 12:26:15 +01: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
Anatolios Laskaris
c474a77e76
chore: Fix fcli e2e (#1006)
Fix e2e
2023-12-07 15:02:01 +02: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
b24fcf686f
fix(e2e): Use main branch for fcli (#987)
Use main branch
2023-11-27 13:20:13 +02:00
renovate[bot]
4342812450
chore(deps): update dependency com.eed3si9n:sbt-assembly to v2.1.5 (#991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 14:18:54 +03:00
renovate[bot]
011a1d7260
chore(deps): update dependency @fluencelabs/interfaces to v0.9.0 (#990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 11:07:13 +00:00
Anatolios Laskaris
2ac69616b5
chore: Fix e2e (#997)
Fix e2e
2023-11-27 12:51:37 +02: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
1e525fad35
feat(api): Use js.UndefOr for defaultServiceId (#980)
Use js.UndefOr
2023-11-22 13:44:34 +00:00
Anatolios Laskaris
3472f2016f
chore: Fix e2e after renaming flox to fcli (#986)
Fix e2e
2023-11-22 10:38:57 +02:00
InversionSpaces
cee444862a
feat(compiler): Generate empty calls to responseHandlerSrv [LNG-286] (#979)
* Add noEmptyResponse

* Fix tests
2023-11-17 10:43:13 +00: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
renovate[bot]
522d95b8e3
chore(deps): update dependency co.fs2:fs2-io to v3.9.3 (#969)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 12:17:48 +03: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
Dima
a1576efad9
fix(compiler): Code generate wrong stream name in AIR [LNG-276] (#958) 2023-11-02 13:13:25 +00:00
Dima
6e6b567f8e
fix(compiler): Incorrect focus on error [LNG-274] (#959) 2023-11-02 12:38:19 +00:00
Anatolios Laskaris
3b0d31325a
chore: Make renovate care for unstable versions (#942)
Make renovate care for unstable versions

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-11-02 10:07:23 +02:00
renovate[bot]
e7ea1f80ac
chore(deps): update dependency sbt/sbt to v1.9.7 (#949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 12:46:31 +00:00
renovate[bot]
7ce95d0a75
chore(deps): update dependency com.eed3si9n:sbt-assembly to v2.1.4 (#948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 12:28:48 +00:00
InversionSpaces
5a3c5e6666
fix(compiler): Unknown service method call is ignored [LNG-273] (#957)
* Remove property token adjustment

* Revert "Remove property token adjustment"

This reverts commit 27d72f2bff.

* Remove scope word

* Refactor

* Refactor, add error

* Add unit tests

* Fix specifier for struct
2023-11-01 14:55:59 +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
InversionSpaces
78ee753c7b
feat(compiler): Always generate last argument of fold [LNG-265] (#947)
* Always generate last in fold

* Fix unit tests

* Add methods
2023-10-30 12:58:51 +03: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
38f77285f5
fix(compiler): Throw an error when comparing an alias and a named type with the same name [LNG-231] (#946) 2023-10-27 11:18:44 +00:00
Dima
45ca7bbf3e
fix(compiler): Multiple closures in one function [LNG-262] (#941) 2023-10-27 09:24:52 +02:00
InversionSpaces
fcdb5b0fef
feat(compiler): Allow omitting field name in struct creation [LNG-261] (#943) 2023-10-25 09:12:09 +00: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
InversionSpaces
679d43f7eb
feat(dev): Add PR template (#934)
* Add PR template

* Add issue point

---------

Co-authored-by: Dima <dmitry.shakhtarin@fluence.ai>
2023-10-17 17:22:05 +03:00