Juan Carlos Blanco Delgado
e4020c118e
feat: adding includes helper for templating ( #28148 )
2024-03-27 19:23:17 +00:00
Rhys Arkins
e500e5048d
feat(config): expose topLevelOrg, templateOrg to templates ( #27997 )
2024-03-18 19:42:30 +00:00
Rhys Arkins
55205fbc71
feat: expose branch depTypes for templating ( #27948 )
2024-03-15 11:24:05 +00:00
Yun Lai
397dda5bd0
feat: allow packageScope in template compilation and add packageScope in maven datasource ( #27925 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-03-15 08:51:23 +00:00
renovate[bot]
4c2ce97bb4
build(deps): update dependency prettier to v3.2.2 ( #26755 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-21 08:20:41 +00:00
Roman
2438616996
feat(templating): adds encodeBase64 handlebars helper ( #26197 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-11 14:18:49 +00:00
RahulGautamSingh
970586c086
refactor: use re2
( #26088 )
2023-12-02 09:13:35 +00:00
Michael Kriese
6af2be726c
fix(templates): use re2 for replace helper ( #26019 )
2023-11-29 01:29:32 +00:00
Sebastian Poxhofer
a9e50fd48d
fix(template/category): Replaces not working templating field category with categories ( #25735 )
2023-11-13 21:07:37 +00:00
renovate[bot]
e5cbbaaf09
build(deps): update dependency prettier to v3 ( #23627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2023-11-07 17:12:01 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Rhys Arkins
6ec9d1d62a
fix(templating): allow category field ( #25075 )
2023-10-06 11:34:21 +02:00
Sebastian Poxhofer
11e30a08f6
refactor: move getChildProcessEnv to break dependency loop ( #23144 )
2023-07-04 20:34:08 +00:00
Adam Setch
0296810cd6
feat(template): allow isGroup ( #22331 )
2023-05-21 16:31:21 +00:00
Adam Setch
1c82218197
feat(vulnerabilities): handle medium and unknown severities ( #22257 )
...
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-05-16 15:38:23 +00:00
Adam Setch
a2e036e334
feat(vulnerabilities): set, maintain and expose vulnerabilitySeverity for templated fields ( #21939 )
2023-05-11 15:00:20 +00:00
Brenton Alker
0913787540
fix(template): Proxy Compile Input loses values from arrays ( #21943 )
2023-05-03 05:58:33 +00:00
William Boman
bf0f7e2b82
feat(template): add equals helper ( #21385 )
2023-04-09 05:24:04 +00:00
Adam Setch
91fd1757f6
feat(template): indentation capture group ( #21193 )
2023-03-31 05:39:06 +00:00
Rhys Arkins
98247d34f3
fix(templates): try/catch handlebars compile ( #19794 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-14 09:35:33 +01:00
Marek Grzenkowicz
2cd10769f2
feat(template): use environment variables in templates ( #19301 )
2023-01-03 10:55:41 +00:00
William Boman
aecfcdbb3c
feat(templates): add decodeURIComponent helper ( #19616 )
2022-12-31 09:25:06 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +02:00
Michael Kriese
2546c03f6c
feat(changelogs): defer retrieval if not required for templates ( #17073 )
2022-08-10 06:19:17 +00:00
Sergei Zharinov
35df2bdb7c
fix(template): Use proxy instead of deep clone ( #17075 )
2022-08-09 17:19:03 +00:00
Hasan Awad
4ead106f81
feat(util/template): add prettyNewMajor and prettyNewVersion field ( #16831 )
...
* initial
* expose prettyNewVersion and prettyNewMajor
* tests
* revert change
* simplify
* test naming
* documentation
* documentation
* remove wrong documentation
* expose template finction
* tests naming
* combine condition
* Update docs/usage/templates.md
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* remove unecessary nullish op
* Update docs/usage/templates.md
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
* Expose prettyVersion and prettyMajor
* documentation
* remove function and use regex
* lexographic order
* tests need fixing
* add tests
* Captial letter
* renaming and prettyNewMajor
* space
* move to upgrade interface
* use new fields where v is prepended manually
* move to interface
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-08 07:50:36 +00:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files ( #15812 )
...
* add types for tmp
* expand files in lib/util
* update yarn lock
* Update tsconfig.strict.json
* util/exec
* util/git
* util/http
* Revert "util/exec"
This reverts commit 96cf479a1b
.
* update strict.json
* redo util/exec
* revert util/git
* util/merge-confidence
* update util/git
* util/package-rules
* fix util/git
* util/template
* util/
* revert extras
* rm newline
* add tmp back
* apply suggestion from review
* util/cache
* more changes
* Update tsconfig.strict.json
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Gabriel-Ladzaretti
dd3598c5b8
feat(config/migration): migrate config with a PR ( #15122 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-18 12:12:31 +00:00
Rhys Arkins
5c803f2e41
fix(config): check for undefined str when validating handlebars helpers ( #16047 )
2022-06-13 13:34:14 +02:00
Alfred Krohmer
83f54f5a8a
feat: allow currentDigest
and currentDigestShort
in templates ( #15951 )
2022-06-09 06:58:53 +00:00
Hasan Awad
e0053be5d6
fix(process/lookup): pinDigest update type ( #14658 )
2022-04-29 09:49:15 +02:00
IKEDA Sho
2c087e86f7
feat(template): add lowercase
Handlebars helper ( #15212 )
2022-04-21 09:26:24 +00:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Rhys Arkins
a892b2ae9e
feat: expose manager to templating ( #14624 )
2022-03-12 22:45:37 +01: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
Ivan Katliarchuk
9a103cbb51
fix: ignore empty labels during label merge and templating ( #14322 )
2022-02-21 21:47:51 +01:00
Sergei Zharinov
4fa5eeb8bb
refactor(util/template): Strict null checks ( #14031 )
2022-02-06 09:03:07 +01:00
Rhys Arkins
2e35968146
feat(pr): display latest pending update in upgrades table ( #13768 )
2022-01-24 11:09:27 +00:00
elmaso1620
49f5ac0b9b
feat: expose sourceRepo, sourceRepoOrg and sourceRepoName ( #13620 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-21 12:03:06 +00:00
Marina
7770888184
feat: Add 'and', 'or' and 'containsString' to handlebar helpers ( #13341 )
2022-01-06 15:24:42 +00:00
Michael Kriese
c5d50f6da3
refactor: more esm imports ( #13233 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 11:28:20 +00:00
Rhys Arkins
a86eceb7d4
fix: default empty string for replace
2021-12-10 13:55:13 +01:00
RahulGautamSingh
ee2e155f1f
fix: modify regex to be re2 compatbile ( #12778 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-29 19:16:05 +00:00
Maksim
06d8c27043
refactor: global config ( #12743 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-23 21:10:45 +01:00
markussiebert
c80c7f3d0c
feat: add stringToPrettyJSON handlebars function ( #12643 )
2021-11-14 19:49:05 +00:00
Jamie Magee
98e7029090
feat: replace deprecated dependencies with their replacements ( #5558 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-12 08:10:52 +00:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 ( #12283 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Michael Kriese
11aa3baf2e
test: use codeql compatible token / passwords ( #11297 )
2021-09-09 16:17:05 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00:00
Rhys Arkins
9150854d75
chore: rename config/admin -> config/global
2021-08-17 07:57:45 +02:00