Skip to content

Commit 2584101

Browse files
authored
Merge pull request #3007 from esl/update-migration_guide
Update migration guide with TOML changes
2 parents a05dd9f + 2c00f85 commit 2584101

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

doc/migrations/4.0.1_4.x.x.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,30 @@ Currently, only the `urn:xmpp:http:upload:0` XMLNS is served.
66
All major, modern client libraries and applications support the 0.3.0+ specification.
77
If you experience any issues with making requests to the HTTP File Upload service, please update your client.
88

9+
## Retirement of the old `*.cfg` format
10+
11+
Since release 4.x.x, we are no longer supporting the `*.cfg` MongooseIM configuration format. Please use the `TOML` format instead.
12+
13+
## Minor changes in the `TOML` config format
14+
15+
* [`mod_bosh.max_pause`](../../modules/mod_bosh/#modulesmod_boshmax_pause) instead of `maxpause`
16+
17+
* [`mod_disco.server_info.module`](../../modules/mod_disco/#modulesmod_discoserver_info): the field is optional, no longer required
18+
19+
* [`mod_global_distrib.connections.advertised_endpoints`](../../modules/mod_global_distrib/#modulesmod_global_distribconnectionsadvertised_endpoints): default not set (`false` is no longer accepted)
20+
21+
* `mod_global_distrib.connections.tls.enabled`: the flag was removed, TLS is enabled by providing the [`cacertfile`](../../modules/mod_global_distrib/#modulesmod_global_distribconnectionstlscacertfile) and [`certfile`](../../modules/mod_global_distrib/#modulesmod_global_distribconnectionstlscertfile) options
22+
23+
* [`mod_http_upload.max_file_size`](../../modules/mod_http_upload/#modulesmod_http_uploadmax_file_size): `undefined` is no longer allowed
24+
25+
* [`mod_mam_meta.user_prefs_store`](../../modules/mod_mam/#modulesmod_mam_metauser_prefs_store): `false` is no longer allowed
26+
27+
* [`mod_muc_light.config_schema`](../../modules/mod_muc_light/#modulesmod_muc_lightconfig_schema): the usage of `value` and `type` fields was replaced with one of the following fields: `string_value`, `integer_value` or `float_value`
28+
29+
* [`mod_muc_log.css_file`](../../modules/mod_muc_log/#modulesmod_muc_logcss_file): the default value was changed from `"false"` to `not set`
30+
31+
* `mod_stream_management`: minor adjustments of [`buffer_max`](../../modules/mod_stream_management/#modulesmod_stream_managementbuffer_max) and [`ack_freq`](../../modules/mod_stream_management/#modulesmod_stream_managementack_freq) options, [`buffer`](../../modules/mod_stream_management/#modulesmod_stream_managementbuffer) and [`ack`](../../modules/mod_stream_management/#modulesmod_stream_managementack) booleans were added
32+
33+
* [`listen.c2s.tls.ciphers`](../../advanced-configuration/listen/#listenc2stlsciphers), [`listen.http.tls.ciphers`](../../advanced-configuration/listen/#listenhttptlsciphers) and [`outgoing_pools.*.*.connection.tls.ciphers`](../../advanced-configuration/outgoing-connections/#outgoing_poolsconnectiontlsciphers): the ciphers should now be formatted as a specification string
34+
35+
* [listen.http.handlers.mod_websockets.ping_rate](../../advanced-configuration/listen/#listenhttphandlersmod_websocketsping_rate): `none` is no longer allowed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ nav:
3636
- '3.6.0 to 3.7.0': 'migrations/3.6.0_3.7.0.md'
3737
- '3.7.0 to 4.0.0': 'migrations/3.7.0_4.0.0.md'
3838
- '4.0.0 to 4.0.1': 'migrations/4.0.0_4.0.1.md'
39+
- '4.0.1 to 4.x.x': 'migrations/4.0.1_4.x.x.md'
3940
- 'MAM MUC migration helper': 'migrations/jid-from-mam-muc-script.md'
4041
- Platform:
4142
- 'Contributions to ecosystem': 'Contributions.md'

0 commit comments

Comments
 (0)