Skip to content

Commit

Permalink
Merge main from dependabot/dependabot-core (#277)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md

* v0.148.8

* Check version is correct before filtering ignored

This is yet another patch to handle edge-cases around filtering ignored
versions where the dependency is a git dependency and the version has
been initialised as a sha and therefore can't be used to filter ignored
versions.

* npm: handle latest version requirement

Handle `latest` version requirements which are valid in npm:

```
"dependencies": {
  "etag" : "latest"
}
```

* fix: remove duplicate method definition

* test: check if version constraint is fixed

* fix: use nil version for pessimistic constraints

* test: detect resolved version from the lockfile

* fix: parse version from terraform lock file

* refactor: collapse methods

* style: fix linter errors

* style: collapse lines

* test: add spec to parse provider metadata from a custom registry

* fix: remove check for public hostname

* style: remove unused let

* test: fetch providers versions from a custom registry

* fix: remove restriction to use registry.terraform.io

* test: fetch module versions from a custom registry

* style: fix linter errors

* fix: remove restriction to use registry.terraform.io

* refactor: make registry.terraform.io the default

* refactor: forward credentials to the registry client

* fix: inject Authorization header

* test: remove test that has been replaced

* build(deps-dev): bump jest in /npm_and_yarn/helpers

Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.0.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](jestjs/jest@v26.6.3...v27.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Terraform: Do not set dependency.version for version ranges

When a dependency specifies a version range, we do not want to set the
dependency objects version, as we cannot reliably determine it. Instead,
we need to rely on the _requirement_. For example, `~> 2.0` is not a
valid _version_, so when parsing it, we should set the `version`
attribute to nil.

This was already handled for terraform modules, but not for providers.

* v0.148.9

* Composer: fix git clone error in lockfile updater

Fix error matching for `GitDependenciesNotReachable` in the lockfile
updater.

We're still seeing the error I tried to fix in the version resolver:
dependabot#3779

It looks like we need to match the same error in the lockfile updater as
it might raise for a dependency we're not trying to update.

Sharing the constant doesn't feel ideal. It would be better to extract
the error handling to something we can share between the lockfile
updater and version resolver but wanted to get this fix in to improve
our error rate.

* Yarn: use .yarnrc file if present

Fixes a bug when trying to force yarn to use `registry.npmjs.org`
instead of `registry.yarnpkg.com`.

Previously if a .yarnrc file was present with registry `registry
"https://registry.npmjs.org"` it would be ignored during updates as we
run yarn programtically and didn't instruct it to use the config file.

I've also tested a dry-run without a `.yarnrc` file present.

* v0.148.10

* v0.149.0

* Bundler: Update bundler to 2.2.18

https://github.com/rubygems/rubygems/blob/master/bundler/CHANGELOG.md#2218-may-25-2021

* Bundler: Fix ruby version patch for 2.2.18

Bundler 2.2.18 no longer loads all specs from remote sources when
building the source requirements. This is where we used to hook into to
patch up any required ruby version before building the source
requirements.

This changes the patch to prepend this behavior to the
`source_requirements` method.

* v0.149.1

* Tests: avoid squatted repositories

A few repositories we expect not to exist on npm have been squatted.
Where possible this updates those tests to use a namespace that we own,
and for one fixture we explicitly tested against an unscoped package,
those tests have been removed as we do not expect behavior to differ
between scoped and unscoped packages.

* gomod: UpdateChecker - handle invalid module path error on update

* Bump eslint from 7.26.0 to 7.27.0 in /npm_and_yarn/helpers

Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

* v0.149.2

* bump elixir version from 1.10.4 -> 1.11.4

* Bump to latest ruby versions

This includes:
  - 2.5.9
  - 2.6.7
  - 2.7.3
  - 3.0.1

* poetry: support pyproject.toml indentation

* Tests: Rename non-existent go package name to domain we own

To prevent name squatting

* Bundler: handle gemspec req ruby version ranges

Handle `required_ruby_version` ranges in gemspecs:
`required_ruby_version = ">= 2.2, < 4.0"` and
`required_ruby_version = Gem::Requirement.new(">= 2.1.8", "< 4.0.0")`

This would previously raise a `Gem::Requirement::BadRequirementError`.

Note: The `Bundler::Requirement` class splits requirements by `,`.

I've done an audit of other uses of `Gem::Requirement` but these seem ok
as we control the range we create so shouldn't run into similar bugs
there.

* v0.149.3

* test: ensure terraform HTTP API service discovery is performed

* fix: perform service discovery

https://www.terraform.io/docs/internals/remote-service-discovery.html#discovery-process

* chore: update vcr fixtures to include service discovery requests

* fix: perform service discovery for provider API

* fix: use service discovery to find metadata

* style: fix linter errors

* chore: remove unused code

* refactor: delegate to instance method instead of variable

* test: add service discovery to fixtures

* test: stub service discovery lookup

* build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

Bumps [@npmcli/arborist](https://github.com/npm/arborist) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/npm/arborist/releases)
- [Changelog](https://github.com/npm/arborist/blob/main/CHANGELOG.md)
- [Commits](npm/arborist@v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: "@npmcli/arborist"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump jest in /npm_and_yarn/helpers

Bumps [jest](https://github.com/facebook/jest) from 27.0.1 to 27.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](jestjs/jest@v27.0.1...v27.0.3)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump composer/composer from 2.0.12 to 2.0.14 in /composer/helpers/v2

Bumps [composer/composer](https://github.com/composer/composer) from 2.0.12 to 2.0.14.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](composer/composer@2.0.12...2.0.14)

Signed-off-by: dependabot[bot] <support@github.com>

* refactor: extract method to build url

* refactor: raise a DependabotError instead of RuntimeError

* Update terraform/lib/dependabot/terraform/registry_client.rb

Co-authored-by: Pete Wagner <1559510+thepwagner@users.noreply.github.com>

* fix: expand absolute urls in service discovery

* test: relative and missing service urls

* fix: raise error for unsupported schemes

* refactor: replace usages of RuntimeError with DependabotError

* test: collapse subject and before blocks

* test: metadata endpoint is not found

* test: follow redirect to metadata endpoint

* test: reproduce bug that occurs when updating a module

* fix: update regex to match on optional hostname declaration

* style: fix linter errors

* test: remove non-essential elements from fixture

* fix: match provider source addresses with optional hostname

* style: fix linter errors

* Bundler tests: Use git sources for organizations that we own

Bundler git dependencies have the possibility to execute code during the
installation phase, to ensure this does not happen in our test suite,
this updates any tests that pull in a git dependency to reference an
organization/account that we own.

This has the added benefit of protecting us against those repositories
being renamed, moved or deleted.

* Update terraform/lib/dependabot/terraform/file_updater.rb

Co-authored-by: Jurre <jurre@github.com>

* v0.149.4

* refactor: raise PrivateSourceAuthenticationFailure instead of DependabotError

* chore(deps-dev): update rubocop requirement from ~> 1.15.0 to ~> 1.16.0

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump composer/composer in /composer/helpers/v2

Bumps [composer/composer](https://github.com/composer/composer) from 2.0.13 to 2.0.14.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](composer/composer@2.0.13...2.0.14)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Enable automerge on dependabot pull requests

Enable automerge on dependabot pull requests if the PR. This won't actually merge the PR, it will still require an approval from a team member.

* Update .github/workflows/dependabot-automerge.yml

* Update .github/workflows/dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* Update dependabot-automerge.yml

* build(deps): bump detect-indent in /npm_and_yarn/helpers

Bumps [detect-indent](https://github.com/sindresorhus/detect-indent) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/detect-indent/releases)
- [Commits](sindresorhus/detect-indent@v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: detect-indent
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Hex tests: Use git dependencies of repositories we own

To prevent these repositories from being squatted or from otherwise changing
under our feet in unexpected ways, prefer using repositories that we own
as git dependencies in our tests.

* v0.149.5

* build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

Bumps [@npmcli/arborist](https://github.com/npm/arborist) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/npm/arborist/releases)
- [Changelog](https://github.com/npm/arborist/blob/main/CHANGELOG.md)
- [Commits](npm/arborist@v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: "@npmcli/arborist"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump dependabot/fetch-metadata from 1.0.2 to 1.0.3

Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](dependabot/fetch-metadata@v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Install Terraform in docker shell

Co-authored-by: mo khan <xlgmokha@github.com>

* Ignore .terraform and .terraform.lock.hcl

Co-authored-by: mo khan <xlgmokha@github.com>

* Add file selectors for lockfiles

Co-authored-by: mo khan <xlgmokha@github.com>

* Create lockfile fixture

Co-authored-by: mo khan <xlgmokha@github.com>

* Update all lockfile dependencies with `terraform init -upgrade`

Co-authored-by: mo khan <xlgmokha@github.com>

* Create test for lockfile update

* Update lockfile dependencies one at a time using `terraform providers lock`

* Fix FileUpdater test

* Create versions.tf, remove versioning from main.tf

* Pin lockfile version and constraint, add provider dependency

* Add expected lockfile for hashicorp/random

* Parse provider source strings

* Update lockfiles when provider dependencies are updated

* Add lockfile to the fetched_files array in FileFetcher

* Add lockfile to updated_dependency_files array in FileUpdater

* Add codepath for source type 'lockfile' in FileUpdater

* Add tests for versions.tf dependency updates with and without a lockfile

* fix: support github urls that are not pinned

e.g.

```json
{
  "name": "foo",
  "version": "0.0.0",
  "dependencies": {
    "express": "expressjs/express",
    "mocha": "mochajs/mocha#4727d357ea",
    "module": "user/repo#feature\/branch"
  }
}
```

* https://docs.npmjs.com/cli/v7/configuring-npm/package-json#github-urls

* Update hashicorp/aws to a valid version in file_parser_spec test

* Run shell commands with escaped arguments

Co-authored-by: Philip Harrison <philip@mailharrison.com>

* Inline expected values for lockfile tests

* Fix FileUpdater test version and name issues

* Update FileFetcher#lock_file and FileSelector#lock_file to use FileSelector#lock_file?

* Add UpdateChecker#lockfile_dependency?

* Add test for lockfile parsing to FileParser

* Pass filename to update_lockfile_declaration

* Modify FileParser#build_lockfile_dependency to update context in place

* Fix line endings for version.tf test

* Patch invalid registry source FileParser test

* Update FileSelector#terragrunt_file? to use the lock_file? method

Co-authored-by: Jurre <jurre@github.com>

* Modify registry_source_details_from

* Do not include lockfile in directory when updating a lockfile dependency

* Update tests to new provider version, reflect prefer_lockfile_source

* Ensure the lockfile version changes

Co-authored-by: Jurre Stender <jurre@github.com>

* Check lockfile exists before adding to updated_files, fix short-circuit bug

Co-authored-by: Jurre Stender <jurre@github.com>

* Merge get(endpoint:) function from main

* Update tests to reflect latest version

* Rubocop linting

* build(deps-dev): bump prettier in /npm_and_yarn/helpers

Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump eslint in /npm_and_yarn/helpers

Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump composer/composer in /composer/helpers/v2

Bumps [composer/composer](https://github.com/composer/composer) from 2.0.14 to 2.1.1.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](composer/composer@2.0.14...2.1.1)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Delete automerge until PR state issue is fixed

* build(deps-dev): bump jest in /npm_and_yarn/helpers

Bumps [jest](https://github.com/facebook/jest) from 27.0.3 to 27.0.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](jestjs/jest@v27.0.3...v27.0.4)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix error message matches

* v0.150.0

* Fix nuget spec

* build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v2

Bumps [friendsofphp/php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) from 2.19.0 to 3.0.0.
- [Release notes](https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/3.0/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v2.19.0...v3.0.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Rename config file

* Pin erlang to OTP 23 until we can resolve OTP 24 warning issues

* test: pin assertions to the latest HEAD commit

* Remove copy_dir_to_temp_directory, use SharedHelpers inline

* Revert dependabot/FileUpdaters/base changes, reimplement in terraform/FileUpdater

* Revert changes to registry_source_details_from

There is a separate function to get provider source details. This commit removes checks for provider sources from the registry source details function

* v0.151.0

* Memoize update_lockfile_declaration method by dependency

* Rubocop

* v0.151.1

* build(deps): bump composer/composer in /composer/helpers/v2

Bumps [composer/composer](https://github.com/composer/composer) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/composer/composer/releases)
- [Changelog](https://github.com/composer/composer/blob/master/CHANGELOG.md)
- [Commits](composer/composer@2.1.1...2.1.2)

---
updated-dependencies:
- dependency-name: composer/composer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add retry for Azure client POST

* Use double quotes to avoid extra backslashes for escaping.

* Remove lockfile_dependency? from UpdateChecker

* Revert consul/aws invalid module test

* Revert splitting case statement

* Remove dependency argument from update_lockfile_declaration

* Remove checks for lockfile in updated_dependency_files

* Remove lockfile_changed? method

* Remove memoization for update_lockfile_declaration

* Move lock_file.empty? check to update_lockfile_declaration method

* build(deps): bump pipenv from 2018.11.26 to 2021.5.29 in /python/helpers

Bumps [pipenv](https://github.com/pypa/pipenv) from 2018.11.26 to 2021.5.29.
- [Release notes](https://github.com/pypa/pipenv/releases)
- [Changelog](https://github.com/pypa/pipenv/blob/master/CHANGELOG.rst)
- [Commits](pypa/pipenv@v2018.11.26...v2021.5.29)

---
updated-dependencies:
- dependency-name: pipenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Replace FileSelector#lock_file select with find

Co-authored-by: Philip Harrison <feelepxyz@github.com>

* Refactor FileFetcher#lock_file

Co-authored-by: Philip Harrison <feelepxyz@github.com>

* Remove RegistryClient#get

Co-authored-by: Philip Harrison <feelepxyz@github.com>

* Invert updated_content guard

Co-authored-by: Philip Harrison <philip@mailharrison.com>

* Add a test to check updated_dependency_files doesn't return a lockfile if it doesn't change

Co-authored-by: Philip Harrison <feelepxyz@github.com>

* Rubocop, remove commented out code

* Drop python 2.x support and fix pipenv 2021.5.29 tests and

Python 2 has been unsupported for a year and a half now, pip 21 no
longer supports it and we see pretty small usage numbers at GitHub.
Maintaining support for it has become increasingly harder, and this
pipenv upgrade made it even more cumbersome.

It's been a good ride, python 2. See ya!

* Pin Terraform version

* Upgrade pip to 21.1.2 and pip-tools to 6.1.0

https://github.com/jazzband/pip-tools/blob/master/CHANGELOG.md#610-2021-04-14

https://pip.pypa.io/en/stable/news/#v21-1-2

* Add lockfile as an array to file_fetcher

* Add lockfile test to FileFetcher

* v0.152.0

* Add instruction to checkout new branch

* DependencyFileNotParseable error with useful message for old terraform  provider syntax

* Check if old provider syntax using is_a? instead of respond_to?

* Add test case for hcl1 provider syntax

* Terraform: patch up tests

These tests pull in the latest version of `hashicorp/aws`, which just
updated.

We should look into replacing this to use a provider that we own, so
that we don't end up having to keep up with whatever aws is releasing.

* Tests: Allow profiling tests with stackprof when tagged

This adds the ability to tag a spec with `:profile`:

```ruby
it "profiles with rspec", :profile do
  # ..
end
```

And will then generate a stackprof dump in the `tmp` directory.

This is useful when debugging performance issues.

* Modify fixture name

* v0.152.1

Co-authored-by: Philip Harrison <philip@mailharrison.com>
Co-authored-by: Jurre Stender <jurrestender@gmail.com>
Co-authored-by: Jurre <jurre@github.com>
Co-authored-by: mo khan <mo@mokhan.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David McIntosh <804610+mctofu@users.noreply.github.com>
Co-authored-by: Philip Ross <philipr@synopsys.com>
Co-authored-by: Edgar Tinajero <24572406+cetinajero@users.noreply.github.com>
Co-authored-by: Pete Wagner <1559510+thepwagner@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nish Sinha <nishnha@github.com>
Co-authored-by: mo khan <xlgmokha@github.com>
Co-authored-by: Alekhya Yalla <alekhyayalla@microsoft.com>
Co-authored-by: Philip Harrison <feelepxyz@github.com>
  • Loading branch information
15 people authored Jun 14, 2021
1 parent 6a42e34 commit a7b70ee
Show file tree
Hide file tree
Showing 477 changed files with 14,122 additions and 9,669 deletions.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/migration-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: "Dependabot Preview migration issue"
about: Having issues migrating from Dependabaot Preview? Here's the place to get help!
title: ''
labels: 'E: preview-migration'
assignees: '@dependabot/preview-migration-reviewers'

---

<!--
Please search existing issues to avoid creating duplicates. Several issues for common feature requests already exist, including:
- `live` schedule support: https://github.com/dependabot/dependabot-core/issues/3488
- `automerge` support: https://github.com/dependabot/dependabot-core/issues/2268
-->

<!-- If your issue is unrelated to the above, please provide us as much information as possible to help us provide a quick fix -->

## Basic info:

**Package ecosystem**
<!-- npm, docker, bundler, etc. -->
**Package manager version**
<!-- If applicable, specify the package manager version you're using (e.g., npm 7.1, pip-compile 5.0, etc.) -->
**Language version**
<!-- If applicable, specify the language version you're using (e.g., node 14.1, Ruby 2.7, etc. ) -->
**Manifest location and content prior to update**
<!-- If applicable, specify the path to each manifest file (/client/package.json, /Gemfile, etc.) -->
<!-- If applicable, attach each manifest file or provide a link to each manifest file -->
**Updated dependency**
<!-- If applicable, the dependency name and to and from versions -->
**Native package manager behavior**
<!-- If applicable, what output do you see when you update the dependency using the native package manager (e.g., bundler, npm, etc.)? -->
**Images of the diff or a link to the PR, issue or logs**
<!-- If applicable, add links to public PR's or Issues that Dependabot opened, and/or paste in any related logs -->

## Previous behavior in Dependabot Preview:

<!-- Please include your `.dependabot/config.yml` as well as logs, etc. -->

## Current behavior in GitHub-native Dependabot:

<!-- Please include your `.github/dependabot.yml` as well as logs, etc. -->

4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ updates:
directory: "/go_modules/helpers"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request:
branches:
- "**"
permissions:
contents: read
jobs:
ci:
name: CI
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+

permissions:
contents: read
jobs:
push-core-image:
name: Push dependabot-core image to docker hub
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+

permissions:
contents: read
jobs:
release-gems:
name: Release gems to rubygems.org
Expand Down
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Layout/DotPosition:
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false

Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent

Layout/FirstHashElementIndentation:
EnforcedStyle: consistent

Layout/LineLength:
Max: 120

Expand Down
258 changes: 258 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,261 @@
## v0.152.1, 11 June 2021

- Tests: Allow profiling tests with stackprof when tagged
- Throw an error when using the deprecated terraform provider syntax, include upgrade instructions
- Update `bump-version` with instructions to checkout the new branch

## v0.152.0, 10 June 2021

- Python: Upgrade pip to 21.1.2
- Python: Upgrade pip-tools to 6.1.0
- Python: Drop python 2.x support
- Python: Upgrade pipenv to 2021.5.29
- Terraform: Add support for lockfiles
- Terraform: Upgrade and pin Terraform to version 1.0.0

## v0.151.1, 7 June 2021

fix(npm): Prevent unnecessary hash pinning in lock file constraint

## v0.151.0, 7 June 2021

- Pin erlang to OTP 23 until we can resolve OTP 24 warning issues
- build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v2

## v0.150.0, 7 June 2021

- build(deps): bump composer/composer from 2.0.14 to 2.1.1 in /composer/helpers/v2
- build(deps-dev): bump jest in /npm_and_yarn/helpers
- build(deps-dev): bump eslint in /npm_and_yarn/helpers
- build(deps-dev): bump prettier in /npm_and_yarn/helpers
- build(deps): bump dependabot/fetch-metadata from 1.0.2 to 1.0.3
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

## v0.149.5, 2 June 2021

- build(deps): bump detect-indent in /npm_and_yarn/helpers
- chore(deps): bump composer/composer in /composer/helpers/v2
- chore(deps-dev): update rubocop requirement from ~> 1.15.0 to ~> 1.16.0
- refactor(Terraform): raise PrivateSourceAuthenticationFailure instead of DependabotError
- build(deps-dev): bump jest in /npm_and_yarn/helpers
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

## v0.149.4, 1 June 2021

- fix(Terraform): use service discovery protocol
- fix(Terraform): parse optional hostname from module/provider source address
- Bump composer/composer from 2.0.12 to 2.0.14 in /composer/helpers/v2
- poetry: support pyproject.toml indentation

## v0.149.3, 28 May 2021

- Bundler: handle required ruby version ranges in gemspecs
- Bundler: Bump to latest ruby versions
- Elixir: Bump version from 1.10.4 -> 1.11.4
- gomod: UpdateChecker - handle invalid module path error on update
- Composer: handle git clone error in lockfile updater
- Bump eslint from 7.26.0 to 7.27.0 in /npm_and_yarn/helpers

## v0.149.2, 27 May 2021

- Tests: avoid squatted repositories

## v0.149.1, 27 May 2021

- Bundler: Fix ruby version patch for 2.2.18
- Bundler: Update bundler to 2.2.18

## v0.149.0, 26 May 2021

- Terraform: Use registry credentials

## v0.148.10, 26 May 2021

- Yarn: use .yarnrc file if present
- npm: handle latest version requirement

## v0.148.9, 26 May 2021

- Terraform: Do not set dependency.version for version ranges
- Terraform: Parse lockfiles to get exact version when present

## v0.148.8, 25 May 2021

- Composer: handle unreachable git vcs source
- Terraform: handle implicit (v0.12 style) provider sources

## v0.148.7, 25 May 2021

- npm: Handle multiple sources in the update checker
- Composer: Handle invalid composer.json

## v0.148.6, 21 May 2021

- Handle nil dependency version when raising AllVersionsIgnored

## v0.148.5, 21 May 2021

- Terraform: Fix updating multiple providers
- Dockerfile: split up native helper build steps

## v0.148.4, 21 May 2021

- Terraform: Improve updating provider requirements
- Bundler 2: No longer bump yanked gems when updating dependency
- Upgrade bundler to 2.2.17
- Bump @npmcli/arborist from 2.5.0 to 2.6.0 in /npm_and_yarn/helpers

## v0.148.3, 19 May 2021

- fix(common): skip validation on non-git sources
- fix(npm/yarn): prefer private registries over public ones

## v0.148.2, 19 May 2021

- Terraform: Fix finding metadata for providers

## v0.148.1, 19 May 2021

- npm: Handle nested workspace dependencies installed in the top-level
`node_modules` folder

## v0.148.0, 19 May 2021

- Terraform: Support provider updates
- Terraform: Extract RegistryClient for communicating with terraform registry
- Go modules: Replace custom helper with `go get -d lib@version` @jeffwidman

## v0.147.1, 18 May 2021

- Terraform: remove legacy terraform feature flag
- Terraform: Clean up support for legacy terragrunt files
- Hex: Fix version resolver specs
- Update rubocop requirement from ~> 1.14.0 to ~> 1.15.0 in /common
- Bump phpstan/phpstan from 0.12.85 to 0.12.88 in /composer/helpers/v1
- Bump phpstan/phpstan from 0.12.85 to 0.12.88 in /composer/helpers/v2
- build(deps-dev): bump eslint in /npm_and_yarn/helpers
- build(deps-dev): bump prettier in /npm_and_yarn/helpers
- build(deps): bump flake8 from 3.9.1 to 3.9.2 in /python/helpers
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

## v0.147.0, 13 May 2021

- Switch HCL2 parser to be the default for Terraform. Supports Terraform v0.12+ [(#3716)](https://github.com/dependabot/dependabot-core/pull/3716)

## v0.146.1, 12 May 2021

- Actions: skip equivalent shorter semver tags, such as `v2` and `v2.1.0`
- Python: Run all pip-compile commands with options @JimNero009
- Terraform (prerelease): Handle terragrunt HCL files

## v0.146.0, 10 May 2021

- go_modules: Refactor go module version finder specs
- all: Filter lower versions when checking ignored versions
- Terraform: Document and improve coverage for RequirementsUpdater
- Revert "docker: FileParser consider image prefix/suffixes as unique"

## v0.145.4, 10 May 2021

- Actions: accept semver versions
- Actions: detect workflow steps pinned to semver versions

## v0.145.3, 7 May 2021

- go_modules: Gracefully handle +incompatible versions when checking for updates

## v0.145.2, 7 May 2021

- Nuget: Handle paginated v2 nuget api responses
- maven: allow security updates to multi-dependency properties
- build(deps): bump lodash
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers
- build(deps-dev): update rubocop requirement from ~> 1.13.0 to ~> 1.14.0

## v0.145.1, 5 May 2021

- go_modules: don't filter the current version
- terraform: move fixtures to project folders
## v0.145.0, 5 May 2021

- go_modules: support version ignores
- Dev env: mount go helper source in dev shell
- docker: FileParser unique suffixes
- go_modules: helper updates
- GitHub PullRequestCreator: prepend refs/
- build(deps): bump github.com/dependabot/gomodules-extracted

## v0.144.0, 5 May 2021

- Elm: Drop support for Elm 0.18
- Commom: Handle nil dependency version when generating ignored versions
- Python: allow comments when parsing setup.cfg
- go_modules: stub consistently and ignore invalid modules
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers
- build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v1
- build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v2

## v0.143.6, 30 April 2021

- Common: version-update:semver-major ignores all major version updates
- Document how to run tests within the dev docker container
- go_modules: Make error output more idiomatic
- Create CODE_OF_CONDUCT.md
- Common: IgnoreCondition: handle multi-length semver ranges
- Common: IgnoreCondition: don't ignore current version when ignoring patches

## v0.143.5, 29 April 2021

- gradle: only treat commit-like versions as git repositories
- dry-run: change SECURITY_ADVISORIES to kebab-case
- go_modules: helper improvements @jeffwidman
- go_modules: require go.16 for helpers @jeffwidman
- go_modules: use go1.16.3 @jeffwidman
- docker: handle versions generated with `git describe --tags --long` @kd7lxl
- build(deps): bump composer/composer in /composer/helpers/v1
- build(deps-dev): bump phpstan/phpstan in /composer/helpers

## v0.143.4, 26 April 2021

- Common: Add IgnoreCondition.security_updates_only, which disables version updates filtering
- build(deps-dev): bump eslint-config-prettier in /npm_and_yarn/helpers
- build(deps-dev): bump eslint in /npm_and_yarn/helpers

## v0.143.3, 23 April 2021

- Common: Do not transform update_types in IgnoreCondition
- build(deps): bump @npmcli/arborist in /npm_and_yarn/helpers

## v0.143.2, 22 April 2021

- Dependabot::Config::IgnoreCondition support dependency wildcards
- Dependabot::Config::IgnoreCondition support `update-types`
- go_modules: clarify comment @jeffwidman

## v0.143.1, 21 April 2021

- Gradle/Maven: Handle ruby style requirements with maven version
- Bundler: Add missing requirement_class for bundler latest version checker
- Add IgnoreCondition#dependency_name
- Dependabot::Config::File parse ignore_conditions
- Dependabot::Config::File parse commit_message_options

## v0.143.0, 21 April 2021

- Python: Add support for updating `setup.cfg` files @honnix
- Gomod: Run `go mod tidy` with flag to allow errors
- Handle ruby and package manager specific version requirements from ignore conditions
- build(deps): bump poetry from 1.1.4 to 1.1.6 in /python/helpers
- build(deps-dev): update rubocop requirement from ~> 1.12.0 to ~> 1.13.0
- build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v1
- build(deps-dev): bump friendsofphp/php-cs-fixer in /composer/helpers/v2
- build(deps-dev): bump phpstan/phpstan in /composer/helpers/v1
- build(deps-dev): bump phpstan/phpstan in /composer/helpers/v2
- dry-run: fetch ignore conditions and commit_message_options from `dependabot.yml` config file
- dry-run: set ignore conditions from `IGNORE_CONDITIONS` env
- Chore: Refactor `new_branch_name` function in branch_namer @milind009
- Bundler: Remove unused `using_bundler2` arg from v1 helpers

## v0.142.1, 16 April 2021

- Update npm from 7.7.4 to 7.10.0
Expand Down
Loading

0 comments on commit a7b70ee

Please sign in to comment.