@livinglogic/livingapi 1.36.0 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -1
- package/README.md +2 -2
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +1 -1
- package/dist/esm-npm/livingapi.js.map +1 -1
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +1 -1
- package/src/livingapi.js +56 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.37.0 (unreleased)
|
|
4
|
+
|
|
5
|
+
`App` has a new method `typename(form)` that returns the type name in the
|
|
6
|
+
noun form `form` (e.g. `nom_sin` for nominative singular) for the current
|
|
7
|
+
language: the form from `translations[globals.lang]` wins, then the form from
|
|
8
|
+
the translation for the system language `app.lang`, then the (German) form
|
|
9
|
+
stored in the app itself. If none of them has the form `None` is returned.
|
|
10
|
+
The read-only attribute `App.typenames` (added in 1.35.0) has been removed
|
|
11
|
+
again.
|
|
12
|
+
|
|
13
|
+
The eight `typename_*` attributes of `App` use the same lookup as
|
|
14
|
+
`typename()`. This mirrors the changes in the Java and Python LivingAPI.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 1.36.0 (2026-09-16)
|
|
4
18
|
|
|
5
19
|
`AppLang.typenames` is no longer read-only: It can be set from UL4 (to a dict
|
|
6
20
|
or `None`) like the other attributes of the translation objects. A new
|
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ do
|
|
|
40
40
|
|
|
41
41
|
```html
|
|
42
42
|
<script type="module">
|
|
43
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
43
|
+
import * as la from '/npm/@livinglogic/livingapi@1.37.0/dist/esm-npm/livingapi.js';
|
|
44
44
|
...
|
|
45
45
|
</script>
|
|
46
46
|
```
|
|
@@ -50,7 +50,7 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
```html
|
|
51
51
|
<script type="module">
|
|
52
52
|
import * as ul4 from '/npm/@livinglogic/ul4@1.19.0/dist/esm/ul4.js';
|
|
53
|
-
import * as la from '/npm/@livinglogic/livingapi@1.
|
|
53
|
+
import * as la from '/npm/@livinglogic/livingapi@1.37.0/dist/esm-npm/livingapi.js';
|
|
54
54
|
...
|
|
55
55
|
</script>
|
|
56
56
|
```
|