Skip to content

Commit

Permalink
Merge pull request getodk#208 from getodk/chore/release-030-etc
Browse files Browse the repository at this point in the history
Prepare release: `@getodk/web-forms` 0.3.0
  • Loading branch information
sadiqkhoja authored Sep 4, 2024
2 parents 06775d3 + 581219c commit a1bd2f4
Show file tree
Hide file tree
Showing 32 changed files with 152 additions and 125 deletions.
5 changes: 0 additions & 5 deletions .changeset/breezy-sheep-play.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/brown-cars-grow.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/itchy-icons-notice.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/popular-jobs-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pretty-walls-relate.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/proud-elephants-remain.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/quiet-donkeys-tie.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/rotten-turtles-tease.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/silent-meals-sin.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tasty-hornets-fix.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tough-fans-cross.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-colts-thank.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/young-balloons-fly.md

This file was deleted.

22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Here is the feature matrix and the progress we have made so far:
<!-- autogen: feature-matrix -->

<details>
<summary>${\mathtt{Question \space \space types \space \space (basic \space \space functionality)\color{transparent}==== \color{green}███\color{LightGray}█████████████████ \space \color{initial} 15\%}}$</summary>
<summary>${\mathtt{Question \space \space types \space \space (basic \space \space functionality)\color{transparent}==== \color{green}███\color{LightGray}█████████████████ \space \color{initial} 18\%}}$</summary>

<br/>

Expand All @@ -48,7 +48,7 @@ Here is the feature matrix and the progress we have made so far:
| text ||
| integer | |
| decimal | |
| note | 🚧 |
| note | |
| select_one ||
| select_multiple ||
| repeat ||
Expand Down Expand Up @@ -153,7 +153,7 @@ Here is the feature matrix and the progress we have made so far:
</details>

<details>
<summary>${\mathtt{Form \space \space Logic\color{transparent}============================== \color{green}██████████\color{LightGray}██████████ \space \color{initial} 50\%}}$</summary>
<summary>${\mathtt{Form \space \space Logic\color{transparent}============================== \color{green}████████████████\color{LightGray}████ \space \color{initial} 83\%}}$</summary>

<br/>

Expand All @@ -162,27 +162,27 @@ Here is the feature matrix and the progress we have made so far:
| calculate ||
| relevant ||
| required ||
| required message | 🚧 |
| custom constraint | 🚧 |
| constraint message | 🚧 |
| required message | |
| custom constraint | |
| constraint message | |
| read only ||
| trigger | |
| choice filter ||
| default ||
| query parameter | |
| repeat_count | |
| repeat_count | |

</details>

<details>
<summary>${\mathtt{Descriptions \space \space and \space \space Annotations\color{transparent}============ \color{green}██\color{LightGray}██████████████████ \space \color{initial} 13\%}}$</summary>
<summary>${\mathtt{Descriptions \space \space and \space \space Annotations\color{transparent}============ \color{green}████\color{LightGray}████████████████ \space \color{initial} 20\%}}$</summary>

<br/>

| Feature <img width=250px/> | Progress |
| ---------------------------------------------- | :------: |
| label ||
| hint | |
| hint | |
| guidance hint | |
| Translations ||
| Translations with field/question value | |
Expand Down Expand Up @@ -236,7 +236,7 @@ Here is the feature matrix and the progress we have made so far:
</details>

<details>
<summary>${\mathtt{XPath\color{transparent}=================================== \color{green}██████████████████\color{LightGray}█ \space \color{initial} 94\%}}$</summary>
<summary>${\mathtt{XPath\color{transparent}=================================== \color{green}██████████████████\color{LightGray}█ \space \color{initial} 95\%}}$</summary>

<br/>

Expand Down Expand Up @@ -311,7 +311,7 @@ Here is the feature matrix and the progress we have made so far:
| count-selected(node node) ||
| jr:choice-name(node node, string value) | |
| jr:itext(string id) ||
| indexed-repeat(node-set arg, node-set re<br/>peat1, number index1, [node-set repeatN,<br/> number indexN]{0,2}) | |
| indexed-repeat(node-set arg, node-set re<br/>peat1, number index1, [node-set repeatN,<br/> number indexN]{0,2}) | |
| area(node-set ns\|geoshape gs) ||
| distance(node-set ns\|geoshape gs\|geotr<br/>ace gt\|(geopoint\|string) arg\*) ||
| base64-decode(base64Binary input) | |
Expand Down
14 changes: 7 additions & 7 deletions feature-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"text": "",
"integer": "",
"decimal": "",
"note": "🚧",
"note": "",
"select_one": "",
"select_multiple": "",
"repeat": "",
Expand Down Expand Up @@ -93,19 +93,19 @@
"calculate": "",
"relevant": "",
"required": "",
"required message": "🚧",
"custom constraint": "🚧",
"constraint message": "🚧",
"required message": "",
"custom constraint": "",
"constraint message": "",
"read only": "",
"trigger": "",
"choice filter": "",
"default": "",
"query parameter": "",
"repeat_count": ""
"repeat_count": ""
},
"Descriptions and Annotations": {
"label": "",
"hint": "",
"hint": "",
"guidance hint": "",
"Translations": "",
"Translations with field/question value": "",
Expand Down Expand Up @@ -210,7 +210,7 @@
"count-selected(node node)": "",
"jr:choice-name(node node, string value)": "",
"jr:itext(string id)": "",
"indexed-repeat(node-set arg, node-set repeat1, number index1, [node-set repeatN, number indexN]{0,2})": " ",
"indexed-repeat(node-set arg, node-set repeat1, number index1, [node-set repeatN, number indexN]{0,2})": "",
"area(node-set ns|geoshape gs)": "",
"distance(node-set ns|geoshape gs|geotrace gt|(geopoint|string) arg*)": "",
"base64-decode(base64Binary input)": ""
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"types": "turbo run types",
"bump": "changeset add",
"format": "prettier -w \"**/*\" --ignore-unknown --cache",
"format:readme-only": "prettier -w README.md",
"format:checkonly": "prettier -c \"**/*\" --ignore-unknown",
"lint": "eslint . --report-unused-disable-directives",
"feature-matrix": "node scripts/feature-matrix/render.js"
Expand Down
7 changes: 7 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @getodk/common

## 0.3.0

### Minor Changes

- 7b63159: Add support for count-controlled (`jr:count`) and fixed (`jr:noAddRemove`) repeat ranges.
- 573b06b: Engine support for `constraint`, `required` validation

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@getodk/common",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"description": "@getodk/common",
"type": "module",
"author": "getodk",
Expand Down
20 changes: 20 additions & 0 deletions packages/scenario/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @getodk/scenario

## 0.3.0

### Minor Changes

- 596c1fe: Add engine support for 'note' nodes
- 0c1534d: - Support tracking `current()` references in computations
- Support tracking references in computations where path references include predicates
- Improve support for repeat-based itemsets
- Improve relative path resolution across the board, fixing many computation update edge cases where expressions include complex path expressions
- Support relative `ref`/`nodeset` body attributes, as well as those with a `current()/` prefix
- Improve function call analysis in XPath expressions, particularly identification of functions called with no arguments
- Lay more mature foundation for general syntax analysis of XPath expressions
- 746aa8a: Support for `indexed-repeat` XPath function
- 7b63159: Add support for count-controlled (`jr:count`) and fixed (`jr:noAddRemove`) repeat ranges.
- 573b06b: Engine support for `constraint`, `required` validation

### Patch Changes

- aa3a84a: Fix: evaluate `jr:count` in context of affected repeat

## 0.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/scenario/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@getodk/scenario",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"description": "@getodk/scenario",
"type": "module",
"author": "getodk",
Expand Down Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@js-joda/core": "^5.6.3",
"@getodk/xforms-engine": "0.2.0",
"@getodk/xforms-engine": "0.3.0",
"@vitest/browser": "^2.0.2",
"jsdom": "^24.1.0",
"solid-js": "^1.8.18",
Expand Down
6 changes: 6 additions & 0 deletions packages/tree-sitter-xpath/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @getodk/tree-sitter-xpath

## 0.1.2

### Patch Changes

- 03305c1: Fix: parse `child` and other axis names as (abbreviated) child name test

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tree-sitter-xpath/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getodk/tree-sitter-xpath",
"version": "0.1.1",
"version": "0.1.2",
"license": "Apache-2.0",
"description": "XPath grammar for tree-sitter",
"type": "commonjs",
Expand Down
25 changes: 25 additions & 0 deletions packages/ui-solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @getodk/ui-solid

## 0.2.0

### Minor Changes

- 596c1fe: Add engine support for 'note' nodes
- 7b63159: Add support for count-controlled (`jr:count`) and fixed (`jr:noAddRemove`) repeat ranges.

### Patch Changes

- 82d35d0: - Show message when required or other constrainst are not satisfied.
- Show error message banner at the top of the Form when "Send" button is pressed and the Form is invalid
- Various design/UI tweaks to beautify the Form
- aa3a84a: Fix: evaluate `jr:count` in context of affected repeat
- 5aa7ebc: - Display Notes fields on the UI
- Show hint for the fields if defined in the Form
- Updated dependencies [e81aa43]
- Updated dependencies [596c1fe]
- Updated dependencies [0c1534d]
- Updated dependencies [1e72854]
- Updated dependencies [aa3a84a]
- Updated dependencies [7b63159]
- Updated dependencies [573b06b]
- @getodk/xforms-engine@0.3.0
- @getodk/common@0.3.0

## 0.1.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getodk/ui-solid",
"version": "0.1.2",
"version": "0.2.0",
"license": "Apache-2.0",
"description": "Solid UI client for ODK Web Forms",
"type": "module",
Expand Down Expand Up @@ -46,8 +46,8 @@
},
"dependencies": {
"@fontsource/roboto": "^5.0.13",
"@getodk/common": "0.2.0",
"@getodk/xforms-engine": "0.2.0",
"@getodk/common": "0.3.0",
"@getodk/xforms-engine": "0.3.0",
"@solidjs/router": "^0.14.1",
"@suid/icons-material": "^0.7.0",
"@suid/material": "^0.16.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/web-forms/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @getodk/web-forms

## 0.3.0

### Minor Changes

- 82d35d0: Validation of `required` and `constraint`
- Show message when `required` or `constraint` are not satisfied.
- Show error message banner at the top of the Form when "Send" button is pressed and the Form is invalid
- Various design/UI tweaks to beautify the Form
- 7b63159: Add support for count-controlled (`jr:count`) and fixed (`jr:noAddRemove`) repeat ranges.
- 573b06b: Engine support for `constraint`, `required` validation
- 5aa7ebc: Support for notes
- Display Notes fields on the UI
- Show hint for the fields if defined in the Form

### Patch Changes

- 596c1fe: Add engine support for 'note' nodes
- 53d5f02: Added "Powered by ODK" caption at the bottom of the Form
- aa3a84a: Fix: evaluate `jr:count` in context of affected repeat

## 0.2.0

### Minor Changes
Expand Down
Loading

0 comments on commit a1bd2f4

Please sign in to comment.