Commit Graph

34 Commits

Author SHA1 Message Date
Sebastian Poxhofer a473e73b3e fix(linters): forbid inert counts in v8 coverage-ignore comments (#45287)
Adds a custom oxlint rule renovate/v8-ignore-no-count that flags the
count form '/* v8 ignore next <N> */'. The count is not honored by
vitest's ast-v8-to-istanbul hint parser, which captures only the
keyword (if/else/next/file); 'next' always exempts exactly the next
AST node. Trailing counts therefore suggest a line range that is never
applied and mislead readers.

The rule is autofixable (drops the count, preserving actual behavior)
and has been applied to all existing occurrences.
2026-08-22 11:25:31 +00:00
Jamie Tanna d8705054b0 fix(datasource/go): prefer later releaseTimestamp from GitHub Releases (#45315)
As noted in #45314, there are cases where we may see as similar case to
the GitHub Releases datasource in #43451, where a Go module's published
`Time` matches the time that the commit the Git tag points to was
committed, rather than the time that the release was created.

If we do have a GitHub repository, we can look up the GitHub Releases
(or we'll get the Git Tags, if no Releases are present) and use the date
if it's /newer/

Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>
2026-08-17 19:01:23 +00:00
Jamie Tanna 08659c88c0 fix(datasource/go): include constraintsFiltering in cache key (#43007)
In a similar change to c98b37280b, we also
need to take into account the caching of `constraintsFiltering` at the
top-level call.
2026-04-30 11:32:41 +00:00
Sergei Zharinov c07814ca4d refactor: Remove decorators for ESM compatibility (#40736)
* refactor: Migrate to decorator alternatives

* refactor: Remove decorators

* Fixes

* build: Remove decorator support from build pipeline

* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese 050ac8d23b chore: better code coverage (#39518) 2025-11-25 15:01:54 +00:00
RahulGautamSingh 76f911041a refactor: use named exports (#39196)
* use named exports

* fix test

* add missing imnport

* fix prettier
2025-11-10 12:00:35 +00:00
Michael Kriese 13b4344f9b feat(datasource/go): improve source URL detection and fix direct sources (#37915) 2025-09-09 14:08:36 +00:00
RahulGautamSingh 49fa1be464 feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +00:00
Michael Kriese b5ff90f2bd fix: improve coverage (#34667) 2025-03-06 17:05:19 +00:00
Michael Kriese 85dd14938a feat(datasource/go): support gitea tags (#32555) 2024-11-15 08:52:37 +00:00
Sergei Zharinov 9385d488df fix(go): Use more specific cache key for getDigest() (#31168) 2024-09-03 03:59:14 +00:00
Sergei Zharinov c2f2d4f68c refactor(go): Use single cache namespace (#31039)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-27 03:48:52 +00:00
RahulGautamSingh d0b77e584a feat(datasource): sourceUrl & releaseTimestamp support (#29122) 2024-05-21 07:04:12 +00:00
Sergei Zharinov 99467af092 fix(go): Disable direct digest fetch for GOPROXY containing "off" (#27672) 2024-03-01 17:59:23 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Michael Kriese 2431c5a6b6 fix: better branch code coverage (#24274) 2023-09-06 13:35:52 +00:00
Rhys Arkins 36e2b328bb chore: update types reference 2023-08-15 11:31:15 +02:00
renovate[bot] fe739befbf chore(deps): update linters to v6 (major) (#23325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-08-02 15:07:49 +00:00
Rhys Arkins 5cc2280bf9 fix(datasource/go): use defaultVersioning=semver (#23319) 2023-07-12 07:23:36 +00:00
Sebastian Poxhofer 19259a0383 feat!: categories (#16534)
Closes #13953

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

BREAKING CHANGE: languages are now called categories instead
2023-07-04 19:21:52 +02:00
Adam Setch e29c8ad964 fix(bitbucket): use correct case (#21002) 2023-03-17 12:13:37 +00:00
Rhys Arkins d92e19437a feat(go)!: default GOPROXY (#20081)
Set default GOPROXY value to match `go`'s own default.

Closes #20040

BREAKING CHANGE: Renovate will now use go's default `GOPROXY` settings. To avoid using the public proxy, configure `GOPROXY=direct`.
2023-03-10 09:34:39 +01:00
Sergei Zharinov 25021725a9 fix(go): Avoid tag fetching for v0.0.0 (#20307) 2023-02-09 13:11:21 +01:00
Michael Kriese 39b23d64fe feat: better sanitize (#19646) 2023-01-03 12:29:07 +00:00
Omer Cohen cb4733d3db fix(gomod): support pseudo-versions (#19122)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-12-07 20:29:39 +01:00
Rhys Arkins 0f2eb5d622 fix(gomod): Revert "fix(gomod): non-0.0.0 digest matching" (#19120) 2022-11-27 09:14:04 +01:00
Omer Cohen 20ba978e4f fix(gomod): non-0.0.0 digest matching (#19085) 2022-11-27 06:53:21 +00:00
Thomas a446c2bc6d fix(go)!: Fallback to git-tags instead of github-tags (#18060)
Changes go datasource fallback from github tags to git tags.

Closes #17923

BREAKING CHANGE: git-tags will be used instead of github-tags if a go package's host type is unknown.

Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-23 06:48:35 +02:00
Sergei Zharinov e4dbd4ad49 fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Michael Kriese 02838fbc07 refactor(datasources): strict null checks done (#15144) 2022-04-16 12:57:12 +01:00
Rhys Arkins 72acc8bd47 fix(go): add GOPROXY username/password to global secrets list (#14636) 2022-03-14 10:15:49 +00:00
Rhys Arkins 143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00