Repository navigation
Freeze the public API for 3.0.0 - #247
Merged
Merged
Conversation
Graduate web history, path bindings and NavigationFlow out of @ExperimentalEnroApi. EmbeddedDestination stays experimental. Generated installNavigationController code no longer suppresses INVISIBLE_REFERENCE: internalCreateEnroController and EnroLog.forceAndroidLogs are public behind @InternalEnroApi. Trim surface that was public by accident: - remove the List-backstack rememberNavigationContainer overload - PathRepository is internal - constructors of EnroController, NavigationContainer, the context classes, NavigationContainerState and NavigationSavedStateHolder are @AdvancedEnroApi - enro-test compiles in explicit API mode enro-compat: EnroPreview renders its content; onContainer, onParentContainer and onActiveContainer are deprecated because they never ran their block. enro, enro-ui and enro-compat no longer publish material, material3, material-icons-extended, resources or ui-tooling dependencies. Add Kotlin ABI validation with committed dumps, checked by continuousIntegration. Advanced, Experimental and Internal APIs are excluded from the dumps. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes that are cheaper to make before 3.0.0 freezes the public API than after.
NavigationFloware no longer@ExperimentalEnroApi.EmbeddedDestinationstays experimental.installNavigationControllercode no longer suppressesINVISIBLE_REFERENCE.internalCreateEnroControllerandEnroLog.forceAndroidLogsare public behind@InternalEnroApi.List-backstackrememberNavigationContaineroverload. The 2.x-named deprecations stay.PathRepositoryis internal. Constructors ofEnroController,NavigationContainer, the context classes,NavigationContainerStateandNavigationSavedStateHolderare@AdvancedEnroApi(they can't be internal:enro-testuses them).enro-testcompiles in explicit API mode. 69 declarations gained an explicitpublic; its surface is unchanged.enro-compat:EnroPreviewrenders its content;onContainer,onParentContainerandonActiveContainerare deprecated because they never ran their block.enro,enro-uiandenro-compatno longer publish material3, material-icons-extended, resources or ui-tooling dependencies (enro-compatkeeps material). They use a newconfigure-compose-uiconvention, which also depends oncompose.desktop.commonrather thancurrentOs.api/directory andcheckKotlinAbiadded tocontinuousIntegration. Advanced, Experimental and Internal APIs are excluded from the dumps.-Xfriend-pathsflags removed.Not changed
enro-lintstill looks up the non-existentdev.enro.core.NavigationHandleProperty.FlowStepBuilderScopestays:NavigationFlowScopeCompatuses it.Test plan
desktopTestand JVMtestpass locallyenro-runtimeandenro-uicompile foriosSimulatorArm64checkKotlinAbipasses; dumps contain none of the removed or excluded names@OptIn(InternalEnroApi::class)and no suppressionpublishEnroLocal, then check theenro,enro-uiandenro-compatPOMs🤖 Generated with Claude Code