Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 1.89 KB

breaking.md

File metadata and controls

67 lines (54 loc) · 1.89 KB

Breaking changes

Upgrading to 3.0.0

  • BasicAuthUsername and BasicAuthPassword no longer exists as parameters and now needs to be configured through an authentication method.
  • DocumentIdSource no longer exists as a parameter and now needs to be configured through IndexOperationParams
  • Stopped support of .net 4.0

Upgrading to 2.0.4

BasicAuthUsername and BasicAuthPassword moved under AuthenticationMethod.

Old configuration:

<BasicAuthUsername>username</BasicAuthUsername>
<BasicAuthPassword>password</BasicAuthPassword>

Moved into AuthenticationMethod

<AuthenticationMethod>
    <!--For basic authentication purposes-->
    <Basic>
        <Username>Username</Username>
        <Password>Password</Password>
    </Basic>
    <!--For AWS ElasticSearch service-->
    <Aws>
        <Aws4SignerSecretKey>Secret</Aws4SignerSecretKey>
        <Aws4SignerAccessKey>AccessKey</Aws4SignerAccessKey>
        <Aws4SignerRegion>Region</Aws4SignerRegion>
    </Aws>
</AuthenticationMethod>

Upgrading to 2.0.0

The namespace has been changed from log4net.ElasticSearch to log4stash So you need to change the type attribute in the config file:

Old configuration:

<appender name="ElasticSearchAppender" type="log4net.ElasticSearch.ElasticSearchAppender, log4stash">
 <!-- ... -->
</appender>

New:

<appender name="ElasticSearchAppender" type="log4stash.ElasticSearchAppender, log4stash">
 <!-- ... -->
</appender>

Upgrading to 1.0.0

The definition of IElasticAppenderFilter has been changed, PrepareEvent has only one parameter and PrepareConfiguration's parameter type has changed to IElasticsearchClient.

see also