Skip to content

Releases: atc0005/go-teams-notify

v2.7.0-alpha.4

01 Jul 13:06
faba5a5
Compare
Choose a tag to compare
v2.7.0-alpha.4 Pre-release
Pre-release

WARNING

NOTE: This is not considered a stable release.

Changes for the v2.7.0-alpha.4 release

  • linting fixes

Changes for the v2.7.0-alpha.3 release

  • (GH-169) add YAML en(de)coding support to MessageCard (thanks to @pcanilho)
  • dependency updates
  • linting fixes (more needed)

Changes for the v2.7.0-alpha.2 release

  • new adaptivecard package
  • remove botapi package
  • example code refresh
  • documentation refresh
  • simplify goteamsnotify.messagePreparer interface
  • simplify MessageCard.Prepare() implementation
  • explicitly mark existing formatting functionality as specific to the
    MessageCard format
  • ...

See GH-162 for more changes.

Changes for the v2.7.0-alpha.1 release

  • deprecate the current API interface
  • expose TeamsClient to take its place
  • create new botapi package (limited functionality)
  • add support for overriding default http.Client
  • add default project-specific user agent, support for overriding the default from client code
  • ...

See GH-155 for more changes.

References

v2.7.0-alpha.3

29 Jun 10:03
1a8d046
Compare
Choose a tag to compare
v2.7.0-alpha.3 Pre-release
Pre-release

WARNING

NOTE: This is not considered a stable release.

Changes for the v2.7.0-alpha.3 release

  • (GH-169) add YAML en(de)coding support to MessageCard (thanks to @pcanilho)
  • dependency updates
  • linting fixes (more needed)

Changes for the v2.7.0-alpha.2 release

  • new adaptivecard package
  • remove botapi package
  • example code refresh
  • documentation refresh
  • simplify goteamsnotify.messagePreparer interface
  • simplify MessageCard.Prepare() implementation
  • explicitly mark existing formatting functionality as specific to the
    MessageCard format
  • ...

See GH-162 for more changes.

Changes for the v2.7.0-alpha.1 release

  • deprecate the current API interface
  • expose TeamsClient to take its place
  • create new botapi package (limited functionality)
  • add support for overriding default http.Client
  • add default project-specific user agent, support for overriding the default from client code
  • ...

See GH-155 for more changes.

References

v2.7.0-alpha.2

10 Apr 11:26
b24de89
Compare
Choose a tag to compare
v2.7.0-alpha.2 Pre-release
Pre-release

WARNING

NOTE: This is not considered a stable release.

Changes for the v2.7.0-alpha.2 release

  • new adaptivecard package
  • remove botapi package
  • example code refresh
  • documentation refresh
  • simplify goteamsnotify.messagePreparer interface
  • simplify MessageCard.Prepare() implementation
  • explicitly mark existing formatting functionality as specific to the
    MessageCard format
  • ...

See GH-162 for more changes.

Changes for the v2.7.0-alpha.1 release

  • deprecate the current API interface
  • expose TeamsClient to take its place
  • create new botapi package (limited functionality)
  • add support for overriding default http.Client
  • add default project-specific user agent, support for overriding the default from client code
  • ...

See GH-155 for more changes.

References

v2.7.0-alpha.1

25 Feb 12:01
2b9b721
Compare
Choose a tag to compare
v2.7.0-alpha.1 Pre-release
Pre-release

WARNING

NOTE: This is not considered a stable release.

Changes since the last stable release

  • deprecate the current API interface
  • expose TeamsClient to take its place
  • create new botapi package (limited functionality)
  • add support for overriding default http.Client
  • add default project-specific user agent, support for overriding the default from client code
  • ...

See GH-155 for more changes.

References

v2.6.1

25 Feb 10:57
137175c
Compare
Choose a tag to compare

Changed

  • Dependencies

    • actions/setup-node
      • v2.2.0 to v3
  • Linting

    • (GH-131) Expand linting GitHub Actions Workflow to include oldstable, unstable container images
    • (GH-132) Switch Docker image source from Docker Hub to GitHub Container Registry (GHCR)

Fixed

  • (GH-137) Missing doc comment for teamsClient.AddWebhookURLValidationPatterns()
  • (GH-138) Missing doc comment for teamsClient.ValidateWebhook()
  • (GH-141) send.go:306:15: nilness: tautological condition: non-nil != nil (govet)
  • (GH-144) Incorrect field referenced in error message for MessageCardSection.AddFact()

References

v2.6.0

09 Jul 11:19
471c596
Compare
Choose a tag to compare

Added

  • Features

    • Add support for PotentialActions (aka, "Actions")
  • Documentation

    • Add separate examples directory containing standalone example code for
      most common use cases

Changed

  • Dependencies

    • actions/setup-node
      • v2.1.5 to v2.2.0
      • update node-version value to always use latest LTS version instead of
        hard-coded version
  • Linting

    • replace golint, scopelint linters, cleanup config
      • note: this specifically applies to linting performed via Makefile
        recipe, not (at present) the bulk of the CI linting checks
  • Documentation

    • move examples from README to separate examples directory
    • Remove example from doc.go file, direct reader to main README
    • Update project status
      • remove history as it is likely no longer relevant (original
        project is discontinued at this point)
      • remove future (for the same reason)
    • Add explicit "Supported Releases" section to help make clear that
      the v1 series is no longer maintained
    • Remove explicit "used by" details, rely on dynamic listing provided
      by pkg.go.dev instead
    • Minor polish

References

v2.5.0

08 Apr 11:07
26842cf
Compare
Choose a tag to compare

Added

  • Features
    • Validation of webhook URLs using custom validation patterns
    • Validation of MessageCard type using a custom validation function (to
      override default validation behavior)
  • Documentation
    • Add list of projects using this library
    • Update features list to include functionality added to this fork
      • Configurable validation of webhook URLs
      • Configurable validation of MessageCard type
      • Configurable timeouts
      • Configurable retry support

Changed

  • Dependencies
    • actions/setup-node
      • v2.1.4 to v2.1.5

Fixed

  • Documentation
    • Misc typos
    • Grammatical tweaks
    • Attempt to clarify project status
      • i.e., not mothballed, just slow cadence

References

v2.4.2

28 Jan 22:13
6ae0bed
Compare
Choose a tag to compare

Changed

  • Apply regex pattern match for webhook URL validation instead of fixed
    strings in order to support matching private org webhook URL subdomains

Fixed

  • Updating an exiting webhook connector in Microsoft Teams switches the URL to
    unsupported https://*.webhook.office.com/webhookb2/ format
  • SendWithRetry method does not honor setting to disable webhook URL prefix
    validation
  • Support for disabling webhook URL validation limited to just disabling
    validation of prefixes

References

v2.4.1

28 Jan 19:10
163574f
Compare
Choose a tag to compare

Changed

  • (GH-59) Webhook URL API endpoint response validation now requires a 1 text
    string as the response body

Fixed

  • (GH-59) Microsoft Teams Webhook Connector "200 OK" status insufficient
    indication of success

References

v2.4.0

28 Jan 18:38
e4559c2
Compare
Choose a tag to compare

Added

  • Add (optional) support for disabling webhook URL prefix validation

Changed

  • Documentation
    • Refresh "basic" example
    • Add example for disabling webhook URL prefix validation
    • Update "about this project" coverage
    • Swap GoDoc badge for pkg.go.dev badge
  • Tests
    • Extend test coverage
    • Verbose test output by default (Makefile, GitHub Actions Workflow)
  • Dependencies
    • actions/setup-node
      • v2.1.1 to v2.1.4
    • actions/checkout
      • v2.3.2 to v2.3.4
    • stretchr/testify
      • v1.6.1 to v1.7.0

Fixed

  • minor linting error for commented code
  • Tests fail to assert that any errors which occur are expected, only the
    types

References