Skip to content

Commit

Permalink
[INTERNAL] Correct v2 UI5 Server breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Apr 1, 2020
1 parent 6eb3123 commit f2fe6e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/updates/migrate-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ In case of libraries, additional fallbacks are in place:

If a library contains both a manifest.json and a .library file, they must be located in the same directory. Otherwise the manifest.json is ignored. In cases where the manifest.json is located at a higher level or in a different directory at the same level as the .library file, an exception is thrown.

**UI5 Server: serveResources middleware: Expect *.properties files in UTF-8 by default ([SAP/ui5-server#303](https://github.com/SAP/ui5-server/pull/303))**
**UI5 Server: serveResources middleware: Expect `*.properties` files in UTF-8 by default ([SAP/ui5-server#303](https://github.com/SAP/ui5-server/pull/303))**

When integrating the serveResources middleware directly into a custom server, it now handles `*.properties` files as being UTF-8 encoded.
For projects of types **other** than `application` or `library`, the UI5 Server now expects `*.properties` files to be UTF-8 encoded as opposed to `ISO-8859-1` before.

_**Note:** This change does not affect you when you use the UI5 Server as part of the UI5 CLI or use the top level [`server.serve`](https://sap.github.io/ui5-tooling/api/module-@ui5_server.server.html#.serve) API. In those cases the project specific [configuration](../pages/Configuration.md#encoding-of-properties-files) defines the encoding of `*.properties` files._
_**Note:** This change does not affect most projects as `*.properties` files are typically only located in applications or libraries, for which their project specific [configuration](../pages/Configuration.md#encoding-of-properties-files) is used._

**UI5 FS: Remove deprecated parameter useNamespaces ([SAP/ui5-fs#223](https://github.com/SAP/ui5-fs/pull/223))**

Expand All @@ -49,7 +49,7 @@ npm install --global @ui5/cli
To upgrade the CLI installation within a project, you need to run the following command:

```
npm install @ui5/cli@^2
npm install --save-dev @ui5/cli@^2
```

### ui5.yaml
Expand Down

0 comments on commit f2fe6e7

Please sign in to comment.