libsisimai-perl (5.2.0-1) unstable; urgency=medium

  From upstream changes for 5.2.0
  - **Keep compatibility with the Go language version of Sisimai** #547 #558 #567
    - **BREAKING CHANGES AT EXTERNAL USER APIs**
        - Changes in accessors of `Sisimai::Fact` and key names in JSON string
          - `smtpagent` has been renamed to `decodedby` #548
          - `smtpcommand` has been renamed to `command` #548
          - Removed accessors/keys are still available until v5.5.0
          - New accessor and key `feedbackid`, it is a field for the `Feedback-ID:` header of the
            original message #568
        - New bounce reason `Sisimai::Reason::Suppressed`
        - New bounce reason `Sisimai::Reason::FailedSTARTTLS` #562
    - **THERE ARE SOME BREAKING CHANGES AT INTERNAL APIs**
    - `Sisimai::SMTP::Error` has been renamed to `Sisimai::SMTP::Failure` and the following methods
      implemented: #542
      - `is_temporary()`
      - `is_hardbounce()`
      - `is_softbounce()`
      - `soft_or_hard()` has been removed
    - Changes in `Sisimai::Rhost`
      - `get()` method has been renamed to `find()`
      - Fix bug in code to check the domain part of an email address as a remote hostname
      - Add a new error message pattern: `hosted tenant which has no mail-enabled subscriptions'`
        in `Sisimai::Rhost::Microsoft`
      - Implement `name()` method
      - Bug fix in `Sisimai::Rhost::Facebook`
    - Remove `hardbounce` accessor from `Sisimai::Lhost` #555
    - Implement `Sisimai::RFC3464::ThirdParty`
    - Remove the following MTA modules from `Sisimai::Lhost` #557
      - `Sisimai::RFC3464` can decode a bounce mail returned from services/MTAs below #551
        - Amavis
        - AmazonWorkMail
        - Aol
        - Barracuda
        - Bigfoot
        - Facebook #545
        - McAfee
        - MessageLabs
        - Outlook
        - PowerMTA
          - Some codes for checking heaaders have been moved to `Sisimai::RFC3464::ThirdParty`
        - ReceivingSES
        - SendGrid
        - SurfControl
        - X5
        - Yandex
      - `Sisimai::Lhost::Exim` can decode a bounce mail returned from services/MTAs below
        - MailRu
        - MXLogic
      - `Sisimai::Lhost::qmail` can decode a bounce mail returned from services/MTAs below
        - X4
        - Yahoo
      - `Sisimai::Lhost::Exchange2007` can decode a bounce mail returned from Office365 #553
    - `Sisimai::Lhost::GSuite` has been renamed to `Sisimai::Lhost::GoogleWorkspace`
    - `Sisimai::Lhost::AmazonSES` decodes only JSON formatted bounce mail notified from Amazon SNS
      - The bounce mail from Amazon SES which have no JSON string is decoded by `Sisimai::RFC3464`
    - Each error code table of the following MTA modules (removed at issue #557) have been moved to
      `Sisimai::Rhost::*` #559
      - Aol
      - Facebook
      - GSuite
      - MessageLabs
      - Outlook
    - `Sisimai::MDA` has been renamed to `Sisimai::LDA`
    - `Sisimai::RFC791` for the IPv4 address implemented #560
      - `Sisimai::String->ipv4` has been moved/renamed to `Sisimai::RFC791->find`
      - Implement `Sisimai::RFC791->is_ipv4address`
    - `Sisimai::RFC1123->is_validhostname()` has been renamed to `is_internethost()`
    - Implement `Sisimai::RFC1123->find()`
    - #552 `Sisimai::RFC1894->field()` method detect a comment string (returns an array which have
      5 elements: ["field-name", "value-type", "value", "field-group", "comment"])
    - `Reporting-MTA` indicates `lhost` in `Sisimai::RFC1894` (bug fix)

 -- gregor herrmann <gregoa@debian.org>  Sat, 01 Mar 2025 22:11:34 +0100

libsisimai-perl (5.1.0-1) unstable; urgency=medium

  From upstream Changes for 5.1.0:
  - #531 #535 Remove v4 compatible features
    - `Sisimai->make()`
    - `Sisimai::Fact->softbounce()`
  - #523 Consolidate error messages scattered under `Sisimai::Reason::*` into
    `Sisimai::Rhost::*` classes for each email service

 -- gregor herrmann <gregoa@debian.org>  Sun, 28 Jul 2024 20:25:42 +0200

libsisimai-perl (5.0.1-1) unstable; urgency=medium

  From upstream Changes for 5.0.0:

  - **INCOMPATIBLE CHANGES SINCE SISIMAI VERSION 4**
    - Sisimai version 5 requires Perl 5.26 or later
      - #446, 448 Use the postfix dereference
    - `Sisimai->make` marked as obsoleted, use `Sisimai->rise` instead
    - Sisimai does not return the result which reason is `vacation` by
      default. Use `vacation => 1` option at `Sisimai->rise()` method to get
      the parsed results for `vacation` reason. #436 #437
    - `Sisimai::Data` and `Sisimai::Fact`
      - #419, #420 `Sisimai::Data` class has been renamed to `Sisimai::Fact`
      - #402 `Sisimai::Data->softboucne` marked as obsoleted and will be
        removed at v5.1.0, use `Sisimai::Fact->hardbounce` instead
    - #401 `Sisimai::Message`
      - `Sisimai::Message` no longer create an object
      - `Sisimai::Message->make` has been renamed to `Sisimai::Message->rise`
    - #399 Callback feature
      - Parameter `hook` for a callback has been removed from `Sisimai->make`
        and `Sisimai->dump`. Use the first element of the `c___` parameter for
        setting a callback method instead.
      - Parameter `c___` is a parameter of `Sisimai->rise` and
        `Sisimai->dump`, is an array refer- ence and have two elements:
      - The first element of `c___` is the same as the `hook` parameter, is
        for a callback method email headers and entire message body
      - The second element of the `c___` parameter is for a callback method
        for each email file in Maildir/. The callback method is called at the
        end of each email file parsing.
      - Implement the following error reasons:
        - `AuthFailure` is a bounce reason which rejected due to SPF, DKIM, or
          DMARC failure #467
        - `BadReputation` is a bounce reason which rejected due to an IP
          address reputation #469
        - `NotCompliantRFC` is a bounce reason which rejected due to
          non-compliance with RFC
        - `RequirePTR` is a bounce reason which rejected due to missing PTR or
          having invalid PTR
        - `Speeding` is a bounce reason which rejected due to exceeding a rate
          limit or sending too fast #466

 -- gregor herrmann <gregoa@debian.org>  Sun, 03 Mar 2024 15:34:52 +0100
