Skip to content

Releases: guanguans/notify

2.4.1

11 Mar 10:30
Compare
Choose a tag to compare

2.4.1 - 2024-03-11

Docs

  • Update push notification SDK list in README

Feat

  • Utils: Add method to get defined properties for an object

Refactor

  • HasOptions: Improve preConfigureOptionsResolver method
  • platform-lint: Update platform handling and documentation
  • tests: Improve HasOptionsTest.php test coverage
  • utils: Use Utils::definedFor() method in HasOptions

2.4.0

10 Mar 03:39
Compare
Choose a tag to compare

2.4.0 - 2024-03-10

CI

  • apply php-cs-fixer

Feat

  • helper: add error_silencer function
  • src: Add Method interface and related RFCs
  • tests: add Faker trait for generating fake data

Refactor

  • improve StringToClassConstantRector
  • rector: Update namespace for rector classes
  • utils: Rename getHttpOptionsConstants to httpOptionConstants
  • utils: improve user agent method
  • utils: Improve clarity and consistency in multipartFor method

Pull Requests

  • Merge pull request #61 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.69.0

2.3.1

08 Mar 10:21
Compare
Choose a tag to compare

2.3.1 - 2024-03-08

Feat

  • Utils: Add userAgent method to generate user agent string
  • httpclient: Add User-Agent header to HTTP requests

Refactor

  • Authenticator: improve constructor logic
  • HasHttpClient: adjust multipart options handling
  • HasHttpClient: Improve HTTP client options handling
  • Utils: improve multipartFor method
  • Utils: Improve handling of contents in Utils class

Test

  • AuthenticatorTest: add tests for Authenticator class

2.3.0

08 Mar 03:20
Compare
Choose a tag to compare

2.3.0 - 2024-03-08

Feat

  • pushbullet: add PushBullet integration

Test

  • PushBullet: add test for sending message functionality

Pull Requests

  • Merge pull request #60 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.68.5

2.2.1

07 Mar 10:24
Compare
Choose a tag to compare

2.2.1 - 2024-03-07

Docs

  • README: Update baseUri parameter in code comments

Feat

  • Str: Add kebab case conversion method
  • php: Add StringToClassConstantRector for GuzzleHttp RequestOptions
  • platform-lint: Add platform-lint script for linting platforms
  • tests: add new test files for Foundation

Refactor

  • Message: Improve JSON serialization method
  • auth: Improve CompactToVariablesRector
  • debug: Use mergeDebugInfo instead of withDebugInfo
  • http: Normalize HTTP options handling
  • options: Improve options handling and validation
  • uri: improve UriTemplateAuthenticator applyToRequest method

Test

  • MessageTest: add validation for options

2.2.0

06 Mar 10:10
Compare
Choose a tag to compare

2.2.0 - 2024-03-06

Feat

  • Client: Add __debugInfo method for debugging
  • HasHttpClient: Add ability to set HttpClientResolver
  • tests: add AsNullUri to Message class and update PostMessage structure

Refactor

  • AsBody: improve handling of message body serialization
  • HasHttpClient: configure HTTP options in getHttpClient method
  • HasOptions: Improve options handling
  • core: Update toPayload method in Message classes
  • core: Improve payload handling in HTTP request options
  • http: improve HTTP client configuration
  • rectors: Move rector classes to appropriate namespace

2.1.2

05 Mar 09:22
Compare
Choose a tag to compare

2.1.2 - 2024-03-05

Feat

  • NewsMessage: add method to configure options for articles
  • auth: add OptionsAuthenticator and mergeHttpOptions method

Refactor

  • Remove unnecessary trait use in rector.php
  • HasOptionsDocCommentRector: Sort properties in alphabetical order
  • Message: Improve attachment handling in Message class
  • Message: improve default options handling
  • Message: Improve addAction method and configureOptionsResolver
  • Message: Improve embed configuration handling
  • commit: refactor configureAndResolveOptions method
  • core: update HTTP method definitions
  • message: Refactor message classes for NowPush
  • message: Improve section and potential action handling
  • postmessage: Improve language-specific post setting

Pull Requests

  • Merge pull request #59 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.68.4

2.1.1

04 Mar 10:25
Compare
Choose a tag to compare

2.1.1 - 2024-03-04

Docs

  • Update push notification SDK list

Feat

  • Telegram: Add support for multipart requests in Telegram messages
  • dingtalk: add DingTalk notification support
  • extract-platform: add script to extract platform information
  • messages: Add toHttpUri method for sending various message types
  • telegram: Add AsJson trait to GetUpdatesMessage and ClientTest
  • telegram: Add constructor to Client class

Refactor

  • client: Remove Makeable trait from Client class
  • media: Improve media handling in MediaGroupMessage
  • message: Improve make method in Message class
  • pushplus: Rename Pushplus to PushPlus and update namespaces

2.1.0

03 Mar 04:59
Compare
Choose a tag to compare

2.1.0 - 2024-03-03

Feat

  • PushDeer: Add PushDeer service with related classes

Refactor

  • tests: improve assertCanSendMessage method

2.0.6

02 Mar 15:49
Compare
Choose a tag to compare

2.0.6 - 2024-03-02

Feat

  • Message: add delayMilliseconds and url methods
  • Slack: Add metadata to Message options
  • Zulip: add Message class with message creation methods
  • messages: add type, date, and time properties
  • messages: Add support for FileMessage and TemplateCardMessage

Refactor

  • Message: Remove redundant array definition
  • TemplateCardMessage: optimize options configuration
  • message: Update message classes structure