Skip to content

feat: ctx usage in hot paths, simplify project structure#76

Merged
hashmap-kz merged 2 commits into
masterfrom
feat/ctx-usage
May 11, 2026
Merged

feat: ctx usage in hot paths, simplify project structure#76
hashmap-kz merged 2 commits into
masterfrom
feat/ctx-usage

Conversation

@hashmap-kz

Copy link
Copy Markdown
Owner

No description provided.

@hashmap-kz hashmap-kz merged commit 0da05f0 into master May 11, 2026
6 checks passed
@hashmap-kz hashmap-kz deleted the feat/ctx-usage branch May 11, 2026 13:43
@github-actions

Copy link
Copy Markdown
Contributor

API compatibility report

1ec14529fccde718a296f3db3b7cd75732ef76e1 -> 7c3005a05244eb61f8aae966573354a06092d2a5

Breaking API changes detected. Review before release.

Breaking Changed Removed Added Packages
9 2 7 5 4

Contents

Breaking changes

  • github.com/hashmap-kz/relimpact/cmd - 7
  • github.com/hashmap-kz/relimpact/internal/diffs - 1
  • github.com/hashmap-kz/relimpact/internal/gitutils - 1

New API

  • github.com/hashmap-kz/relimpact/internal/cmd - 5

Breaking changes

github.com/hashmap-kz/relimpact/cmd

Removed API

Types

- type ReportFormat string

Functions

- CreateAPIReport(string, string, string, cmd.ReportFormat) string
- CreateAPIReportSequential(string, string, string, cmd.ReportFormat) string
- CreateChangelog(string, string, string) string
- CreateChangelogSequential(string, string, string) string

Constants

- ReportFormatHTML = "html"
- ReportFormatMarkdown = "markdown"

github.com/hashmap-kz/relimpact/internal/diffs

Changed signatures

SnapshotAPI

- func SnapshotAPI(string) map[string]diffs.APIPackage
+ func SnapshotAPI(
+     context.Context,
+     string,
+ ) map[string]diffs.APIPackage

github.com/hashmap-kz/relimpact/internal/gitutils

Changed signatures

CheckoutWorktree

- func CheckoutWorktree(
-     string,
-     string,
- ) string
+ func CheckoutWorktree(
+     context.Context,
+     string,
+     string,
+ ) string

New API

github.com/hashmap-kz/relimpact/internal/cmd

Added API

Types

+ type ReportFormat string

Functions

+ CreateAPIReportConcurrently(context.Context, string, string, string, cmd.ReportFormat) string
+ CreateAPIReportSequential(context.Context, string, string, string, cmd.ReportFormat) string

Constants

+ ReportFormatHTML = "html"
+ ReportFormatMarkdown = "markdown"

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