polkadot-js / apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
https://dotapps.io
Apache License 2.0
1.75k stars 1.55k forks source link

latest version can't run due to spec mismatch for darwinia #6224

Closed shunjizhan closed 3 years ago

shunjizhan commented 3 years ago

Description

https://github.com/polkadot-js/apps/blob/e8a3cae9195ce720c046377d855429522e22a015/packages/apps-config/package.json#L14

when I install @polkadot/apps-config@latest, dependency @darwinia/types version was 1.2.1, which I think has a spec mismatch for specName pangoro, so I was getting err

Uncaught TypeError: _spec.default[specName] is not iterable at getBundleFromSpecName

This was fixed in latest version @darwinia/types@1.2.50, which is included in the @polkadot/apps-config beta version, but I have to manually install the beta version to avoid the above bug.

Reproduce

yarn add @polkadot/apps-config@latest
npm list @darwinia/types

└─┬ @polkadot/apps-config@0.96.1
  └── @darwinia/types@1.2.1
yarn add @polkadot/apps-config@latest
npm list @darwinia/types

└─┬ @polkadot/apps-config@0.96.2-36
  └── @darwinia/types@1.2.50
jacogr commented 3 years ago

So it is fixed, not sure why it is logged.

Stable releases of the apps UI only goes out when it is ready. The betas always has the latest code. Each merge to master publishes the latest beta.

shunjizhan commented 3 years ago

sounds good : )

just thinking for better programmer UX, latest version should at least be able to run, this version mismatch crashed my app from running, so hopefully we can publish the beta version to @latest soon, so other ppl won't get this error

jacogr commented 3 years ago

No, releases of stable/latest are done when it is ready. Same all all other libs, i.e. API publishes weekly. Before that it would mean that latest may have dependencies on other beta versions, which is a much greater nightmare.

There are 5+ merges to for instance the API daily, same with the apps UI, you just cannot publish them all as "stable", it is not something that works downstream.

shunjizhan commented 3 years ago

kk, that make sense, totally understood that stable versions should be more stable before it's publish haha, thanks!

polkadot-js-bot commented 3 years ago

This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.

jacogr commented 3 years ago

Closing. Since this point stable versions have been published a couple of times.

polkadot-js-bot commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.