@livinglogic/livingapi 1.37.0 → 1.39.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 CHANGED
@@ -1,6 +1,24 @@
1
1
  # Changes
2
2
 
3
- ## 1.37.0 (unreleased)
3
+ ## 1.39.0
4
+
5
+ `AppLookupControl` and `MultipleAppLookupControl` have a new read-only
6
+ attribute `on_delete` that specifies what happens when a record that is
7
+ referenced by a field of this control gets deleted: `null` means that the
8
+ reference is set to `null`, `"restrict"` means that deleting the referenced
9
+ record is prevented and `"cascade"` means that the referencing record is
10
+ deleted too. This mirrors the changes in the Java and Python LivingAPI (where
11
+ the attribute can also be changed and saved).
12
+
13
+
14
+ ## 1.38.0
15
+
16
+ `Globals` has a new read-only attribute `sys_lang` that contains the system
17
+ language (e.g. `de` or `en`), i.e. the fallback language that is used when
18
+ no translation for `globals.lang` exists.
19
+
20
+
21
+ ## 1.37.0
4
22
 
5
23
  `App` has a new method `typename(form)` that returns the type name in the
6
24
  noun form `form` (e.g. `nom_sin` for nominative singular) for the current
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.37.0/dist/esm-npm/livingapi.js';
43
+ import * as la from '/npm/@livinglogic/livingapi@1.39.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.37.0/dist/esm-npm/livingapi.js';
53
+ import * as la from '/npm/@livinglogic/livingapi@1.39.0/dist/esm-npm/livingapi.js';
54
54
  ...
55
55
  </script>
56
56
  ```