# Enhanced extension management and variable types

> Update: New Designer API methods for extension management and expanded variable type support.

In this release, the Designer API introduces key enhancements to improve extension lifecycle management and expand the types of variables available in the Designer.

## Extension management

Programmatically close extensions and access contextual launch information

* **[`webflow.closeExtension()`](/designer/reference/close-extension)** <br />
  Close the current extension. This enables more control over the extension lifecycle and user experience flows.

* **[`webflow.getLaunchContext()`](/designer/reference/get-launch-context)** <br />
  Retrieve initialization context information when an extension is launched. This method provides critical data about how the extension was activated, whether through an [App Intent, App Connection](/designer/reference/app-intents-and-connections), or [deep link](/apps/deep-linking).

## Variable system enhancements

Create and manage **percentage** and **number** variables for more flexible design systems

* **[`webflow.createPercentageVariable(options)`](/designer/reference/create-percentage-variable)** <br />
  Create percentage-based variables for responsive design values such as opacity levels, width/height constraints, or other proportional measurements.

* **[`webflow.createNumberVariable(options)`](/designer/reference/create-number-variable)** <br />
  Create numeric variables for values that require precise control without measurement units, such as animation iterations, z-index values, or quantity indicators.