Open-source document signature platform. Not affiliated with DocuSign.
TypeScript
Release 0.9.0: teams and approvers (#251)
Kevin Rose4d16b882ae87
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e16ffb6..ddd27b5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,77 @@ release says when it does.## [Unreleased]+## [0.9.0] - 2026-11-22++People can now work as a team, seeing the envelopes their teammates send,+and a sender can put approvers in the signing order, who approve or reject+the document instead of signing it. This release changes the database: see+the end of this entry.++### Teams++- Teams. An administrator makes teams in Settings and puts people on them.+ People on a team see the envelopes their teammates have sent, read-only,+ in a "My team" view on the dashboard, and can download their audit trail+ and, once finished, the signed PDF and certificate. Drafts stay private,+ and only the sender changes an envelope. Team changes and teammates'+ views and downloads are recorded in the site audit trail. See+ [docs/teams.md](docs/teams.md) (PR #158 by @MattJackson).++### Approvers++- Anyone in the signing order can be an approver instead of a signer: on+ the signers page, pick "Approves or rejects it (no fields)". An approver+ reviews the document and approves or rejects it. They have no fields and+ nothing of theirs is stamped on the signed PDF. Approvers take their turn+ in the steps like signers, and a rejection ends the envelope, as a decline+ does (PR #159 by @MattJackson).+- Invitations and reminders ask an approver to approve, not to sign. The+ audit trail, the envelope page and the certificate show "Approved" and+ "Rejected", and the certificate lists approvals on their own, so an+ approval is never read as a signature. Certificates of envelopes without+ approvers are unchanged.+- Templates keep who approves, so do copies of an envelope and Send to+ many. The API shows each person's `role` (`signer` or `approver`);+ webhooks report an approval as `signer.signed` and a rejection as+ `envelope.declined`. See [docs/signing-order.md](docs/signing-order.md).+- Approvers are not offered in Part 11 mode, where an approval is an+ electronic signature: make the approver a signer with the meaning+ Approval instead. They cannot be combined with advanced or qualified+ signatures through a signing provider either.+- The send confirmation counts signers and approvers apart, and the public+ verify page says how many approvers there were (PR #249).++### Fixes++- In Settings, a team added while the list of teams was still loading+ could be hidden until the page was reloaded (PR #249).+- A declined envelope's certificate now lists the checks the signer had+ passed before declining, as it does for a signature.++### Upgrading++This release changes the database, in two migrations:++- `20261121100000_teams.sql` adds the `teams` and `team_members` tables.+- `20261121110000_approvers.sql` lets a signer row have the role+ `approver`, adds the `approved` and `rejected` audit events, and stops a+ field from being given to an approver. A copy of the app from before this+ release still runs on the database, but leaves approvers out of the+ signing order: roll back past it only with no approvers on envelopes out+ for signature.++On Vercel the production build applies the migrations. On other hosts, run+`npm run db:migrate` as on every deploy.++Thank you to @MattJackson, who built both headline features of this+release. Teams draw a careful line: teammates can read and download but+never change, drafts stay private, and every look is on the record.+Approvers fit into the signing order without a second set of rules, are+kept apart from signatures everywhere it counts, and stay out of Part 11+and provider signatures where an approval would not hold up. They answered+every review note quickly, too.+## [0.8.0] - 2026-11-21An administrator can now write the words signers agree to before signing,@@ -91,17 +162,6 @@ Thank you to @carefulcomputer, who built the editable consent disclosure inthe hosted service on the standard words. It gave this release its headlinefeature, and the E-SIGN notice was added on top of their work.-### Teams--- Teams. An administrator makes teams in Settings and puts people on them.- People on a team see the envelopes their teammates have sent, read-only,- in a "My team" view on the dashboard, and can download their audit trail- and, once finished, the signed PDF and certificate. Drafts stay private,- and only the sender changes an envelope. Team changes and teammates'- downloads are recorded in the site audit trail. See- [docs/teams.md](docs/teams.md). This changes the database- (`20261121100000_teams.sql`).-## [0.7.0] - 2026-11-20A sender can now send one template to many people at once from a CSV. Two@@ -680,6 +740,7 @@ checked against the real services:SignuDoc is software, not legal advice. See the README's legal disclaimer.+[0.9.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.9.0[0.8.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.8.0[0.7.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.7.0[0.6.0]: https://github.com/NYLLON-SOFTWARE/SignuDoc/releases/tag/v0.6.0diff --git a/package-lock.json b/package-lock.jsonindex d0a5a04..bb0d0c9 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "signudoc",- "version": "0.8.0",+ "version": "0.9.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "signudoc",- "version": "0.8.0",+ "version": "0.9.0","license": "MIT","dependencies": {"@pdf-lib/fontkit": "^1.1.1",diff --git a/package.json b/package.jsonindex 6992dd7..5d312a2 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "signudoc",- "version": "0.8.0",+ "version": "0.9.0","license": "MIT","private": true,"engines": {