Skip to content

refactor!: move NotProvided/NotProvidedType to Core, remove from Options (0.25.0-beta)#468

Merged
ocots merged 1 commit into
mainfrom
refactor/notprovided-to-core
Jun 26, 2026
Merged

refactor!: move NotProvided/NotProvidedType to Core, remove from Options (0.25.0-beta)#468
ocots merged 1 commit into
mainfrom
refactor/notprovided-to-core

Conversation

@ocots

@ocots ocots commented Jun 26, 2026

Copy link
Copy Markdown
Member

Summary

  • NotProvidedType and NotProvided are now defined and exported only from CTBase.Core (canonical ecosystem-wide sentinel).
  • Removed from CTBase.Options — no re-export. CTBase.Options.NotProvided / CTBase.Options.NotProvidedType no longer exist.
  • Options/not_provided.jl renamed → not_stored.jl (keeps the extraction-internal NotStored/NotStoredType only).
  • Internal Options/Strategies code references Core.NotProvidedType directly.

⚠️ Breaking

Replace Options.NotProvidedCore.NotProvided (and Options.NotProvidedTypeCore.NotProvidedType). See BREAKINGS.md.

Downstream follow-ups (separate PRs): CTModels (compat widen), CTSolvers (Options.NotProvidedCore.NotProvided), CTFlows (Options.NotProvidedCore.NotProvided + use Core.NotProvided for the variable sentinel).

Test plan

  • Full CTBase suite green (3989/3989)
  • test_options.jl asserts NotProvided is in Core and not in Options
  • Aqua green

🤖 Generated with Claude Code

…ons)

NotProvidedType and NotProvided are now defined and exported ONLY from
CTBase.Core as the canonical ecosystem-wide sentinel. They are removed
from CTBase.Options (no re-export): Options.NotProvided / Options.NotProvidedType
no longer exist.

- Options/not_provided.jl renamed to not_stored.jl (keeps NotStored only).
- Internal Options/extraction + option_definition reference Core.NotProvidedType.
- Tests repointed to Core.NotProvided.

BREAKING: replace Options.NotProvided -> Core.NotProvided.
Bump 0.25.0-beta.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ocots
ocots force-pushed the refactor/notprovided-to-core branch from bf440f6 to defd8ac Compare June 26, 2026 11:11
@ocots ocots changed the title refactor: move NotProvided/NotProvidedType from Options to Core (0.24.1-beta) refactor!: move NotProvided/NotProvidedType to Core, remove from Options (0.25.0-beta) Jun 26, 2026
@ocots
ocots merged commit b0a41e7 into main Jun 26, 2026
4 checks passed
@ocots
ocots deleted the refactor/notprovided-to-core branch June 26, 2026 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant