@livinglogic/livingapi 1.7.0 → 1.9.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 -0
- package/HOWTO-release.md +2 -2
- package/README.md +6 -6
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +2 -0
- package/dist/esm-npm/livingapi.js.map +1 -0
- 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/rollup.config.js +11 -1
- package/src/livingapi.js +15 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.9.0 (2024-07-04)
|
|
4
|
+
|
|
5
|
+
The LivingApps platform support provides an NPM proxy. To use the module version
|
|
6
|
+
of the LivingAPI from that proxy use the new build version stored in
|
|
7
|
+
`dist/esm-npm` like this:
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 1.8.0 (2024-06-18)
|
|
14
|
+
|
|
15
|
+
Add field `required` in class `Field`.
|
|
16
|
+
|
|
17
|
+
|
|
3
18
|
## 1.7.0 (2024-05-31)
|
|
4
19
|
|
|
5
20
|
Fix handling of UL4 arguments for `Globals.log_debug()` and related functions.
|
package/HOWTO-release.md
CHANGED
|
@@ -27,7 +27,7 @@ you see.
|
|
|
27
27
|
|
|
28
28
|
(using the correct version number).
|
|
29
29
|
|
|
30
|
-
2.
|
|
30
|
+
2. Bump the version number in `package.json`. Since the version number is
|
|
31
31
|
incorporated into the generated source and the generated source is checked
|
|
32
32
|
in, you have to build the release files, after you update the version number
|
|
33
33
|
like this:
|
|
@@ -42,7 +42,7 @@ you see.
|
|
|
42
42
|
|
|
43
43
|
3. Update UL4 and LivingAPI version number in the example code in `README.md`.
|
|
44
44
|
|
|
45
|
-
4.
|
|
45
|
+
4. Check in the resulting changes.
|
|
46
46
|
|
|
47
47
|
5. Close the release branch with the following command:
|
|
48
48
|
|
package/README.md
CHANGED
|
@@ -17,8 +17,8 @@ Install the npm packages:
|
|
|
17
17
|
npm install
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js
|
|
21
|
-
`dist/esm-static/livingapi.js`:
|
|
20
|
+
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js`,
|
|
21
|
+
`dist/esm-static/livingapi.js` and `dist/esm-npm/livingapi.js`:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
24
|
npm run build
|
|
@@ -34,14 +34,14 @@ In your HTML include the following:
|
|
|
34
34
|
<script src="{path_to_livingapi}/dist/umd/livingapi.js"></script>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
now you can use the Javascript variable `la
|
|
37
|
+
now you can use the Javascript variable `la` (and `ul4`).
|
|
38
38
|
|
|
39
39
|
Or if you want to use the LivingAPI on https://my.living-apps.de/ as a module,
|
|
40
40
|
do
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<script type="module">
|
|
44
|
-
import * as la from '/
|
|
44
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
45
45
|
...
|
|
46
46
|
</script>
|
|
47
47
|
```
|
|
@@ -50,8 +50,8 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
|
|
51
51
|
```html
|
|
52
52
|
<script type="module">
|
|
53
|
-
import * as ul4 from '/
|
|
54
|
-
import * as la from '/
|
|
53
|
+
import * as ul4 from '/npm/@livinglogic/ul4@1.16.1/dist/esm/ul4.js';
|
|
54
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
55
55
|
...
|
|
56
56
|
</script>
|
|
57
57
|
```
|