Thales Macedo Garitezi
5a6225d397
Merge pull request #6480 from emqx/improve-update-appup-43
...
chore(update_appup): Improve `update_appup.escript`
2021-12-28 09:54:52 -03:00
Zaiming (Stone) Shi
4a7b1bb7d8
Merge pull request #6551 from zmstone/fix-portable-shebang
...
fix: portable shebang
2021-12-28 11:04:22 +01:00
tigercl
a7538ca7fb
Merge pull request #6546 from terry-xiaoyu/ci_emqx_start_failed
...
CI emqx start failed
2021-12-28 09:40:04 +08:00
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01:00
Shawn
26c0f2c96e
fix(CI): show outputs of erlang console if ./bin/emqx start failed
2021-12-27 17:26:54 +08:00
JianBo He
98b9eb9fe1
Merge pull request #6489 from HJianBo/fix-receive-maximum
...
fix: disconnect the client due to exceed receive-maximum packets
2021-12-23 14:02:59 +08:00
JianBo He
02dc216173
chore: update appup.src
2021-12-23 08:48:24 +08:00
JianBo He
cb8a3725b4
fix: disconnect the client due to exceed receive-maximum packets
...
As described in the 5.0 specification, we should disconnect clients that
exceed the receive-maximum limit.
> If it receives more than Receive Maximum QoS 1 and QoS 2 PUBLISH packets
where it has not sent a PUBACK or PUBCOMP in response, **the Server uses a
DISCONNECT packet with Reason Code 0x9**
fix : #6447
2021-12-23 08:48:24 +08:00
zhanghongtong
499c1ab2f4
ci(build_packages): fix upload error for mac
2021-12-23 00:02:42 +08:00
tigercl
f10e5d78e4
Merge pull request #6522 from Rory-Z/ci/delete-needless-steps
...
Ci/delete needless steps
2021-12-22 21:46:51 +08:00
zhanghongtong
1136b16281
ci(build_packages): fix docker tag error
2021-12-22 21:11:19 +08:00
zhanghongtong
67f4bba694
ci(build_packages): delete needless packages
2021-12-22 20:26:06 +08:00
tigercl
9b632c034f
Merge pull request #6516 from Rory-Z/ci/fix-env-error
...
ci(cts): fix env error
2021-12-22 16:52:23 +08:00
zhanghongtong
5fbd999ef8
ci(cts): fix env error
2021-12-22 16:48:42 +08:00
zhanghongtong
a560174ad9
ci(cts): use makefile target instead of the rebar command
2021-12-22 16:46:58 +08:00
zhanghongtong
15f40889c6
ci(cts): fix env error
2021-12-22 16:01:58 +08:00
Shawn
1af13e10a9
Merge pull request #6514 from terry-xiaoyu/fix_ldap_ct
...
fix(test): revert the changes on ldap ct
2021-12-22 12:05:11 +08:00
Shawn
e15eadde72
fix(test): revert the changes on ldap ct
2021-12-22 12:00:45 +08:00
tigercl
9179542816
Merge pull request #6511 from Rory-Z/ci/update-cts
...
ci(cts): fix spell error
2021-12-22 10:32:40 +08:00
zhanghongtong
f5ec6b730c
ci(cts): fix spell error
2021-12-22 10:22:56 +08:00
tigercl
15949f06ca
Merge pull request #6510 from Rory-Z/ci/update-cts
...
ci(cts): use makefile target instead of the rebar command
2021-12-22 10:06:37 +08:00
zhanghongtong
c1480ab52c
ci(cts): use makefile target instead of the rebar command
2021-12-22 09:40:09 +08:00
tigercl
8a54bb180a
Merge pull request #6504 from tigercl/chore/bump-release
...
chore(release): update emqx release version
2021-12-21 17:15:51 +08:00
zhouzb
e768c601ab
chore(release): update emqx release version
2021-12-21 17:05:22 +08:00
JimMoen
7e9870cc3f
chore(mgmt): update appup.src
2021-12-21 01:12:17 -05:00
JimMoen
0ee589ca61
fix(mgmt): fix node info format for specific node
2021-12-21 01:07:01 -05:00
tigercl
9746bd3134
Merge pull request #6499 from tigercl/docs/changes-4.4
...
docs(change log): add change log for 4.4-beta.1
2021-12-21 13:47:47 +08:00
zhouzb
c74dc11c92
docs(change log): add change log for 4.4-beta.1
2021-12-21 13:42:49 +08:00
Thales Macedo Garitezi
62ff6a8b30
chore(update_appup): rm unused value
2021-12-20 13:41:14 -03:00
Thales Macedo Garitezi
b2396438a0
chore(update_appup): add expected versions check
...
For apps inside emqx umbrella, we try to bump only the patch part of
their version numbers, and use only 3-part version
numbers (`Major.Minor.Patch`). With those assumptions, we may infer
all versions that need to be covered in a given upgrade, and check if
those are covered in regexes.
2021-12-20 13:38:08 -03:00
Thales Macedo Garitezi
ce4a193cbb
chore(update_appup): rm unused fn
2021-12-20 13:21:01 -03:00
Thales Macedo Garitezi
af3a1326d1
chore(update_appup): bugfix: variable not pinned in lambda
2021-12-20 13:21:01 -03:00
JianBo He
b972c2aec1
Merge pull request #6490 from terry-xiaoyu/update_vsn
2021-12-20 22:10:02 +08:00
tigercl
1743c5e8b0
Merge pull request #6488 from terry-xiaoyu/ekka_vsn
...
update versions of some app
2021-12-20 18:16:52 +08:00
Shawn
23e4e101a4
chore(dashboard): bump lib-ce/emqx_dashboard to 4.3.8
2021-12-20 15:42:16 +08:00
Shawn
799aabdd04
chore(emqx): bump emqx to 4.4.0
2021-12-20 15:12:09 +08:00
Shawn
22814dc161
chore(coap): update gen_coap to v0.4.2
2021-12-20 15:07:29 +08:00
Shawn
88e7c40423
chore(ekka): update ekka vsn to 0.8.1.7
2021-12-20 14:19:45 +08:00
tigercl
2966f4a09b
Merge pull request #6487 from Rory-Z/ci/fix-update-error
...
ci(release): only push emqx broker image to aws ecr
2021-12-20 10:58:10 +08:00
zhanghongtong
f78be5a4be
ci(release): only push emqx broker image to aws ecr
2021-12-20 10:25:23 +08:00
Thales Macedo Garitezi
fef8a18bfb
chore(update_appup): insert `load_module`s after `application:stop`
...
If there is already any `application:stop(Application)` call in the
appup instructions, we prefer to add `load_module` instructions after
it, so we can be sure that the load is replaced safely.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
42ca5ab5a9
chore(update_appup): do not force appup render if contents are the same
...
To avoid losing comments and/or manual indentation in appup files that
are already up to date, we now check whether the contents have the
exact same terms as those we are about to write to an existint .appup
file.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
e1e72c144a
chore(update_appup): do not use load_module if restart_application
...
Since the appup instruction `restart_application` already loads all
modules of a given application, there is no need to introduce those
instructions if a restart is already present.
2021-12-17 16:53:56 -03:00
Thales Macedo Garitezi
3ff6661a58
chore(update_appup): take regexes into account when comparing vsns
...
This change makes the `update_appup.escript` check whether the new
version of an application (the _current_ one) is already contained in
entries in the _new_ .appup file for that application if such .appup
file contains regexes.
NOTE: this does not cover the case in which we calculate the
difference between _old_ and _new_ appup entries, and those consist of
regexes. In such case, we would need to check if one regex is
"contained" in the other, which is not currently supported by this
patch.
2021-12-17 16:53:55 -03:00
Zaiming (Stone) Shi
ccca1f53fa
chore: add details about ekka fix
2021-12-17 19:51:09 +01:00
Zaiming (Stone) Shi
5066be2385
Merge pull request #6477 from zmstone/fix-changes.md-typos
...
chore: fix CHANGES.md typos
2021-12-17 16:43:00 +01:00
Zaiming (Stone) Shi
caa6134e3b
chore: fix CHANGES.md typos
2021-12-17 16:42:37 +01:00
tigercl
fcca7f84f3
Merge pull request #6476 from zmstone/chore-introduce-CHANGE.md
...
chore: add CHANGE.md
2021-12-17 23:34:46 +08:00
Zaiming (Stone) Shi
83734612a2
chore: add CHANGE.md
2021-12-17 16:18:23 +01:00
tigercl
e443225af6
Merge pull request #6475 from zmstone/fix-emqx-appup
...
fix(appup): add missing beams to emqx.appup.src
2021-12-17 21:03:46 +08:00