You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,20 @@
1
1
# Change log
2
2
3
+
## 2.6.0 (release date: 03.02.2020)
4
+
5
+
### Tools
6
+
* Build process was refactored, CLI commands and Platform API were affected. See [migrations/2.5.0.md](./docs/migrations/2.5.0.md) for more details.
7
+
*`zb build` now only accepts one platform and can't build for several at once.
8
+
*`AbstractPlatform.buildApp` method is deprecated in favor of `AbstractPlatform.pack`.
9
+
* Include entities now only get included in build for the platform that specified them.
10
+
* Console output and logging was improved and now can be controlled with `--log-level` or `-l` flag, see `zb --help`.
11
+
*`generated/package-info` was removed.
12
+
3
13
## 2.5.0 (release date 23.01.2020)
4
14
5
15
### Framework
6
16
* ENTER key events caused by mouse clicks now no longer propagates down widget tree.
7
-
* generated/package-info was deprecated and several defines were introduced to replace it. See [migrations/2.5.0.md](./docs/migrations/2.5.0.md) for more details.
17
+
*`generated/package-info` was deprecated and several defines were introduced to replace it. See [migrations/2.5.0.md](./docs/migrations/2.5.0.md) for more details.
8
18
* Version checker will now tolerate prerelease versions.
`zb build` no longer accepts a list of platforms or a special argument `all`. Invoke this command several times to compile for several platforms.
6
+
7
+
I.e. instead of `zb build tizen webos` use `zb build tizen` followed by `zb build webos`.
8
+
9
+
## `AbstractPlatform.pack`
10
+
11
+
`AbstractPlatform.pack` is meant to repalce `AbstractPlatform.buildApp`. The difference is that the new method is invoked after application `index.html` and static files were processed and only needs to pack them into platform artifact and does not need to call `BuildHelper` methods to build html application.
12
+
13
+
To migrate, platforms should replace `buildApp` implementation with `pack`, remove calls to `writeIndexHTML` and `copyStaticFiles`, assume `index.html` and all the necessary files already exist in build dir and proceed with platform-specific processing and packaging an artifact.
14
+
15
+
No migration should be necessary for application as the changes are backwards compatible, albeit this requires running compilation twice.
16
+
17
+
## `generated/package-info` removal
18
+
19
+
`generated/package-info` was properly removed following its deprecation in 2.5.0. See 2.5.0 [migration guide](./2.5.0.md).
0 commit comments