Skip to content

Releases: nelsondaza/linear-and-github-extension

v0.0.5

10 Dec 15:30
Compare
Choose a tag to compare

New Features

  • Enhanced Code Comparison: Added useCompareCodes and usePullRequestCodes hooks to improve the extraction and comparison of Linear codes from various parts of a pull request.
  • Observer for Comments: Implemented a MutationObserver in useCommentCodes to dynamically track changes in pull request comments and extract Linear codes.

Improvements

  • Code Deduplication: Improved the deduplication logic in both useCompareCodes and usePullRequestCodes to ensure unique Linear codes are returned.
  • Sorting Logic: Enhanced sorting logic to prioritize code length and alphabetical order for better readability.

Bug Fixes

  • Event Listeners: Fixed issues with event listeners in useTitleCodes and useDescriptionCodes to prevent memory leaks by ensuring proper cleanup.
  • Null Checks: Added null checks to prevent potential runtime errors when querying DOM elements.

Technical Debt

  • Refactoring: Refactored code to improve readability and maintainability, including better type annotations and removal of unnecessary @ts-ignore comments.

Documentation

  • Updated Documentation: Updated the documentation to reflect the new hooks and their usage.

Miscellaneous

  • Dependencies: Updated project dependencies to their latest versions for improved security and performance.

Full Changelog: v0.0.4...v0.0.5

v0.0.4

10 Dec 02:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3

21 Nov 02:38
Compare
Choose a tag to compare

Full Changelog: v0.0.2...v0.0.3

v0.0.2

19 Nov 01:14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.1...v0.0.2

v0.0.1

18 Nov 20:05
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/nelsondaza/linear-and-github-extension/commits/v0.0.1