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

docs: release notes #3794

Merged
merged 12 commits into from
Aug 27, 2024
Merged

docs: release notes #3794

merged 12 commits into from
Aug 27, 2024

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Aug 19, 2024

Closes #3791

@rootulp rootulp self-assigned this Aug 19, 2024
@rootulp rootulp marked this pull request as ready for review August 19, 2024 19:29
@rootulp rootulp requested a review from a team as a code owner August 19, 2024 19:29
Copy link
Contributor

coderabbitai bot commented Aug 19, 2024

Walkthrough

Walkthrough

The changes introduce a new RELEASES.md file that outlines upgrade instructions for the celestia-app, focusing on breaking changes in versions 2.0.0 and 3.0.0. The document provides essential details for both node operators and library consumers, including upgrade protocols, critical API modifications, and the implementation of a new congestion control algorithm. This enhancement aims to improve user clarity regarding the upgrade process and the implications of version changes.

Changes

Files Change Summary
RELEASES.md Created to document upgrade protocols and critical changes for versions 2.0.0 and 3.0.0, including command-line flags and API modifications.
PENDING_RELEASE.md Updated to highlight upcoming enhancements for version 3.0.0, including BBR congestion control and restructured constants.
docs/release-notes/release-notes.md Introduced to provide detailed updates for version 2.0.0, including instructions for node operators and library consumers, along with significant API changes.

Assessment against linked issues

Objective Addressed Explanation
Create an UPGRADES.md for documenting breaking changes (#[3791]) The UPGRADES.md file was proposed but not created.
Describe enabling BBR in v2 and/or v3 (#[3791])
Add notes from recent breaking PRs in v3 (#[3791])

Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between de7d1b4 and 2355404.

Files selected for processing (2)
  • docs/release-notes/pending-release.md (1 hunks)
  • docs/release-notes/release-notes.md (1 hunks)
Additional context used
LanguageTool
docs/release-notes/release-notes.md

[uncategorized] ~21-~21: You might be missing the article “the” here.
Context: ...tmentfunction. celestia-app v2.x usesCreateCommitment` function from the [go-...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


[style] ~22-~22: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f8d1c60e5511104deed8bc361/inclusion). - celestia-app v1.x had a lot of functionality include...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~22-~22: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f functionality included in the signer. celestia-app v2.x splits a txClient from the signer....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

Additional comments not posted (4)
docs/release-notes/pending-release.md (2)

5-7: LGTM!

The information provided for Node Operators is clear and includes a relevant reference.

The content is approved.


9-11: LGTM!

The information provided for Library Consumers is clear and includes a relevant reference.

The content is approved.

docs/release-notes/release-notes.md (2)

7-13: LGTM!

The information provided for Node Operators is clear and includes relevant references.

The content is approved.


15-22: Minor improvements suggested.

The information provided for Library Consumers is clear and includes relevant references. However, minor improvements can be made to address the LanguageTool hints.

Apply this diff to address the minor issues:

-  - celestia-app v1.x had a shares package. celestia-app v2.x uses [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares)
-  - celestia-app v1.x had a blob.types package with `CreateCommitment` function. celestia-app v2.x uses `CreateCommitment` function from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
-  - celestia-app v1.x had a lot of functionality included in the signer. celestia-app v2.x splits a txClient from the signer. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
+  - celestia-app v1.x had a shares package. The celestia-app v2.x uses [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares).
+  - celestia-app v1.x had a blob.types package with the `CreateCommitment` function. The celestia-app v2.x uses the `CreateCommitment` function from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
+  - celestia-app v1.x had a lot of functionality included in the signer. The celestia-app v2.x splits a txClient from the signer. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
Tools
LanguageTool

[uncategorized] ~21-~21: You might be missing the article “the” here.
Context: ...tmentfunction. celestia-app v2.x usesCreateCommitment` function from the [go-...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


[style] ~22-~22: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f8d1c60e5511104deed8bc361/inclusion). - celestia-app v1.x had a lot of functionality include...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~22-~22: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f functionality included in the signer. celestia-app v2.x splits a txClient from the signer....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (1)
RELEASES.md (1)

13-20: Improve readability for library consumers.

The list of changes for library consumers can be improved for readability by varying sentence structure and avoiding repetition.

-  - celestia-app v1.x had a shares package. celestia-app v2.x uses [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares)
-  - celestia-app v1.x had a blob.types package with `CreateCommitment`. celestia-app v2.x uses `CreateCommitment` from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
-  - celestia-app v1.x had a lot of functionality included in the signer. celestia-app v2.x split a txClient from the signer.
+  - The shares package from celestia-app v1.x has been moved to [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares) in v2.x.
+  - The `CreateCommitment` function, originally in the blob.types package, is now available in [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion) for v2.x.
+  - Functionality previously included in the signer has been separated, with the introduction of a txClient in v2.x.
Tools
LanguageTool

[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f8d1c60e5511104deed8bc361/inclusion). - celestia-app v1.x had a lot of functionality include...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f functionality included in the signer. celestia-app v2.x split a txClient from the signer. ...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

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

LGTM!, left some comments.

RELEASES.md Outdated Show resolved Hide resolved
RELEASES.md Outdated Show resolved Hide resolved
RELEASES.md Outdated Show resolved Hide resolved
RELEASES.md Outdated Show resolved Hide resolved
rootulp and others added 2 commits August 19, 2024 15:49
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
@celestia-bot celestia-bot requested a review from a team August 19, 2024 19:49
@rootulp rootulp requested a review from staheri14 August 19, 2024 19:53
staheri14
staheri14 previously approved these changes Aug 19, 2024
Copy link
Contributor

@staheri14 staheri14 left a comment

Choose a reason for hiding this comment

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

I can't speak to whether every single detail required for the upgrade is included, but from my perspective as a general reader, it looks good to me!

evan-forbes
evan-forbes previously approved these changes Aug 20, 2024
Copy link
Contributor

@cmwaters cmwaters left a comment

Choose a reason for hiding this comment

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

Not if this is your plan, but I think the latest release should always be at the top. Also I'm not sure if we should keep the pending release information in the same document. I don't want to confuse users about releases that aren't ready

RELEASES.md Outdated
Comment on lines 24 to 26
### Node operators

- Consensus node operators should enable the BBR (Bottleneck Bandwidth and Round-trip propagation time) congestion control algorithm. See [#3774](https://github.com/celestiaorg/celestia-app/pull/3774).
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want this mentioned in v2?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it's optional in v2 and required in v3 so I chose to document it in v3. We don't have the warning yet in v2 so I don't think we need to document in in the v2 section.

When we add the warning to v2, we can also copy a variant of this that says "optional" to the v2 section.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc: @evan-forbes for thoughts

Copy link
Contributor

Choose a reason for hiding this comment

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

I would inform users in v2. We want all of them to upgrade in v2

Copy link
Collaborator Author

@rootulp rootulp Aug 22, 2024

Choose a reason for hiding this comment

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

Can do. Then this PR is blocked on a variant of #3774 that includes instructions on how to enable BBR on the v2.x branch

RELEASES.md Outdated Show resolved Hide resolved
@rootulp rootulp dismissed stale reviews from evan-forbes and staheri14 via 0da67db August 21, 2024 14:05
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
@rootulp
Copy link
Collaborator Author

rootulp commented Aug 21, 2024

Also I'm not sure if we should keep the pending release information in the same document.

I'll create a new document like PENDING_RELEASE.md to address this.

@rootulp rootulp marked this pull request as draft August 21, 2024 14:07
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (6)
RELEASES.md (6)

18-18: Consider rephrasing for clarity.

The existing comment suggests rephrasing the sentence for clarity. Here's a refined suggestion:

- celestia-app v1.x had a shares package. celestia-app v2.x uses [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares)
+ In celestia-app v1.x, the shares package was included. In celestia-app v2.x, it is replaced by [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares).

19-19: Add missing article for grammatical correctness.

The article "the" is missing before CreateCommitment function.

- celestia-app v1.x had a blob.types package with `CreateCommitment` function. celestia-app v2.x uses `CreateCommitment` function from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
+ celestia-app v1.x had a blob.types package with the `CreateCommitment` function. celestia-app v2.x uses the `CreateCommitment` function from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
Tools
LanguageTool

[uncategorized] ~19-~19: You might be missing the article “the” here.
Context: ...tmentfunction. celestia-app v2.x usesCreateCommitment` function from the [go-...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


20-20: Rephrase to avoid repetition.

The sentence structure is repetitive. Consider rephrasing for better readability.

- celestia-app v1.x had a lot of functionality included in the signer. celestia-app v2.x splits a txClient from the signer. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
+ In celestia-app v1.x, much of the functionality was included in the signer. In celestia-app v2.x, a txClient is separated from the signer. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
Tools
LanguageTool

[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f8d1c60e5511104deed8bc361/inclusion). - celestia-app v1.x had a lot of functionality include...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f functionality included in the signer. celestia-app v2.x splits a txClient from the signer....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


22-22: Clarify the release status.

The existing comment suggests indicating the release status. Consider adding a note about the draft status:

## v3.0.0 [Unreleased]

+ _Note: This section is a draft and subject to change._

26-26: Consider adding context for BBR.

The existing comment suggests mentioning BBR in version 2. Consider providing more context or a link to documentation:

- Consensus node operators should enable the BBR (Bottleneck Bandwidth and Round-trip propagation time) congestion control algorithm. See [#3774](https://github.com/celestiaorg/celestia-app/pull/3774).
+ Consensus node operators should enable the BBR (Bottleneck Bandwidth and Round-trip propagation time) congestion control algorithm, which optimizes network performance. For more details, see [#3774](https://github.com/celestiaorg/celestia-app/pull/3774).

30-30: Provide additional context or examples.

Consider adding examples or more context to help library consumers understand the impact of the changes.

- Namespace and share constants in the `appconsts` package were moved to [celestiaorg/go-square](https://github.com/celestiaorg/go-square). See [#3765](https://github.com/celestiaorg/celestia-app/pull/3765).
+ Namespace and share constants in the `appconsts` package were moved to [celestiaorg/go-square](https://github.com/celestiaorg/go-square). This change may affect how you reference these constants in your code. See [#3765](https://github.com/celestiaorg/celestia-app/pull/3765) for more details.

@rootulp rootulp marked this pull request as ready for review August 21, 2024 14:09
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Outside diff range, codebase verification and nitpick comments (1)
RELEASES.md (1)

17-20: Improve sentence variety for readability.

The section contains repetitive sentence beginnings. Consider rephrasing to enhance readability.

Use this diff to improve the sentence structure:

- celestia-app v1.x had a shares package. celestia-app v2.x uses [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares)
- celestia-app v1.x had a blob.types package with `CreateCommitment` function. celestia-app v2.x uses `CreateCommitment` function from the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion).
- celestia-app v1.x had a lot of functionality included in the signer. celestia-app v2.x splits a txClient from the signer. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
+ In celestia-app v1.x, the shares package was included. In v2.x, the [go-square/shares](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/shares) package is used.
+ The blob.types package with the `CreateCommitment` function in v1.x is replaced by the [go-square/inclusion](https://github.com/celestiaorg/go-square/tree/c8242f96a844956f8d1c60e5511104deed8bc361/inclusion) function in v2.x.
+ A lot of functionality included in the signer in v1.x has been split into a txClient in v2.x. See [#3433](https://github.com/celestiaorg/celestia-app/pull/3433).
Tools
LanguageTool

[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f8d1c60e5511104deed8bc361/inclusion). - celestia-app v1.x had a lot of functionality include...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~20-~20: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...f functionality included in the signer. celestia-app v2.x splits a txClient from the signer....

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

@celestia-bot celestia-bot requested a review from a team August 21, 2024 14:15
@rootulp rootulp requested a review from staheri14 August 21, 2024 14:22
staheri14
staheri14 previously approved these changes Aug 21, 2024
@rootulp rootulp marked this pull request as draft August 22, 2024 13:56
@rootulp rootulp changed the title docs: draft guide on breaking changes docs: release notes Aug 26, 2024
@rootulp
Copy link
Collaborator Author

rootulp commented Aug 26, 2024

This feels a bit duplicative of the information in the actual v2.0.0 release notes. The only thing missing from the v2.0.0 release notes that is present here is the note to enable BBR which wasn't actually included in the v2.0.0 release.

@rootulp rootulp marked this pull request as ready for review August 26, 2024 18:37
@rootulp rootulp requested a review from liamsi as a code owner August 26, 2024 18:37

Consensus node operators are expected to upgrade to this release _prior_ to the Lemongrass hardfork if they intend to continue participating in the network. The command used to start the [consensus node](https://docs.celestia.org/nodes/consensus-node#start-the-consensus-node) or [validator node](https://docs.celestia.org/nodes/validator-node#run-the-validator-node) will accept an additional `--v2-upgrade-height` flag. See [this table](https://docs.celestia.org/nodes/hardfork-process#lemongrass-hardfork) for upgrade heights for each network.

Consensus node operators should enable the BBR (Bottleneck Bandwidth and Round-trip propagation time) congestion control algorithm. See [#3812](https://github.com/celestiaorg/celestia-app/pull/3812).
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FYI: @cmwaters

@rootulp rootulp requested a review from staheri14 August 27, 2024 14:19
@rootulp rootulp merged commit 2f74d9b into celestiaorg:main Aug 27, 2024
34 checks passed
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.

Draft an UPGRADES.md
5 participants