---
title: "MetaTrader 5 Platform update build 5120: Improvements and fixes - Release Notes"
description: "In this version, we have introduced a number of fixes and improvements to the platform. - Release Notes"
image: "https://www.metatrader5.com/c/17/1/build_5120.png"
url: "https://www.metatrader5.com/en/releasenotes/terminal/2395"
---

# MetaTrader 5 Platform update build 5120: Improvements and fixes

## In this version, we have introduced a number of fixes and improvements to the platform

12 June 2025

### Terminal

1. Fixed graphical interface display issues when running on [Linux](https://www.mql5.com/en/articles/625) and [macOS](https://www.mql5.com/en/articles/619).
2. Improved the platform update mechanism. The [MQL5 Standard Library](https://www.mql5.com/en/docs/standardlibrary) will no longer be entirely overwritten during updates – only the files that have actually changed will be replaced.
3. Added automatic reset of full-screen view mode on application restart. The full interface will now be displayed at each launch.

### MQL5

1. Enabled passing of arrays with signed/unsigned typecasting in the following functions:

     - ArraySwap
     - WebRequest
     - CryptEncode
     - CryptDecode
     - StringToCharArray
     - CharArrayToString
     - StringToShortArray
     - ShortArrayToString
     - StructToCharArray
     - CharArrayToStruct
2. Fixed retrieval of key states for MQL programs on the active chart using the [TerminalInfoInteger](https://www.mql5.com/en/docs/check/terminalinfointeger) function.
3. Fixed [ArrayInitialize](https://www.mql5.com/en/docs/array/arrayinitialize) function operation for enum arrays.

### MetaEditor

1. Updated available models for [AI Assistant](https://www.metatrader5.com/en/metaeditor/help/development/ai_assistant). All GPT-4.1 and 04-mini models are now supported.
2. Enabled strict file status verification in [MQL5 Storage](https://www.mql5.com/en/code/storage). File hashes are now checked to prevent false indications. Previously, files without actual local changes compared to the repository version could be incorrectly marked with a red icon.
3. Updated translations of the user interface.

**Earlier publications:**

- [New MetaTrader 5 Platform Build 5100: Transition to Git and MQL5 Algo Forge developer hub, dark theme and interface improvements](https://www.metatrader5.com/en/releasenotes/terminal/2393)
- [MetaTrader 5 for iPhone/iPad: Ruler, text objects for charts, and bar timer](https://www.metatrader5.com/en/releasenotes/terminal/2387)
- [MetaTrader 5 platform build 4755: General improvements](https://www.metatrader5.com/en/releasenotes/terminal/2380)
- [MetaTrader 5 Platform Build 4730: Extended OpenBLAS support and general performance optimization](https://www.metatrader5.com/en/releasenotes/terminal/2378)
- [MetaTrader 5 build 4620: MQL5 bug fixes and new OpenBLAS methods](https://www.metatrader5.com/en/releasenotes/terminal/2371)
