-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a release process? what's the current version ? #1250
Comments
FWIW the |
releases are made from a branch, but are they branch-specific? isn't a release for the whole project? https://github.com/ethereum/web3.js/releases seems to be the same page for all branches and lists beta.18, but npm has beta.27 - but the links from npm to the project don't work. Can @frozeman or someone on the project shed a little light? |
Trying to use the latest 1.0 beta.27 release doens't seem to work with Typescript modules:
gives: web3/index resolves to a non-module entity... |
@eepstein I am currently upgrading to latest 1.0 beta.27, import { default as Web3 } from 'web3'; doesn't work as you said. /node_modules/web3/index"' resolves to a non-module entity and cannot be imported using this construct. what do you mean by |
AFAICT it means that the 1.0 beta releases of web3.js aren't packaged in a typescript-friendly way. My work-around has been to fall-back to generic, untyped JavaScript via this import construct:
The downside is this loses 'Web3' as a type, and hence all the IDE support is lost too. But, so far, it does work. You may need to also tell the TypeScript system to support this by adding something like:
to your ts config file. |
I'm trying to sort through the releases and the release process and each location references a different version.
npm site references: 1.0.0.beta.27 https://www.npmjs.com/package/web3
That references https://github.com/ethereum/web3.js/tree/master/packages/web3, but that page doesn't exist and gives a 404.
https://github.com/ethereum/web3.js/releases lists 1.0.0-beta.18 as the most recent release.
(by contrast https://github.com/ethereum/web3.js/releases/tag/1.0.0-beta.27 gives a 404)
The Readme.md in the github repo reference migrating to v 0.14.0
Looking in the dist folder on github doesn't offer much clue as to the current version #.
So, I'm not sure what the latest version is. It's not clear to me what the release process is and how one finds the current package in a way that is consistent across npm and github.
Is there a secret decoder ring?
The text was updated successfully, but these errors were encountered: