Commit graph

212 commits

Author SHA1 Message Date
Rhys Arkins
53ca91301f
chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
hussainweb
8f66b5ec3c
feat(composer): support stability modifiers (#6050) (#6057) 2020-05-01 13:03:50 +02:00
hussainweb
bbe29956a0
fix(composer): handle carets in the same way as tilde for ranges (#6093) 2020-05-01 07:43:45 +02:00
Rhys Arkins
fd886902a4
fix(bundler): handle complex delimeters (#6065) 2020-04-27 23:26:16 +02:00
Rhys Arkins
c7c24a661a fix(swift): proper replace from: syntax 2020-04-27 13:36:39 +02:00
Rhys Arkins
6bb76c53b6 fix(cargo): handle * getNewValue 2020-04-27 09:57:02 +02:00
Rhys Arkins
4d13074372 logs: info not warn for unknown versioning 2020-04-26 09:54:30 +02:00
Sergio Zharinov
5ea984ee7c
fix(maven): Fix invalid range extending (#6039) 2020-04-25 11:38:14 +02:00
Michael Kriese
60f74514e7
feat(versioning): docker unstable versions (#6041) 2020-04-24 10:06:21 +02:00
Rhys Arkins
bb78cded9f fix: Revert "feat(ruby): Switch to @renovate/ruby-semver library (#5116)"
This reverts commit dd0d11d68f.

# Conflicts:
#	package.json
#	yarn.lock
2020-04-16 15:02:25 +02:00
Sergio Zharinov
dd0d11d68f
feat(ruby): Switch to @renovate/ruby-semver library (#5116) 2020-04-16 08:01:15 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Rhys Arkins
967f9f6026 refactor(swift): use autoReplace 2020-04-08 11:13:42 +02:00
Michael Kriese
171876dceb
feat(internal): dynamic imports for versioning (#5896) 2020-04-07 10:43:25 +02:00
Sergio Zharinov
6853d95c62
fix(gradle): Special meaning for some qualifiers (#5831) 2020-03-30 14:48:48 +02:00
Sergio Zharinov
bb6ab0bed3
feat(gradle): gradle versioning scheme (#5789) 2020-03-29 18:22:08 +02:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Rhys Arkins
364163e7a0
fix: move tests into lib (#5635) 2020-03-05 21:57:24 +01:00
Rhys Arkins
fee7fa0d4e fix(hashicorp): check input before isValid 2020-03-05 11:53:30 +01:00
Michael Kriese
9c717d9d57
fix: lgtm suggestions (#5562) 2020-02-24 12:27:10 +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
8b6c5aa30f chore: lgtm lint 2020-02-22 07:13:12 +01:00
Rhys Arkins
485f66914e
feat: versionScheme -> versioning (#5504) 2020-02-18 08:34:10 +01:00
Rhys Arkins
5d88d3badf docs: improve versioning docs 2020-02-17 23:02:00 +01:00
Rhys Arkins
864e554db9
feat: dynamic manager config (#5392) 2020-02-07 18:25:27 +00:00
Sergio Zharinov
d650427319
fix(composer): Remove leading v in comparison (#5396) 2020-02-06 15:29:50 +00:00
Rhys Arkins
0ec6617b6d
feat: dynamic versionScheme import (#5393) 2020-02-06 13:23:24 +00:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Michael Kriese
8719f70dea
chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Sergio Zharinov
6bf18be2bf
fix: Don't modify git-tags datasource results (#5251)
Co-authored-by: Jared Kauppila <Jared@Kauppi.la>
2020-01-29 12:23:19 +01:00
Sergio Zharinov
0c7f95f0a7 fix(maven): Additional support for Service Release (SR) versions (#5194) 2020-01-24 14:23:41 +01:00
renovate[bot]
36a37dada8 chore(deps): update dependency prettier to v1.19.1 (#5169)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
ab9c666328 refactor(function): getNewValue Function (#5137) 2020-01-16 13:43:58 +01:00
Rhys Arkins
9dc7b867f3 fix(bundler): handle explicit equals replace 2020-01-15 04:45:00 +01:00
Rhys Arkins
91c23e91b1 fix(bundler): handle major range update 2020-01-14 17:37:19 +01:00
Rhys Arkins
234dd4ee37 fix(bundler): handle precision changes 2020-01-14 16:03:07 +01:00
Rhys Arkins
ba1806fd8f
fix(bundler): update common complex ranges correctly (#5143)
Fixes #5050
2020-01-14 14:16:58 +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
Sergio Zharinov
5df9d9a982 fix(maven): Fine-grained qualifier comparison (#5091) 2020-01-02 15:29:48 +00:00
Rhys Arkins
118a3452e2
fix(ruby): match precision for new ranges (#5035) 2019-12-21 10:59:07 +01:00
Rhys Arkins
e34ea67a4e fix: revert ruby changes
Potential memory leak, so reverting out of caution.
2019-12-14 09:31:22 +01:00
Sergio Zharinov
dafe5a653d feat(ruby): Switch to @renovate/ruby-semver library (#4861) 2019-12-11 17:10:18 +01:00
Sergio Zharinov
487058399a feat(ruby): Preserve whitespace delimiter when bumping range (#4966) 2019-12-11 13:51:48 +02:00
Sergio Zharinov
ab31e511fd feat(ruby): Allow versions with leading 'v' (#4965) 2019-12-11 10:25:54 +02:00
Jamie Magee
ae2f0f7c84 feat: Initial support for git submodules (#4605) 2019-11-28 20:04:54 +01:00
Michael Kriese
5dc990cfce fix(versioning): check for null version at regex (#4897) 2019-11-28 12:06:44 +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
Mark Raymond
5d01acc514 feat(nuget): add version scheme (#4749) 2019-11-01 20:10:33 +01:00
Rhys Arkins
5d77de825d fix(maven): support RELEASE and LATEST 2019-10-06 10:54:23 +02:00
Sergio Zharinov
982896d5d1 feat: Elixir support (#4496) 2019-10-04 09:13:14 +02:00
Rhys Arkins
8a4e5ccb12
fix: add try/throw within util/regex (#4453) 2019-09-09 12:21:01 +02:00
Michael Kriese
b0d1de8e59 fix: optional re2 package (#4367) 2019-08-25 14:29:51 +02:00
Kevin James
f27c53f4c8 fix(versioner): fixup regex rollback logic (#4358)
As described on Slack, the regex versioner is currently causing bad PRs
such as [this](https://github.com/TheKevJames/experiments/pull/8) since
it can not properly track the current version. By parsing the `range`
values with the same logic as the other version strings, eveverything
should match up properly.
2019-08-23 23:01:20 +02:00
Kevin James
e661e24e5f docs(regex): fixup regex docs (#4347) 2019-08-23 05:44:51 +02:00
Michael Kriese
8073612d85 feat(versioning): Add regex versioner (#4323)
The regex versioner supports arbitrary, user-defined versioning
methods; it provides building blocks in the way of interacting capture
groups within a user-defined regex which can be combined to support
arbitrary use-cases.

Uses a new `versionConfig` option to configure this scheme -- this
feature is enabled dynamically for any new versioner which includes the
optional `configure?(new_config: string)` interface. Warns if used with
an invalid scheme.
2019-08-22 20:09:23 +02:00
IKEDA Sho
3a2c041ce1 chore(maven): add more type annotations (#4301) 2019-08-17 21:21:14 +02:00
Michael Kriese
9037edf7a6 feat(versioning): add class based versioning schemes (#4293) 2019-08-15 09:51:16 +02:00
Rhys Arkins
77cd757bc9 fix(pep440): keep spacing consistency for complex ranges 2019-07-29 08:17:58 +02:00
Michael Kriese
6f99118f7c feat(manager): convert to typescript (#4148) 2019-07-25 08:17:19 +02:00
Rhys Arkins
14a3567809 tests: fix coverage 2019-07-22 14:26:12 +02:00
Michael Kriese
23e35a433d feat(versioning): convert to typescript (#4141) 2019-07-22 13:12:40 +02:00
Sergio Zharinov
781a929dd9 feat(maven): Support for pin strategy (#4127) 2019-07-22 11:17:43 +02:00
Michael Kriese
0fc566cfeb fix(ruby): fix versioning increment (#4144) 2019-07-22 09:55:58 +02:00
Jamie Magee
f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Sergio Zharinov
acd318a1d9 feat(swift): Support for Package.swift files (#3911) 2019-06-24 19:43:48 +03:00
Rhys Arkins
fd954f09c8 fix(composer): defensive versioning 2019-06-15 08:53:56 +02:00
Sergio Zharinov
edec4ad307 fix(maven): Fix comparing versions with leading zero (#3884) 2019-06-04 10:35:28 +02:00
Rhys Arkins
7ac3b07914 fix(python): default to rangeStrategy=replace
Use rangeStrategy=replace whenever an unsupported rangeStragegy is in use (e.g. update-lockfile).
2019-05-15 07:19:06 +02:00
Rhys Arkins
3461705e4c fix(maven): isVersion/isSingleVersion/isValid 2019-05-14 19:08:40 +02:00
Sergio Zharinov
d68da97edd feat(ivy): Add support for Ivy version scheme (#3541) 2019-04-22 12:53:01 +02:00
Sergio Zharinov
03df0cf8cd refactor: Maven versioning scheme (#3550) 2019-04-16 23:21:49 +02:00
Jamie Magee
05a46ddb4c fix: nodejs 11 support (#3549)
Due to an update in the v8 runtime, Node.js `Array.prototype.sort()` is now stable (See [here](https://github.com/nodejs/node/pull/22754#issuecomment-423452575)).

These changes allow for tests to pass on both Node.js 10 and 11.

Fixes #3445
2019-04-16 16:03:37 +02:00
Nikita Chashchinskii
9d74afe9f2 feat: Add support for python poetry manager (#3440) 2019-04-07 09:48:48 +03:00
Nikita Chashchinskii
6684a95c6b feat: Add poetry versioning code (#3432)
feat: Add poetry versioning code
2019-03-24 16:28:02 +01:00
Rhys Arkins
d4b300e8a2 fix(maven): add matches safety checks 2019-03-21 10:00:31 +01:00
Sergio Zharinov
6f7b6e42ba feat(maven): Add support for allowedVersions (#3421)
This PR implements version matching against Maven ranges

Closes #3411
2019-03-21 08:26:17 +01:00
Konstantin_Kurganov
1fc0a889fb feat: hex versioning (#3345) 2019-03-19 10:11:50 +01:00
Sergio Zharinov
be597e8d7f fix(maven): Allow leading qualifiers (#3357)
This PR allows exotic versions starting with letters

Closes #3350
2019-03-11 16:57:23 +01:00
Rhys Arkins
6ede22ab03 fix: lockfile-update => update-lockfile 2019-03-08 08:16:26 +01:00
renovate[bot]
3a7afd768f chore(deps): update dependency jest to v24 (#3316) 2019-03-07 12:38:59 +01:00
Rhys Arkins
b45ae59a2f refactor: debug not warn for unsupported range type 2019-03-06 16:00:21 +01:00
Rhys Arkins
a61f1ab5ce fix(composer): coerce version 2019-03-01 09:56:29 +01:00
Rhys Arkins
0f5acb27b7 tests: fix coverage 2019-02-28 10:23:36 +01:00
Rhys Arkins
009c58b65e tests: fix lint 2019-02-28 09:23:31 +01:00
Rhys Arkins
0ed684890a fix(composer): return toVersion when pinning 2019-02-28 09:14:42 +01:00
FidoX
53fb84878a fix(gradle): collect deps (#3270) 2019-02-26 21:46:32 +01:00
Sergio Zharinov
6694bdbb70 feat(maven): add maven ranges parsing (#3206) 2019-02-23 21:34:03 +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
34c8ebe486 fix(ruby): replace complex ranges 2019-01-13 11:08:11 +01:00
Rhys Arkins
ac63a5097c fix(ruby): isValid for complex ranges 2019-01-13 10:39:48 +01:00
Rhys Arkins
b01f7e64ca fix: improve versioning test 2019-01-07 23:56:18 +01:00
Rhys Arkins
3946365430 chore: alphabetical order 2019-01-07 16:55:27 +01:00
Rhys Arkins
e5cd1cd4b0 docs: add versioning readmes 2019-01-07 16:19:15 +01:00
Rhys Arkins
ef0ad09fe7 chore: move cargo comments 2019-01-07 15:00:32 +01:00
Rhys Arkins
6d09535c9f
feat: split out npm versioning from semver (#3023)
Closes #2069
2019-01-07 05:49:47 +01:00
Sergio Zharinov
94491ba0d0 feat: Implement auxiliary functions for maven versioning (#3028) 2019-01-05 17:32:55 +01:00
Rhys Arkins
56d55fb1dc feat: node versioning
Very basic at first. A slim wrapper around npm semver that normalizes versions.
2019-01-04 12:41:22 +01:00
Rhys Arkins
9e0cadb754 chore: add maven versioning skeleton 2019-01-04 10:18:47 +01:00
Sergio Zharinov
e9ee0179c5 feat: maven compare functions (#3020)
Adds comparator function, in readiness for full Ruby versioning support later.
2019-01-04 11:11:42 +02:00