Releases: php-mqtt/client
Releases · php-mqtt/client
v2.2.0
What's Changed
Changed
CI and Tests
- Bump sonarsource/sonarcloud-github-action from 2.1.0 to 2.2.0 by @dependabot in #183
- Bump sonarsource/sonarcloud-github-action from 2.2.0 to 2.3.0 by @dependabot in #184
- Bump sonarsource/sonarcloud-github-action from 2.3.0 to 3.0.0 by @dependabot in #189
- Bump sonarsource/sonarcloud-github-action from 3.0.0 to 3.1.0 by @dependabot in #190
- Test against PHP 8.4 by @Namoshek in #193
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
Changed
- Bump sonarsource/sonarcloud-github-action from 2.0.2 to 2.1.0 by @dependabot in #172
- Bump actions/cache from 3 to 4 by @dependabot in #175
- Bump actions/dependency-review-action from 3 to 4 by @dependabot in #176
- Update README.md by @WanderingZombie in #179
- Added support for TLS ALPN to connect via MQTT protocol to a TLS encrypted HTTP port 443 by @jonofe in #181
New Contributors
- @WanderingZombie made their first contribution in #179
- @jonofe made their first contribution in #181
Full Changelog: v2.0.0...v2.1.0
v2.0.0
v1.8.1
What's Changed
Changed
- Bump sonarsource/sonarcloud-github-action from 1.8 to 1.9 by @dependabot in #154
- Bump actions/dependency-review-action from 2 to 3 by @dependabot in #156
- Fix: Allow isPublishMessageWithNullCharacter to receive messages as null by @DavidCova in #162
New Contributors
- @DavidCova made their first contribution in #162
Full Changelog: v1.8.0...v1.8.1
v1.8.0
What's Changed
Additions
- Add connected event handler by @UtechtDustin in #152
Changed
New Contributors
- @heyrex made their first contribution in #145
- @UtechtDustin made their first contribution in #152
Full Changelog: v1.7.1...v1.8.0
v1.7.1
v1.7.0
What's Changed
Fixed
Changed
- Bump sonarsource/sonarcloud-github-action from 1.7 to 1.8 by @dependabot in #134
Full Changelog: v1.6.0...v1.7.0
v1.6.0
v1.5.0
What's Changed
Fixed
Changed
- Pass matched topic wildcards to subscription callback by @Namoshek in #128
- Bump sonarsource/sonarcloud-github-action from 1.6 to 1.7 by @dependabot in #125
Full Changelog: v1.4.0...v1.5.0
Explanation for #128:
The matched wildcards are now passed as fourth parameter to the subscription callback:
$mqtt->subscribe('foo/+/bar/#', function ($topic, $message, $retained, $matchedWildcards) {
echo sprintf("Received message on topic [%s]: %s\n", $topic, $message);
echo sprintf("Matched wildcards: %s\n", json_encode($matchedWildcards));
}, 0);
// Received message on topic [foo/baz/bar/hello/world/42]: hello world!
// Matched wildcards: ["baz", "hello/world/42"]
v1.4.0
What's Changed
Changed
- Run some integration tests with authentication by @Namoshek in #113
- Refactor MQTT client loop implementation to allow easier integration with third party event loops by @Alex6092 in #115
- As long as you are not adding a
loopOnce()
method in a class extendingMqttClient
, this change is fully backwards compatible ✔️
- As long as you are not adding a
New Contributors
Full Changelog: v1.3.0...v1.4.0