diff --git a/.changeset/tidy-stingrays-think.md b/.changeset/tidy-stingrays-think.md new file mode 100644 index 00000000000..f1b5d8ecf81 --- /dev/null +++ b/.changeset/tidy-stingrays-think.md @@ -0,0 +1,9 @@ +--- +"@latticexyz/world": major +--- + +Namespaces are not allowed to contain double underscores ("__") anymore, as this sequence of characters is used to [separate the namespace and function selector](https://github.com/latticexyz/mud/pull/2168) in namespaced systems. +This is to prevent signature clashes of functions in different namespaces. + +(Example: If namespaces were allowed to contain this separator string, a function "function" in namespace "namespace__my" would result in the namespaced function selector "namespace__my__function", +and would clash with a function "my__function" in namespace "namespace".)