aqua/CHANGELOG.md
2024-01-30 12:24:50 +03:00

32 KiB

Changelog

0.14.0 (2024-01-30)

⚠ BREAKING CHANGES

  • compiler: Force aqua header [LNG-308] (#1028)

Features

Bug Fixes

  • compiler: Streams in closures generates wrong AIR (#1055) (1a0b3a2)
  • deps: update dependency @fluencelabs/js-client to v0.6.0 (#1050) (f94f383)
  • deps: update dependency @fluencelabs/js-client to v0.7.0 (#1056) (11f8d3b)

Performance Improvements

0.13.4 (2024-01-11)

Features

Bug Fixes

  • compiler: Add outside context to closures [LNG-317] (#1038) (85f3ecd)
  • compiler: Passing closures with abilities [LNG-314] (#1035) (5241f52)
  • compiler: Type check arrow calls on services and abilities [LNG-315] (#1037) (d46ee03)

0.13.3 (2023-12-22)

Features

Bug Fixes

  • compiler: Do not generate hop back with empty response by default [LNG-305] (#1019) (a4d8ee7)
  • deps: update dependency @fluencelabs/js-client to v0.5.5 (#1020) (851a66f)

0.13.2 (2023-12-14)

Features

  • api: Accept structured imports [LNG-288] (#989) (f7bfa83)

Bug Fixes

0.13.1 (2023-12-07)

Features

  • language-server: Pass token types to LSP [LNG-285] (#999) (74d02e1)

Bug Fixes

  • compiler: Allow returning resolved service as ability [LNG-266] (#977) (2d4b2ae)
  • compiler: Use correct empty stream as argument [LNG-280, LNG-292] (#967) (4cecab1)
  • deps: update dependency @fluencelabs/js-client to v0.5.3 (#978) (9d0fb2b)
  • e2e: Use main branch for fcli (#987) (b24fcf6)
  • tests: Fix imports in integration tests (#998) (e65836e)

0.13.0 (2023-11-22)

⚠ BREAKING CHANGES

  • compiler: Make nil option bottom [LNG-279] (#968)
  • compiler: Prohibit mutating options [LNG-277] (#960)

Features

  • api: Use js.UndefOr for defaultServiceId (#980) (1e525fa)
  • compiler: Allow omitting field name in struct creation [LNG-261] (#943) (fcdb5b0)
  • compiler: Always generate last argument of fold [LNG-265] (#947) (78ee753)
  • compiler: Generate empty calls to responseHandlerSrv [LNG-286] (#979) (cee4448)
  • compiler: Make nil option bottom [LNG-279] (#968) (11c8970)
  • compiler: Prohibit mutating options [LNG-277] (#960) (68425ed)

Bug Fixes

  • compiler: Code generate wrong stream name in AIR [LNG-276] (#958) (a1576ef)
  • compiler: Incorrect focus on error [LNG-274] (#959) (6e6b567)
  • compiler: Multiple closures in one function [LNG-262] (#941) (45ca7bb)
  • compiler: Throw an error when comparing an alias and a named type with the same name [LNG-231] (#946) (38f7728)
  • compiler: Unknown service method call is ignored [LNG-273] (#957) (5a3c5e6)
  • deps: update dependency @fluencelabs/js-client to v0.4.1 (#945) (634b1c1)
  • deps: update dependency @fluencelabs/js-client to v0.4.2 (#956) (077dc8f)
  • deps: update dependency @fluencelabs/js-client to v0.4.3 (#966) (313502e)

0.12.4 (2023-10-23)

Features

  • compiler: Handle error function exit in tracing mode [LNG-250] (#921) (03d23eb)
  • compiler: Optimize math in compile time [LNG-245] (#922) (5f6c47f)
  • dev: Add PR template (#934) (679d43f)

Bug Fixes

  • compiler: Fix gate inlining [LNG-253] (#924) (b298eeb)
  • compiler: Fix topology for adjacent ons [LNG-257] (#929) (ba15d9e)
  • compiler: fix typo (#916) (feb7a16)
  • compiler: Passed function is not handled correctly [LNG-260] (#940) (c83d69e)
  • compiler: Return ability arrow [LNG-258] (#935) (fab46ee)
  • deps: update dependency @fluencelabs/js-client to v0.2.1 (#930) (14f3d92)
  • deps: update dependency @fluencelabs/js-client to v0.3.0 (#936) (441c012)

0.12.3 (2023-09-28)

Features

  • compiler: Make if propagate errors [fixes LNG-202] (#779) (ca6cae9)
  • compiler: Replace %last_error% with :error: [fixes LNG-239] (#883) (a80033b)
  • Create structs with stream maps [fixes LNG-244] (#893) (878990a)
  • lsp-api: Add infoType (#915) (1e636cc)
  • tests: Add integration test for result error handling (#914) (b2ca1d3)

Bug Fixes

  • compiler: Handle errors from result handling [fixes LNG-247] (#913) (f158074)

0.12.2 (2023-09-25)

Features

  • aqua-api: Use scala.js link instead of opt (#891) (3f916c7)
  • build: Implement custom bundle task (#894) (67d8151)
  • compiler: Add warnings subsystem [fixes LNG117] (#906) (27a781d)
  • compiler: Fail on internal error [fixes LNG-229] (#905) (8741c91)
  • compiler: Services as abilities [fixes LNG-206] (#873) (6be2a3d)
  • export types from aqua-api (#904) (594f465)
  • language-server: Pass errors to lsp context [fixes LNG-243] (#888) (f8b5017)
  • rethrow errors to capture stacktrace (#907) (66638af)

Bug Fixes

  • compiler: Do not restrict stream args when ability is present [fixes LNG-233] (#902) (54ddcc8)
  • compiler: Fix arrows capture in closures [fixes LNG-242] (#903) (ed9e708)
  • deps: update dependency @fluencelabs/js-client to v0.1.4 (#887) (d6f879e)
  • deps: update dependency @fluencelabs/js-client to v0.1.6 (#890) (fb75bc2)
  • deps: update dependency @fluencelabs/js-client to v0.1.7 (#908) (1c708c8)

0.12.1 (2023-09-11)

Bug Fixes

  • compiler: Error on not arrow call after <- (#876) (69a808e)
  • compiler: Fix closure stream capture [fixes LNG-58] (#857) (443e65e)
  • deps: update dependency @fluencelabs/aqua-lib to v0.7.3 (#882) (3419607)
  • deps: update dependency @fluencelabs/js-client to v0.1.1 (#865) (1f23545)
  • deps: update dependency @fluencelabs/js-client to v0.1.3 (#875) (df111ad)

0.12.0 (2023-08-25)

⚠ BREAKING CHANGES

  • js-client: Move to new js-client interface (#855)

Features

  • compiler: Restrict abilities usage [fixes LNG-208] (#854) (2a0b207)
  • js-client: Move to new js-client interface (#855) (0f9ede0)

Bug Fixes

  • compiler: Fix nested abilities [fixes LNG-220] (#852) (bf0b51f)

0.11.11 (2023-08-21)

Features

  • compiler: Structural typing for data and abilities [fixes LNG-215] (#843) (019611a)
  • parseq implementation (fixes LNG-223) (#840) (8060695)

Bug Fixes

  • compiler: Generate stream restriction for scoped exprs [fixes LNG-222] (#841) (eb4cdb0)
  • compiler: Refactor values [fixes LNG-57] (#821) (f562bd4)
  • Fix release build command (#834) (6146f8e)

0.11.9 (2023-08-09)

Features

  • compiler: Add boolean algebra [fixes LNG-211] (#814) (a5b6102)
  • compiler: Add equality ops [fixes LNG-217] (#820) (a5e9354)
  • compiler: Restrict exporting functions that return arrow types or ability types [fixes LNG-209] (#815) (fabf8d7)
  • wrap aqua api (#807) (c7fca40)

Bug Fixes

  • compiler: Fix if with brackets parsing (#812) (4c3c32b)
  • compiler: Fix math ops for u64 [fixes LNG-204] (#811) (50ba194)
  • compiler: Nested abilities [fixes LNG-214] (#816) (4e3e70f)
  • compiler: Runtime error on compilation exported functions with top types [fixes LNG-218] (#822) (ef4b014)

0.11.8 (2023-07-20)

Features

  • compiler: Abilities (#731) (63a9f42)
  • compiler: Find and display link cycles (#787) (667a825)
  • compiler: Make on propagate errors [fixes LNG-203] (#788) (b8b0faf)
  • compiler: Make topology hop with non-FFI snippet [fixes LNG-125] (#764) (c1fe24b)

Bug Fixes

  • ci: use unstable nox image (#780) (22f380a)
  • compiler: Fix search for one element cycles (#797) (33ab33d)
  • deps: update dependency @fluencelabs/fluence-network-environment to v1.1.2 (#786) (ca52e25)

0.11.7 (2023-06-16)

Bug Fixes

  • compiler: Fix incorrect service method renaming [fixes LNG-199] (#757) (e22fff7)

0.11.6 (2023-06-15)

Bug Fixes

  • compiler: Fix SO in Topology [fixes LNG-149] (#752) (017eca7)
  • generate JS in Aqua API properly (#755) (889c507)

0.11.5 (2023-06-14)

Bug Fixes

  • compiler: Fix closure passing [fixes LNG-92] (#747) (f1abd58)
  • parser: Fix compare ops parsing (#748) (739854a)

0.11.4 (2023-06-13)

Features

  • tracing: Introduce function calls tracing [fixes LNG-169] (#732) (e9c0044)

Bug Fixes

  • aqua-api: Compilation to js/ts for file without exports [LNG-196] (#744) (8c2240d)
  • compiler: Fix closure call compilation [fixes LNG-193] (#741) (c5534a9)

0.11.3 (2023-06-09)

Features

  • devcontainer: Add js-client to devcontainer (#736) (62b1642)

Bug Fixes

  • aqua-api: Add default constants to Aqua API [LNG-194] (#738) (5f5fc49)

0.11.2 (2023-06-07)

Features

  • aqua-api: return JS and TS sources from API [LNG-164] (#730) (0b66aa9)

Bug Fixes

  • language-server: Go-to definition for path in use expression [LNG-187] (#733) (21cb393)

0.11.1 (2023-06-01)

Bug Fixes

  • inline: Nullable value in a nested struct [LNG-160] (#724) (ddb758c)

0.11.0 (2023-05-29)

⚠ BREAKING CHANGES

  • add name scopes to if/else/try blocks (#715)

Features

  • add name scopes to if/else/try blocks (#715) (e4205df)
  • devcontainer: Add devcontainer spec [fixes LNG-148] (#712) (9539c81)
  • parser: Strict indentation [fixes LNG-135] (#714) (ae2a433)
  • use new blueprint (#708) (d393b71)

0.10.6 (2023-05-03)

Bug Fixes

  • ParRes with no children converted to Null log (#699) (5f00b1e)

0.10.5 (2023-04-17)

Features

Bug Fixes

  • deps: update dependency @fluencelabs/aqua-api to v0.10.4 (#671) (c4144ba)

0.10.4 (2023-04-10)

Features

Bug Fixes

  • Check if expression can be added to a block (#685) (2394a9b)
  • deps: update dependency @fluencelabs/fluence-network-environment to v1.0.14 (#669) (f2713a4)

0.10.3 (2023-02-28)

Bug Fixes

  • Fix type for functor [fixes LNG-119] (#677) (bb24a63)

0.10.2 (2023-02-25)

Features

Bug Fixes

0.10.1 (2023-02-16)

Bug Fixes

0.10.0 (2023-02-16)

⚠ BREAKING CHANGES

  • DXJ-283 support new JS client (#668)

Features

0.9.5 (2023-02-14)

Bug Fixes

  • deps: update dependency @fluencelabs/aqua-ipfs to v0.5.9 (#661) (b49e897)

0.9.4 (2023-02-01)

Bug Fixes

  • Canonicalize variable in object creation or copy if variable is a stream (#649) (fedd743)

Performance Improvements

  • Unfold variables in parallel where it is possible (fixes LNG-109 ) (#656) (439f2cd)

0.9.3 (2023-01-20)

Features

  • copy structures implementation [fixes LNG-102] (#646) (50f0723)

Bug Fixes

  • nil in return [DXJ-226] (#629) (7ab980a)
  • ci: Set correct aqua version when creating release-please PRs [fixes FLU-215 and FLU-218] #642 (d7956c1)
  • error-messages: fix incorrect number of arguments message [fixes LNG-108] (#645) (d0a9db5)

0.9.2 (2023-01-17)

Bug Fixes

  • deps: update dependency @fluencelabs/fluence to v0.28.0 #627 (fa1dc89)