mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	## About the changes Refactor the main nav, with the following goals: * Communicate the value of each section vs the format (ex: “Understanding Unleash” vs “Topic Guides”) * Make space for the Feature Flag tutorials section that we’re starting to build * Scope updates to navigation and pages that need updates based on new URLs & organization * Update URLs to follow the new hierarchy without breaking links (adding redirects & editing internal links between pages as needed) ### Important files sidebar.js docusaurus.config.js ## Discussion points * Redirects can't be tested out of prod, which is a bummer :/ * Some URLs have been preserved untouched while we monitor for potential negative SEO impact of client-side redirects * It's a large PR (sorry). Nav changes and file movements impacted lots of files. --------- Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
		
			
				
	
	
		
			61 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						||
title: Dependent Features
 | 
						||
---
 | 
						||
 | 
						||
:::info Availability
 | 
						||
 | 
						||
**Dependent features** were first introduced in Unleash 5.7 for Pro and Enterprise users.
 | 
						||
:::
 | 
						||
 | 
						||
## Overview
 | 
						||
 | 
						||
Dependent features allow to define a child feature flag that depends on a parent feature flag.  
 | 
						||
A feature flag can have only one parent dependency but multiple child flags can share the same parent. For a child flag to be activated, its parent dependency must be enabled.
 | 
						||
 | 
						||
## Parent dependency criteria
 | 
						||
 | 
						||
* **Project Association**: Both parent and child flags should belong to the same project.
 | 
						||
* **Single Level Dependency**: The parent flag can’t have its own parent, ensuring a straightforward, single-level dependency.
 | 
						||
 | 
						||
## Managing dependencies
 | 
						||
 | 
						||
### Adding
 | 
						||
 | 
						||
Introduce dependencies either through the UI or API, also applicable when copying a child feature with an existing parent dependency.
 | 
						||
 | 
						||

 | 
						||
 | 
						||
### Removing
 | 
						||
 | 
						||
Eliminate them through the UI or API. Dependencies are also removed when archiving a child feature. A parent feature can’t be removed if it would leave a child feature orphaned. To remove both, batch archive them. If Unleash confirms no other child features are using the parent, archiving proceeds.
 | 
						||
 | 
						||

 | 
						||
 | 
						||
 | 
						||
## Permissions
 | 
						||
 | 
						||
The **Update feature dependency** project permission, auto-assigned to admin and project members, allows managing dependencies.
 | 
						||
 | 
						||
## Metrics calculation
 | 
						||
 | 
						||
Metrics are influenced solely by the evaluation of child features.
 | 
						||
 | 
						||
## Client SDK Support {#client-sdk-support}
 | 
						||
 | 
						||
To make use of dependent feature, you need to use a compatible client. Client SDK with variant support:
 | 
						||
 | 
						||
- [unleash-client-node](https://github.com/Unleash/unleash-client-node) (from v4.2.0)
 | 
						||
- [unleash-client-java](https://github.com/Unleash/unleash-client-java) (from v8.4.0)
 | 
						||
- [unleash-client-go](https://github.com/Unleash/unleash-client-go) (from v3.9.0)
 | 
						||
- [unleash-client-python](https://github.com/Unleash/unleash-client-python) (from v5.9.0)
 | 
						||
- [unleash-client-ruby](https://github.com/Unleash/unleash-client-ruby) (from v4.6.0)
 | 
						||
- [unleash-client-dotnet](https://github.com/Unleash/unleash-client-dotnet) (from v3.4.0)
 | 
						||
- [unleash-client-php](https://github.com/Unleash/unleash-client-php) (from v1.14.0)
 | 
						||
- Client SDKs talking to [unleash-proxy](https://github.com/Unleash/unleash-proxy) (from v0.18.0)
 | 
						||
- Client SDKs talking to [unleash-edge](https://github.com/Unleash/unleash-edge) (from v13.1.0)
 | 
						||
- Client SDKs talking to Frontend API in [unleash-server](https://github.com/Unleash/unleash) (from v5.7.0)
 | 
						||
- Unleash Playground in [unleash-server](https://github.com/Unleash/unleash) (from v5.7.0)
 | 
						||
 | 
						||
 | 
						||
If you would like to give feedback on this feature, experience issues or have questions, please feel free to open an issue on [GitHub](https://github.com/Unleash/unleash/).
 |