@tevm/ts-plugin
2.0.0-next.86
Patch Changes
-
#1240
b1f0504
Thanks @roninjin10! - Bumped sub dep up -
Updated dependencies [
b1f0504
]:- @tevm/[email protected]
- @tevm/[email protected]
2.0.0-next.83
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
2.0.0-next.80
Patch Changes
-
#1221
b0b63d2
Thanks @roninjin10! - Bump bundler -
Updated dependencies [
b0b63d2
]:- @tevm/[email protected]
- @tevm/[email protected]
2.0.0-next.79
Patch Changes
-
#1211
f51ef40
Thanks @roninjin10! - Update all packages for new tevm contract changes" -
#1219
a8070b7
Thanks @roninjin10! - Making sure every package releases -
#1213
84a6d9c
Thanks @roninjin10! - Upgraded all dependencies except effect to latest -
Updated dependencies [
8fa0298
,f51ef40
,a8070b7
,84a6d9c
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.77
Patch Changes
-
#1200
398daa0
Thanks @roninjin10! - Rerelease tevm packages -
Updated dependencies [
398daa0
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.74
Patch Changes
-
#1186
7765446
Thanks @roninjin10! - Moved files around to colocate code better. Some packages are disappearing- Tevm/Zod is now part of Tevm/actions
- Tevm/actions-types moved to Tevm/actions
- Tevm/procedures-types moved to Tevm/procedures
-
Updated dependencies [
7765446
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.72
Minor Changes
4094ead
- Fix changesets
Patch Changes
-
#1177
3a06dbd
Thanks @roninjin10! - Upgraded all dependencies to latest -
#1175
719e083
Thanks @roninjin10! - Did temporary workaround for solc bug that causes tevm-gen to sometimes fail from solc.compile not being a function -
Updated dependencies [
3a06dbd
,4094ead
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.70
Patch Changes
- Updated dependencies [
ee1a52d
]:- @tevm/[email protected]
1.1.0-next.69
Patch Changes
-
#1163
eb80103
Thanks @roninjin10! - Fix bad publish -
Updated dependencies [
eb80103
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.66
Patch Changes
- #1149
e94b6c9
Thanks @roninjin10! - Fixed shebang in cli script
1.1.0-next.65
Patch Changes
- #1147
b929d0f
Thanks @roninjin10! - Fixed bug with not properly shebanging the cli script
1.1.0-next.62
Patch Changes
- #1137
efc5998
Thanks @roninjin10! - Fixed tevm-codegen command
1.1.0-next.60
Patch Changes
-
#1127
1314a07
Thanks @roninjin10! - Fixed bad release from lack of changeset -
Updated dependencies [
1314a07
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.52
Patch Changes
-
#1088
65e4089
Thanks @roninjin10! - Fixed bug with failing to include changeset for tx package. Bumping every package just to be safe -
Updated dependencies [
65e4089
]:- @tevm/[email protected]
- @tevm/[email protected]
1.1.0-next.47
Patch Changes
-
#1064
85d9143
Thanks @roninjin10! - Fixed test-utils package being mistakedly private -
Updated dependencies [
85d9143
]:- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.41
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.40
Patch Changes
-
#962
64c3c6dd09c236c516b117a506380028c3154c4a
Thanks @roninjin10! - Added docs for all packages to https://tevm.sh -
Updated dependencies [
a381b8a09b9164ada4ef03d7375a7c2e754eb6d9
,64c3c6dd09c236c516b117a506380028c3154c4a
]:- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.28
Patch Changes
-
#913
06268ffeebaec950d1606732c4eb6fd5f9bb77d5
Thanks @roninjin10! - Fixed bug with packages linking to older versions of tevm -
Updated dependencies [
06268ffeebaec950d1606732c4eb6fd5f9bb77d5
]:- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.25
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.23
Patch Changes
- #862
f217fa4dc2f730cc109940ef36872229ae9f26d3
Thanks @roninjin10! - - Renamed MemoryTevm MemoryClient- Renamed TevmClient HttpClient
- Replaced @tevm/actions-types package with @tevm/actions-types, @tevm/client-types, and @tevm/procedures-types packages
- Moved errors to @tevm/errors
- Moved bundler packages out of tevm and to @tevm/bundler package
- Minimized packages exposed in tevm package
- Fixed bug with missing types exports
- Updated dependencies [
1e50901789c983dc6d8f7e078d25ab999afcb085
,f217fa4dc2f730cc109940ef36872229ae9f26d3
,1e50901789c983dc6d8f7e078d25ab999afcb085
]:- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.21
Patch Changes
- Updated dependencies [
a7026e37
,9c3e6a9a
]:- @tevm/[email protected]
- @tevm/[email protected]
1.0.0-next.18
Patch Changes
-
#725
2dbc4d62
Thanks @roninjin10! - Defaults solc to using version 0.8.23 if not specified. Solc is no longer needed as a peer dependency -
Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.17
Patch Changes
-
#716
65462ea7
Thanks @roninjin10! - Fixed bug with not using remappings in ts files -
Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.16
Minor Changes
- #714
95b534c3
Thanks @roninjin10! - Added ability to resolve most paths in tsconfig that look similar to '@/': ['./']
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.15
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.14
Patch Changes
- #699
42e62fc7
Thanks @roninjin10! - Fixed bug with node module imports not resolving correctly
1.0.0-next.13
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.12
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.11
Minor Changes
- #690
3af18276
Thanks @roninjin10! - Added deployedBytecode to tevm contract instances
Patch Changes
- Updated dependencies [
3af18276
]:- @tevm/[email protected]
1.0.0-next.9
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.8
Patch Changes
-
#684
e5a6b24c
Thanks @roninjin10! - Fixed version mismatch issues with effect -
Updated dependencies [
e5a6b24c
]:- @tevm/[email protected]
1.0.0-next.6
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.5
Patch Changes
-
#678
77baab6b
Thanks @roninjin10! - Fixed issue with npm publishing -
Updated dependencies [
77baab6b
]:- @tevm/[email protected]
1.0.0-next.4
Patch Changes
-
#676
93cab845
Thanks @roninjin10! - Switched package manager to pnpm from bun -
Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.3
Minor Changes
- #674
eddcef02
Thanks @roninjin10! - Added debug option to tevm config. When turned on the output of tevm contract imports will be written to disk and can be debugged. In future logging for the bundler will also be printed to a debug log file
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
1.0.0-next.2
Minor Changes
- #668
31ed39a5
Thanks @roninjin10! - Added back bytecode to Tevm bundler. When the compiler encounters a file ending in .s.sol it will compile the bytecode in addition to the abi
Patch Changes
-
#671
2f13396d
Thanks @roninjin10! - Fixed bug with @tevm/contract imports resolving the wrong types sometimes when ts-plugin is used. -
Updated dependencies [
31ed39a5
]:- @tevm/[email protected]
1.0.0-next.0
Major Changes
- #485
570c4ed6
Thanks @roninjin10! - Removed global Address config and external contracts from Tevm to simplify the API
Patch Changes
-
#548
c12528a3
Thanks @roninjin10! - Updated all packages to automatically generate up to date reference docs -
#572
eee7e7f5
Thanks @roninjin10! - Updated @tevm/ts-plugin to NodeNext. This will improve compatibility -
#611
747728d9
Thanks @roninjin10! - Added --declaration-map to typescript build. This generates source maps so LSPs can point to the original javascript code rather than the generated .d.ts files -
#492
2349d58c
Thanks @roninjin10! - Upgraded all NPM dependencies to latest -
#499
bc4b5a4f
Thanks @roninjin10! - Added in memory caching to all Tevm bundlers and LSP -
Updated dependencies []:
- @tevm/[email protected]
0.11.2
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.10.0
Patch Changes
-
#466
1c4cbd2
Thanks @roninjin10! - Updated @tevm/ts-plugin to use LSP to get filesPreviously Tevm relied on
fs.readFileSync
to implement the LSP. By replacing this with usingtypescriptLanguageServer.readFile
we are able to rely on the LSP to get the file instead of the file systemIn future versions of Tevm when we add a vscode plugin this will make the LSP smart enough to update before the user even clicks
save
-
#418
fbf8f49
Thanks @roninjin10! - Fixed bug with LSP potentially not resolving Tevm correctly in nested node module -
Updated dependencies [
dbc2da6
,1c4cbd2
,e99fcd0
,cb83c0c
]:- @tevm/[email protected]
0.9.0
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.8.1
Patch Changes
-
#453
c23302a
Thanks @roninjin10! - Started publishing every commit to main so all Tevm changes can be used early. To use the latest main branch release install with@main
tag. e.g.npm install @tevm/ts-plugin@main
-
Updated dependencies [
c23302a
]:- @tevm/[email protected]
0.8.0
Minor Changes
-
#444
793798e
Thanks @roninjin10! - Added support for go-to-definition.After right clicking on a symbol and selecting go-to-definition with the language server protocol the editor will show the exact file and line of code a solidity method or event is defined on. This includes both the implementation and the interface.
Patch Changes
- #442
b020298
Thanks @roninjin10! - ⬆️ Upgraded all npm packages to latest
Every package in Tevm is consistently updated to it's latest version usingpnpm up --latest
- Updated dependencies [
91e43e9
,eedb7e0
,e1903df
,b020298
,8cceec7
,793798e
]:- @tevm/[email protected]
0.7.1
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.7.0
Minor Changes
-
#426
0191aee
Thanks @roninjin10! - Added svelte-ethers Tevm example appThis example app is the first using Svelte for direct contract imports. The import happens in the svelte page
<script> import { onMount } from 'svelte'; import { writable } from 'svelte/store'; import { EthersMintExample } from '../contracts/EthersMintExample.sol'; import {createEthersContract} from '@tevm/ethers' import { Contract, JsonRpcProvider } from 'ethers' // Create stores for all reactive variables let totalSupply = writable(''); let ownerOf = writable(''); let balanceOf = writable(''); const tokenId = BigInt('114511829') const provider = new JsonRpcProvider('https://goerli.optimism.io', 420) const ethersContract = createEthersContract(EthersMintExample, { chainId: 420, runner: provider, }) onMount(async () => { totalSupply.set(await ethersContract.totalSupply()); ownerOf.set(await ethersContract.ownerOf(tokenId)); if ($ownerOf?.toString()) { balanceOf.set(await ethersContract.balanceOf($ownerOf?.toString())); } }); </script> <h1>Welcome to SvelteKit</h1> <p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p> <div> <div> <h3>totalSupply():</h3> <div>{$totalSupply?.toString()}</div> <br /> <h3>ownerOf(): </h3> <div>{$ownerOf?.toString()}</div> <br /> <h3>balanceOf($address):</h3> <div>{$balanceOf?.toString()}</div> </div> </div>
Here you can see we import a contract directly from EthersMintExample.sol and use it with ethers.js
- The svelte example is powered by
@tevm/vite-plugin
and@tevm/ts-plugin
- This svelte example is using js with jsdoc which is now newly enabled
- This is the first example app using the
@tevm/ethers
package which brings typesafe ethers.js contracts to the table- Note CLI typechecker will not be enabled until Beta release for now typesafety is purely in the editor
App is extremely minimal as I have almost 0 experience using svelte. Contributions are welecome
- The svelte example is powered by
Patch Changes
-
#420
2e85338
Thanks @roninjin10! - Added solc as a peer dependency for ts-plugin -
Updated dependencies [
8dbc952
,644e8fd
,d7e6158
,4f532eb
,fc28f54
]:- @tevm/[email protected]
0.6.0
Patch Changes
-
#387
20f941e
Thanks @roninjin10! - Increased test coverage of ts-plugin to >98% -
#379
0ff53e7
Thanks @roninjin10! - Updated build pipeline to generate .d.ts files -
Updated dependencies [
97d7aec
,0a87d1a
,0ff53e7
,58862a6
]:- @tevm/[email protected]
0.5.7
Patch Changes
-
#351
ca58f7a
Thanks @roninjin10! - Added support for reload when any contract in the import graph changes -
Updated dependencies [
4fc4872
,97cb0c1
,ca58f7a
]:- @tevm/[email protected]
0.5.6
Patch Changes
-
#345
31186f7
Thanks @roninjin10! - Fixed typo breaking TS language server -
#346
6d9365d
Thanks @roninjin10! - Change naming to Tevm from Tevm -
Updated dependencies [
31186f7
,6d9365d
]:- @tevm/[email protected]
0.5.5
Patch Changes
- Updated dependencies [
bec7e33
]:- @tevm/[email protected]
0.5.4
Patch Changes
-
#340
9f2c254
Thanks @roninjin10! - Upgraded all dependencies -
Updated dependencies [
c9dec08
]:- @tevm/[email protected]
0.5.3
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.5.2
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.5.1
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.5.0
Minor Changes
-
#283
05a8efe
Thanks @roninjin10! - Updated config schema to support etherscan- Solc version is now listed under
compiler.solcVersion
instead ofsolc
- Foundry projects are now listed under
compiler.foundryProject
instead offorge
- Local contracts are now specified under
localContracts.contracts
instead ofdeployments
- New external option (unimplemented)
externalContracts
which is used to specifify contracts imported from etherscan in the next release
- Solc version is now listed under
-
#297
85c340d
Thanks @roninjin10! - Added suport for non relative imports including absolute imports with baseUrl in tsconfig, imports of contracts in node_modules, and imports of contracts in foundry lib
Patch Changes
-
#298
841d6a8
Thanks @roninjin10! - Fixed bug with etherscan links showing as undefined if they didn't exist -
Updated dependencies [
841d6a8
,83bf23b
,05a8efe
]:- @tevm/[email protected]
0.4.2
Patch Changes
- Updated dependencies [
fd6b482
]:- @tevm/[email protected]
0.4.1
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.4.0
Minor Changes
- #268
a37844f
Thanks @roninjin10! - Added support for detecting foundry.toml and remappings as tsconfig option. Set forge: true in plugin tsconfig options or forge: '/path/to/binary/forge' for a custom forge binary
Patch Changes
- Updated dependencies [
a37844f
]:- @tevm/[email protected]
0.3.0
Minor Changes
- #259
7ad7463
Thanks @roninjin10! - Added bytecode to Tevm contracts
Patch Changes
- Updated dependencies [
7ad7463
,9a9b963
]:- @tevm/[email protected]
0.2.0
Minor Changes
- #252
4b361ea
Thanks @roninjin10! - Changed Tevm configuration to be purely from tsconfig
Patch Changes
-
#251
52732a1
Thanks @roninjin10! - Fixed missing src folder in npm packages -
Updated dependencies [
52732a1
,4b361ea
]:- @tevm/[email protected]
0.1.0
Minor Changes
- #249
fda2523
Thanks @roninjin10! - Added etherscan links for most major EVM networks
Patch Changes
-
#247
f7ba6e5
Thanks @roninjin10! - Switch to type module and tsup build -
Updated dependencies [
fda2523
,f7ba6e5
]:- @tevm/[email protected]
0.0.3
Patch Changes
-
#220
b680670
Thanks @roninjin10! - Fixed issue with detecting relative imports starting with ../ -
Updated dependencies []:
- @tevm/[email protected]
0.0.2
Patch Changes
- Updated dependencies []:
- @tevm/[email protected]
0.0.1
Patch Changes
-
2a31d64
- Init new changesets -
Updated dependencies [
2a31d64
]:- @tevm/[email protected]
0.0.1-next.0
Patch Changes
-
2a31d64
- Init new changesets -
Updated dependencies [
2a31d64
]:- @tevm/[email protected]