v0.52.0
fatedier/frpv0.52.0Oct 10, 2023by fatedier
AI Summary
Adds support for TOML, YAML, and JSON configuration formats, deprecating INI.
Key Highlights
- New configuration formats: TOML, YAML, and JSON
- INI configuration deprecated
Breaking Changes
- Change visitor start command from 'frpc stcp --role=visitor xxx' to 'frpc stcp visitor xxx'
- Modified semantics of 'server_addr' (no longer includes port)
- Removed support for range ports mapping in new config formats
New Features
- Configuration support for TOML, YAML, and JSON
Full Release Notes
### Features * Configuration: We now support TOML, YAML, and JSON for configuration. Please note that INI is deprecated and will be removed in future releases. New features will only be available in TOML, YAML, or JSON. Users wanting these new features should switch their configuration format accordingly. #2521 ### Breaking Changes * Change the way to start the visitor through the command line from `frpc stcp --role=visitor xxx` to `frpc stcp visitor xxx`. * Modified the semantics of the `server_addr` in the command line, no longer including the port. Added the `server_port` parameter to configure the port. * No longer support range ports mapping in TOML/YAML/JSON.