Skip to content

Releases: guanguans/notify

2.0.5

01 Mar 16:09
Compare
Choose a tag to compare

2.0.5 - 2024-03-02

Docs

  • ShowdocPush: Update ShowdocPush documentation
  • slack: Update Slack Message class methods and properties

Feat

  • Message: Add channel, webhook, callbackUrl, and timestamp properties to Message class
  • QQ: add constructor to Client class
  • RocketChat: Add message sending functionality with attachments

Test

  • ClientTest: Add new message fields
  • ClientTest: refactor message creation in ClientTest
  • ClientTest: Add attachment and device to message

2.0.4

01 Mar 10:32
Compare
Choose a tag to compare

2.0.4 - 2024-03-01

Feat

  • Push: add support for different message types

Refactor

  • Response: Improve handling of decoded JSON response
  • httpclient: optimize setting http options
  • messages: Update message classes with new traits and methods
  • push: Update Authenticator to use AggregateAuthenticator and PayloadAuthenticator
  • pushback: Remove commented out code and update URLs in README

Test

  • ClientTest: update message sending feature

2.0.3

29 Feb 10:25
Compare
Choose a tag to compare

2.0.3 - 2024-02-29

Docs

  • readme: update Gitter links and remove Gitter from phpunit.xml.dist

Feat

  • GoogleChat: Add compact payload creation in Authenticator
  • IGot: Add title, url, copy, and detail to message
  • Message: Add support for @type and @context in Message
  • MicrosoftTeams: Add test for sending message

Refactor

  • ClientTest: Refactor test cases for sending messages
  • Message: Remove base_uri usage and update toHttpUri method
  • Message: Improve Message class structure
  • Message: Optimize 'toHttpOptions' method
  • arr: Improve array handling in Arr class
  • messages: Improve array filtering in Message class
  • tests: improve custom expectation function naming
  • types: Update type declarations to bool in message classes

Test

  • Add Mattermost ClientTest and update Message.php
  • Add Gitter and GoogleChat ClientTest files

Pull Requests

  • Merge pull request #58 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.68.3

2.0.2

28 Feb 10:37
Compare
Choose a tag to compare

2.0.2 - 2024-02-28

Feat

  • Chanify: add support for audio, file, and image messages
  • Discord: Add ability to send messages with rich content
  • Pest: add assertCanSendMessage expectation

Refactor

  • Message: update message class properties and methods
  • MockHandler: Remove unnecessary code and improve readability
  • tests: Update ClientTest.php for message sending functionality

Test

  • ClientTest: Refactor message creation in ClientTest

2.0.1

27 Feb 10:04
Compare
Choose a tag to compare

2.0.1 - 2024-02-27

Docs

  • Add README.md files for various messaging platforms
  • HasOptions: Add support for nested options

Feat

  • notifications: Add Bark notification support
  • options: Add support for ignoreUndefined property
  • support: Improve array handling in HasHttpClient

Refactor

  • HasOptions: Improve handling of defined and required options
  • HasOptions: update deprecated options handling
  • tests: rename wsse authenticator test file and add certificate authenticator test

Test

  • Add unit tests for Client and Message classes
  • add CertificateAuthenticatorTest and WsseAuthenticatorTest

Pull Requests

  • Merge pull request #57 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.68.2

2.0.0

26 Feb 07:34
Compare
Choose a tag to compare

2.0.0 - 2024-02-26

Feat

  • Message: Add __debugInfo method
  • Utils: Add objectWithDebugInfo method

Refactor

  • concerns: Update mixin references in traits
  • debug: Improve debug info handling

2.0.0-rc1

23 Feb 10:30
Compare
Choose a tag to compare

2.0.0-rc1 - 2024-02-23

Feat

  • composer: add illuminate/collections dependency

Refactor

  • HasOptions: Remove resolveOptions method and update getOption method
  • Response: improve response class structure and add new methods
  • http: Ensure required middleware in HasHttpClient trait
  • utils: Rename method to more descriptive name

2.0.0-beta3

22 Feb 10:30
Compare
Choose a tag to compare

2.0.0-beta3 - 2024-02-22

Feat

  • Notify: Add WithDumpable trait and dump method
  • Response: Add __debugInfo method for Response class
  • ToInternalExceptionRector: Add ToInternalExceptionRector rule
  • ToInternalExceptionRector: Add ToInternalExceptionRector for internal exceptions handling

Refactor

  • Exceptions: Remove unused exception classes
  • src: Improve code readability and remove redundant functions
  • src: Update ToInternalExceptionRector to handle new class nodes

Pull Requests

  • Merge pull request #56 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.68.0

2.0.0-beta2

21 Feb 10:13
Compare
Choose a tag to compare

2.0.0-beta2 - 2024-02-21

Feat

  • ClientTest: add support for sending different types of messages
  • YiFengChuanHua: add ClientTest.php for sending message
  • utils: Add Utils class for converting form array into multipart array
  • zulip: add test for sending direct message

Refactor

  • client: remove Conditionable and Tappable traits
  • concerns: rename Traits to Concerns
  • doc: Update Http client doc comment
  • doc: Has options doc comment
  • utils: Improve readability of getHttpOptionsConstants method

Test

  • Chanify: Add tests for sending text and link messages
  • ClientTest: Add test case for sending message
  • ClientTest: Add test case for sending message
  • ClientTest: Add test for sending text message
  • ClientTest: add test for sending message functionality
  • ClientTest: add test for sending text messages
  • Discord: add test case for sending message
  • IGot: Add test case for sending message
  • Push: Add ClientTest.php for message sending functionality
  • PushBack: add ClientTest.php for testing sending messages
  • PushPlus: Add test for sending message
  • Pushover: add test for sending message
  • RocketChat: add test case for sending message
  • ServerChan: Add ClientTest.php for ServerChan client testing
  • Showdoc: Add test for sending message
  • Slack: Add test case for sending a message
  • WeWorkGroupBot: add test for sending message
  • XiZhi: add single and channel message test cases
  • telegram: Add test case for sending a message via Telegram client

Pull Requests

  • Merge pull request #55 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.67.7
  • Merge pull request #51 from guanguans/dependabot/github_actions/codecov/codecov-action-4
  • Merge pull request #54 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.67.6

2.0.0-beta1

19 Feb 07:32
Compare
Choose a tag to compare

2.0.0-beta1 - 2024-02-19

Docs

  • Update links and add examples for RocketChat and Slack clients

Feat

  • Client: add async method for sending messages
  • DocCommentRector: Add DocCommentRector class
  • HasHttpClient: Add mock method
  • Notify: add delete, head, patch, and put methods
  • bark: add Bark client, credential, and message classes
  • client: Add EnsureResponse middleware
  • commit: Add Conditionable and Macroable traits
  • credentials: add AggregateCredential class
  • credentials: add CertificateCredential class
  • github: add secrets check workflow
  • mock: add MockHandler class
  • tests: add XiZhi\ClientTest

Refactor

  • Improve DocCommentRector and HasOptions
  • Update credentials classes
  • Credentials: Update ApiKeyCredential, DigestAuthCredential, HeaderCredential, and QueryCredential
  • HasHttpClient: refactor mock method
  • Message: Update toHttpUri() method
  • MockHandler: improve MockHandler class structure and functionality
  • Response: improve Response class
  • Str: Improve case conversion methods
  • Traits: Improve HasOptions trait
  • UpdateHasHttpClientDocCommentRector: Update createMethodPhpDocTagNode method
  • client: remove unused methods and add missing method
  • client: Refactor the Client class
  • concerns: Update options handling in traits
  • concerns: Remove unused imports
  • config: update PHP version and sets
  • credentials: refactor credential classes
  • credentials: refactor BasicAuthCredential, CallbackCredential, DigestAuthCredential, NtlmAuthCredential, and WsseAuthCredential classes
  • handler: refactor MockHandler constructor and response handling
  • headercredential: refactor applyToRequest method
  • helper: Refactor to_multipart function
  • http-client: Refactor HasHttpClient trait
  • httpclient: refactor send method
  • middleware: Refactor ApplyAuthenticatorToRequest and EnsureResponse middleware
  • options: Improve options handling in Traits

Pull Requests

  • Merge pull request #53 from guanguans/1.x
  • Merge pull request #52 from guanguans/dependabot/composer/rector/rector-tw-0.19or-tw-1.0
  • Merge pull request #50 from guanguans/dependabot/github_actions/actions/setup-node-4
  • Merge pull request #49 from guanguans/dependabot/github_actions/actions/cache-4