28 Star 207 Fork 27

PHPMQTT / mqtt

2022-01-14 13:02
1653262 sy records 1578956935 沈唁

What's Changed

Full Changelog: https://github.com/simps/mqtt/compare/v1.4.2...v1.4.3

2021-11-10 16:47
1653262 sy records 1578956935 沈唁
  • 更新头部注释
  • 添加 PHP8.1 的测试
最后提交信息为: Add php81 test (#68)
2021-11-06 11:00
1653262 sy records 1578956935 沈唁
  • 添加调试工具
  • 添加相关常量
  • 添加 macOS 的 CI 测试
最后提交信息为: Add handleVerbose (#65)
2021-09-12 17:19
1653262 sy records 1578956935 沈唁

增加

  • 添加 getLevel (#55)

用于简化在单个端口上使用多个协议等级的处理

具体使用可查看:https://mp.weixin.qq.com/s/aDOxSpKpenNb5Wi3uR6BMQ

最后提交信息为: Add getLevel (#55)
2021-08-02 14:56
1653262 sy records 1578956935 沈唁
  • Fix UnSubAck missing setCodes/getCodes methods (61d5e09) (581959d1b527ae809e86be1268d24538583c36a7) (bbf8a11a40c8d920647cdb122e10eb6df2d7d30a)
最后提交信息为: Format code
2021-08-02 13:12
1653262 sy records 1578956935 沈唁
  • Add getClient method (88f36a4)
  • Upgraded friendsofphp/php-cs-fixer to ^3.0 (#54)
最后提交信息为: Add getClient docs
2021-05-19 09:40
1653262 sy records 1578956935 沈唁
  • 添加 handleException,优化冗余代码 (2ca0c5a)
  • 优化SwooleConfig,默认设置 open_mqtt_protocol 选项 (#52)
2021-04-21 15:40
1653262 sy records 1578956935 沈唁
  • 添加 getTypes 和 getType (4d4af74)
最后提交信息为: Add getTypes and getType
2021-03-29 10:54
1653262 sy records 1578956935 沈唁

修复

  • 修复在MQTT5中同时取消多个topic时unSubAck丢失原因代码的问题 (1506d6f)
  • 更新示例代码 (5a0bfef)
  • 更新MQTT5的 Unsubscribe 测试 (#46)
最后提交信息为: Update Unsubscribe test for MQTT5 (#46)
2021-03-08 09:34
1653262 sy records 1578956935 沈唁

增强

  • 添加 toArray 方法 (b3fd28a)
  • 更新属性默认值 (9c63510)
  • 添加遗嘱消息 Message 类 (#45)
  • 添加 Auth Message 类 (36f6a9d)
  • 增加 DUP、SESSION_PRESENT 和 RETAIN 的常量 (fe5c418)
  • 优化 getProtocolLevel (a329202)
  • 增加 isMQTT5 测试和使用常量代替硬编码(b9d4365)

修复

  • 修正 ReasonCode 中错字 (481994f5)
最后提交信息为: Add Auth Message
2021-03-03 14:51
1653262 sy records 1578956935 沈唁

增强

  • 增加 isMQTT5 方法 (f27f85c)
  • 增加常量可见性 (#41)
  • 为 getContents 方法添加 getArray 参数来用于客户端回复对端 ACK (#42)
  • 添加 Message 测试 (8f7fe30)
  • 更新 Message 文档 (a41654b)
  • 更新 ProtocolException 并增加测试 (19a6bee)

修复

  • 修复遗嘱消息的 topic 不能为空 (b56fda1)
最后提交信息为: Add Message test
2021-02-24 11:00
1653262 sy records 1578956935 沈唁

向下不兼容

  • SUBACK的payload应该是返回码,修改键名payloadcodes (9e72ce2) (283ff41)

增强

  • 优化 Client recv (#38) (99a85bf)
  • 添加 CONNACK & PUBLISH & PINGRESP Message (700a6c9)
  • 添加 SubAck Message 和更新 getMessageId (09f6334)
  • 添加 DISCONNECT、PUBACK、PUBREC、PUBREL、UNSUBACK (20a78c7)
  • 修改 AbstractConfig (dff6283)
  • 添加 Message 使用示例 (58d5b4a)
  • 添加 getContents 方便在__toString中调用 (a7ba577)
  • 添加 Message 使用文档 (bab2297)
最后提交信息为: Add Message docs
2021-02-19 13:53
1653262 sy records 1578956935 沈唁

增强

  • 优化 Packet Identifier (503b928)

修复

  • 移除 ClientConfig 的默认值null (25ba480)

测试

  • 添加 Base64 的测试 (#35)
  • 添加 QoS1 的示例代码 (edfad5c)
  • 更新示例代码 (17f6dbb) (5bf801e) (ff6ddd3) (c9e5be6)
最后提交信息为: Remove the default value of ClientConfig
2021-01-29 14:30
1653262 sy records 1578956935 沈唁

增强

  • 增加 ConnectException (#34)
  • 更新 connect 示例代码 (c301789)

修复

  • 修复重连时获取连接数据错误 (f48f220)
2021-01-27 14:40
1653262 sy records 1578956935 沈唁

增强

  • 增加重连次数限制和优化重连延迟时间 (#32)
最后提交信息为: Update docs
2021-01-21 14:29
1653262 sy records 1578956935 沈唁

向下不兼容

  • 更新命名空间 (2204df6) (28f8abe)

移除

  • 不支持 PHP 7.0 (3dc5bcd)

增强

  • 为所有的常量添加可见性标识符 (0176469)
  • 新增 ClientConfig (d90b9dc)
  • 优化 Client (9229224)
  • 更新测试和示例代码 (959a21d) (08531ac)

升级指南

英文: https://mqtt.simps.io/#/en/upgrade/1.2
中文: https://mqtt.simps.io/#/zh-cn/upgrade/1.2

2021-01-21 14:25
1653262 sy records 1578956935 沈唁
  • 使用等级常量代替硬编码,更新测试 (f32988e)
最后提交信息为: Update tests
2021-01-14 17:59
1653262 sy records 1578956935 沈唁

增强

  • 优化重连逻辑,增加 reconnect_delay 参数 (#26)
  • 新增ProtocolException,限制publish不能为空topic (#27)
  • 更新 testPublishNonTopic 测试文件 (#28)
  • 优化 MQTT3 connect 封包 (e669288)

修复

  • 修复传入参数错误导致的未定义索引 (9d908b7)
最后提交信息为: Update gitee.yml
2021-01-12 16:23
1653262 sy records 1578956935 沈唁

修复

  • 修复 clean_session 错误(a868744)
  • 修复 buildMessageId(40f53c1)
最后提交信息为: Update composer.json (#24)
PHP
1
https://gitee.com/phpmqtt/mqtt.git
git@gitee.com:phpmqtt/mqtt.git
phpmqtt
mqtt
mqtt

搜索帮助

53164aa7 5694891 3bd8fe86 5694891