Sebastian Poxhofer
d004b52a91
test: add coverage for lines detected by pnpm check ( #43589 )
...
tests: add coverage for lines detected by pnpm check
2026-05-26 07:53:07 +00:00
Sebastian Poxhofer
73b90e958b
refactor: remove string concetation for production code ( #43442 )
...
refactor: prefer templates rather than `+`
2026-05-19 13:31:27 +00:00
Jamie Tanna
0e5e384237
feat(manager/gomod): extract the go and toolchain directives as constraints ( #42582 )
...
As part of future changes in #42567 to surface the `constraints` of a
given Go module, we should first extract the constraints from the
package file.
To make this simpler for users, we can make sure we extract these at
parse time:
- the `toolchain` directive becomes the `golang` constraint, which
matches the `golang` tool name already in use for Containerbase
- the `go` directive becomes a new `%goMod` constraint, which keeps it
separate from the version of the Go toolchain actually used to run, as
well as clearly not for the Go tooling, or something that
Containerbase knows about
- we make sure to extract it with a SemVer range that can then be used
to ensure that, in future changes, using `constraintsFiltering=strict`
will allow filtering releases from the Go datasource based on this
constraint.
- because we're now returning the `constraintsVersioning`, we need to
make sure this is part of our types
2026-04-29 13:20:13 +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
Lukas Eipert
a345524eec
fix(gomod): Exclude multi-line exclude directives from extraction ( #35623 )
2025-04-30 13:45:58 +00:00
Maxime Brunet
03c4cdbc88
fix(gomod): fix potential false-positive when matching tools ( #35135 )
2025-04-02 05:14:29 +00:00
Maxime Brunet
c4c37a6253
feat(gomod): support tool directive ( #35078 )
2025-04-01 17:33:55 +00:00
Sergei Zharinov
5aa2ebfbcb
refactor(gomod): Simplify dependency extraction ( #28852 )
2024-05-06 17:17:07 +00:00
Koen van Zuijlen
aec0cd8550
feat(manager/gomod): Added support for the gomod toolchain directive ( #27279 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2024-04-10 21:30:32 +00:00
Rhys Arkins
6362acdf43
fix(go): handle pseudo version with digest updates ( #26746 )
2024-01-20 11:06:42 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Michael Kriese
497d4c131f
fix(manager): unify logging ( #22398 )
...
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
2023-05-25 16:53:05 +00:00
Rhys Arkins
016e647390
feat(config)!: default to rangeStrategy=auto, prefer update-lockfile ( #19942 )
...
Changes `rangeStrategy` default value from `'replace'` to `'auto'`. Also changes `auto` behavior so that `update-lockfile` is preferred if the manager
supports the `updateLockedDependency()` function.
Closes #19800
BREAKING CHANGE: Renovate will now default to updating locked dependency versions. To revert to previous behavior, configure rangeStrategy=replace.
2023-03-10 09:25:45 +01:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent ( #20502 )
2023-02-19 12:43:48 +00:00
Rhys Arkins
719354793f
feat(gomod): directive versioning ( #19453 )
2022-12-17 08:12:57 +01:00
Jamie Tanna
67d1b983bc
fix(manager/gomod): resolve multi-line indirect dependencies ( #19442 )
2022-12-16 11:40:36 +00:00
Jamie Tanna
d19effc48d
feat(manager/gomod): update indirect dependencies for Go Modules ( #19431 )
2022-12-15 18:55:08 +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
Maron
5e5d5b771b
feat(manager/gomod): improve go constraints ( #17178 )
2022-10-06 14:40:31 +00:00
Hasan Awad
3cec44cfa7
fix(manager/gomod): add multi-line replace detection ( #17111 )
2022-08-11 05:29:53 +00:00
Hasan Awad
0e7c4306ec
refactor(manager/go): make multiline parsing a function ( #17074 )
...
* make multiline parsing a function
* refactor
* added interface for type
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-08-09 19:51:43 +00:00
Philip
b8c5a87bc4
fix(manage/gomod): Golang fix pin ( #16682 )
...
* Add .whitesource configuration file (#3 )
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
* Update .whitesource
* build(deps): update dependency simple-git to v3.5.0 (#17 )
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
* golang fix pin
* golang fix pin
Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
2022-07-21 17:29:15 +02:00
Philip
a6e5eefb64
feat(manager/gomod): support updating go version in go.mod files ( #16541 )
2022-07-18 06:22:50 +00:00
Rhys Arkins
07b98a90ff
chore: improve/lower extract logging ( #16181 )
2022-06-22 12:06:22 +02:00
Michael Kriese
e5c6f38d75
refactor: enable strict checks ( #16168 )
...
* refactor: enable strict checks
* chore: revert changes
* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Michael Kriese
f5f06c73be
refactor(manager): more strict null checks ( #15168 )
2022-04-20 06:19:59 +02: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