Zaiming (Stone) Shi
6b7a9a8fef
build: add scripts/buildx
2021-12-29 15:11:05 +01:00
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
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01: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
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
Shawn
23e4e101a4
chore(dashboard): bump lib-ce/emqx_dashboard to 4.3.8
2021-12-20 15:42:16 +08:00
Shawn
22814dc161
chore(coap): update gen_coap to v0.4.2
2021-12-20 15:07:29 +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
tigercl
e756eb99fb
Merge pull request #6474 from tigercl/chore/vsns
...
chore(vsn): bump ehttpc and ekka version
2021-12-17 20:49:18 +08:00
Zaiming (Stone) Shi
c1cbf39552
fix(appup): add missing beams to emqx.appup.src
...
also re-formated emqx_sn.appup.src
2021-12-17 13:41:25 +01:00
zhouzb
dc9631514d
chore: ensure version bump for dashboard app
2021-12-17 20:28:54 +08:00
zhouzb
49bfabc4dc
chore(vsn): bump ehttpc and ekka version
2021-12-17 19:41:41 +08:00
tigercl
865d999e39
Merge pull request #6466 from emqx/improve_pgsql
...
chore(autotest): Improve pgsql script and change file path in emqx-fvt warehouse
2021-12-17 11:24:18 +08:00
xiangfangyang-tech
2da7f91c42
chore(autotest): improve jmeter installation mode
2021-12-17 10:50:58 +08:00
xiangfangyang-tech
0e9b608737
chore(autotest): improve pgsql script and change file path in emqx-fvt warehouse
2021-12-17 10:33:33 +08:00
JimMoen
812d123453
Merge pull request #6416 from JimMoen/log-for-proxy-protocol
...
feat(frame): better log for proxy_protocol config disabled
2021-12-10 18:37:49 +08:00
JimMoen
24060285c5
chore(appup): update appup.src
2021-12-10 18:08:47 +08:00
JimMoen
bad314ae08
chore(gitignore): update gitignore
2021-12-10 18:08:47 +08:00
JimMoen
3ecc79e1bc
test(frame): test packet proxy_protocol config disabled
2021-12-10 18:08:47 +08:00
JimMoen
b9acf94fd7
feat(frame): better log for proxy_protocol config disabled
2021-12-10 18:08:47 +08:00
tigercl
f1c707e4de
Merge pull request #6368 from Spycsh/main-v4.3
...
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-10 18:07:11 +08:00
JimMoen
9a43125c9b
Merge pull request #6420 from JimMoen/revert-topic-level-default-conf
...
revert(emqx_conf): zone.external.max_topic_levels
2021-12-10 09:43:14 +08:00
Spycsh
5c497975a6
chore: fix main-v4.3 support for networking.k8s.io/v1
2021-12-09 21:41:55 +01:00
tigercl
832700b0ff
Merge pull request #6418 from tigercl/chore/webhook-appup
...
chore(webhook): update appup
2021-12-09 20:27:01 +08:00
JimMoen
db8131d2a5
revert(emqx_conf): zone.external.max_topic_levels
...
revert part of changes in 289415b5aa
2021-12-09 20:13:40 +08:00
zhongwencool
f3fffb6156
Merge pull request #6417 from zhongwencool/fix-sn-appup-file
...
fix(emqx_sn): appup.src miss 4.3.2
2021-12-09 18:54:33 +08:00
zhouzb
b6ffacc062
chore(appup): fix appup for webhook
2021-12-09 18:46:13 +08:00
zhouzb
aa04df4d1b
chore(webhook): update appup
2021-12-09 18:40:45 +08:00
zhongwencool
7477615324
fix(emqx_sn): appup.src miss 4.3.2
2021-12-09 17:26:57 +08:00
Zaiming (Stone) Shi
a81f2ce315
Merge pull request #6414 from tigercl/chore/ehttpc-vsn
...
perf(http): bump ehttpc version
2021-12-09 09:38:30 +01:00
zhouzb
63a6ac2f5f
perf(http): bump ehttpc version
2021-12-09 15:26:41 +08:00
Tobias Lindahl
756a256137
Merge pull request #6396 from emqx/fix-takeover-race-on-enqueued-messages-v4.3
2021-12-08 11:01:25 +01:00