Skip to content

build(deps): bump github.com/elastic/elastic-agent-libs from 0.22.0 to 0.23.1#9499

Closed
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1
Closed

build(deps): bump github.com/elastic/elastic-agent-libs from 0.22.0 to 0.23.1#9499
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 20, 2025

Bumps github.com/elastic/elastic-agent-libs from 0.22.0 to 0.23.1.

Release notes

Sourced from github.com/elastic/elastic-agent-libs's releases.

v0.23.1

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.23.0...v0.23.1

v0.23.0

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.22.2...v0.23.0

v0.22.2

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.22.1...v0.22.2

v0.22.1

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.22.0...v0.22.1

Commits
  • 0a783a4 [Windows] Rotate (rename) files with retries (#333)
  • e05664f Document GetOrCreateRegistry, deprecate NewRegistry (#343)
  • a46aee9 Replace global logger with local logger in monitoring/adapter (#341)
  • 10b7865 monitoring: fix race condition on New* variable functions (#339)
  • e412635 logp: enable go vet checks for printf directives (#340)
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.22.0 to 0.23.1.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.22.0...v0.23.1)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.23.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added automation skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Aug 20, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 20, 2025 16:16
@dependabot dependabot bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team automation skip-changelog labels Aug 20, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

1 similar comment
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@mergify
Copy link
Contributor

mergify bot commented Aug 20, 2025

This pull request does not have a backport label. Could you fix it @dependabot[bot]? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@ycombinator
Copy link
Contributor

ycombinator commented Aug 20, 2025

There is a breaking change introduced in v0.23.0 of elastic-agent-libs:

🔥 (Breaking Change) Replace global logger with local logger in monitoring/adapter by @​khushijain21 in elastic/elastic-agent-libs#341

Most of the changes to adapt to this breaking change are needed in Beats (which is a dependency of Agent). This PR makes those changes: elastic/beats#46054. So we need that PR to be merged first; then we can update the Beats dependency in Agent as part of this PR here.

There are also some changes needed in Agent to adapt to the breaking change. I've made those in e50a3cf as part of this PR here.

@ycombinator ycombinator force-pushed the dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1 branch from ec09458 to e50a3cf Compare August 20, 2025 18:25
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 4, 2025

A newer version of github.com/elastic/elastic-agent-libs exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@khushijain21
Copy link
Contributor

Completed by #9663

This can be closed

@pkoutsovasilis
Copy link
Contributor

@khushijain21 the team policy is to backport dependency bumps to all active branches, so I understand that for main this was handled in #9663 but what's the plan for all active branches?

@khushijain21
Copy link
Contributor

elastic-agent-libs will be bumped by similar automation PR's updating beats version in 8.19 and 9.1.

@pkoutsovasilis
Copy link
Contributor

elastic-agent-libs will be bumped by similar automation PR's updating beats version in 8.19 and 9.1.

ok cool these are covered, what about 9.0 and 8.18 branches?

@khushijain21
Copy link
Contributor

khushijain21 commented Sep 8, 2025

ok cool these are covered, what about 9.0 and 8.18 branches?

That is a little more complicated and goes back to a series of PR. Let me explain

So updating beats version in elastic-agent 9.0 draft PR fails because prometheus version bump was never backported to 9.0 [This PR] (elastic/beats#43540) .

Also, I don't think that currently elastic-agent's 9.0 branch is pointing to beats' 9.0 branch.
It is pointing to this commit in main - elastic/beats@6a467e25d3a5.

If it is in our plan to fix this - I think we should create a separate issue and track this

@kaanyalti
Copy link

@pkoutsovasilis @khushijain21 @ycombinator The elastic-agent-libs version in main is 0.24, so this PR is stale. Can we close it?

@mergify
Copy link
Contributor

mergify bot commented Sep 22, 2025

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1 upstream/dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1
git merge upstream/main
git push upstream dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1

@mergify mergify bot closed this Sep 22, 2025
@mergify
Copy link
Contributor

mergify bot commented Sep 22, 2025

This pull request has been automatically closed by Mergify.
There are some other up-to-date pull requests.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 22, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.23.1 branch September 22, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants