Skip to content

v0.0.2

Choose a tag to compare

@BrunoV21 BrunoV21 released this 21 Jun 21:52
· 677 commits to main since this release

πŸš€ CodeTide v0.0.2 – Release Notes (2025-06-21)

πŸ†• Now Available as a VSCode Extension!
CodeTide is officially live on the Visual Studio Code Marketplace!

✨ Instantly bring structural code awareness into your editor:

  • Navigate code intelligently
  • Retrieve context-aware snippets
  • Send structured context directly to LLMs (Copilot, GPT, etc.)
  • Works seamlessly alongside your favorite extensions

πŸ”— Install Now: CodeTide on Marketplace
πŸ› οΈ Source Code: GitHub Repository


πŸ†• New Features

  • File Change Tracking & Update Detection
    Added granular file change tracking via timestamps and a _get_changed_files method. The new check_for_updates() method enables efficient cache invalidation and dependency updates.

  • Improved Serialization & Deserialization

    • Custom file paths are now supported.
    • Integration with .gitignore and store_in_project_root logic.
    • Conditional serialization toggle added to check_for_updates().
  • Git Integration via pygit2
    Enhanced file change tracking using pygit2, allowing better support for Git-based projects.

  • Enhanced Context Structures

    • Introduced the preloaded attribute in CodeContextStructure.
    • Added functionality for file ID pre-checking and relative file path resolution.
  • Logging Framework Integration
    Integrated loguru for structured logging and added persistent logs directory handling.


πŸ”§ Enhancements & Refactors

  • Improved Code Organization

    • Refactored file_list to a dictionary for better timestamp management.
    • Overhauled resolve_intra_file_dependencies and resolve_inter_files_dependencies for flexibility.
  • Parser and Model Refinements

    • Updated PythonParser to better support relative imports and match count detection.
    • Renamed and clarified key properties like unique_ids, stored_unique_id, and definition_id.
  • Serialization System Revamp

    • More accurate path extraction and defaults.
    • Simplified and clarified key methods and arguments.
  • Import Logic Simplification
    Streamlined handling of import statements and standardized relative import usage.

  • Context Handling Improvements

    • Flattened context lists for length checks.
    • Ensured safe handling of empty or missing context scenarios.
  • Refined Initialization
    Refactored the CodeTide initialization process for cleaner logging and variable handling.


πŸ§ͺ Tests & CI

  • Added unit tests for:

    • File reading/writing
    • GenericParser and PythonParser
    • File detection and Git-based organization
    • CodeBase and related models

πŸ“ Documentation & Examples

  • Updated the README.md:

    • Enhanced project description and added badges.
    • Included a roadmap section.
    • Improved logo rendering.
  • Added example scripts demonstrating CodeTide’s parsing and context extraction capabilities.


πŸ› Bug Fixes

  • Corrected path handling logic in BaseCodeElement.
  • Fixed edge cases in file_path_without_suffix.
  • Resolved context insertion issues when the context was empty.
  • Patched default behavior when parser is None.
  • Addressed inconsistencies in attribute naming and dictionary usage across modules.

⏳ Coming Soon

  • TypeScript Support
    We're extending CodeTide’s language coverage! A new TypeScriptParser is in the works, bringing the same structural insight and symbolic parsing capabilities to TypeScript projects.
    β†’ Built on Tree-sitter, just like Python.
    β†’ Seamless integration with your existing CodeTide workflows.