Skip to content

Commit

Permalink
changesets
Browse files Browse the repository at this point in the history
- Minor revision of wording from original changeset in 8af45cd
- That wording is now associated with a changeset specific to `@getodk/xforms-engine`, where that language will probably make more sense
- A more terse changeset is also added for `@getodk/xpath`, only describing the nature of the change for that package
  • Loading branch information
eyelidlessness committed Feb 4, 2025
1 parent 0896a2d commit 8892010
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-items-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@getodk/xpath": minor
---

The `xf:distance` function signature is now variadic, consistent with the revised signature specified by ODK XForms.
5 changes: 5 additions & 0 deletions .changeset/funny-items-know2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@getodk/xforms-engine": minor
---

The `xf:distance` XPath function now accepts multiple arguments. This makes it easier to compute the distance between multiple points within a form's primary instance. Previously, to achieve this, you'd have to introduce a `calculate` which concatenates those points together, then call the distance function with a reference to that `calculate` as the argument.

0 comments on commit 8892010

Please sign in to comment.