Commit graph

59 commits

Author SHA1 Message Date
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
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
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
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
Rhys Arkins
9150854d75 chore: rename config/admin -> config/global 2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78 refactor: rename config admin functions to global 2021-08-17 07:57:45 +02:00
Rhys Arkins
9aaadd1f4a
feat: sourceRepoSlug (#9916) 2021-05-08 15:57:14 +02:00
Rhys Arkins
13112b75bb
fix: separate patch branchName only if separateMinorPatch=true (#9901) 2021-05-07 10:01:16 +00:00
Rhys Arkins
edfac73a08
refactor: remove depNameShort (#9114) 2021-03-13 14:28:46 +01:00
Rhys Arkins
32440f26a4
refactor: toVersion -> newVersion (#8711) 2021-02-16 12:33:44 +01:00
Rhys Arkins
0869d6e8d7
refactor: remove newVersion usage (#8710) 2021-02-16 11:26:46 +01:00
Rhys Arkins
a8819c4610
refactor: fromVersion -> currentVersion (#8709) 2021-02-16 10:52:05 +01:00
Rhys Arkins
acf57144f8
refactor: remove currentVersion (#8708) 2021-02-16 09:43:38 +01:00
Rhys Arkins
855db036d5
fix: rename baseDir to packageFileDir for templating (#8625) 2021-02-10 23:39:06 +00:00
Rhys Arkins
4e2c33f10e
feat: admin config init (#8546) 2021-02-05 09:20:47 +01:00
Rhys Arkins
1914a2eaf7 fix: expose more fields to templates 2021-02-03 15:02:36 +01:00
Rhys Arkins
42101cf6b1 fix: expose more template options 2021-02-03 10:46:32 +01:00
Rhys Arkins
3d86ac632f fix: include more template fields 2021-02-03 09:45:08 +01:00
Rhys Arkins
de8ea37c27
feat: warn about disallowed template variables (#8512) 2021-02-03 09:30:49 +01:00
Rhys Arkins
7c40d2652d
feat: template field filtering (#8504) 2021-02-02 18:11:27 +01:00
Shunsuke Suzuki
de852ac7de
feat: support template in labels (#8138)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-12-30 12:27:05 +01:00
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 (#7940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +01:00