Skip to content
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

Prepare release with SCALE 3.0 #140

Merged
merged 5 commits into from Feb 7, 2022

Conversation

wigy-opensource-developer
Copy link
Contributor

No description provided.

Copy link
Contributor

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We'll need an entry in the CHANGELOG too though.

Cargo.toml Outdated
@@ -16,10 +16,10 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"], optional = true }
cfg-if = "1.0"
scale-info-derive = { version = "1.0.0", path = "derive", default-features = false, optional = true }
scale-info-derive = { version = "1.0.1", path = "derive", default-features = false, optional = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need #137 too before releasing and I think that'll mean 1.1? Wdyt @jsdw? @ascjones ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may have to make this 2.0 since the major bump of the requirement for parity-scale-codec makes it a breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scale 3 is also edition 2021 with an increased minimum Rust version, so I completely agree there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I seem to be unable to formulate a rule about how to deal with dependency updates, how a breaking change downstream translates. It seems to be a common problem. Then there's the matter of MSRV, which I don't think we're taking into consideration at all here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no real consensus in the Rust community either. With a complex project like Substrate, I would err on too much safety and more manual upgrades, and implement some helper tools to make the overview of outdated deps easier.

@wigy-opensource-developer wigy-opensource-developer changed the title Prepare release 1.0.1 with SCALE 3.0 Prepare release with SCALE 3.0 Feb 7, 2022
@dvdplm
Copy link
Contributor

dvdplm commented Feb 7, 2022

@wigy-opensource-developer #137 is merged now, so we can pull that in here and set the version to 2.0.

CHANGELOG.md Outdated Show resolved Hide resolved
@wigy-opensource-developer
Copy link
Contributor Author

Jinx. Did a git fetch -p then git push and there was a commit in between. 😄

@jsdw
Copy link
Contributor

jsdw commented Feb 7, 2022

Hehe, sorry!

@wigy-opensource-developer wigy-opensource-developer merged commit cb18c8e into master Feb 7, 2022
@wigy-opensource-developer wigy-opensource-developer deleted the wigy-upgrade-scale3 branch February 7, 2022 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants