Skip to content

Commit bdf0f46

Browse files
committed
🚀 Release 5.10.2
1 parent 3201013 commit bdf0f46

14 files changed

Lines changed: 38 additions & 41 deletions

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ DataFormsJS uses [Semantic Versioning](https://docs.npmjs.com/about-semantic-ver
44

55
Overall the core Framework files and API are expected to remain stable however the version number is expected to increase to much larger numbers in the future due to the changes to smaller scripts and components. This change log includes Framework release history and new website features or major changes.
66

7+
## 5.10.2 (September 25, 2021)
8+
9+
* Updated `<json-data>` Web Component
10+
* Added HTML Attribute `manual-fetch-mode`, that if defined on an element prevents the web service from running when the page first loads. This allows for scenarios where one user may need to see the data and another user may not based on permissions. When this attribute is defined the `fetch()` method can be used to download the data.
11+
```html
12+
<json-data url="..." manual-fetch-mode>
13+
```
14+
```js
15+
document.querySelector('json-data[manual-fetch-mode]').fetch()
16+
```
17+
718
## 5.10.1 (September 3, 2021)
819

920
* Updated the new Animation Service and Plugin to include an optional property for specifying `intersectionRatio`

docs/to-do-list.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ TODO List
2222
|
2323
--------------------------------------------------------------------------
2424

25-
**) Finish testing and publish updates for <json-data>[manual-fetch-mode]
26-
27-
**) Current Updates related to release 5.10.0 and 5.10.1 (These updates are planned for early September 2021)
28-
- Update jsxLoader docs on how to use the new debugging property
29-
A brief comment was added for `jsxLoader.sourceMaps` in the English doc however it needs
30-
it's own section with screenshots and more details. Update all Translations as well.
25+
**) Check and update Screenshots on jsxLoader docs for the new debugging topic (September 25, 2021)
26+
https://github.com/dataformsjs/dataformsjs/blob/master/docs/jsx-loader.md
27+
Screenshots are here:
28+
https://github.com/dataformsjs/static-files/tree/master/img/docs
29+
They were generated on Mac Retina and resolution was large.
30+
Check multiple monitors to see how they look, first image has already be resized but
31+
it might look better as a new image from Windows.
32+
https://macissues.com/2014/03/29/adjust-retina-macbook-screenshots-to-be-actual-size/
3133

3234
**) Update the Getting Started CSS Template used here:
3335
https://www.dataformsjs.com/en/getting-started

js/DataFormsJS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3212,7 +3212,7 @@
32123212

32133213
// Add Build Version
32143214
// For new releases this gets updated automatically by [scripts/build.js].
3215-
Object.defineProperty(app, 'version', { value: '5.10.1', enumerable: true });
3215+
Object.defineProperty(app, 'version', { value: '5.10.2', enumerable: true });
32163216

32173217
// Assign [DataFormsJS] and [app] to the global variable space
32183218
window.DataFormsJS = app;

js/DataFormsJS.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/react/es5/DataFormsJS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @link https://www.dataformsjs.com
2-
// @version 5.10.1
2+
// @version 5.10.2
33
// @author Conrad Sollitt (https://conradsollitt.com)
44
// @license MIT
55
(function () {

js/react/es5/DataFormsJS.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/react/es6/DataFormsJS.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/react/jsxLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@
16381638
* Add Build Version
16391639
* For new releases this gets updated automatically by [scripts/build.js].
16401640
*/
1641-
Object.defineProperty(jsxLoader, 'version', { value: '5.10.1', enumerable: true });
1641+
Object.defineProperty(jsxLoader, 'version', { value: '5.10.2', enumerable: true });
16421642

16431643
/**
16441644
* Optional Node Support. Additionally if using webpack or a bundler is being used

js/react/jsxLoader.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/web-components/animation-service.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ How the CSS in this file is defined:
1818
[data-animate="{name}"] { ...initial state... }
1919
2020
# JavaScript will set the class name to the rule. Once set the CSS
21-
# will be triggered running the animation. By default `forwards` is
22-
# used so the animation only runs once.
21+
# will be triggered running the animation. In this file `forwards`
22+
# is used so the animation only runs once.
2323
[data-animate="{name}"].{name} {
2424
animation: {name} var(--duration) ease-in-out forwards;
2525
}
26+
27+
# Examples:
28+
https://dataformsjs.com/examples/animation-web.htm
29+
https://dataformsjs.com/examples/animation-js.htm
2630
*/
2731

2832
:root {

0 commit comments

Comments
 (0)