{"version":"2.1.219","anchor":"artifact-publish-options-moved-to-an-options-object","canonical_anchor":"artifact-publish-options-moved-to-an-options-object","heading":"Artifact publish options moved to an options object","tier":"internal","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219\/e\/artifact-publish-options-moved-to-an-options-object","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.219","markdown":"### Artifact publish options moved to an options object\n\nArtifact publishing takes cleaner options and can report which sidecar types were refused.\n\n**What**\n\nThe artifact publish helper takes a single options bag instead of positional flags, and reports one more field on success.\n\n**Details**\n\n- Options are `injectDiagramRuntime`, `injectHighlightRuntime` and `composedPrReview`.\n- Successful validation can attach `refusedClassSidecarTypes` to the result.\n- Content-type detection for uploaded files moved from an inline extension map to a helper.\n\n**Evidence**\n\n`injectDiagramRuntime`\n\n- Area: Artifacts\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}