Rhys Arkins
706562f80d
fix(lookup): check currentValue before isValid
2020-03-05 11:55:05 +01:00
Sergio Zharinov
804a8c0f13
feat: Centralize extracted version validation ( #5637 )
2020-03-04 15:16:36 +01:00
Michael Kriese
6c4892b593
chore(types): fix more typescript types ( #5615 )
2020-03-02 12:06:16 +01:00
Rhys Arkins
6293edc19a
feat: replace datasource constants with IDs ( #5595 )
...
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-03-01 08:01:12 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning ( #5504 )
2020-02-18 08:34:10 +01:00
Rhys Arkins
5e022e2a50
fix: reduce concurrent dep fetch per packagefile from 10 to 5
2020-02-14 08:36:38 +01:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings ( #5375 )
2020-02-05 18:17:20 +00:00
Sourav Das
520429f1bd
feat(constants): Version Scheme Constants ( #5159 )
2020-01-21 17:11:25 +01:00
Sourav Das
ab9c666328
refactor(function): getNewValue Function ( #5137 )
2020-01-16 13:43:58 +01:00
Sourav Das
58c444cb7e
feat(constants): Data Source and Binary Source Constants ( #5157 )
2020-01-16 12:14:35 +01:00
Sourav Das
ee153e560e
feat: use error constants ( #5088 ) ( #5100 )
...
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins
0dab3f4067
refactor: logs meta
2020-01-11 09:16:22 +01:00
Sourav Das
be5679661a
refactor: EnsureIssue function ( #5107 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 10:40:53 +00:00
Michael Kriese
62b18dee78
fix(ts): convert worker/repository/process to ts ( #5046 )
2020-01-06 08:16:15 +00:00
Michael Kriese
2f995089b2
chore: fix coverage ( #5048 )
2019-12-22 19:33:37 +01:00
Rhys Arkins
63b90e51a6
fix(config): throw config validation if invalid allowedVersions
2019-12-16 11:02:47 +01:00
Rhys Arkins
2adad0dae6
fix: drop configurable appName ( #4931 )
2019-12-05 11:55:14 +01:00
Rhys Arkins
68c5684b89
feat(onboarding): configurable branch and title ( #4928 )
...
Adds options onboardingBranch and onboardingPrTitle to allow bot administrators to change the branch name and/or title in oboarding PRs.
2019-12-05 09:39:39 +01:00
Rhys Arkins
5ad362fb21
fix: Revert "fix: refactor appStrings imports"
...
This reverts commit aec281840b
.
2019-12-04 16:44:04 +01:00
Rhys Arkins
aec281840b
fix: refactor appStrings imports
2019-12-04 16:18:37 +01:00
Rhys Arkins
15dd304b97
fix: rangeStrategy fall back to bump if no lockfile
2019-11-29 20:05:49 +01:00
Jamie Magee
ae2f0f7c84
feat: Initial support for git submodules ( #4605 )
2019-11-28 20:04:54 +01:00
Rhys Arkins
8d0aa39920
refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements
2019-11-24 08:43:24 +01:00
Rhys Arkins
473b7e1f4b
refactor(eslint): enable @typescript-eslint/no-use-before-define
2019-11-24 05:09:13 +01:00
Rhys Arkins
a1c023fe09
fix: respect latest even if range includes some post-latest versions ( #4801 )
2019-11-10 22:42:47 +01:00
Daniel Cassidy
35c347428b
fix(pin): avoid pinning deprecated version ( #4609 )
2019-10-14 13:23:49 +02:00
Julien SIMON
d1e7c17f25
feat: prCommitsPerRunLimit ( #4392 )
2019-10-14 13:15:37 +02:00
Rhys Arkins
f6eb83ce86
fix: return one version for vulnerability alerts
2019-10-06 11:13:49 +02:00
Michael Kriese
331863d211
feat(platform): remove global platform variable ( #4455 )
2019-09-10 09:50:29 +02:00
Rhys Arkins
a32c8f4ccc
fix: Revert "feat(platform): remove global platform variable ( #4448 )"
...
This reverts commit b5c9dc8e0b
.
2019-09-09 06:55:30 +02:00
Michael Kriese
b5c9dc8e0b
feat(platform): remove global platform variable ( #4448 )
2019-09-09 04:40:52 +02:00
Michael Kriese
79f72f0b5d
chore: move clone to utils ( #4434 )
2019-09-06 06:48:25 +02:00
Herbert Ng
f103297b2f
feat: add prPriority to config ( #4401 )
2019-09-03 15:52:53 +02:00
Michael Kriese
4f0d87e3a3
feat(worker): convert parts to typescript ( #4388 )
2019-09-03 07:25:32 +02:00
Rhys Arkins
1819608ce0
refactor(changelog): fetch release list independently ( #4398 )
2019-08-29 08:21:17 +02:00
Michael Kriese
88892abb56
fix: typescript types ( #4393 )
2019-08-28 09:00:08 +02:00
Rhys Arkins
77f6afcaf0
fix: expand version.isStable to correct this
2019-08-23 12:04:11 +02:00
Michael Kriese
5b3a17e24e
fix(versioning): fix wrong this context ( #4352 )
2019-08-23 10:12:21 +02:00
Rhys Arkins
2bfa1be6b3
fix: reset logger meta when multiple baseBranches
2019-08-14 19:00:50 +02:00
Rhys Arkins
ee101648fa
refactor: remove versioning destructuring ( #4284 )
2019-08-13 22:02:06 +02:00
Rhys Arkins
642deb0b83
fix(automerge): don’t exit early if automerging pr comment ( #4105 )
...
Closes #4052
2019-07-17 11:02:04 +02:00
Michael Kriese
d97737914e
refactor: add js type check ( #4098 )
2019-07-17 10:14:56 +02:00
Jamie Magee
f334c568a5
feat(typescript): convert logger to typescript ( #3671 )
2019-07-15 11:04:05 +02:00
praveshtora
64ee44f0d1
feat: Add prcreation == approval ( #4032 )
2019-07-11 13:48:41 +02:00
renovate[bot]
dab7b1c314
chore(deps): update dependency prettier to v1.18.0 ( #3905 )
2019-06-07 06:34:57 +02:00
Michael Kriese
5f213255d0
test: fix coverage ( #3794 )
2019-05-24 15:01:07 +02:00
Rhys Arkins
d72e55e789
fix: no bump if the value is unchanged
...
Closes #3648
2019-05-09 11:40:23 +02:00
Rhys Arkins
3faa3ece0f
fix: try/catch getNewValue
2019-05-02 11:54:29 +02:00
mohd hassaan
eb936b4236
fix: autoclose resolved deprecated issues ( #3611 )
2019-05-01 09:28:30 +02:00
Rhys Arkins
9ce7548552
fix(master-issue): check for rebase all if only package rules approval
2019-04-28 23:01:23 +02:00
Rhys Arkins
f68414fb2f
fix: less debug logging, more trace
2019-04-28 22:08:06 +02:00
mohd hassaan
c53cd4e674
feat: Add "rebase all" functionality in master issue ( #3597 )
2019-04-28 09:04:50 +02:00
Rishabh Jain
0038142cc2
fix: renovate not creating PRs for some python dependencies ( #3453 )
2019-04-02 17:26:06 +02:00
Rhys Arkins
1b442538e4
refactor: more logs for PR limits
2019-04-02 15:53:53 +02:00
Rhys Arkins
5bb6802bab
refactor: rename deepcopy to clone
2019-03-11 23:43:30 +01:00
Rhys Arkins
d78e6a0486
fix: copy through sourceDirectory
...
Closes #3096
2019-03-08 12:16:42 +01:00
Rhys Arkins
6ede22ab03
fix: lockfile-update => update-lockfile
2019-03-08 08:16:26 +01:00
Rhys Arkins
6417aba868
refactor: deepcopy
2019-03-07 10:56:06 +01:00
Rhys Arkins
fae041b98d
fix: dockerRepository typo
...
Closes https://github.com/renovatebot/config-help/issues/151
2019-03-06 17:13:02 +01:00
Rhys Arkins
69cdf2d186
fix: deepcopy getPkgReleases results
...
Closes #3298
2019-03-03 09:41:18 +01:00
Rhys Arkins
67b29f8a2c
fix: copy dockerRegistry and dockerRepository
...
Closes https://github.com/renovatebot/config-help/issues/151
2019-02-14 06:05:08 -05:00
Rhys Arkins
a9332a8db0
feat: replace purl with datasource ( #3154 )
...
This deprecates the (internal) use of package URLs and instead replaces with `datasource`/`lookupName`.
Closes #3005
2019-02-04 09:41:22 +01:00
Rhys Arkins
0246f6c201
refactor: getPkgReleases
2019-01-28 06:40:37 +01:00
Rhys Arkins
9d2e70775b
refactor: better log allowedVersions problems
2019-01-25 09:10:17 +01:00
Rhys Arkins
396fb977c3
fix(allowed-versions): fallback to npm semver range syntax
2019-01-25 08:21:28 +01:00
Rhys Arkins
78d6d52a2e
feat(pr): support displayFrom / displayTo for PR templating
2019-01-24 06:39:23 +01:00
Rhys Arkins
62d92660b2
feat: new 'lockfile-update' rangeStrategy ( #3108 )
...
Adds a new `rangeStrategy` value `lockfile-update'. Enabling this means you will get PRs that contain updates for the versions in your lock file (currently npm and yarn only) even if the range in the `package.json` file hasn't changed because the update is "in range".
Closes #1382
2019-01-24 06:23:08 +01:00
Rhys Arkins
e8a487a90f
refactor: drop mirrorMode
2019-01-23 00:05:56 +01:00
Rhys Arkins
33b3308df6
refactor: log purl if lookup fails
2019-01-21 16:48:10 +01:00
Jan Sauer
1fb755c89c
feat: gradle-wrapper ( #3038 )
...
Adds support for updating the gradle version used in a project via the gradle-wrapper.
See https://docs.gradle.org/current/userguide/gradle_wrapper.html
2019-01-09 12:50:53 +01:00
Rhys Arkins
55257fff26
feat: centralise app strings ( #3032 )
2019-01-06 14:47:42 +01:00
Rhys Arkins
5b43931aab
fix(gitFs): use sha for non-master branches
2018-12-23 08:46:09 +02:00
Rhys Arkins
08b7752027
feat(github): ensure issue once
2018-12-19 06:05:43 +01:00
Rhys Arkins
6ef61c8608
Revert "feat: ensureIssue once"
...
This reverts commit 3988fb808a
.
2018-12-16 17:18:00 +01:00
Rhys Arkins
6785cd54bd
refactor: update deprecation message to allow closing
2018-12-14 12:09:13 +01:00
Rhys Arkins
3988fb808a
feat: ensureIssue once
...
Closes #2936
2018-12-14 11:47:52 +01:00
Rhys Arkins
772bc17603
refactor: repositoryUrl -> sourceUrl
2018-12-10 05:59:28 +01:00
Rhys Arkins
e190851f8e
feat(docker): use whole tag as currentValue ( #2922 )
2018-12-10 04:26:14 +01:00
Rhys Arkins
42eb19bb91
fix(deprecation): reset list for each manager
2018-12-09 13:51:50 +01:00
Rhys Arkins
32e2140886
fix(deprecations): do not raise warnings for onboarding repos
2018-12-09 13:12:10 +01:00
Rhys Arkins
c742ac02ee
refactor(deprecations): add info on how to disable
2018-12-09 13:11:41 +01:00
rtaum
90af9fc3ab
feat: refactor raiseDeprecationWarnings into suppressNotifications ( #2921 )
2018-12-09 11:39:35 +01:00
Rhys Arkins
6b12fc4ea4
refactor(versioning): use get function
2018-12-08 16:46:13 +01:00
Ayoub Kaanich
33781c4d39
feat(docker): better versioning redo
2018-11-05 12:14:04 +01:00
Rhys Arkins
71b8fb0e72
fix: Revert "feat: better docker versioning ( #2742 )"
...
This reverts commit ea8bcbc9b2
.
2018-11-05 11:35:06 +01:00
Ayoub Kaanich
ea8bcbc9b2
feat: better docker versioning ( #2742 )
...
Rewrite docker versioning to support versions of any size.
Closes #2357 , Closes #2358
2018-11-05 09:32:34 +01:00
Rhys Arkins
4f7d4fbeae
logs: deprecationMessage
2018-10-29 05:53:00 +01:00
Rhys Arkins
7fdef1d683
fix: dry run deprecation issues
2018-10-29 05:52:45 +01:00
Rhys Arkins
f82f26197c
fix: skip null current values
2018-10-19 07:09:31 +02:00
Rhys Arkins
e9053fbe4a
fix: abort rollback if null toVersion
2018-10-19 06:57:21 +02:00
Rhys Arkins
50ba8473f7
refactor: lower debug logging
2018-10-15 09:21:57 +02:00
Rhys Arkins
c0e8e51b5e
fix(lookup): improve digest comparison
2018-10-05 15:49:24 +02:00
Rhys Arkins
3092c17ee2
fix(lookup): don’t return early if digests supported
2018-10-05 15:27:49 +02:00
Rhys Arkins
2dad7bbcd1
logs: debug versions lookup failure
2018-10-05 12:58:18 +02:00
Rhys Arkins
95d01e7ab1
feat: master issue
...
Adds undocumented/experimental “master issue” feature.
Setting `config.masterIssue = true` will result in Renovate opening and maintaining an issue that contains a list of all PRs both pending and open, and allowing some control over them (e.g. bypass schedule, force retry, etc).
Setting `config.masterIssueApproval` in addition will mean that branches are not created automatically and instead await approval in that master issue.
Closes #2595
2018-10-04 10:08:20 +02:00
Rhys Arkins
1f128bbcc2
refactor: processBranch function interface
2018-10-03 15:57:01 +02:00
Rhys Arkins
8597f16ba9
fix(golang): skip digest updates if real versions exists
2018-10-02 14:20:24 +02:00
Rhys Arkins
29115ba38c
fix: bump patch only if explicitly separating
...
Bump updates should only be separated into “patch” if users explicitly separate patch and minor.
Closes https://github.com/renovatebot/presets/issues/85
2018-09-27 14:57:28 +02:00
Rhys Arkins
0e2947aa3f
fix(followTag): jump unstable
...
Fixes #2561
2018-09-26 15:52:06 +02:00
Rhys Arkins
9d46ca6dbd
refactor: lower log levels
2018-09-23 07:26:06 +02:00
Rhys Arkins
fc9037a270
logs: correct depName/dependency
2018-09-20 12:13:18 +02:00
Klaus Meinhardt
e9e71f4c1d
feat: followTag ( #2538 )
...
If `followTag` is defined for a package, then Renovate will ignore all other available versions and instead stick strictly to whatever version is defined for the tag. npm-only for now.
Closes #2258
2018-09-19 09:59:33 +02:00
Rhys Arkins
1d39525749
fix: better digest skip detection
2018-09-17 14:35:44 +02:00
Rhys Arkins
0498015f65
refactor(docker): use 7 char short digests
2018-09-16 06:11:12 +02:00
Rhys Arkins
58d5483e7b
feat: changelogUrl
...
Allows static configuration of custom changelog URLs per npm package, which will then be displayed in PR bodies.
Closes #2520
2018-09-14 06:55:38 +02:00
Rhys Arkins
dda0bade29
refactor: use single localDir per repo ( #2505 )
2018-09-12 06:30:01 +02:00
Rhys Arkins
e5e303f46f
logs: fix branches debug
2018-09-07 08:44:20 +02:00
Rhys Arkins
88c6a48b2a
logs: less debug
2018-09-05 15:04:18 +02:00
Rhys Arkins
4539487d26
refactor: less logging
2018-09-05 14:18:31 +02:00
Rhys Arkins
0e0d050884
refactor: include releases only if there’s an update
2018-08-29 11:13:45 +02:00
Rhys Arkins
5fb9d77bba
feat: separate groups into major/minor/patch ( #2426 )
...
Previously if grouping, all major/minor updates within that group were combined into one. Instead, we now honour the “separateMajorMinor”, "separateMinorPatch", and "separateMultipleMajor" settings and keep the groups separate if necessary.
For maximum compatibility with existing PRs, we name branches like `renovate/group-name` whenever possible and only name them like `renovate/major-group-name` or `renovate/patch-group-name` if major or patch are found.
Closes #2425
2018-08-27 06:25:17 +02:00
Rhys Arkins
516f60a2cf
refactor: save dep homepage
2018-08-16 18:35:01 +02:00
Rhys Arkins
d2885e5d9e
fix: do not jump unstable versions implicitly
...
If the current value is already unstable then we presume the user is happy to take newer unstable versions. However we should not presume that they want to keep jumping versions if so and instead would prefer to stabilise.
Discussed in #2258 but does not close it
2018-08-15 09:40:10 +02:00
Maximilian Gaß
15ee7ab4ae
fix: pinning digest of latest version ( #2359 )
...
If the dependency already is the latest version, filteredVersions is
empty here, and then the early exit skips over the pinning code
2018-08-11 10:03:57 +02:00
Rhys Arkins
31f2f4c610
refactor: rename getDependency to getPkgReleases
2018-07-29 16:04:00 +02:00
Rhys Arkins
9555b27d9e
fix(lookup): use major/minor/patch updateType instead of bump
...
Helps https://github.com/renovatebot/config-help/issues/67 and https://github.com/renovatebot/config-help/issues/70#issuecomment-407595535
2018-07-25 08:58:17 +02:00
Rhys Arkins
9064e0af62
fix(baseBranches): apply special branch and PR naming only when multiple
...
baseBranch will be applied in PR title and in branch name only if there are more than one.
Closes #2306
2018-07-23 16:40:30 +02:00
Rhys Arkins
6f868c83f2
refactor(lookup): return warnings object
2018-07-22 11:43:47 +02:00
Rhys Arkins
bb28ae27a2
fix: check for valid fromVersion before pinning
2018-07-22 08:05:21 +02:00
Rhys Arkins
14cbd68d42
feat: rollbackPrs
...
Adds new config option `rollbackPrs` which defaults to `true` (current behaviour). Setting to false will disable creation of rollback PRs - configurable globally, per-language, per-package, etc.
2018-07-22 06:49:04 +02:00
Rhys Arkins
cffef4f1b4
logs: debug rollback versions, not info
2018-07-22 06:32:17 +02:00
Rhys Arkins
7066a5dd99
fix(docker): use tag suffix when looking up new digest
2018-07-21 10:47:29 +02:00
Rhys Arkins
482892042a
fix(docker): filter out failed digest lookups
2018-07-20 18:59:30 +02:00
Rhys Arkins
2635b234c7
refactor: don’t warn if no versions found
2018-07-20 10:03:18 +02:00
Rhys Arkins
7254b5f16c
feat: use generic lookup for docker ( #2280 )
...
Removes custom Docker lookup code and instead integrates it with the generic lookup routine used by other package managers. Logic for digest support was added but is used by Docker-only for now.
Closes #2081 , Closes #2276
2018-07-20 09:09:01 +02:00
Rhys Arkins
ca23927735
feat: pin PRs should only block necessary PRs
...
Previously if there were any “pin” updates then that would block all non-pin updates until the pin one was merged. However, this doesn’t make sense if the other PR is for an unrelated dependency.
Closes https://github.com/renovatebot/config-help/issues/64
2018-07-13 06:48:52 +02:00
Rhys Arkins
9521b08b03
refactor: use isSingleVersion in template instead of isRage
...
Refactors template logic to test for isSingleVersion instead of the negative of isRange. This means that new values like `==1.2.0` in python will be presented as v1.2.0
2018-07-05 21:11:58 +02:00
Rhys Arkins
16d88aee4c
feat: ignoreDeprecated
...
Renovate now ignores any upgrades that are marked as deprecated, unless the current version is itself also deprecated. The new config option `ignoreDeprecated` can be set to false to disable this if necessary.
Closes #1988
2018-07-05 15:10:50 +02:00
Rhys Arkins
7c0a17e9d0
feat: group together deprecation warnings
...
Previously, deprecation warnings were done as part of dependency lookups, which were run concurrently. This meant the chance of duplicate issues was high, due to race conditions. Instead, raising the issues is done once all package are looked up, to ensure only one issue per manager/dependency. It also means we can list all of the affected package files, in case of a monorepo.
Closes #2224 , Closes #2225
2018-07-05 14:23:28 +02:00
Rhys Arkins
24a89a775b
feat(npm): deprecation warnings ( #2222 )
...
Raises a deprecation warning issue per-dependency. Uses logic that if latest version is deprecated then the package is deprecated.
Closes #1592
2018-07-05 09:16:53 +02:00
Rhys Arkins
8a8890f82f
feat: support updateType=bump
...
Refactors updateType logic so that a type of “bump” is returned when bumping versions within existing ranges, instead of minor or major. Updates that fall *outside* the existing range will continue to be labeled as minor or major as appropriate.
This value can now be used within packageRules, e.g.
```
“updateTypes”: [“bump”],
“labels”: [“bumped version only”]
```
Closes #1942
2018-07-04 10:26:31 +02:00
Rhys Arkins
ebbd417e47
chore: prettier
2018-07-04 10:21:41 +02:00
Rhys Arkins
fb6271e4f7
refactor: rename update.type -> update.updateType
2018-07-04 10:11:53 +02:00
Rhys Arkins
b2cecc38da
logs: print versions when rolling back
2018-07-03 11:49:19 +02:00
Rhys Arkins
c1bd2197e2
refactor: use res object for lookup
2018-07-01 07:53:26 +02:00
Rhys Arkins
645ec7f171
fix: add releaseTimestamp to update
2018-06-28 10:52:56 +02:00
Rhys Arkins
124807974a
feat(nuget): support changelogs
...
Refactors nuget lookups to use generatic logic and fill in repositoryUrl to enable changelogs.
2018-06-14 15:52:37 +02:00
Rhys Arkins
c9f7b74bc7
refactor: add releases to lookupUpdates return
2018-06-12 06:53:56 +02:00
Rhys Arkins
db45e5cc71
refactor: push repositoryUrl down
2018-06-12 06:47:43 +02:00
Rhys Arkins
5166b86a1b
refactor: lookupUpdates return object not array
2018-06-12 06:45:57 +02:00
Rhys Arkins
688ec14b6a
refactor: datasource return array of releases
2018-06-11 14:28:50 +02:00
Rhys Arkins
45d0dcf492
fix: pass auto’d rangeStrategy to getNewValue
...
Closes #2111
2018-06-11 05:52:46 +02:00
Rhys Arkins
01d2fb3bca
feat: datasource wrapper ( #2100 )
...
Adds a wrapper to all datasources to provide a generic purl-based interface.
2018-06-08 10:49:08 +02:00
Ayoub Kaanich
697b80aaf0
feat: composer exact semver support (without lockfile updates) ( #1993 )
...
This PR adds the packagist datasource plus basic exact semver Composer support. Composer lockfile updating is not yet supported.
2018-06-08 06:15:13 +02:00
Rhys Arkins
5fd996c9cc
refactor: use isSingleVersion not isRange
2018-06-06 12:25:10 +02:00
Rhys Arkins
603b77799b
feat: refactor unpublishSafe for multiple package managers ( #2090 )
2018-06-06 11:04:54 +02:00
Ayoub Kaanich
f283104988
feat: use purl for pip requirements ( #2067 )
2018-06-05 11:26:08 +02:00
Rhys Arkins
96b4788697
tests: fix coverage
2018-06-05 11:22:21 +02:00
Rhys Arkins
bc652673ba
fix: properly handle null rollback
2018-06-05 10:48:38 +02:00
Rhys Arkins
05260a5b16
refactor: remove semver dependency from github datasource
...
Instead, perform isVersion filter in lookup
2018-06-05 08:15:11 +02:00
Connor Brathwaite
398303235b
(refactor): delegate generic predicate checking to @sindresorhus/is ( #2021 )
...
Closes #1764
2018-06-04 20:07:22 +02:00
Rhys Arkins
9fbaf9a3ca
fix: unpublishable / unpublishSafe
...
Corrected logic mistake and renamed unpublishable (internal) to canBeUnpublished to make it easier to follow logic.
Closes #2080
2018-06-04 14:56:47 +02:00
Rhys Arkins
0aaee7bd82
refactor: simplify lookup
2018-06-04 12:23:21 +02:00
Rhys Arkins
c21029ecbb
refactor: rename some versioning interface ( #2078 )
...
isPinnedVersion -> isVersion
rangify -> getNewValue
2018-06-04 06:03:21 +02:00
Rhys Arkins
d8cb261ecb
refactor: rename version -> value ( #2076 )
...
Renames currentVersion to currentValue, newVersion to newValue, newVersionMajor to newMajor, and newVersionMinor to newMinor.
2018-06-04 05:48:20 +02:00
Ayoub Kaanich
ec53ef78e9
refactor: lookup use versioning wrapper
2018-06-03 18:08:32 +02:00
Rhys Arkins
0523a6ef99
refactor: simplify filterVersions
2018-06-03 16:45:34 +02:00
Rhys Arkins
527c355b48
refactor: move getRangeStrategy to manager ( #2072 )
2018-06-03 14:25:05 +02:00
Rhys Arkins
5a8c9f57f6
logs: info not warn for no rollback
2018-06-01 17:51:14 +02:00
Rhys Arkins
784a0598b9
refactor: use options for github datasource
2018-06-01 15:32:17 +02:00
Rhys Arkins
bc7728f1d2
refactor: use purl.parse
2018-06-01 14:48:49 +02:00
Rhys Arkins
d02914fd3b
tests: update test for repositoryUrl
2018-06-01 10:11:42 +02:00
Rhys Arkins
e39cc9a584
feat: use purl for package lookups ( #2041 )
2018-06-01 09:02:51 +02:00
Rhys Arkins
54e4733ca5
refactor: fetch return if skipReason present
2018-05-31 21:02:07 +02:00
Rhys Arkins
d71639bbf8
refactor: fetch array or object
2018-05-29 10:27:41 +02:00
Rhys Arkins
7b149df595
logs: less debug
2018-05-28 22:25:33 +02:00
Rhys Arkins
d45f957cfd
refactor: defer isX upgrade classifications
2018-05-21 17:20:41 +02:00
Rhys Arkins
7f4cb4aa57
feat: rangeStrategy ( #1954 )
...
This PR replaces the existing `pinVersions`, `upgradeInRange` and `versionStrategy` settings with a single one: `rangeStrategy`.
Previously:
- `pinVersions` could be `true` or `false`, but defaulted to `null`, which meant that Renovate would decide. `true` meant that Renovate would replace existing ranges like `^1.0.0` with an exact/pinned version such as `1.2.0`.
- `upgradeInRange` could be true or false, default to false. If `true`, it would mean Renovate would replace an existing range like `^1.0.0` with something like `^1.2.0`
- `versionStrategy` could be `replace` or `widen` and was mainly used for `peerDependencies` to widen existing ranges, e.g. from `^1.0.0` to `^1.0.0 || ^2.0.0`
It was possible to set conflicting settings, e.g. configuring `pinVersions=true` and `upgradeInRange=true`.
Now, we combine them into a single setting: `rangeStrategy`:
- `auto` = Renovate decides (this will be done on a manager-by-manager basis)
- `pin` = convert ranges to exact versions
- `bump` = same as `upgradeInRange` previously, e.g. bump the range even if the new version satisifies the existing range
- `replace` = Same as pinVersions === false && upgradeInRange === false, i.e. only replace the range if the new version falls outside it
- `widen` = Same as previous versionStrategy==='widen'
2018-05-17 07:16:13 +02:00
Rhys Arkins
4f5896c908
refactor: monorepo -> internal-package
2018-05-15 13:46:41 +02:00
Rhys Arkins
409cd4adde
refactor: monorepoPackages -> internalPackages
2018-05-15 07:21:10 +02:00
Rhys Arkins
2b2b1d92ab
logs: packageFiles -> config
2018-05-14 07:56:17 +02:00
Rhys Arkins
eccef72b52
fix(npm): restore autodetect pinVersions
2018-05-09 18:17:11 +02:00
Rhys Arkins
ecdcd9df4f
feat: refactor dependency extraction ( #1912 )
...
Rewrite of dependency extraction, particularly for npm. Paves way for easier addition of new package managers.
Closes #1882
2018-05-09 08:03:59 +02:00
Rhys Arkins
ad16528fa0
fix: don’t debug branches when sorting
2018-05-07 13:21:46 +02:00
Rhys Arkins
2517c9f1d9
refactor: renovateRepository split ( #1928 )
2018-05-07 12:59:32 +02:00
Rhys Arkins
6431cf6861
refactor: move sortBranches
2018-05-07 07:59:53 +02:00