# Qlik Sense 2.1

## New methods

### App class

* *GetLibraryContent method*
* *GetContentLibraries method*
* *CreateSessionVariable method*
* *CreateVariableEx method*
* *DestroySessionVariable method*
* *DestroyVariableById method*
* *DestroyVariableByName method*
* *GetVariableById method*
* *GetVariableByName method*

### GenericVariable class

* *ApplyPatches method*
* *GetInfo method*
* *GetLayout method*
* *GetProperties method*
* *Publish method*
* *SetDualValue method*
* *SetNumValue method*
* *SetProperties method*
* *SetStringValue method*
* *UnPublish method*

## Deprecated methods

### App class

* *GetMediaList method* replaced with *GetLibraryContent method* (Global class).
* *CreateVariable method* replaced with *CreateVariableEx method* and *CreateSessionVariable method*.
* *GetVariable method* replaced with *GetVariableById method* and *GetVariableByName method*.
* *RemoveVariable method* replaced with *DestroyVariableById method*, *DestroyVariableByName method* and *DestroySessionVariable method*.

### Variable class

* *ForceContent method* replaced with *SetProperties method* (GenericVariable class).
* *GetContent method* replaced with *GetProperties method* (GenericVariable class).
* *GetNxProperties method* replaced with *GetProperties method* (GenericVariable class).
* *GetRawContent method* replaced with *GetProperties method* (GenericVariable class).
* *SetContent method* replaced with *SetProperties method* (GenericVariable class).
* *SetNxProperties method* replaced with *SetProperties method* (GenericVariable class).

## Removed methods

### Global class

* ReplaceAppFromPath, use *ReplaceAppFromID method* instead.