Pular para o conteúdo

BREAKING_EVENT_CHANGE: Breaking event change

Este conteúdo não está disponível em sua língua ainda.

Severity Fault Stage
warning customer (the source package) version creation

Compared with the version in production (or the latest version while production points nowhere), an event of the component was removed, no longer bubbles or crosses the shadow root, or its detail changed in a way listeners may not understand: another type, a removed field, a field that became optional, a new enum value, a wider bound. The version is created; promoting it to production needs allowBreaking.

Keep emitting the old event with its old detail (add fields beside the old ones), or emit a new event for the new shape; otherwise update the listeners on every page and promote with allowBreaking.