Skip to content

sing-box rule-set upgrade ./filepath.json -w command ommited rule-set version in output file #2484

@AtticusZeller

Description

@AtticusZeller

Operating system

Linux

System version

ubuntu 24.04

Installation type

Original sing-box Command Line

If you are using a graphical client, please provide the version of the client.

Original sing-box Command Line

Version

sing-box version 1.11.0-beta.23

Environment: go1.23.4 linux/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
Revision: bd2e0528154ed1ff618a9ac54f4d8088e8fb501a
CGO: disabled

Description

sing-box rule-set upgrade ./filepath.json -w command ommited rule-set version in output file

{
  # "version": 1, the version field disappeared after upgrade
  "rules": [
    {
}]
}

Reproduction

command

sing-box rule-set upgrade ./filepath.json -w

./filepath.json's rule-set version is 1

Logs

no logs

Supporter

Integrity requirements

  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions