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
8
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

1245

0.33.3

Diff

gregorggg
published 0.33.2 •

gregorggg
published 0.33.0-stable-cadence.1 •

gregorggg
published 0.32.0 •

gregorggg
published 0.31.0 •

Changelog

Source

v0.31.0 - 22 Dec 2022

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

What's Changed

🛠 Improvements

  • Adds some suggestions/improvements to sema error messages by @dsainati1 in https://github.com/onflow/cadence/pull/2190
  • Skip broken values during storage iteration by @SupunS in https://github.com/onflow/cadence/pull/2202

Other Changes

  • Improve field alignment by @turbolent in https://github.com/onflow/cadence/pull/2186
  • Add update tool by @turbolent in https://github.com/onflow/cadence/pull/2198
  • Add test case for publishing and claiming private account capability by @turbolent in https://github.com/onflow/cadence/pull/2195

Full Changelog: https://github.com/onflow/cadence/compare/v0.30.0...v0.31.0

[Changes][v0.31.0]

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

gregorggg
published 0.30.1 •

gregorggg
published 0.30.0 •

Changelog

Source

v0.30.0 - 13 Dec 2022

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

What's Changed

⭐ Features

  • Improve JSON encoding test cases, add REPL command for exporting by @turbolent in https://github.com/onflow/cadence/pull/2107
  • Add static and native modifiers for fields and functions by @turbolent in https://github.com/onflow/cadence/pull/2119
  • Implement FLIP 1071: borrow contract by @bluesign in https://github.com/onflow/cadence/pull/1934
  • Allow embedders to reuse interpreter shared state by @turbolent in https://github.com/onflow/cadence/pull/2100

🛠 Improvements

  • Improve interpreter config by @turbolent in https://github.com/onflow/cadence/pull/2097
  • Allow export of function values by @turbolent in https://github.com/onflow/cadence/pull/2052
  • Improve JSON decoding error messages, add utility by @turbolent in https://github.com/onflow/cadence/pull/2104
  • Improve common supertype calculation by @SupunS in https://github.com/onflow/cadence/pull/2103
  • Fix "log" crashing the REPL by @dreamsmasher in https://github.com/onflow/cadence/pull/2109
  • Type fixes and improvements by @turbolent in https://github.com/onflow/cadence/pull/2135
  • Improve error messages for values/types that cannot be imported or exported by @turbolent in https://github.com/onflow/cadence/pull/2138
  • Meter big int allocations in parser, improve over-estimation by @turbolent in https://github.com/onflow/cadence/pull/2110
  • Improve parameter AST node by @turbolent in https://github.com/onflow/cadence/pull/2143
  • Address some tech debt by @turbolent in https://github.com/onflow/cadence/pull/2155
  • Improve reference static type by @turbolent in https://github.com/onflow/cadence/pull/2156
  • Improve type mismatch errors by @turbolent in https://github.com/onflow/cadence/pull/2161
  • Improve sema by @turbolent in https://github.com/onflow/cadence/pull/2166
  • Optimize sema by @turbolent in https://github.com/onflow/cadence/pull/2162
  • Use invocation's interpreter by @turbolent in https://github.com/onflow/cadence/pull/2159
  • improve ConformanceError error message by @dsainati1 in https://github.com/onflow/cadence/pull/2172
  • Suggest lexically closest member in cases of NotDeclaredMemberError by @dsainati1 in https://github.com/onflow/cadence/pull/2173
  • Add support for nested pragma declarations by @turbolent in https://github.com/onflow/cadence/pull/2169
  • Initialize the Crypto contract lazily by @turbolent in https://github.com/onflow/cadence/pull/2183
  • Pretty print interpreter errors by @dsainati1 in https://github.com/onflow/cadence/pull/2185
  • Fix whitespace parsing between expressions by @turbolent in https://github.com/onflow/cadence/pull/2115
  • Improve allocations in checker by @turbolent in https://github.com/onflow/cadence/pull/2127
  • Add positions to numerical runtime errors by @dsainati1 in https://github.com/onflow/cadence/pull/2174
  • Optimize elaboration by @turbolent in https://github.com/onflow/cadence/pull/2178
  • Avoid unnecessary slice allocations by @turbolent in https://github.com/onflow/cadence/pull/2191

🐞 Bug Fixes

  • Fix self declaration by @turbolent in https://github.com/onflow/cadence/pull/2108
  • Report invalid identifier preceding a member or nested declaration by @turbolent in https://github.com/onflow/cadence/pull/2134
  • Fix parsing of array and dictionary expressions by @turbolent in https://github.com/onflow/cadence/pull/2136

📖 Documentation

  • rename why-cadence.md to why.md to fix broken link by @j1010001 in https://github.com/onflow/cadence/pull/2102
  • Add documentation for String.fromUTF8, numeric types' fromString by @dreamsmasher in https://github.com/onflow/cadence/pull/2105
  • Note in docs that inbox api is not yet released on mainnet by @dsainati1 in https://github.com/onflow/cadence/pull/2123
  • Fix documentation by @turbolent in https://github.com/onflow/cadence/pull/2122
  • Remove outdated callout from the testing-framework docs by @SupunS in https://github.com/onflow/cadence/pull/2132
  • Update flow-docs.json by @bthaile in https://github.com/onflow/cadence/pull/2133
  • Add meeting notes for interface inheritance meeting by @SupunS in https://github.com/onflow/cadence/pull/2144
  • Update design-patterns.mdx by @gregsantos in https://github.com/onflow/cadence/pull/2146
  • Add link to style guide by @bthaile in https://github.com/onflow/cadence/pull/2149
  • Fix links in documentation by @turbolent in https://github.com/onflow/cadence/pull/2142

Other Changes

  • Add JSON language annotations to expected JSON encodings in AST tests by @turbolent in https://github.com/onflow/cadence/pull/2118
  • Move test framework tests to Cadence by @turbolent in https://github.com/onflow/cadence/pull/2129
  • Update CI jobs by @turbolent in https://github.com/onflow/cadence/pull/2128
  • Lint JSON files by @turbolent in https://github.com/onflow/cadence/pull/2139
  • Clean up metering by @turbolent in https://github.com/onflow/cadence/pull/2152
  • Report unkeyed composite literals by @turbolent in https://github.com/onflow/cadence/pull/2184

New Contributors

  • @bthaile made their first contribution in https://github.com/onflow/cadence/pull/2133
  • @gregsantos made their first contribution in https://github.com/onflow/cadence/pull/2146

Full Changelog: https://github.com/onflow/cadence/compare/v0.29.0...v0.30.0

[Changes][v0.30.0]

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

gregorggg
published 0.29.2 •

gregorggg
published 0.29.1 •

gregorggg
published 0.29.0 •

Changelog

Source

v0.29.0 - 27 Oct 2022

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

What's Changed

⭐ Features

  • Publish and Claim: Inbox API for Capability Bootstrapping by @dsainati1 in https://github.com/onflow/cadence/pull/1983
  • Allow for-loops over strings by @turbolent in https://github.com/onflow/cadence/pull/2080
  • Add String.fromCharacters by @turbolent in https://github.com/onflow/cadence/pull/2083

🛠 Improvements

  • Directly transfer published values by @dsainati1 in https://github.com/onflow/cadence/pull/2042
  • Simplify parser by @dreamsmasher in https://github.com/onflow/cadence/pull/2064
  • Re-use interpreter for value decoding in test-framework by @SupunS in https://github.com/onflow/cadence/pull/2074
  • Use Value.Clone instead of custom deep copy function by @turbolent in https://github.com/onflow/cadence/pull/2058
  • Improve interpreter storage by @turbolent in https://github.com/onflow/cadence/pull/2072
  • Improve type inference for case expressions in switch statement by @SupunS in https://github.com/onflow/cadence/pull/2079
  • refactor AccountKeysCount to expect an error too by @dreamsmasher in https://github.com/onflow/cadence/pull/2093
  • Make the interpreter globals map allocation lazy by @turbolent in https://github.com/onflow/cadence/pull/2065
  • Improve block comment parsing by @turbolent in https://github.com/onflow/cadence/pull/2068
  • Optimize resource tracking by @turbolent in https://github.com/onflow/cadence/pull/2073

🐞 Bug Fixes

  • Fix account inbox implementation by @turbolent in https://github.com/onflow/cadence/pull/2053

📖 Documentation

  • Update design pattern documentation to refer to the new Capability Bootstrapping API by @dsainati1 in https://github.com/onflow/cadence/pull/2035
  • Fixes dead link in unsaferandom documentation by @justjoolz in https://github.com/onflow/cadence/pull/2047
  • cleanup docs-tutorial06 by @AmarildoGrembi in https://github.com/onflow/cadence/pull/2071
  • Document setup() and tearDown() functions in test-framework by @SupunS in https://github.com/onflow/cadence/pull/2043
  • Add "why Cadence" section to Cadence docs by @j1010001 in https://github.com/onflow/cadence/pull/2039
  • Update flow-docs.json to include "why cadence" section. by @10thfloor in https://github.com/onflow/cadence/pull/2040
  • Adds link to Playground on Cadence homepage by @10thfloor in https://github.com/onflow/cadence/pull/2078

💥 Breaking Changes

  • Add key iteration, count methods to AccountKeyProvider interface by @dreamsmasher in https://github.com/onflow/cadence/pull/2038 (This change does not affect Cadence programs, only embedders, like FVM)

Other Changes

  • Lint with gofmt 1.19, upgrade to go 1.19 by @dreamsmasher in https://github.com/onflow/cadence/pull/2041
  • Improve CI by @turbolent in https://github.com/onflow/cadence/pull/2055
  • Parallelize more tests, use checker errors helper by @turbolent in https://github.com/onflow/cadence/pull/2087

New Contributors

  • @justjoolz made their first contribution in https://github.com/onflow/cadence/pull/2047
  • @AmarildoGrembi made their first contribution in https://github.com/onflow/cadence/pull/2071
  • @j1010001 made their first contribution in https://github.com/onflow/cadence/pull/2039

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

[Changes][v0.29.0]

<a name="v0.29.0-stable-cadence"></a>

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