Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Upgrade Elasticsearch.Net to 7.8.1 #343

Merged
merged 2 commits into from
Jul 9, 2020
Merged

Upgrade Elasticsearch.Net to 7.8.1 #343

merged 2 commits into from
Jul 9, 2020

Conversation

uvw
Copy link
Contributor

@uvw uvw commented Jul 8, 2020

What issue does this PR address?

Issue #340.

Does this PR introduce a breaking change?

None in Serilog.Sinks.Elasticsearch.

There were a few breaking changes in Elasticsearch.Net between v7.0.0–v7.8.1 but the sink is not affected by them as far as I could tell and test.

Please check if the PR fulfills these requirements

  • The commit follows our guidelines
  • Unit Tests for the changes have been added (for bug fixes / features)

Other information:

I had to introduce two extra changes for the upgrade:

  1. Upgrade Microsoft.CSharp v4.5.0 → v4.6.0 because it was upgraded in Elasticsearch.Net as well.
  2. Replace Elastic.Managed and Elastic.Xunit packages in the integration tests with the newer Elastic.Elasticsearch.Managed and Elastic.Elasticsearch.Xunit. The old packages were deleted from the Elastic Abstractions CI feed and not available anymore.

I ran the existing unit and integration tests (ES v6.0 and v7.8) on net461 (mono 6.10.0) and netcoreapp 2.1. I was not able to test on Windows since I don't have one atm. Hopefully, they will pass in CI on Windows 🙏

uvw added 2 commits July 8, 2020 15:18
Packages were renamed to Elastic.Elasticsearch.*.
Old versions were removed from the Elastic Abstractions CI feed.

Part of #340 fix.
@mivano mivano merged commit cba4101 into serilog-contrib:dev Jul 9, 2020
@mivano
Copy link
Contributor

mivano commented Jul 9, 2020

Thanks for the PR!

@uvw uvw deleted the elasticsearch-net-upgrade branch July 13, 2020 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants