You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renames the Component.local_key field to component_code, switching
from key_field() to code_field() (stricter validation: [A-Za-z0-9\-\_\.]+,
max_length=255). Updates all API call sites, backup/restore, and tests.
Backup/restore now writes an [entity.component] section in each component
TOML file containing component_type and component_code explicitly, so that
restore does not need to parse the entity key. Old archives (without the
[entity.component] section) are still accepted by falling back to the
existing entity key parsing.
BREAKING CHANGE: Component.local_key has been renamed to Component.component_code.
BREAKING CHANGE: Component.component_code now validates against
[A-Za-z0-9\-\_\.]+ and has a max_length of 255. Previously local_key
used key_field() (no regex validation, max_length=500).
BREAKING CHANGE: Function parameters renamed from local_key to component_code
in create_component(...) and create_component_and_version(...).
BREAKING CHANGE: Functions get_component_by_key(...)/component_exists_by_key(...),
renamed to get_component_by_code(...)/component_exists_by_code(...), and
parameters renamed from local_key to component_code.
Part of: #322
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments