Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onflow/cadence-language-server

Package Overview
Dependencies
Maintainers
11
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/cadence-language-server - npm Package Versions

1235

0.28.0

Diff

Changelog

Source

v0.28.0 - 06 Oct 2022

<!-- Release notes generated using configuration in .github/release.yml at v0.28.0 -->

What's Changed

⭐ Features

  • Add fromString method on numeric types by @dreamsmasher in https://github.com/onflow/cadence/pull/1982

🛠 Improvements

  • Improve resource tracking by @turbolent in https://github.com/onflow/cadence/pull/2033
  • Catch interpreter panics in REPL by @dreamsmasher in https://github.com/onflow/cadence/pull/2028
  • Improve REPL by @turbolent in https://github.com/onflow/cadence/pull/2021
  • Introduce and use singleton for Void value by @turbolent in https://github.com/onflow/cadence/pull/2029
  • Introduce and use singletons for bool values by @turbolent in https://github.com/onflow/cadence/pull/2030
  • Introduce and use singleton value for nil by @turbolent in https://github.com/onflow/cadence/pull/2031
  • Optimize location range by @turbolent in https://github.com/onflow/cadence/pull/2036
  • Check errors' potential secondary message and error notes by @turbolent in https://github.com/onflow/cadence/pull/2034

📖 Documentation

  • Update 06-fungible-tokens.mdx by @MrDSGC in https://github.com/onflow/cadence/pull/2020
  • Fix composite types documentation by @turbolent in https://github.com/onflow/cadence/pull/2025

Full Changelog: https://github.com/onflow/cadence/compare/v0.27.1...v0.28.0

[Changes][v0.28.0]

<a name="v0.27.1"></a>

gregorggg
published 0.12.0 •

Changelog

Source

v0.12.0 - 15 Dec 2020

⭐ Features

  • Add getType function (#493): It is now possible to get the run-time type of a value
  • Flush the cache of the storage before querying the used storage amount (#480)
  • Structured type identifiers (#477)
  • Allow host environment to predeclare values, predicated on location (#472)
  • Add a visitor for interpreter values (#449)
  • Add support for imports in WASM writer and reader (#368)
  • Add support for coverage reports (#465)
  • Add storage fields to accounts (#439)
  • Implement fmt.Stringer for cadence.Value (#434)
  • Add a function to parse a literal with a given target type (#417)

🛠 Improvements

  • Extend event parameter types and dictionary key types (#497)
  • Optimize composite and interface static types (#489)
  • Optimize composite values (#488)
  • Fix the export of static types (#487)
  • Improve error pretty printing (#481)
  • Improve fixed-point multiplication and division (#490)
  • Improve error messages for contract deployment name argument checks (#475)
  • Add a test for decoding a struct with an address location without name (#469)
  • Refactor address locations, make composite decoding backwards-compatible (#457)
  • Improve error message when there are constructor argument (#455)
  • Make AST thread-safe (#440)
  • Add position information to interpreter errors (#424)

🐞 Bug Fixes

  • Declare new contract's nested values before evaluating initializer (#504)
  • Infer address location name from type ID for static types (#468)
  • Fix optional value's type function (#458)
  • Don't use the cache when deploying or updating account code (#447)
  • Properly handle unspecified variable kind (#441)
  • Prevent resource loss in failable downcasts (#426)

💥 Breaking Changes

This release contains no source-breaking changes for Cadence programs, but the following breaking changes when embedding Cadence:

  • Structured type identifiers (#477)
  • Add error return value to all interface methods (#470)

📖 Documentation

  • Document that references are not storable and suggest using capabilities (#478)
  • Update the diagram illustrating the architecture of the runtime (#476)
  • Document the current options for syntax highlighting (#444)

[Changes][v0.12.0]

<a name="v0.10.4"></a>

gregorggg
published 0.27.0 •

Changelog

Source

v0.27.0 - 23 Sep 2022

<!-- Release notes generated using configuration in .github/release.yml at v0.27.0 -->

What's Changed

This release contains a brand new framework for writing tests in Cadence, new standard library features, and many performance improvements.

⭐ Features

  • Add testing framework for Cadence by @SupunS in https://github.com/onflow/cadence/pull/1923
  • Make paths equatable by @dreamsmasher in https://github.com/onflow/cadence/pull/1911
  • Add String.fromUTF8 for conversion from [UInt8] by @dreamsmasher in https://github.com/onflow/cadence/pull/1927

🛠 Improvements

  • Optimize and make visitor generic by @turbolent in https://github.com/onflow/cadence/pull/1907
  • Improve the AST visitor further by @turbolent in https://github.com/onflow/cadence/pull/1919
  • Remove values from tokens, make all code byte slices by @turbolent in https://github.com/onflow/cadence/pull/1930
  • Use WriteByte instead of WriteRune by @turbolent in https://github.com/onflow/cadence/pull/1944
  • Export environment checker and interpreter config to allow customization by @turbolent in https://github.com/onflow/cadence/pull/1910
  • Refactor activations to be truly generic by @turbolent in https://github.com/onflow/cadence/pull/1945
  • Move the fail() function to native implementation by @SupunS in https://github.com/onflow/cadence/pull/1960
  • Update wasmtime-based VM by @turbolent in https://github.com/onflow/cadence/pull/1946
  • Optimize type ID generation, remove location ID by @turbolent in https://github.com/onflow/cadence/pull/1932
  • Export functionality required by debugger by @turbolent in https://github.com/onflow/cadence/pull/1924
  • Add method to get function value's sema function type by @turbolent in https://github.com/onflow/cadence/pull/1991
  • Improve type information in interpreter errors by @turbolent in https://github.com/onflow/cadence/pull/1994
  • [LS] General improvements by @sideninja in https://github.com/onflow/cadence/pull/1877
  • [LS] Update to Cadence v0.26.0 by @turbolent in https://github.com/onflow/cadence/pull/1970
  • [Test Framework] Remove test-framework field from interpreter by @SupunS in https://github.com/onflow/cadence/pull/1886
  • [Test Framework] Move matcher implementation to cadence by @SupunS in https://github.com/onflow/cadence/pull/1895
  • [Test Framework] Refactor and cleanup the test-stdlib by @SupunS in https://github.com/onflow/cadence/pull/1897
  • [Test Framework] Start development of Cadence test framework by @SupunS in https://github.com/onflow/cadence/pull/1827
  • [Test Framework] Add support for importing and initializing contracts by @SupunS in https://github.com/onflow/cadence/pull/1832
  • [Test Framework] Use FVM as the environment provider for test runner by @SupunS in https://github.com/onflow/cadence/pull/1835
  • [Test Framework] Add transaction execution support by @SupunS in https://github.com/onflow/cadence/pull/1849
  • [Test Framework] Run setup/teardown before/after tests by @SupunS in https://github.com/onflow/cadence/pull/1864
  • [Test Framework] Add support for loading programs from local files by @SupunS in https://github.com/onflow/cadence/pull/1869
  • [Test Framework] Add helper function for contract deployment by @SupunS in https://github.com/onflow/cadence/pull/1868
  • [Test Framework] Add initial support for Matchers by @SupunS in https://github.com/onflow/cadence/pull/1863
  • [Test Framework] Provide a way to specify addresses for the imports by @SupunS in https://github.com/onflow/cadence/pull/1893
  • [Test Framework] Update Cadence by @turbolent in https://github.com/onflow/cadence/pull/1955
  • [Test Framework] Separate import resolver and file resolver by @SupunS in https://github.com/onflow/cadence/pull/1954

🐞 Bug Fixes

  • Make missing casting expression a user error by @turbolent in https://github.com/onflow/cadence/pull/1914
  • [LS] Multiple language server bugfixes by @sideninja in https://github.com/onflow/cadence/pull/1950
  • Fix command-line runner by @turbolent in https://github.com/onflow/cadence/pull/1915
  • Fix unnecessarily specific cast in storage iteration by @dsainati1 in https://github.com/onflow/cadence/pull/1984
  • Don't print large integers in error messages by @SupunS in https://github.com/onflow/cadence/pull/1987
  • Track potential jumps, ignore resource invalidations which are only potential by @SupunS in https://github.com/onflow/cadence/pull/1979
  • Fix batch script by @turbolent in https://github.com/onflow/cadence/pull/1996
  • Define standard library values in analysis by @turbolent in https://github.com/onflow/cadence/pull/1997

📖 Documentation

  • docs: add security best practices by @alxflw in https://github.com/onflow/cadence/pull/1887
  • Add description to interpreter.Value by @turbolent in https://github.com/onflow/cadence/pull/1920
  • Docs: implement flow-docs.json to control sidebar and other docs content by @schpet in https://github.com/onflow/cadence/pull/1909
  • Add meeting notes for August 30, 2022 by @turbolent in https://github.com/onflow/cadence/pull/1928
  • Clarify that updating a contract does not change stored data by @turbolent in https://github.com/onflow/cadence/pull/1953
  • Fixed result given by slice by @tromex in https://github.com/onflow/cadence/pull/1957
  • Update FAQ by @turbolent in https://github.com/onflow/cadence/pull/1947
  • DOCS: Fix line about storable fields in composite types by @alilloig in https://github.com/onflow/cadence/pull/1965
  • update playground tutorials by @MrDSGC in https://github.com/onflow/cadence/pull/1964
  • Add meeting notes for extensions meeting by @dsainati1 in https://github.com/onflow/cadence/pull/1989
  • fix error in Script-Accessible report example by @gus-labs in https://github.com/onflow/cadence/pull/1975
  • Interface Default Functions status by @ph0ph0 in https://github.com/onflow/cadence/pull/1976
  • [Test Framework] Add documentation for testing framework by @SupunS in https://github.com/onflow/cadence/pull/1900
  • Add status callout for the test framework docs by @SupunS in https://github.com/onflow/cadence/pull/2000

🧪 Testing

  • Add test case to check optional-chaining argument evaluation order by @turbolent in https://github.com/onflow/cadence/pull/1925

Chores

  • Remove broken CI checks by @schpet in https://github.com/onflow/cadence/pull/1908
  • Sync test-framework branch with master by @SupunS in https://github.com/onflow/cadence/pull/1921
  • Remove test-framework module by @SupunS in https://github.com/onflow/cadence/pull/1963
  • Remove outdated prettier plugin by @turbolent in https://github.com/onflow/cadence/pull/1967
  • Remove languageserver module from the cadence repo by @SupunS in https://github.com/onflow/cadence/pull/1981
  • Remove docgen module by @SupunS in https://github.com/onflow/cadence/pull/1980
  • Improve linting errors on CI by @turbolent in https://github.com/onflow/cadence/pull/1998
  • [LS] Release npm cadence-language-server v0.26.1 by @sideninja in https://github.com/onflow/cadence/pull/1962
  • [Test Framework] Sync test framework branch with master by @SupunS in https://github.com/onflow/cadence/pull/1829

New Contributors

  • @schpet made their first contribution in https://github.com/onflow/cadence/pull/1908
  • @tromex made their first contribution in https://github.com/onflow/cadence/pull/1957
  • @MrDSGC made their first contribution in https://github.com/onflow/cadence/pull/1964
  • @gus-labs made their first contribution in https://github.com/onflow/cadence/pull/1975
  • @ph0ph0 made their first contribution in https://github.com/onflow/cadence/pull/1976

Full Changelog: https://github.com/onflow/cadence/compare/v0.26.2...v0.27.0

[Changes][v0.27.0]

<a name="v0.26.2"></a>

gregorggg
published 0.26.1 •

Changelog

Source

v0.26.1 - 16 Sep 2022

<!-- Release notes generated using configuration in .github/release.yml at v0.26.1 -->

What's Changed

🐞 Bug Fixes

  • [v0.26] Fix command-line runner by @SupunS in https://github.com/onflow/cadence/pull/1977

Full Changelog: https://github.com/onflow/cadence/compare/v0.26.0...v0.26.1

[Changes][v0.26.1]

<a name="languageserver/v0.26.2"></a>

turbolent_flow
published 0.24.3 •

Changelog

Source

v0.24.3 - 13 Jun 2022

<!-- Release notes generated using configuration in .github/release.yml at v0.24.3 -->

What's Changed

🐞 Bug Fixes

  • Fix decoding of repeated/recursive encoded types by @turbolent in https://github.com/onflow/cadence/pull/1720

Full Changelog: https://github.com/onflow/cadence/compare/v0.24.2...v0.24.3

[Changes][v0.24.3]

<a name="v0.24.2"></a>

gregorggg
published 0.24.1 •

Changelog

Source

v0.24.1 - 09 Jun 2022

🐞 Bug Fixes

  • Fix JSON encoding/decoding and test parallelization by @SupunS in https://github.com/onflow/cadence/pull/1709

Full Changelog: https://github.com/onflow/cadence/compare/v0.24.0...v0.24.1

[Changes][v0.24.1]

<a name="languageserver/v0.24.0"></a>

gregorggg
published 0.24.0 •

Changelog

Source

Language Server v0.24.0 (languageserver/v0.24.0) - 09 Jun 2022

<!-- Release notes generated using configuration in .github/release.yml at languageserver/v0.24.0 -->

What's Changed

🛠 Improvements

  • Update to Secure Cadence by @sideninja in https://github.com/onflow/cadence/pull/1707

🐞 Bug Fixes

  • Add stdlib builtin value declarations by @turbolent in https://github.com/onflow/cadence/pull/1698

Full Changelog: https://github.com/onflow/cadence/compare/v0.24.0...languageserver/v0.24.0

[Changes][languageserver/v0.24.0]

<a name="v0.24.0"></a>

gregorggg
published 0.23.4 •

Changelog

Source

Language Server v0.23.4 (languageserver/v0.23.4) - 26 Apr 2022

🛠 Improvements

  • Add the Sentry crash reporting option if enabled by the client #1600 @sideninja

[Changes][languageserver/v0.23.4]

<a name="languageserver/v0.23.0"></a>

gregorggg
published 0.23.0 •

Changelog

Source

Language Server v0.23.0 (languageserver/v0.23.0) - 13 Apr 2022

🐞 Bug Fixes

Diagnostics not working on imported programs changes When importing a program was changed it didn't re-check it leading to outdated diagnostics provided to the client. This was fixed by always re-checking imported programs. #1572 @sideninja

[Changes][languageserver/v0.23.0]

<a name="v0.23.4"></a>

turbolent_flow
published 0.20.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc