Skip to content

Version Bump: v0.2.6 & resolve dependency compatibility issues#266

Merged
gitteri merged 2 commits intomasterfrom
v0.2.6
Jul 25, 2025
Merged

Version Bump: v0.2.6 & resolve dependency compatibility issues#266
gitteri merged 2 commits intomasterfrom
v0.2.6

Conversation

@gitteri
Copy link
Collaborator

@gitteri gitteri commented Jul 25, 2025

🔧 Upgrade TypeScript to 5.3.3 and resolve dependency compatibility issues

Version Bump

0.2.60.2.7

🐛 Problem

The project was experiencing TypeScript compilation errors when building due to version incompatibilities:

  • Using TypeScript 4.8.3 while Solana ecosystem dependencies now require TypeScript 5.0+
  • Modern Solana packages use TypeScript 5.0+ features like const in type parameter declarations
  • Type definition conflicts between @types/node and DOM types
  • typedoc version incompatible with newer TypeScript

Error example:

error TS1139: Type parameter declaration expected.
const TVariants extends Variants<Decoder<any>>
~~~~~

✅ Solution

Dependencies Updated

  • TypeScript: ^4.8.3^5.3.3 (minimum required by Solana ecosystem)
  • @types/node: ^18.7.17^20.0.0 (compatibility with TS 5.3.3)
  • typedoc: ^0.23.14^0.26.0 (TypeScript 5.x support)

TypeScript Configuration Enhanced

Updated tsconfig.base.json to prevent type conflicts:

{
  "lib": ["ESNext"],        // Exclude DOM types
  "types": ["node", "jest"]         // Node.js & testing environments only
}

🧪 Testing

  • npm run build completes successfully
  • ✅ All TypeScript compilation errors resolved
  • ✅ Compatible with current Solana dependencies
  • ✅ No breaking changes to public API

🔄 Impact

  • Development: Requires TypeScript 5.3.3+ for contributors
  • Runtime: No changes to behavior or API
  • Dependencies: Better compatibility with Solana ecosystem
  • Future-proof: Aligned with modern Solana tooling requirements

📝 Breaking Changes

None. This is purely a development dependency upgrade with no runtime or API changes.


Note: Contributors will need to ensure they're using TypeScript 5.3.3 or later in their development environment after this update.


Important

Upgrade TypeScript to 5.3.3 and update dependencies for Solana compatibility, with no runtime or API changes.

  • Dependencies Updated:
    • typescript: ^4.8.3^5.3.3 for Solana compatibility.
    • @types/node: ^18.7.17^20.0.0 for TypeScript 5.3.3 compatibility.
    • typedoc: ^0.23.14^0.26.0 for TypeScript 5.x support.
  • Configuration Changes:
    • Updated tsconfig.base.json to exclude DOM types and include only node and jest types.
  • Version Bump:
    • package.json version updated from 0.2.6 to 0.2.7.

This description was created by Ellipsis for 934cf35. You can customize this summary. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to cfbfd6a in 39 seconds. Click for details.
  • Reviewed 46 lines of code in 2 files
  • Skipped 1 files when reviewing.
  • Skipped posting 2 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. core/package.json:3
  • Draft comment:
    Version bump mismatch: package.json now reads 0.2.6, but PR description indicates 0.2.7. Please update for consistency.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is pointing out a mismatch between the version in the package.json file and the PR description. However, the rules specify not to ask the PR author to update the PR description. Therefore, this comment violates the rules.
2. core/tsconfig.base.json:13
  • Draft comment:
    Explicit inclusion of 'lib' and 'types' is a good practice to avoid DOM conflicts in a Node environment.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_Ruhn479pkSQmXlrI

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 934cf35 in 22 seconds. Click for details.
  • Reviewed 12 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. core/tsconfig.base.json:14
  • Draft comment:
    Good update adding 'jest' to the types. This ensures that Jest globals are recognized during type checking. Verify that your tests run as expected with these settings.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_0ZI9AAHjqnR5fZPk

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@gitteri gitteri merged commit 10cd022 into master Jul 25, 2025
2 checks passed
@gitteri gitteri deleted the v0.2.6 branch July 25, 2025 22:25
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.

1 participant