kibana/docs/extend
Christiane (Tina) Heiligers 19c017a111
Removed switchToModelVersionAt from SO API definition (#219029)
## Summary
Part of https://github.com/elastic/kibana/issues/201807

**Strategy**:
This PR assumes that `switchToModelVersionAt` has done it’s job and all
SO type owners now use `modelVersions` instead of `migrations`.
It takes the approach of trusting that this is fine™

**Changes in this PR:**
- `switchToModelVersionAt` removed from all registered saved objects, so
their mapping hash had to be updated.
- Implements `globalSwitchToModelVersionAt` directly in `version_map`
- Updates logic to prioritize `modelVersions` over `migrations` in
`getLatestMappingsModelVersion`, that previously relied on
`switchToModelVersionAt` being set
- Updates unit tests to match the refactored logic
- Updates snapshots
- Adapts SO types registered in the **cases**, **SLO** and **encrypted
saved objects** plugins.
- Updates docs

**Risks**:
- Plugin developers disregard the deprecated status of `migrations` and
introduce new versions, which will not be BWC. Saved object type hash
changes will notify the core team for a code owner review. The core team
needs to investigate the related changes and provide feedback.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-04-26 08:00:09 -07:00
..
images [docs] Miscellaneous docs clean up (#215260) 2025-03-25 12:57:00 +00:00
add-data-tutorials.md
advanced.md
application-service.md
building-kibana.md
ci-metrics.md
configuration-service.md
contributing.md
core-packages.md
dashboard-enhanced-plugin.md
dependencies-versions.md [Docs] Add link to dependencies page (#218588) 2025-04-21 14:54:05 -04:00
development-basepath.md
development-best-practices.md
development-documentation.md
development-getting-started.md
development-github.md
development-plugin-resources.md
development-pull-request.md
development-security.md
development-telemetry.md
development-tests.md update package testing script after /test was moved to src/platform/test (#214730) 2025-03-17 17:27:47 +01:00
development-visualize-index.md
elasticsearch-service.md
enhanced-embeddables-plugin.md
external-plugin-development.md
external-plugin-functional-tests.md SKA: Relocate /test to /src/platform/test (#210956) 2025-03-14 16:57:23 +00:00
external-plugin-localization.md
http-service.md
index.md [Docs] Add link to dependencies page (#218588) 2025-04-21 14:54:05 -04:00
interpreting-ci-failures.md [docs] Fix image paths for docs-assembler (#218344) 2025-04-15 16:59:57 -05:00
kibana-architecture.md
kibana-dashboard-plugin.md
kibana-debugging.md [docs] Fix image paths for docs-assembler (#218344) 2025-04-15 16:59:57 -05:00
kibana-expressions-plugin.md [docs] Fix image paths for docs-assembler (#218344) 2025-04-15 16:59:57 -05:00
kibana-issue-reporting.md
kibana-linting.md
kibana-navigation.md [docs] Miscellaneous docs clean up (#215260) 2025-03-25 12:57:00 +00:00
kibana-platform-api.md
kibana-platform-plugin-api.md
legacy-url-aliases.md
logging-config-changes.md
logging-service.md
monorepo-packages.md
patterns.md
plugin-list.md [workchat] prepare the workflow framework (#218138) 2025-04-22 22:04:26 +02:00
plugin-performance.md
plugin-tooling.md
pr-review.md
reporting-integration.md
running-elasticsearch.md
running-kibana-advanced.md
sample-data.md
saved-objects-service.md Removed switchToModelVersionAt from SO API definition (#219029) 2025-04-26 08:00:09 -07:00
security-best-practices.md
sharing-saved-objects.md [docs] Fix image paths for docs-assembler (#218344) 2025-04-15 16:59:57 -05:00
stability.md
testing-kibana-plugin.md
toc.yml [Docs] Add link to dependencies page (#218588) 2025-04-21 14:54:05 -04:00
translations-plugin.md
typescript.md
ui-settings-service.md
uiactions-plugin.md [docs] Remove jsx from typescript code blocks (#213955) 2025-03-11 15:48:24 +00:00
upgrading-nodejs.md