Commit Graph

65 Commits

Author SHA1 Message Date
Dima
abcb63db3b
perf(compiler): Inliner optimization [LNG-322] (#1047) 2024-01-22 10:08:06 +00:00
renovate[bot]
27704a9169
chore(deps): update dependency @fluencelabs/interfaces to v0.10.0 (#1051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 12:45:05 +00:00
InversionSpaces
d057a5e695
feat(compiler)!: Force aqua header [LNG-308] (#1028)
* Refactor

* deprecate `module`, force `aqua`, fix integration and unit tests

* fix ImportFromSpec

* Savepoint

* Fix

* Semantic error on module header

* Refactor

* Add begin token

* Fix tests

* Remove DHT examples

* Use git aqua-lib

* Fix headers

* Fix headers

* Fix headers

* Fix headers

* Fix headers

* Fix headers

* Fix headers

* Fix test

* Unignore tests

* Update aqua-lib

---------

Co-authored-by: DieMyst <dmitry.shakhtarin@fluence.ai>
2024-01-18 10:43:23 +01:00
fluencebot
098fac79ba
chore(main): release aqua 0.13.4 (#1036) 2024-01-11 11:26:38 +03:00
fluencebot
9aec470d38
chore(main): release aqua 0.13.3 (#1025) 2023-12-25 12:51:54 +00:00
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
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
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]
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
4cecab1a26
fix(compiler): Use correct empty stream as argument [LNG-280, LNG-292] (#967) 2023-11-28 10:45:12 +00: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
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
cee444862a
feat(compiler): Generate empty calls to responseHandlerSrv [LNG-286] (#979)
* Add noEmptyResponse

* Fix tests
2023-11-17 10:43:13 +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
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
fluencebot
91af0bf055
chore(main): release aqua 0.12.2 (#889) 2023-09-26 11:53:26 +03:00
InversionSpaces
27a781dd3f
feat(compiler): Add warnings subsystem [fixes LNG117] (#906)
* ErrorsAlgebra -> ReportAlgebra

* Refactor ReportAlgebra

* Refactor

* Refactor AquaError

* Fixes

* Add warnings, refactor

* Refactor parser

* Move semantics

* Savepoint

* Refactor semantics and compiler

* Refactor types

* Refactor compiler

* Refactor compiler

* Refactor types

* Refactor retunr types

* Return warnings

* Add simple warning

* Refactor to ValidatedNec

* Refactor

* Add comment

* Propagate warnings to LspContext

* Propagate warnings to LSP

* Add warnings to js api

* Update LSP js api

* Use export declare

* Add comment

* Refactor span rendering

* Remove variable name warning

* Add warning on unused call results

* Add unit tests

* Remove println
2023-09-25 13:00:43 +00:00
shamsartem
66638afa2d
feat: rethrow errors to capture stacktrace (#907)
* feat: rethrow errors to capture stacktrace

* add null check
2023-09-20 18:56:09 +02:00
shamsartem
594f46529d
feat: export types from aqua-api (#904)
* feat: export types from aqua-api

* improve
2023-09-18 16:39:59 +00:00
InversionSpaces
67d8151d94
feat(build): Implement custom bundle task (#894)
* Add link settings

* fix

* Rename to api-dist-js

* Correct import

* Update CI

* Implement bundleJS

* Add comments

* Add TODO

* Fix import

* Fix workflow

---------

Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
2023-09-18 09:53:25 +02:00
InversionSpaces
3f916c78ab
feat(aqua-api): Use scala.js link instead of opt (#891)
* Add link settings

* fix

* Rename to api-dist-js

* Correct import

* Update CI

---------

Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
2023-09-15 15:42:04 +02:00
Dima
404d5ffae2
chore: add code to run aqua (#886)
* add code to run aqua

* delete aqua-cli

* Apply suggestions from code review

---------

Co-authored-by: InversionSpaces <InversionSpaces@vivaldi.net>
2023-09-13 10:55:22 +00: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]
4365dcb899
chore(deps): update dependency @fluencelabs/interfaces to v0.8.2 (#859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 14:41:58 +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
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
fluencebot
071ba7d483
chore(main): release aqua 0.11.10 (#835) 2023-08-21 14:11:02 +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
shamsartem
c7fca40f67
feat: wrap aqua api (#807) 2023-08-09 17:32:27 +03:00
fluencebot
cb539f1332
chore(main): release aqua 0.11.8 (#805) 2023-07-20 18:28:33 +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
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
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
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
fluencebot
6c7147212d
chore(main): release aqua 0.11.5 (#749) 2023-06-14 18:34:49 +03:00
fluencebot
45c44b3046
chore(main): release aqua 0.11.4 (#743) 2023-06-13 14:08:12 +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
fluencebot
7410765606
chore(main): release aqua 0.11.2 (#734) 2023-06-07 16:05:10 +03:00
Dima
0b66aa96ec
feat(aqua-api): return JS and TS sources from API [LNG-164] (#730) 2023-06-07 14:07:14 +02:00
fluencebot
266a5e0949
chore(main): release aqua 0.11.1 (#725) 2023-06-01 16:59:48 +00:00
fluencebot
19c4e509a8
chore(main): release aqua 0.11.0 (#713) 2023-05-29 16:31:42 +03:00
fluencebot
2367f29ee8
chore(main): release aqua 0.10.6 (#700) 2023-05-03 18:04:52 +03:00