diff --git a/.changeset/34225-sso-only-set-password-row.md b/.changeset/pre/34225-sso-only-set-password-row.md similarity index 100% rename from .changeset/34225-sso-only-set-password-row.md rename to .changeset/pre/34225-sso-only-set-password-row.md diff --git a/.changeset/34348-environment-row-beside-two-shippers.md b/.changeset/pre/34348-environment-row-beside-two-shippers.md similarity index 100% rename from .changeset/34348-environment-row-beside-two-shippers.md rename to .changeset/pre/34348-environment-row-beside-two-shippers.md diff --git a/.changeset/38174-packageless-create-refused.md b/.changeset/pre/38174-packageless-create-refused.md similarity index 100% rename from .changeset/38174-packageless-create-refused.md rename to .changeset/pre/38174-packageless-create-refused.md diff --git a/.changeset/38254-sharing-rule-data-door-recipient.md b/.changeset/pre/38254-sharing-rule-data-door-recipient.md similarity index 100% rename from .changeset/38254-sharing-rule-data-door-recipient.md rename to .changeset/pre/38254-sharing-rule-data-door-recipient.md diff --git a/.changeset/38374-starter-knowledge-source.md b/.changeset/pre/38374-starter-knowledge-source.md similarity index 100% rename from .changeset/38374-starter-knowledge-source.md rename to .changeset/pre/38374-starter-knowledge-source.md diff --git a/.changeset/38471-knowledge-source-where-field-unknown.md b/.changeset/pre/38471-knowledge-source-where-field-unknown.md similarity index 100% rename from .changeset/38471-knowledge-source-where-field-unknown.md rename to .changeset/pre/38471-knowledge-source-where-field-unknown.md diff --git a/.changeset/38479-knowledge-boot-window.md b/.changeset/pre/38479-knowledge-boot-window.md similarity index 100% rename from .changeset/38479-knowledge-boot-window.md rename to .changeset/pre/38479-knowledge-boot-window.md diff --git a/.changeset/38655-actions-body-capability-refusal.md b/.changeset/pre/38655-actions-body-capability-refusal.md similarity index 100% rename from .changeset/38655-actions-body-capability-refusal.md rename to .changeset/pre/38655-actions-body-capability-refusal.md diff --git a/.changeset/38665-approval-service-options-module.md b/.changeset/pre/38665-approval-service-options-module.md similarity index 100% rename from .changeset/38665-approval-service-options-module.md rename to .changeset/pre/38665-approval-service-options-module.md diff --git a/.changeset/38665-approval-service-run-liveness-module.md b/.changeset/pre/38665-approval-service-run-liveness-module.md similarity index 100% rename from .changeset/38665-approval-service-run-liveness-module.md rename to .changeset/pre/38665-approval-service-run-liveness-module.md diff --git a/.changeset/38943-ai-request-options-closed.md b/.changeset/pre/38943-ai-request-options-closed.md similarity index 100% rename from .changeset/38943-ai-request-options-closed.md rename to .changeset/pre/38943-ai-request-options-closed.md diff --git a/.changeset/38945-book-pages-doc-reference.md b/.changeset/pre/38945-book-pages-doc-reference.md similarity index 100% rename from .changeset/38945-book-pages-doc-reference.md rename to .changeset/pre/38945-book-pages-doc-reference.md diff --git a/.changeset/39004-meta-form-object-filter.md b/.changeset/pre/39004-meta-form-object-filter.md similarity index 100% rename from .changeset/39004-meta-form-object-filter.md rename to .changeset/pre/39004-meta-form-object-filter.md diff --git a/.changeset/39032-engine-ended-run-closes-approval.md b/.changeset/pre/39032-engine-ended-run-closes-approval.md similarity index 100% rename from .changeset/39032-engine-ended-run-closes-approval.md rename to .changeset/pre/39032-engine-ended-run-closes-approval.md diff --git a/.changeset/39037-reader-writer-queue.md b/.changeset/pre/39037-reader-writer-queue.md similarity index 100% rename from .changeset/39037-reader-writer-queue.md rename to .changeset/pre/39037-reader-writer-queue.md diff --git a/.changeset/39099-flow-date-number-ordering.md b/.changeset/pre/39099-flow-date-number-ordering.md similarity index 100% rename from .changeset/39099-flow-date-number-ordering.md rename to .changeset/pre/39099-flow-date-number-ordering.md diff --git a/.changeset/39176-own-field-row-18x-note.md b/.changeset/pre/39176-own-field-row-18x-note.md similarity index 100% rename from .changeset/39176-own-field-row-18x-note.md rename to .changeset/pre/39176-own-field-row-18x-note.md diff --git a/.changeset/39208-scenarios-note-refusal-created-id.md b/.changeset/pre/39208-scenarios-note-refusal-created-id.md similarity index 100% rename from .changeset/39208-scenarios-note-refusal-created-id.md rename to .changeset/pre/39208-scenarios-note-refusal-created-id.md diff --git a/.changeset/39209-i18n-skill-nav-keywords-without-label.md b/.changeset/pre/39209-i18n-skill-nav-keywords-without-label.md similarity index 100% rename from .changeset/39209-i18n-skill-nav-keywords-without-label.md rename to .changeset/pre/39209-i18n-skill-nav-keywords-without-label.md diff --git a/.changeset/39210-menu-clear-label-keeps-keywords.md b/.changeset/pre/39210-menu-clear-label-keeps-keywords.md similarity index 100% rename from .changeset/39210-menu-clear-label-keeps-keywords.md rename to .changeset/pre/39210-menu-clear-label-keeps-keywords.md diff --git a/.changeset/39210-nav-keywords-never-empty.md b/.changeset/pre/39210-nav-keywords-never-empty.md similarity index 100% rename from .changeset/39210-nav-keywords-never-empty.md rename to .changeset/pre/39210-nav-keywords-never-empty.md diff --git a/.changeset/39217-data-skill-delete-follows-owner.md b/.changeset/pre/39217-data-skill-delete-follows-owner.md similarity index 100% rename from .changeset/39217-data-skill-delete-follows-owner.md rename to .changeset/pre/39217-data-skill-delete-follows-owner.md diff --git a/.changeset/39249-reload-user-turn-parts.md b/.changeset/pre/39249-reload-user-turn-parts.md similarity index 100% rename from .changeset/39249-reload-user-turn-parts.md rename to .changeset/pre/39249-reload-user-turn-parts.md diff --git a/.changeset/39270-ledger-list-declines-total.md b/.changeset/pre/39270-ledger-list-declines-total.md similarity index 100% rename from .changeset/39270-ledger-list-declines-total.md rename to .changeset/pre/39270-ledger-list-declines-total.md diff --git a/.changeset/39278-scenarios-skill-evals-cases-from-checkout.md b/.changeset/pre/39278-scenarios-skill-evals-cases-from-checkout.md similarity index 100% rename from .changeset/39278-scenarios-skill-evals-cases-from-checkout.md rename to .changeset/pre/39278-scenarios-skill-evals-cases-from-checkout.md diff --git a/.changeset/39278-skills-package-no-evals.md b/.changeset/pre/39278-skills-package-no-evals.md similarity index 100% rename from .changeset/39278-skills-package-no-evals.md rename to .changeset/pre/39278-skills-package-no-evals.md diff --git a/.changeset/39311-progress-states-value.md b/.changeset/pre/39311-progress-states-value.md similarity index 100% rename from .changeset/39311-progress-states-value.md rename to .changeset/pre/39311-progress-states-value.md diff --git a/.changeset/39313-reaction-read-budget-one-walk.md b/.changeset/pre/39313-reaction-read-budget-one-walk.md similarity index 91% rename from .changeset/39313-reaction-read-budget-one-walk.md rename to .changeset/pre/39313-reaction-read-budget-one-walk.md index 02a86ab3cb0..996c608d365 100644 --- a/.changeset/39313-reaction-read-budget-one-walk.md +++ b/.changeset/pre/39313-reaction-read-budget-one-walk.md @@ -2,6 +2,8 @@ '@object-ui/app-shell': patch --- +**Shipped in 19.0.0-next.4**, whose CHANGELOG missed this entry; listed here one prerelease late. + fix(app-shell): a record discussion's reaction read counts the row budget over the whole thread, as the record page does Clause-②: no diff --git a/.changeset/39320-lint-untranslated-summary.md b/.changeset/pre/39320-lint-untranslated-summary.md similarity index 100% rename from .changeset/39320-lint-untranslated-summary.md rename to .changeset/pre/39320-lint-untranslated-summary.md diff --git a/.changeset/39322-starter-eleven-locales.md b/.changeset/pre/39322-starter-eleven-locales.md similarity index 100% rename from .changeset/39322-starter-eleven-locales.md rename to .changeset/pre/39322-starter-eleven-locales.md diff --git a/.changeset/39324-generate-locale-hint.md b/.changeset/pre/39324-generate-locale-hint.md similarity index 100% rename from .changeset/39324-generate-locale-hint.md rename to .changeset/pre/39324-generate-locale-hint.md diff --git a/.changeset/39331-39333-39325-skill-text-gaps.md b/.changeset/pre/39331-39333-39325-skill-text-gaps.md similarity index 100% rename from .changeset/39331-39333-39325-skill-text-gaps.md rename to .changeset/pre/39331-39333-39325-skill-text-gaps.md diff --git a/.changeset/39332-setup-paths-rest.md b/.changeset/pre/39332-setup-paths-rest.md similarity index 100% rename from .changeset/39332-setup-paths-rest.md rename to .changeset/pre/39332-setup-paths-rest.md diff --git a/.changeset/39336-inline-option-value-repeated.md b/.changeset/pre/39336-inline-option-value-repeated.md similarity index 100% rename from .changeset/39336-inline-option-value-repeated.md rename to .changeset/pre/39336-inline-option-value-repeated.md diff --git a/.changeset/39339-owner-beside-delete-policy.md b/.changeset/pre/39339-owner-beside-delete-policy.md similarity index 100% rename from .changeset/39339-owner-beside-delete-policy.md rename to .changeset/pre/39339-owner-beside-delete-policy.md diff --git a/.changeset/39341-duplicate-seed-name.md b/.changeset/pre/39341-duplicate-seed-name.md similarity index 100% rename from .changeset/39341-duplicate-seed-name.md rename to .changeset/pre/39341-duplicate-seed-name.md diff --git a/.changeset/39344-reaction-read-named-comments.md b/.changeset/pre/39344-reaction-read-named-comments.md similarity index 100% rename from .changeset/39344-reaction-read-named-comments.md rename to .changeset/pre/39344-reaction-read-named-comments.md diff --git a/.changeset/39346-duplicate-copies-source-unserved.md b/.changeset/pre/39346-duplicate-copies-source-unserved.md similarity index 100% rename from .changeset/39346-duplicate-copies-source-unserved.md rename to .changeset/pre/39346-duplicate-copies-source-unserved.md diff --git a/.changeset/39348-app-preview-open-basename.md b/.changeset/pre/39348-app-preview-open-basename.md similarity index 100% rename from .changeset/39348-app-preview-open-basename.md rename to .changeset/pre/39348-app-preview-open-basename.md diff --git a/.changeset/39349-radio-kanban-group-field.md b/.changeset/pre/39349-radio-kanban-group-field.md similarity index 100% rename from .changeset/39349-radio-kanban-group-field.md rename to .changeset/pre/39349-radio-kanban-group-field.md diff --git a/.changeset/39350-layout-designer-polish.md b/.changeset/pre/39350-layout-designer-polish.md similarity index 100% rename from .changeset/39350-layout-designer-polish.md rename to .changeset/pre/39350-layout-designer-polish.md diff --git a/.changeset/39351-add-view-type-reason.md b/.changeset/pre/39351-add-view-type-reason.md similarity index 100% rename from .changeset/39351-add-view-type-reason.md rename to .changeset/pre/39351-add-view-type-reason.md diff --git a/.changeset/39369-design-mode-staging-order-results.md b/.changeset/pre/39369-design-mode-staging-order-results.md similarity index 100% rename from .changeset/39369-design-mode-staging-order-results.md rename to .changeset/pre/39369-design-mode-staging-order-results.md diff --git a/.changeset/39371-design-mode-dashboard-in-place.md b/.changeset/pre/39371-design-mode-dashboard-in-place.md similarity index 100% rename from .changeset/39371-design-mode-dashboard-in-place.md rename to .changeset/pre/39371-design-mode-dashboard-in-place.md diff --git a/.changeset/39372-design-mode-commit-pin.md b/.changeset/pre/39372-design-mode-commit-pin.md similarity index 100% rename from .changeset/39372-design-mode-commit-pin.md rename to .changeset/pre/39372-design-mode-commit-pin.md diff --git a/.changeset/39374-design-mode-report-in-place.md b/.changeset/pre/39374-design-mode-report-in-place.md similarity index 100% rename from .changeset/39374-design-mode-report-in-place.md rename to .changeset/pre/39374-design-mode-report-in-place.md diff --git a/.changeset/39375-studio-click-design-mode.md b/.changeset/pre/39375-studio-click-design-mode.md similarity index 100% rename from .changeset/39375-studio-click-design-mode.md rename to .changeset/pre/39375-studio-click-design-mode.md diff --git a/.changeset/39376-design-mode-object-one-write.md b/.changeset/pre/39376-design-mode-object-one-write.md similarity index 100% rename from .changeset/39376-design-mode-object-one-write.md rename to .changeset/pre/39376-design-mode-object-one-write.md diff --git a/.changeset/39377-shared-view-structure-design-mode.md b/.changeset/pre/39377-shared-view-structure-design-mode.md similarity index 100% rename from .changeset/39377-shared-view-structure-design-mode.md rename to .changeset/pre/39377-shared-view-structure-design-mode.md diff --git a/.changeset/39378-design-mode-page-studio-link.md b/.changeset/pre/39378-design-mode-page-studio-link.md similarity index 100% rename from .changeset/39378-design-mode-page-studio-link.md rename to .changeset/pre/39378-design-mode-page-studio-link.md diff --git a/.changeset/39388-flow-checksum-served-stamps.md b/.changeset/pre/39388-flow-checksum-served-stamps.md similarity index 100% rename from .changeset/39388-flow-checksum-served-stamps.md rename to .changeset/pre/39388-flow-checksum-served-stamps.md diff --git a/.changeset/39392-write-form-move-destination.md b/.changeset/pre/39392-write-form-move-destination.md similarity index 100% rename from .changeset/39392-write-form-move-destination.md rename to .changeset/pre/39392-write-form-move-destination.md diff --git a/.changeset/39393-flattened-form-overlay-remedy.md b/.changeset/pre/39393-flattened-form-overlay-remedy.md similarity index 100% rename from .changeset/39393-flattened-form-overlay-remedy.md rename to .changeset/pre/39393-flattened-form-overlay-remedy.md diff --git a/.changeset/39393-stored-form-switch-drops-data.md b/.changeset/pre/39393-stored-form-switch-drops-data.md similarity index 100% rename from .changeset/39393-stored-form-switch-drops-data.md rename to .changeset/pre/39393-stored-form-switch-drops-data.md diff --git a/.changeset/39395-stored-bulk-actions-declared-selection.md b/.changeset/pre/39395-stored-bulk-actions-declared-selection.md similarity index 100% rename from .changeset/39395-stored-bulk-actions-declared-selection.md rename to .changeset/pre/39395-stored-bulk-actions-declared-selection.md diff --git a/.changeset/39396-migrate-write-export-default.md b/.changeset/pre/39396-migrate-write-export-default.md similarity index 100% rename from .changeset/39396-migrate-write-export-default.md rename to .changeset/pre/39396-migrate-write-export-default.md diff --git a/.changeset/39398-setup-datasource-create-names-package.md b/.changeset/pre/39398-setup-datasource-create-names-package.md similarity index 100% rename from .changeset/39398-setup-datasource-create-names-package.md rename to .changeset/pre/39398-setup-datasource-create-names-package.md diff --git a/.changeset/39405-condition-option-picker.md b/.changeset/pre/39405-condition-option-picker.md similarity index 100% rename from .changeset/39405-condition-option-picker.md rename to .changeset/pre/39405-condition-option-picker.md diff --git a/.changeset/39406-approval-snapshot-no-field-access.md b/.changeset/pre/39406-approval-snapshot-no-field-access.md similarity index 100% rename from .changeset/39406-approval-snapshot-no-field-access.md rename to .changeset/pre/39406-approval-snapshot-no-field-access.md diff --git a/.changeset/39407-validation-rule-name-pinyin.md b/.changeset/pre/39407-validation-rule-name-pinyin.md similarity index 100% rename from .changeset/39407-validation-rule-name-pinyin.md rename to .changeset/pre/39407-validation-rule-name-pinyin.md diff --git a/.changeset/39408-position-members-page-term.md b/.changeset/pre/39408-position-members-page-term.md similarity index 100% rename from .changeset/39408-position-members-page-term.md rename to .changeset/pre/39408-position-members-page-term.md diff --git a/.changeset/39409-ops-pages-overflow-palette.md b/.changeset/pre/39409-ops-pages-overflow-palette.md similarity index 100% rename from .changeset/39409-ops-pages-overflow-palette.md rename to .changeset/pre/39409-ops-pages-overflow-palette.md diff --git a/.changeset/39412-mail-test-language-template-variables.md b/.changeset/pre/39412-mail-test-language-template-variables.md similarity index 100% rename from .changeset/39412-mail-test-language-template-variables.md rename to .changeset/pre/39412-mail-test-language-template-variables.md diff --git a/.changeset/39413-builder-new-dataset.md b/.changeset/pre/39413-builder-new-dataset.md similarity index 100% rename from .changeset/39413-builder-new-dataset.md rename to .changeset/pre/39413-builder-new-dataset.md diff --git a/.changeset/39413-dataset-picker-labels.md b/.changeset/pre/39413-dataset-picker-labels.md similarity index 100% rename from .changeset/39413-dataset-picker-labels.md rename to .changeset/pre/39413-dataset-picker-labels.md diff --git a/.changeset/39415-assignment-rule-organization-stamp.md b/.changeset/pre/39415-assignment-rule-organization-stamp.md similarity index 100% rename from .changeset/39415-assignment-rule-organization-stamp.md rename to .changeset/pre/39415-assignment-rule-organization-stamp.md diff --git a/.changeset/39416-assignment-rule-says-ownerless-only.md b/.changeset/pre/39416-assignment-rule-says-ownerless-only.md similarity index 100% rename from .changeset/39416-assignment-rule-says-ownerless-only.md rename to .changeset/pre/39416-assignment-rule-says-ownerless-only.md diff --git a/.changeset/39419-share-recipient-cannot-open.md b/.changeset/pre/39419-share-recipient-cannot-open.md similarity index 100% rename from .changeset/39419-share-recipient-cannot-open.md rename to .changeset/pre/39419-share-recipient-cannot-open.md diff --git a/.changeset/39420-setup-teams-open-and-members-tab.md b/.changeset/pre/39420-setup-teams-open-and-members-tab.md similarity index 100% rename from .changeset/39420-setup-teams-open-and-members-tab.md rename to .changeset/pre/39420-setup-teams-open-and-members-tab.md diff --git a/.changeset/39422-public-form-editor-visitor-view.md b/.changeset/pre/39422-public-form-editor-visitor-view.md similarity index 100% rename from .changeset/39422-public-form-editor-visitor-view.md rename to .changeset/pre/39422-public-form-editor-visitor-view.md diff --git a/.changeset/39423-webhook-form-admin-words.md b/.changeset/pre/39423-webhook-form-admin-words.md similarity index 100% rename from .changeset/39423-webhook-form-admin-words.md rename to .changeset/pre/39423-webhook-form-admin-words.md diff --git a/.changeset/39426-nav-label-inherits-report-page.md b/.changeset/pre/39426-nav-label-inherits-report-page.md similarity index 100% rename from .changeset/39426-nav-label-inherits-report-page.md rename to .changeset/pre/39426-nav-label-inherits-report-page.md diff --git a/.changeset/39427-new-dashboard-no-empty-reminder.md b/.changeset/pre/39427-new-dashboard-no-empty-reminder.md similarity index 100% rename from .changeset/39427-new-dashboard-no-empty-reminder.md rename to .changeset/pre/39427-new-dashboard-no-empty-reminder.md diff --git a/.changeset/39428-api-key-integration-copy.md b/.changeset/pre/39428-api-key-integration-copy.md similarity index 100% rename from .changeset/39428-api-key-integration-copy.md rename to .changeset/pre/39428-api-key-integration-copy.md diff --git a/.changeset/39428-revoke-actions-record-reach.md b/.changeset/pre/39428-revoke-actions-record-reach.md similarity index 100% rename from .changeset/39428-revoke-actions-record-reach.md rename to .changeset/pre/39428-revoke-actions-record-reach.md diff --git a/.changeset/39429-calendar-zone-hint.md b/.changeset/pre/39429-calendar-zone-hint.md similarity index 100% rename from .changeset/39429-calendar-zone-hint.md rename to .changeset/pre/39429-calendar-zone-hint.md diff --git a/.changeset/39434-sharing-rule-option-label-criteria.md b/.changeset/pre/39434-sharing-rule-option-label-criteria.md similarity index 100% rename from .changeset/39434-sharing-rule-option-label-criteria.md rename to .changeset/pre/39434-sharing-rule-option-label-criteria.md diff --git a/.changeset/39435-list-row-actions-no-selection.md b/.changeset/pre/39435-list-row-actions-no-selection.md similarity index 100% rename from .changeset/39435-list-row-actions-no-selection.md rename to .changeset/pre/39435-list-row-actions-no-selection.md diff --git a/.changeset/39436-sharing-rule-restore-regrant.md b/.changeset/pre/39436-sharing-rule-restore-regrant.md similarity index 100% rename from .changeset/39436-sharing-rule-restore-regrant.md rename to .changeset/pre/39436-sharing-rule-restore-regrant.md diff --git a/.changeset/39437-install-confirm-own-extensions.md b/.changeset/pre/39437-install-confirm-own-extensions.md similarity index 100% rename from .changeset/39437-install-confirm-own-extensions.md rename to .changeset/pre/39437-install-confirm-own-extensions.md diff --git a/.changeset/39438-approval-tab-approver-user-reference.md b/.changeset/pre/39438-approval-tab-approver-user-reference.md similarity index 100% rename from .changeset/39438-approval-tab-approver-user-reference.md rename to .changeset/pre/39438-approval-tab-approver-user-reference.md diff --git a/.changeset/39439-record-share-object-column.md b/.changeset/pre/39439-record-share-object-column.md similarity index 100% rename from .changeset/39439-record-share-object-column.md rename to .changeset/pre/39439-record-share-object-column.md diff --git a/.changeset/39439-recycle-bin-delete-toast.md b/.changeset/pre/39439-recycle-bin-delete-toast.md similarity index 100% rename from .changeset/39439-recycle-bin-delete-toast.md rename to .changeset/pre/39439-recycle-bin-delete-toast.md diff --git a/.changeset/39439-setup-admin-pickers.md b/.changeset/pre/39439-setup-admin-pickers.md similarity index 100% rename from .changeset/39439-setup-admin-pickers.md rename to .changeset/pre/39439-setup-admin-pickers.md diff --git a/.changeset/39439-setup-knowledge-and-delivery-log.md b/.changeset/pre/39439-setup-knowledge-and-delivery-log.md similarity index 100% rename from .changeset/39439-setup-knowledge-and-delivery-log.md rename to .changeset/pre/39439-setup-knowledge-and-delivery-log.md diff --git a/.changeset/39441-validation-condition-option-label.md b/.changeset/pre/39441-validation-condition-option-label.md similarity index 100% rename from .changeset/39441-validation-condition-option-label.md rename to .changeset/pre/39441-validation-condition-option-label.md diff --git a/.changeset/39458-chat-images-and-spreadsheets-only.md b/.changeset/pre/39458-chat-images-and-spreadsheets-only.md similarity index 100% rename from .changeset/39458-chat-images-and-spreadsheets-only.md rename to .changeset/pre/39458-chat-images-and-spreadsheets-only.md diff --git a/.changeset/39459-design-mode-refuse-at-selection.md b/.changeset/pre/39459-design-mode-refuse-at-selection.md similarity index 100% rename from .changeset/39459-design-mode-refuse-at-selection.md rename to .changeset/pre/39459-design-mode-refuse-at-selection.md diff --git a/.changeset/39460-setup-help-plain-words.md b/.changeset/pre/39460-setup-help-plain-words.md similarity index 100% rename from .changeset/39460-setup-help-plain-words.md rename to .changeset/pre/39460-setup-help-plain-words.md diff --git a/.changeset/39464-modify-all-owner-delete.md b/.changeset/pre/39464-modify-all-owner-delete.md similarity index 100% rename from .changeset/39464-modify-all-owner-delete.md rename to .changeset/pre/39464-modify-all-owner-delete.md diff --git a/.changeset/39465-dropped-pause-released.md b/.changeset/pre/39465-dropped-pause-released.md similarity index 100% rename from .changeset/39465-dropped-pause-released.md rename to .changeset/pre/39465-dropped-pause-released.md diff --git a/.changeset/39468-app-form-help-text.md b/.changeset/pre/39468-app-form-help-text.md similarity index 100% rename from .changeset/39468-app-form-help-text.md rename to .changeset/pre/39468-app-form-help-text.md diff --git a/.changeset/39469-install-sample-data-outcome.md b/.changeset/pre/39469-install-sample-data-outcome.md similarity index 100% rename from .changeset/39469-install-sample-data-outcome.md rename to .changeset/pre/39469-install-sample-data-outcome.md diff --git a/.changeset/39470-field-label-pair-translation.md b/.changeset/pre/39470-field-label-pair-translation.md similarity index 100% rename from .changeset/39470-field-label-pair-translation.md rename to .changeset/pre/39470-field-label-pair-translation.md diff --git a/.changeset/39471-installed-object-validation-rules.md b/.changeset/pre/39471-installed-object-validation-rules.md similarity index 100% rename from .changeset/39471-installed-object-validation-rules.md rename to .changeset/pre/39471-installed-object-validation-rules.md diff --git a/.changeset/39472-reinstall-up-to-date.md b/.changeset/pre/39472-reinstall-up-to-date.md similarity index 100% rename from .changeset/39472-reinstall-up-to-date.md rename to .changeset/pre/39472-reinstall-up-to-date.md diff --git a/.changeset/39473-lint-search-and-flow-sentences-name-by-label.md b/.changeset/pre/39473-lint-search-and-flow-sentences-name-by-label.md similarity index 100% rename from .changeset/39473-lint-search-and-flow-sentences-name-by-label.md rename to .changeset/pre/39473-lint-search-and-flow-sentences-name-by-label.md diff --git a/.changeset/39473-lint-user-sentences-name-by-label.md b/.changeset/pre/39473-lint-user-sentences-name-by-label.md similarity index 100% rename from .changeset/39473-lint-user-sentences-name-by-label.md rename to .changeset/pre/39473-lint-user-sentences-name-by-label.md diff --git a/.changeset/39475-list-view-export-on-by-default.md b/.changeset/pre/39475-list-view-export-on-by-default.md similarity index 100% rename from .changeset/39475-list-view-export-on-by-default.md rename to .changeset/pre/39475-list-view-export-on-by-default.md diff --git a/.changeset/39475-object-grid-export-on-by-default.md b/.changeset/pre/39475-object-grid-export-on-by-default.md similarity index 100% rename from .changeset/39475-object-grid-export-on-by-default.md rename to .changeset/pre/39475-object-grid-export-on-by-default.md diff --git a/.changeset/39476-default-on-first-landing-app.md b/.changeset/pre/39476-default-on-first-landing-app.md similarity index 100% rename from .changeset/39476-default-on-first-landing-app.md rename to .changeset/pre/39476-default-on-first-landing-app.md diff --git a/.changeset/39480-held-operator-off-bucket.md b/.changeset/pre/39480-held-operator-off-bucket.md similarity index 100% rename from .changeset/39480-held-operator-off-bucket.md rename to .changeset/pre/39480-held-operator-off-bucket.md diff --git a/.changeset/39482-sys-create-tenant-column-reference.md b/.changeset/pre/39482-sys-create-tenant-column-reference.md similarity index 100% rename from .changeset/39482-sys-create-tenant-column-reference.md rename to .changeset/pre/39482-sys-create-tenant-column-reference.md diff --git a/.changeset/39484-39502-skills-default-on-landing-and-export-grant.md b/.changeset/pre/39484-39502-skills-default-on-landing-and-export-grant.md similarity index 100% rename from .changeset/39484-39502-skills-default-on-landing-and-export-grant.md rename to .changeset/pre/39484-39502-skills-default-on-landing-and-export-grant.md diff --git a/.changeset/39485-pending-approver-no-object-read.md b/.changeset/pre/39485-pending-approver-no-object-read.md similarity index 100% rename from .changeset/39485-pending-approver-no-object-read.md rename to .changeset/pre/39485-pending-approver-no-object-read.md diff --git a/.changeset/39491-object-canvas-boolean-control.md b/.changeset/pre/39491-object-canvas-boolean-control.md similarity index 100% rename from .changeset/39491-object-canvas-boolean-control.md rename to .changeset/pre/39491-object-canvas-boolean-control.md diff --git a/.changeset/39494-dashboard-refusal-says-why.md b/.changeset/pre/39494-dashboard-refusal-says-why.md similarity index 100% rename from .changeset/39494-dashboard-refusal-says-why.md rename to .changeset/pre/39494-dashboard-refusal-says-why.md diff --git a/.changeset/39497-design-mode-unused-locale-keys.md b/.changeset/pre/39497-design-mode-unused-locale-keys.md similarity index 100% rename from .changeset/39497-design-mode-unused-locale-keys.md rename to .changeset/pre/39497-design-mode-unused-locale-keys.md diff --git a/.changeset/39503-field-layout-panel-below-design-bar.md b/.changeset/pre/39503-field-layout-panel-below-design-bar.md similarity index 100% rename from .changeset/39503-field-layout-panel-below-design-bar.md rename to .changeset/pre/39503-field-layout-panel-below-design-bar.md diff --git a/.changeset/39506-citation-verify-full-body.md b/.changeset/pre/39506-citation-verify-full-body.md similarity index 100% rename from .changeset/39506-citation-verify-full-body.md rename to .changeset/pre/39506-citation-verify-full-body.md diff --git a/.changeset/39522-shared-view-draft-unused-locale-keys.md b/.changeset/pre/39522-shared-view-draft-unused-locale-keys.md similarity index 100% rename from .changeset/39522-shared-view-draft-unused-locale-keys.md rename to .changeset/pre/39522-shared-view-draft-unused-locale-keys.md diff --git a/.changeset/39524-deps-snyk-refresh.md b/.changeset/pre/39524-deps-snyk-refresh.md similarity index 100% rename from .changeset/39524-deps-snyk-refresh.md rename to .changeset/pre/39524-deps-snyk-refresh.md diff --git a/.changeset/39531-value-axis-width.md b/.changeset/pre/39531-value-axis-width.md similarity index 100% rename from .changeset/39531-value-axis-width.md rename to .changeset/pre/39531-value-axis-width.md diff --git a/.changeset/39533-log-only-banner-notification-mail.md b/.changeset/pre/39533-log-only-banner-notification-mail.md similarity index 100% rename from .changeset/39533-log-only-banner-notification-mail.md rename to .changeset/pre/39533-log-only-banner-notification-mail.md diff --git a/.changeset/39534-session-device.md b/.changeset/pre/39534-session-device.md similarity index 100% rename from .changeset/39534-session-device.md rename to .changeset/pre/39534-session-device.md diff --git a/.changeset/39536-picklist-extension-item.md b/.changeset/pre/39536-picklist-extension-item.md similarity index 100% rename from .changeset/39536-picklist-extension-item.md rename to .changeset/pre/39536-picklist-extension-item.md diff --git a/.changeset/39555-form-new-closed-create.md b/.changeset/pre/39555-form-new-closed-create.md similarity index 100% rename from .changeset/39555-form-new-closed-create.md rename to .changeset/pre/39555-form-new-closed-create.md diff --git a/.changeset/39558-approver-origin-label.md b/.changeset/pre/39558-approver-origin-label.md similarity index 100% rename from .changeset/39558-approver-origin-label.md rename to .changeset/pre/39558-approver-origin-label.md diff --git a/.changeset/39559-decision-page-waiting-on-user-reference.md b/.changeset/pre/39559-decision-page-waiting-on-user-reference.md similarity index 100% rename from .changeset/39559-decision-page-waiting-on-user-reference.md rename to .changeset/pre/39559-decision-page-waiting-on-user-reference.md diff --git a/.changeset/39560-free-text-row-last.md b/.changeset/pre/39560-free-text-row-last.md similarity index 100% rename from .changeset/39560-free-text-row-last.md rename to .changeset/pre/39560-free-text-row-last.md diff --git a/.changeset/39565-notification-template-preview.md b/.changeset/pre/39565-notification-template-preview.md similarity index 100% rename from .changeset/39565-notification-template-preview.md rename to .changeset/pre/39565-notification-template-preview.md diff --git a/.changeset/39566-email-template-preview-door.md b/.changeset/pre/39566-email-template-preview-door.md similarity index 100% rename from .changeset/39566-email-template-preview-door.md rename to .changeset/pre/39566-email-template-preview-door.md diff --git a/.changeset/39569-notification-template-preview-pane.md b/.changeset/pre/39569-notification-template-preview-pane.md similarity index 100% rename from .changeset/39569-notification-template-preview-pane.md rename to .changeset/pre/39569-notification-template-preview-pane.md diff --git a/.changeset/39573-studio-report-design-mode.md b/.changeset/pre/39573-studio-report-design-mode.md similarity index 100% rename from .changeset/39573-studio-report-design-mode.md rename to .changeset/pre/39573-studio-report-design-mode.md diff --git a/.changeset/39574-picklist-extension-rule-text.md b/.changeset/pre/39574-picklist-extension-rule-text.md similarity index 100% rename from .changeset/39574-picklist-extension-rule-text.md rename to .changeset/pre/39574-picklist-extension-rule-text.md diff --git a/.changeset/39576-patch-packages-unread-body-key.md b/.changeset/pre/39576-patch-packages-unread-body-key.md similarity index 100% rename from .changeset/39576-patch-packages-unread-body-key.md rename to .changeset/pre/39576-patch-packages-unread-body-key.md diff --git a/.changeset/39578-delegation-form-local-time.md b/.changeset/pre/39578-delegation-form-local-time.md similarity index 100% rename from .changeset/39578-delegation-form-local-time.md rename to .changeset/pre/39578-delegation-form-local-time.md diff --git a/.changeset/39579-action-answer-datetime-format.md b/.changeset/pre/39579-action-answer-datetime-format.md similarity index 100% rename from .changeset/39579-action-answer-datetime-format.md rename to .changeset/pre/39579-action-answer-datetime-format.md diff --git a/.changeset/39580-automation-skill-assignment-notify-recipe.md b/.changeset/pre/39580-automation-skill-assignment-notify-recipe.md similarity index 100% rename from .changeset/39580-automation-skill-assignment-notify-recipe.md rename to .changeset/pre/39580-automation-skill-assignment-notify-recipe.md diff --git a/.changeset/39582-object-grid-export-upgrade-note.md b/.changeset/pre/39582-object-grid-export-upgrade-note.md similarity index 100% rename from .changeset/39582-object-grid-export-upgrade-note.md rename to .changeset/pre/39582-object-grid-export-upgrade-note.md diff --git a/.changeset/39595-retire-report-builder-arrival.md b/.changeset/pre/39595-retire-report-builder-arrival.md similarity index 100% rename from .changeset/39595-retire-report-builder-arrival.md rename to .changeset/pre/39595-retire-report-builder-arrival.md diff --git a/.changeset/39612-form-list-empty-object-filter.md b/.changeset/pre/39612-form-list-empty-object-filter.md similarity index 100% rename from .changeset/39612-form-list-empty-object-filter.md rename to .changeset/pre/39612-form-list-empty-object-filter.md diff --git a/.changeset/39620-studio-new-dataset-provider.md b/.changeset/pre/39620-studio-new-dataset-provider.md similarity index 100% rename from .changeset/39620-studio-new-dataset-provider.md rename to .changeset/pre/39620-studio-new-dataset-provider.md diff --git a/.changeset/39630-design-mode-widget-new-dataset.md b/.changeset/pre/39630-design-mode-widget-new-dataset.md similarity index 100% rename from .changeset/39630-design-mode-widget-new-dataset.md rename to .changeset/pre/39630-design-mode-widget-new-dataset.md diff --git a/.changeset/39640-lint-flow-and-permission-sentences-name-by-label.md b/.changeset/pre/39640-lint-flow-and-permission-sentences-name-by-label.md similarity index 100% rename from .changeset/39640-lint-flow-and-permission-sentences-name-by-label.md rename to .changeset/pre/39640-lint-flow-and-permission-sentences-name-by-label.md diff --git a/.changeset/39641-notification-topic-registry.md b/.changeset/pre/39641-notification-topic-registry.md similarity index 100% rename from .changeset/39641-notification-topic-registry.md rename to .changeset/pre/39641-notification-topic-registry.md diff --git a/.changeset/39658-unit-titled-by-label.md b/.changeset/pre/39658-unit-titled-by-label.md similarity index 100% rename from .changeset/39658-unit-titled-by-label.md rename to .changeset/pre/39658-unit-titled-by-label.md diff --git a/.changeset/39680-related-list-count-badge-name.md b/.changeset/pre/39680-related-list-count-badge-name.md similarity index 100% rename from .changeset/39680-related-list-count-badge-name.md rename to .changeset/pre/39680-related-list-count-badge-name.md diff --git a/.changeset/39709-approver-served-snapshot.md b/.changeset/pre/39709-approver-served-snapshot.md similarity index 100% rename from .changeset/39709-approver-served-snapshot.md rename to .changeset/pre/39709-approver-served-snapshot.md diff --git a/.changeset/39709-record-page-approver-served-row.md b/.changeset/pre/39709-record-page-approver-served-row.md similarity index 100% rename from .changeset/39709-record-page-approver-served-row.md rename to .changeset/pre/39709-record-page-approver-served-row.md diff --git a/.changeset/dataset-member-vocab-user-text.md b/.changeset/pre/dataset-member-vocab-user-text.md similarity index 100% rename from .changeset/dataset-member-vocab-user-text.md rename to .changeset/pre/dataset-member-vocab-user-text.md diff --git a/.changeset/design-mode-name.md b/.changeset/pre/design-mode-name.md similarity index 100% rename from .changeset/design-mode-name.md rename to .changeset/pre/design-mode-name.md diff --git a/.changeset/install-sample-language-and-counts.md b/.changeset/pre/install-sample-language-and-counts.md similarity index 100% rename from .changeset/install-sample-language-and-counts.md rename to .changeset/pre/install-sample-language-and-counts.md diff --git a/.changeset/knowledge-affinity-places-bound-one-entry.md b/.changeset/pre/knowledge-affinity-places-bound-one-entry.md similarity index 100% rename from .changeset/knowledge-affinity-places-bound-one-entry.md rename to .changeset/pre/knowledge-affinity-places-bound-one-entry.md diff --git a/.changeset/knowledge-source-document-by-tsdoc.md b/.changeset/pre/knowledge-source-document-by-tsdoc.md similarity index 100% rename from .changeset/knowledge-source-document-by-tsdoc.md rename to .changeset/pre/knowledge-source-document-by-tsdoc.md diff --git a/.changeset/package-export-one-segment.md b/.changeset/pre/package-export-one-segment.md similarity index 100% rename from .changeset/package-export-one-segment.md rename to .changeset/pre/package-export-one-segment.md diff --git a/.changeset/remote-loader-name-segment.md b/.changeset/pre/remote-loader-name-segment.md similarity index 100% rename from .changeset/remote-loader-name-segment.md rename to .changeset/pre/remote-loader-name-segment.md diff --git a/.changeset/sealed-census-names-holder-pair.md b/.changeset/pre/sealed-census-names-holder-pair.md similarity index 100% rename from .changeset/sealed-census-names-holder-pair.md rename to .changeset/pre/sealed-census-names-holder-pair.md diff --git a/.changeset/setup-manual-wave-one.md b/.changeset/pre/setup-manual-wave-one.md similarity index 100% rename from .changeset/setup-manual-wave-one.md rename to .changeset/pre/setup-manual-wave-one.md diff --git a/examples/app-crm/CHANGELOG.md b/examples/app-crm/CHANGELOG.md index e3a8f8137e6..03c7a9cd1e8 100644 --- a/examples/app-crm/CHANGELOG.md +++ b/examples/app-crm/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/example-crm +## 4.0.107-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/service-i18n@19.0.0-next.5 + ## 4.0.107-next.4 ### Patch Changes diff --git a/examples/app-crm/package.json b/examples/app-crm/package.json index 502f2e1b74b..ae6b5565d25 100644 --- a/examples/app-crm/package.json +++ b/examples/app-crm/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-crm", - "version": "4.0.107-next.4", + "version": "4.0.107-next.5", "description": "Minimal CRM example \u2014 a smoke-test workspace that exercises the metadata loading pipeline (objects \u2192 views \u2192 app \u2192 dashboard \u2192 hook \u2192 flow \u2192 seed). For a full-featured enterprise CRM see https://github.com/objectstack-ai/hotcrm.", "license": "Apache-2.0", "private": true, diff --git a/examples/app-multi-package/CHANGELOG.md b/examples/app-multi-package/CHANGELOG.md index ec17b4c8200..6170b67ca0f 100644 --- a/examples/app-multi-package/CHANGELOG.md +++ b/examples/app-multi-package/CHANGELOG.md @@ -1,5 +1,42 @@ # @objectstack/example-multi-package +## 0.0.14-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 0.0.14-next.4 ### Patch Changes diff --git a/examples/app-multi-package/package.json b/examples/app-multi-package/package.json index bd578b7acba..156006e563e 100644 --- a/examples/app-multi-package/package.json +++ b/examples/app-multi-package/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-multi-package", - "version": "0.0.14-next.4", + "version": "0.0.14-next.5", "description": "One release artifact carrying TWO packages that share a namespace (ADR-0130 D4) — the producer-side fixture for `packages[]`", "license": "Apache-2.0", "private": true, diff --git a/examples/app-showcase/CHANGELOG.md b/examples/app-showcase/CHANGELOG.md index 0a29ad4921d..4795d6bd1b9 100644 --- a/examples/app-showcase/CHANGELOG.md +++ b/examples/app-showcase/CHANGELOG.md @@ -1,5 +1,62 @@ # @objectstack/example-showcase +## 0.3.29-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [959b20f] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [953ccfd] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/service-knowledge@19.0.0-next.5 + - @objectstack/service-datasource@19.0.0-next.5 + - @objectstack/cloud-connection@19.0.0-next.5 + - @objectstack/service-record-context@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + - @objectstack/connector-mcp@19.0.0-next.5 + - @objectstack/connector-openapi@19.0.0-next.5 + - @objectstack/connector-rest@19.0.0-next.5 + - @objectstack/connector-slack@19.0.0-next.5 + - @objectstack/knowledge-memory@19.0.0-next.5 + - @objectstack/organizations@19.0.0-next.5 + - @objectstack/service-i18n@19.0.0-next.5 + - @objectstack/service-print@19.0.0-next.5 + ## 0.3.29-next.4 ### Patch Changes diff --git a/examples/app-showcase/package.json b/examples/app-showcase/package.json index 7003105dfba..31fc5dc7a2a 100644 --- a/examples/app-showcase/package.json +++ b/examples/app-showcase/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-showcase", - "version": "0.3.29-next.4", + "version": "0.3.29-next.5", "description": "Kitchen-sink showcase workspace — exercises every metadata type, every view type, every chart type, and the major end-to-end capability chains (security, automation, analytics). Built for demonstration, debugging, and coverage-driven verification.", "license": "Apache-2.0", "private": true, diff --git a/examples/app-starter/CHANGELOG.md b/examples/app-starter/CHANGELOG.md index ef381fdd88d..a84efd19211 100644 --- a/examples/app-starter/CHANGELOG.md +++ b/examples/app-starter/CHANGELOG.md @@ -1,5 +1,55 @@ # @objectstack/example-starter +## 0.1.1-next.5 + +### Patch Changes + +- 3191f8f: feat(example-starter): the Starter ships all 11 platform locales, one translation file per locale, and writes Simplified Chinese as `zh-Hans` + + Clause-②: no + Metadata-protocol: none + + Who sees it: an organization that installs the Starter from the marketplace and works in a language other than English or Simplified Chinese. + + - **`supportedLocales` lists every platform locale**, written out: `en`, `zh-Hans`, `zh-Hant`, `es`, `ar`, `fr`, `pt-BR`, `ru`, `de`, `ja`, `ko`. The Console's language menu offers only the locales an app lists, so all eleven now appear for the Starter. + - **Simplified Chinese moves from `zh-CN` to `zh-Hans`**, the platform's write tag; `zh-CN` stays readable as an alias of it. The Chinese text is unchanged. + - **`src/translations/` holds one file per locale** (`en.translation.ts`, `zh-Hans.translation.ts`, …) and `index.ts` puts them into one bundle. The nine new languages are AI-written from the English source; `zh-Hant` is derived from `zh-Hans`. + - `os i18n check --strict` reads 100% for all eleven locales (95 keys each). +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + ## 0.1.1-next.4 ### Patch Changes diff --git a/examples/app-starter/package.json b/examples/app-starter/package.json index 9f1d833faa9..3c9f49eba73 100644 --- a/examples/app-starter/package.json +++ b/examples/app-starter/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-starter", - "version": "0.1.1-next.4", + "version": "0.1.1-next.5", "description": "Starter app: companies, contacts and help articles, with the platform's tasks and notes in the menu", "license": "Apache-2.0", "private": true, diff --git a/examples/app-todo/CHANGELOG.md b/examples/app-todo/CHANGELOG.md index 8a4dbc1c082..64e32dec224 100644 --- a/examples/app-todo/CHANGELOG.md +++ b/examples/app-todo/CHANGELOG.md @@ -1,5 +1,55 @@ # @objectstack/example-todo +## 4.0.107-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [959b20f] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/client@19.0.0-next.5 + - @objectstack/service-knowledge@19.0.0-next.5 + - @objectstack/mcp@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/driver-sqlite-wasm@19.0.0-next.5 + - @objectstack/knowledge-memory@19.0.0-next.5 + - @objectstack/service-i18n@19.0.0-next.5 + ## 4.0.107-next.4 ### Patch Changes diff --git a/examples/app-todo/package.json b/examples/app-todo/package.json index 127e2846781..c2869f8441f 100644 --- a/examples/app-todo/package.json +++ b/examples/app-todo/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-todo", - "version": "4.0.107-next.4", + "version": "4.0.107-next.5", "description": "Example Todo App using ObjectStack Protocol", "license": "Apache-2.0", "private": true, diff --git a/examples/embed-objectql/CHANGELOG.md b/examples/embed-objectql/CHANGELOG.md index 4a0cf1a0212..47d9e4c4c10 100644 --- a/examples/embed-objectql/CHANGELOG.md +++ b/examples/embed-objectql/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/example-embed-objectql +## 0.0.47-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/driver-memory@19.0.0-next.5 + ## 0.0.47-next.4 ### Patch Changes diff --git a/examples/embed-objectql/package.json b/examples/embed-objectql/package.json index 37e2493e039..7266dfa98a0 100644 --- a/examples/embed-objectql/package.json +++ b/examples/embed-objectql/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/example-embed-objectql", - "version": "0.0.47-next.4", + "version": "0.0.47-next.5", "private": true, "description": "Embed the ObjectQL engine as a plain library via @objectstack/objectql/core — no kernel, no plugins, no metadata protocol (ADR-0076).", "type": "module", diff --git a/packages/adapters/hono/CHANGELOG.md b/packages/adapters/hono/CHANGELOG.md index 952da841366..ce68def6ec8 100644 --- a/packages/adapters/hono/CHANGELOG.md +++ b/packages/adapters/hono/CHANGELOG.md @@ -1,5 +1,18 @@ # @objectstack/hono +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [a549983] +- Updated dependencies [bb2c500] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [259cc46] + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/adapters/hono/package.json b/packages/adapters/hono/package.json index 80f22e6e6d3..1152bd9587f 100644 --- a/packages/adapters/hono/package.json +++ b/packages/adapters/hono/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/hono", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "type": "commonjs", "main": "dist/index.js", diff --git a/packages/apps/account/CHANGELOG.md b/packages/apps/account/CHANGELOG.md index 028f4a93bf0..1cc83f21b2d 100644 --- a/packages/apps/account/CHANGELOG.md +++ b/packages/apps/account/CHANGELOG.md @@ -1,5 +1,49 @@ # @objectstack/account +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/apps/account/package.json b/packages/apps/account/package.json index ae1df0481a9..19213406bbd 100644 --- a/packages/apps/account/package.json +++ b/packages/apps/account/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/account", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack Account — the end-user account/self-service console app, packaged as its own ObjectStack app package (ADR-0048: one app per package).", "type": "commonjs", diff --git a/packages/apps/connector-docusign/CHANGELOG.md b/packages/apps/connector-docusign/CHANGELOG.md index 09597a407cc..6ef91ebfdcd 100644 --- a/packages/apps/connector-docusign/CHANGELOG.md +++ b/packages/apps/connector-docusign/CHANGELOG.md @@ -1,5 +1,43 @@ # @objectstack/connector-app-docusign +## 0.1.5-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/connector-openapi@19.0.0-next.5 + ## 0.1.5-next.4 ### Patch Changes diff --git a/packages/apps/connector-docusign/package.json b/packages/apps/connector-docusign/package.json index 35271603be8..e674882547c 100644 --- a/packages/apps/connector-docusign/package.json +++ b/packages/apps/connector-docusign/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-app-docusign", - "version": "0.1.5-next.4", + "version": "0.1.5-next.5", "description": "DocuSign eSignature connector app (open edition, sandbox first): DocuSign's eSignature OpenAPI document, trimmed offline to three envelope operations, as a declarative `openapi` connector instance authorized by OAuth 2.0 (`authorization_code`) with an OAuth client each deployment's administrator registers and enters on the connection.", "license": "Apache-2.0", "private": true, diff --git a/packages/apps/connector-github/CHANGELOG.md b/packages/apps/connector-github/CHANGELOG.md index 597350de10f..1a3fdd8abfc 100644 --- a/packages/apps/connector-github/CHANGELOG.md +++ b/packages/apps/connector-github/CHANGELOG.md @@ -1,5 +1,43 @@ # @objectstack/connector-app-github +## 0.1.5-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/connector-mcp@19.0.0-next.5 + ## 0.1.5-next.4 ### Patch Changes diff --git a/packages/apps/connector-github/package.json b/packages/apps/connector-github/package.json index 433589b886e..f3c30e5ce15 100644 --- a/packages/apps/connector-github/package.json +++ b/packages/apps/connector-github/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-app-github", - "version": "0.1.5-next.4", + "version": "0.1.5-next.5", "description": "GitHub connector app (open edition): GitHub's remote MCP server as a declarative `mcp` connector instance with a read-tool allowlist, authenticated by a personal access token the administrator supplies through the credential store.", "license": "Apache-2.0", "private": true, diff --git a/packages/apps/connector-stripe/CHANGELOG.md b/packages/apps/connector-stripe/CHANGELOG.md index 78f43e82be0..e6209b35c52 100644 --- a/packages/apps/connector-stripe/CHANGELOG.md +++ b/packages/apps/connector-stripe/CHANGELOG.md @@ -1,5 +1,43 @@ # @objectstack/connector-app-stripe +## 0.1.5-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/connector-openapi@19.0.0-next.5 + ## 0.1.5-next.4 ### Patch Changes diff --git a/packages/apps/connector-stripe/package.json b/packages/apps/connector-stripe/package.json index 01777f0f295..1821b2cf04a 100644 --- a/packages/apps/connector-stripe/package.json +++ b/packages/apps/connector-stripe/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-app-stripe", - "version": "0.1.5-next.4", + "version": "0.1.5-next.5", "description": "Stripe connector app (open edition, read only): Stripe's OpenAPI document, trimmed offline to eight read operations, as a declarative `openapi` connector instance authenticated by a restricted secret key the administrator supplies through the credential store.", "license": "Apache-2.0", "private": true, diff --git a/packages/apps/setup/CHANGELOG.md b/packages/apps/setup/CHANGELOG.md index 5aa24c64769..f71fcca684b 100644 --- a/packages/apps/setup/CHANGELOG.md +++ b/packages/apps/setup/CHANGELOG.md @@ -1,5 +1,59 @@ # @objectstack/setup +## 19.0.0-next.5 + +### Patch Changes + +- 56bed06: Clause-②: no + Metadata-protocol: none + + The in-product help for administrators is corrected and extended. + + - **Setup overview** no longer teaches roles and a role hierarchy. It says what the product does: positions hand out permission sets and are flat, and the one hierarchy is the business-unit tree. + - **App Studio overview** no longer says an edit is a draft only its author sees until it is published. A Save is live for everyone at once; only changes the AI assistant drafts wait, on the package Overview's Pending tab. + - Three pages join the Setup manual, read by whoever may open Setup: **Going live** (`setup_go_live`: the order to set an organization up in, why a new user sees almost nothing, what a pending invitation is, what a ban does), **Who can see and do what** (`setup_access`: how access adds up, object permission against record visibility against field security, and how to find out why a record cannot be seen or edited) and **Installing and upgrading apps** (`setup_install_upgrade`: what an install adds, what an update keeps and asks to confirm, why no earlier version can be put back, what uninstall leaves). Each page marks where editions differ. + + Every page is served in English and Chinese. `@objectstack/setup` now also exports `SETUP_GO_LIVE_DOC`, `SETUP_ACCESS_DOC` and `SETUP_INSTALL_UPGRADE_DOC`. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/apps/setup/package.json b/packages/apps/setup/package.json index cf69e287c02..7e12168fefb 100644 --- a/packages/apps/setup/package.json +++ b/packages/apps/setup/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/setup", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack Setup — the platform administration app, packaged as its own ObjectStack app package (ADR-0048: one app per package).", "type": "commonjs", diff --git a/packages/apps/studio/CHANGELOG.md b/packages/apps/studio/CHANGELOG.md index 43ec39e4ffe..7971b934be5 100644 --- a/packages/apps/studio/CHANGELOG.md +++ b/packages/apps/studio/CHANGELOG.md @@ -1,5 +1,59 @@ # @objectstack/studio +## 19.0.0-next.5 + +### Patch Changes + +- 56bed06: Clause-②: no + Metadata-protocol: none + + The in-product help for administrators is corrected and extended. + + - **Setup overview** no longer teaches roles and a role hierarchy. It says what the product does: positions hand out permission sets and are flat, and the one hierarchy is the business-unit tree. + - **App Studio overview** no longer says an edit is a draft only its author sees until it is published. A Save is live for everyone at once; only changes the AI assistant drafts wait, on the package Overview's Pending tab. + - Three pages join the Setup manual, read by whoever may open Setup: **Going live** (`setup_go_live`: the order to set an organization up in, why a new user sees almost nothing, what a pending invitation is, what a ban does), **Who can see and do what** (`setup_access`: how access adds up, object permission against record visibility against field security, and how to find out why a record cannot be seen or edited) and **Installing and upgrading apps** (`setup_install_upgrade`: what an install adds, what an update keeps and asks to confirm, why no earlier version can be put back, what uninstall leaves). Each page marks where editions differ. + + Every page is served in English and Chinese. `@objectstack/setup` now also exports `SETUP_GO_LIVE_DOC`, `SETUP_ACCESS_DOC` and `SETUP_INSTALL_UPGRADE_DOC`. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/apps/studio/package.json b/packages/apps/studio/package.json index a4706f47ca7..1c9e7ac960e 100644 --- a/packages/apps/studio/package.json +++ b/packages/apps/studio/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/studio", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack Studio — the metadata builder app, packaged as its own ObjectStack app package (ADR-0048: one app per package).", "type": "commonjs", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 753a7ef018d..5190a879c6a 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,254 @@ # @objectstack/cli +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. + +### Patch Changes + +- f32b7d6: fix(cli): `os migrate meta --from 18` says which 18.x release its own-field-row answer describes, and what differs for a source last run on an earlier 18.x + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer running `os migrate meta --from 18` (with or without `--write`) to move a project to protocol 19. The `--stored` review's rows are unchanged; the step-19 entry's note covers a deployment last run on an earlier 18.x. + + - **The own-field-row list names its releases.** The list of own field rows beside Modify All that protocol 19 narrows printed a "protocol 18" answer that is the one 18.3.0 to 18.6.0 give. Its header and each row's protocol-18 line now say so. + - **The View All and Modify All manual change carries a note for an earlier 18.x.** `--from` names a major, so the tool cannot tell which 18.x a source last ran on. The note, printed in every run that crosses into 19 whether the list is empty or not, says what differs: + - from 18.3.0 to 18.5.0 View All also read a field over the set's own `readable: false` row, so beside View All without Modify All that row now hides its field and is not listed: delete it where the set's holders should still read the field; + - before 18.3.0 neither bit cast a field vote, so a listed row already answered as it does on 19. +- 42fd0fc: feat(cli): default `os lint` summarizes missing translations in non-source locales in one line instead of listing them + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer running `os lint` on a project whose `i18n.supportedLocales` declares more than its source language. + + - **Default `os lint` lists no non-source-locale gap as an issue.** Every missing translation in a locale other than the source locale leaves `issues` and is counted in one console line, ``translations: N locales have untranslated keys (M missing) — run `os i18n check` for the list``, and in a new `--json` field outside `issues`, `untranslated: { locales: [{ locale, missing }], missing }` (`{ locales: [], missing: 0 }` when nothing was left out). Translation completeness is reported by `os i18n check`, which is unchanged. + - **What stays an issue:** a gap in the source locale (`i18n/missing-*`, error), and a bundle that references metadata which does not exist (the translation-reference rules, unchanged). + - **`--i18n-strict` reports exactly as before:** every gap, in every declared locale, is an error issue, and `untranslated` is empty. + + **Behaviour change for `os lint --strict` users.** A non-source-locale gap was a warning, so `os lint --strict` failed on it (exit 1). It is no longer an issue, so the same project now passes `os lint --strict`. A CI job that relied on `os lint --strict` to fail on an incomplete translation should add `--i18n-strict` (`os lint --strict --i18n-strict`) or run `os i18n check --strict`. +- 55d673c: feat(cli): `os g` prints one hint when the project declares locales other than its source locale + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer running `os g ` in a project whose `i18n` block declares more languages than the source language (the blank template and the Starter declare every platform locale). + + - After a successful write, `os g` prints one line: the scaffold's labels were written in the source locale only, run `os i18n check` to list what is untranslated, and translations go in the stack's `translations` bundles (`os i18n extract` scaffolds them). + - The declared locales are read the way `os i18n check` reads them: `i18n.supportedLocales`, plus the users' `i18n.defaultLocale` on a stack that also declares `i18n.sourceLocale`, minus the source locale (`sourceLocale`, else `defaultLocale`, else `en`). + - A single-locale project, a project with no `i18n` block, a `--dry-run` and a refused generation print no such line. + - No translation stub is written: coverage counts any string in a bundle as translated, so a stub would hide the gap. +- ad9ba58: fix(cli): `os migrate meta --from 18 --write` writes a moved form as a `form` item, or leaves it in its view; it no longer deletes it from the source and writes it nowhere + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer upgrading a project with view forms (`form`, `formViews.KEY`, `viewKind: 'form'` items) to protocol 19 with `os migrate meta --from 18 --write`. + + - **A moved form is written, with its view block taken out only then.** Before, `--write` listed each form move to `forms[name=OBJECT.KEY]` as written, deleted the block from the view file and wrote no `form` item, so the form (a public intake form included) was gone, the re-run said "no mechanical change remains" and `os validate` could pass. Now the form is written into the stack's `forms:` list with the body the chain converted, and the write report names that line beside the view site (`forms[name=OBJECT.KEY] ← views[i].formViews.KEY`; `--json` adds `movedTo` to the written site). + - **A form's translation tails move the same way.** A `_views.KEY.title` or `submitBehavior` tail moves into the bundle's `forms['OBJECT.KEY']` in the same file, instead of being deleted. + - **Where the destination cannot be written, nothing of the move is.** When the stack's `forms` is built by a call (`forms: exportsOf(forms)`) or another value `--write` cannot edit, the view block stays where it is, the move is listed under "left for you to apply by hand" with the reason, and the run exits 1. Move such a form into your `forms` barrel by hand as a `form` item named `OBJECT.KEY`, then run the command again. + - An internal record form (a record-form slot, no public link, no action that opens it) is still deleted, as before. + + If you already ran `--write` on 19.0.0-next.4 or earlier: restore the deleted `form` / `formViews` blocks from version control (or from a `--out` snapshot taken before the write) and run `os migrate meta --from 18 --write` again. +- 198301b: fix(cli): `os migrate protocol --to 19 --apply` writes each moved stored form without the old `data` binding, and never switches over a form the runtime would serve invalid + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator upgrading a deployment whose 18.x database holds forms edited in Studio (a view's `form` or `formViews` saved with the view). + + - **A moved form no longer keeps `data`.** The protocol-19 switch moved each stored form "with its body as written", and an 18.x Studio save stores a form's object binding as `data: { provider: 'object', object }`. A `form` item refuses `data` by name, so every moved form was served `valid: false` and the `form` door refused the same body. The switch now drops a plain object binding, as `os migrate meta --from 18 --write` does for a form in source; the rest of the body moves as written. + - **No switch over a form the `form` schema refuses.** The census (`os migrate stored-forms`, and the preview of `os migrate protocol --to 19`) now judges every form body the switch would write, and every stored `form` row it keeps, with the runtime's own schema. A body it refuses is listed with the site, the schema's words and the action; `os migrate protocol --to 19` then exits 1 and writes nothing, and `--apply` records no switch while one stands. `--json` carries the list as `bodyRefusals`, and `canSwitch` is `false` beside it. This includes a form served under a name the protocol-19 naming rule refuses, such as a form a container serves as `OBJECT.CONTAINER.KEY` when the container's package (none, a customization package, or any other) is not the package that owns the object: the switch renames no form, so it no longer writes one there. + - **The fix names the package.** For a stored `form` row served invalid, the action is `PUT /api/v1/meta/form/NAME?package=PACKAGE`: the save door addresses a package's row only with `?package=`. `os migrate meta --stored` does the same: its fix line for any row saved in a package (every type) now reads `PUT /api/v1/meta/TYPE/NAME?package=PACKAGE`, where it printed a door that refused the save. + - **A form whose name cannot move says what can be done.** Such a form is refused rather than renamed. Its action names the remedy that exists on the release you are running, and it keeps the container's list views: save the container again without its `form` and `formViews` (its lists, named in the action, stay where they are), or delete it when it serves no list view; then re-create each of its forms as its own form named `OBJECT.KEY`, point anything that opened the old name at the new one, and run the upgrade again. + + A deployment that already switched on `19.0.0-next.4` and holds moved forms with `data`: run `os migrate stored-forms` to list them, and save each again without `data` through the door it names. +- 8682ef1: fix(cli): `os migrate meta --write` no longer skips the stock generator's object modules as `not written [shared]` + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer upgrading a project whose modules have the shape `os generate` writes, `export const X = …;` followed by `export default X;`. + + - **The edit is now written.** `--write` counted the `export default X;` line as a second use of `X`, so it left each edit in such a module for hand edits, reported as `not written [shared]`. That line only hands the module's value out. Now it counts as an export, like `export { X }`. + - **A real second use is still refused.** If another module imports `X`, by name or as the default, and reads it, or the module reads `X` again itself, the edit stays `[shared]` and is listed for a hand edit. +- 6d2c25b: fix(cli): `os package export` refuses a package id that is not a single path segment, before writing anything + + Clause-②: no (narrowing) + Metadata-protocol: none + + + + **BREAKING** (CLI command, no metadata surface): FROM `os package export` writing an entry under any non-empty package id TO each entry's id required to be one path segment inside `--out`. + + - Each exported package's directory is one path segment directly inside `--out`. An entry whose id is not one path segment is refused, the export exits 1 and nothing is written. + - Every entry is checked before the first directory is made, so the export stays all-or-nothing. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [49b2dd8] +- Updated dependencies [27bfd02] +- Updated dependencies [af457fe] +- Updated dependencies [959b20f] +- Updated dependencies [c966840] +- Updated dependencies [ce01a26] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [e43597b] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [91f131b] +- Updated dependencies [9674b7f] +- Updated dependencies [79697ea] +- Updated dependencies [bb2c500] +- Updated dependencies [1324973] +- Updated dependencies [4fed008] +- Updated dependencies [198301b] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [a92f1ed] +- Updated dependencies [b5911b2] +- Updated dependencies [a53022e] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [ea18263] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [8feef82] +- Updated dependencies [e6f8428] +- Updated dependencies [c0c6154] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [fb9b1a5] +- Updated dependencies [deeb51e] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [0b5a370] +- Updated dependencies [953ccfd] +- Updated dependencies [011532e] +- Updated dependencies [51395e7] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [4b5311b] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [0bfa522] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [96fa9ef] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [791e151] +- Updated dependencies [9317722] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] +- Updated dependencies [f7c60e5] +- Updated dependencies [56bed06] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-protocol@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/client@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/plugin-sharing@19.0.0-next.5 + - create-objectstack@19.0.0-next.5 + - @objectstack/service-knowledge@19.0.0-next.5 + - @objectstack/plugin-approvals@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/plugin-audit@19.0.0-next.5 + - @objectstack/mcp@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/service-automation@19.0.0-next.5 + - @objectstack/service-storage@19.0.0-next.5 + - @objectstack/plugin-security@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/service-datasource@19.0.0-next.5 + - @objectstack/plugin-email@19.0.0-next.5 + - @objectstack/service-messaging@19.0.0-next.5 + - @objectstack/plugin-webhooks@19.0.0-next.5 + - @objectstack/service-settings@19.0.0-next.5 + - @objectstack/cloud-connection@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/service-record-context@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/setup@19.0.0-next.5 + - @objectstack/account@19.0.0-next.5 + - @objectstack/plugin-pinyin-search@19.0.0-next.5 + - @objectstack/service-job@19.0.0-next.5 + - @objectstack/service-mailbox@19.0.0-next.5 + - @objectstack/service-queue@19.0.0-next.5 + - @objectstack/service-realtime@19.0.0-next.5 + - @objectstack/verify@19.0.0-next.5 + - @objectstack/driver-memory@19.0.0-next.5 + - @objectstack/driver-mongodb@19.0.0-next.5 + - @objectstack/driver-sqlite-wasm@19.0.0-next.5 + - @objectstack/driver-turso@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/knowledge-pgvector@19.0.0-next.5 + - @objectstack/service-analytics@19.0.0-next.5 + - @objectstack/service-cache@19.0.0-next.5 + - @objectstack/service-package@19.0.0-next.5 + - @objectstack/service-push@19.0.0-next.5 + - @objectstack/service-sms@19.0.0-next.5 + - @objectstack/trigger-api@19.0.0-next.5 + - @objectstack/trigger-record-change@19.0.0-next.5 + - @objectstack/trigger-schedule@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + - @objectstack/console@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index d3cbd2115d0..7ed900a18f2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/cli", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Command Line Interface for ObjectStack Protocol", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/client-react/CHANGELOG.md b/packages/client-react/CHANGELOG.md index 60f3cbe160e..f5ad1c86f38 100644 --- a/packages/client-react/CHANGELOG.md +++ b/packages/client-react/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/client-react +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/client@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/client-react/package.json b/packages/client-react/package.json index ee995eebdba..99ea6a07020 100644 --- a/packages/client-react/package.json +++ b/packages/client-react/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/client-react", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "React hooks for ObjectStack Client SDK", "type": "commonjs", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index edc006f8992..afd1a4226c5 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,74 @@ # @objectstack/client +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/client/package.json b/packages/client/package.json index 985367b8b45..ae75c020f8b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/client", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Official Client SDK for ObjectStack Protocol", "type": "commonjs", diff --git a/packages/cloud-connection/CHANGELOG.md b/packages/cloud-connection/CHANGELOG.md index 0da28f037f0..c1a326d2423 100644 --- a/packages/cloud-connection/CHANGELOG.md +++ b/packages/cloud-connection/CHANGELOG.md @@ -1,5 +1,106 @@ # @objectstack/cloud-connection +## 19.0.0-next.5 + +### Minor Changes + +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + + +### Patch Changes + +- 6477f39: fix(marketplace): a marketplace install loads seed-file rows, says what its sample data run wrote, and lists what did not load + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator installing a marketplace package with sample data into this runtime (Setup → Marketplace). + + - **Seed files load on install.** The install's own sample-data load stores a `seedFile(...)` value through the runtime's `field-files` service, as the boot seed does. It used to refuse every such row ("this load has no file service to store it with") on a server that runs the storage service, and every link to that row stayed empty. A runtime without the storage service still refuses the row, by name. + - **The install result says what the run did.** "This install loaded N sample records" now counts the records this install wrote. Records it did not write, because they were already there or were deleted after an earlier load, are counted in their own sentence. A reinstall that writes nothing no longer says it loaded anything. + - **Failures are shown.** The result counts the sample records and the links between them that did not load, and lists each one under a Details disclosure, from the install answer's own report. A run that wrote nothing and failed now shows its failures instead of nothing. + - **Reinstall sentence corrected.** It said a reinstall loads the sample data again, including what you cleared. It does not: a reinstall leaves deleted and cleared sample records out, and Re-seed sample data brings them back. The sentence now says so. + - **Install confirm count.** The count of sample records reads the datasets of every package in a multi-package artifact. It used to show 0 for such a package. When the datasets are per language, the confirm says the count depends on the language the install uses instead of showing a number. +- 04eba3d: Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a new read-only route, `GET /api/v1/marketplace/install-local/seed-locale`, served to `manage_metadata` holders, and a new `objects` member on the install answer's `seeded`; nothing that was served before changes. + + The local marketplace install confirm now names the language an app's sample records will load in, when the app ships them per language. It asks the runtime first: `GET /api/v1/marketplace/install-local/seed-locale?appDefaultLocale=` answers `{ locale, source }` from the install's own choice (the organization's language setting, then the installing user's language, then the app's declared default). When that language is not the one the administrator reads the console in, the confirm says so and links to Language & Region, where the organization's language is set. The order of that choice is unchanged. + + The install answer's `seeded` gains `objects`: the run split by object, whether the package defines each object, and why each skipped row was not written (`existing`, `withdrawn`, `noRowToUpdate`). The install note now counts only the package's own records as sample records, so it agrees with the clear and the sample-data count. Rows written to an object the package does not define (a platform object's timeline pointers) and updates that found no record are named instead of counted. "Already here, or deleted after an earlier load" is said only for rows where that is true. `inserted`, `updated` and `skipped` keep their meaning, and a runtime without `objects` is read as before. + + A reinstall confirm opens with a reinstall's line, and no longer suggests an Everyone grant the administrator already accepted. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [9674b7f] +- Updated dependencies [bb2c500] +- Updated dependencies [4fed008] +- Updated dependencies [198301b] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [f7c60e5] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-protocol@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/service-cluster@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/cloud-connection/package.json b/packages/cloud-connection/package.json index f2f32899f8a..ef76d7fb0ba 100644 --- a/packages/cloud-connection/package.json +++ b/packages/cloud-connection/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/cloud-connection", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Runtime-side client for an ObjectStack cloud control plane — marketplace browse proxy, install-local, device-code binding, org catalog and installed views, and the /api/v1/runtime/config discovery endpoint. Open mechanism (cloud ADR-0008): the hub service, plan policy, and entitlements stay server-side.", "type": "module", diff --git a/packages/connectors/connector-imap/CHANGELOG.md b/packages/connectors/connector-imap/CHANGELOG.md index 53b01cb78d3..dfa41298a23 100644 --- a/packages/connectors/connector-imap/CHANGELOG.md +++ b/packages/connectors/connector-imap/CHANGELOG.md @@ -1,5 +1,9 @@ # @objectstack/connector-imap +## 19.0.0-next.5 + +No changes in this release. + ## 19.0.0-next.4 No changes in this release. diff --git a/packages/connectors/connector-imap/package.json b/packages/connectors/connector-imap/package.json index 26c6ad2ebd1..0d2d6159c9a 100644 --- a/packages/connectors/connector-imap/package.json +++ b/packages/connectors/connector-imap/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-imap", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "IMAP connector for ObjectStack — a read-only IMAP4rev1 session (EXAMINE, UID FETCH with BODY.PEEK) and the per-user-shaped mail account and credential abstraction the mailbox sync connects through.", "type": "commonjs", diff --git a/packages/connectors/connector-mcp/CHANGELOG.md b/packages/connectors/connector-mcp/CHANGELOG.md index 8aaee9093bc..49e528411c8 100644 --- a/packages/connectors/connector-mcp/CHANGELOG.md +++ b/packages/connectors/connector-mcp/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/connector-mcp +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/connectors/connector-mcp/package.json b/packages/connectors/connector-mcp/package.json index d2a91369cea..697650f2a9a 100644 --- a/packages/connectors/connector-mcp/package.json +++ b/packages/connectors/connector-mcp/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-mcp", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Model Context Protocol (MCP) connector for ObjectStack — a generic adapter that turns any MCP server's tools into a connector's actions on the automation engine's connector registry (ADR-0024).", "type": "commonjs", diff --git a/packages/connectors/connector-openapi/CHANGELOG.md b/packages/connectors/connector-openapi/CHANGELOG.md index 3e3bdeb7924..beea97a8b88 100644 --- a/packages/connectors/connector-openapi/CHANGELOG.md +++ b/packages/connectors/connector-openapi/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/connector-openapi +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/connectors/connector-openapi/package.json b/packages/connectors/connector-openapi/package.json index e5991b90769..d7690260ca7 100644 --- a/packages/connectors/connector-openapi/package.json +++ b/packages/connectors/connector-openapi/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-openapi", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "OpenAPI 3.x connector generator for ObjectStack — turns a declarative OpenAPI document into connector actions on the automation engine's registry, with a self-contained static-auth HTTP transport (ADR-0023).", "type": "commonjs", diff --git a/packages/connectors/connector-rest/CHANGELOG.md b/packages/connectors/connector-rest/CHANGELOG.md index 6e3e307d705..135987d9a03 100644 --- a/packages/connectors/connector-rest/CHANGELOG.md +++ b/packages/connectors/connector-rest/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/connector-rest +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/connectors/connector-rest/package.json b/packages/connectors/connector-rest/package.json index c6ddb4ad8f5..b17e9e26984 100644 --- a/packages/connectors/connector-rest/package.json +++ b/packages/connectors/connector-rest/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-rest", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Generic REST connector for ObjectStack — the reference concrete connector that registers a `request` action on the automation engine's connector registry (ADR-0018 §Addendum).", "type": "commonjs", diff --git a/packages/connectors/connector-slack/CHANGELOG.md b/packages/connectors/connector-slack/CHANGELOG.md index 5490349ec2c..f41d1049bf3 100644 --- a/packages/connectors/connector-slack/CHANGELOG.md +++ b/packages/connectors/connector-slack/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/connector-slack +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/connectors/connector-slack/package.json b/packages/connectors/connector-slack/package.json index 00f090e8904..42aa917bb79 100644 --- a/packages/connectors/connector-slack/package.json +++ b/packages/connectors/connector-slack/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/connector-slack", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Slack Web API connector for ObjectStack — registers `chat.postMessage` / `chat.update` / `call` actions on the automation engine's connector registry (ADR-0018 §Addendum, ADR-0022).", "type": "commonjs", diff --git a/packages/console/CHANGELOG.md b/packages/console/CHANGELOG.md index 2c5b19c9eff..62996239114 100644 --- a/packages/console/CHANGELOG.md +++ b/packages/console/CHANGELOG.md @@ -1,5 +1,9 @@ # @objectstack/console +## 19.0.0-next.5 + +No changes in this release. + ## 19.0.0-next.4 No changes in this release. diff --git a/packages/console/package.json b/packages/console/package.json index 335f26b009d..44c3b58c6e5 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/console", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Prebuilt Console SPA built from this workspace's ui/apps/console (@object-ui/console) at the same version, installed as a dependency of @objectstack/cli.", "license": "Apache-2.0", "homepage": "https://github.com/objectstack-ai/objectstack/tree/main/packages/console", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 0c40ab89801..1c41798f93e 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,101 @@ # @objectstack/core +## 19.0.0-next.5 + +### Minor Changes + +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. + +### Patch Changes + +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- 011532e: fix(deps): installs of `@objectstack/core` and `@objectstack/driver-sql` no longer resolve the undici 7.x and mysql2 versions Snyk reports as high and critical + + Clause-②: no + Metadata-protocol: none + + Who sees it: a team that installs `@objectstack/core`, or pairs `@objectstack/driver-sql` with MySQL, and scans the installed tree (Snyk, OSV-Scanner, `npm audit`). + + - **`@objectstack/core`** declares `undici` `^7.30.2` (was `^7.30.1`). 7.30.2 fixes five high advisories (SNYK-JS-UNDICI-22291127, -22392401, -22370261, -22290988, -22291066). + - **`@objectstack/driver-sql`** declares its optional `mysql2` peer as `^3.25.0` (was `^3.0.0`). 3.25.0 fixes the critical GHSA-f763-mv98-7rv9. A project that already has an older mysql2 3.x gets a peer warning on install; upgrade it with `pnpm add mysql2@^3.25.0` (or the npm/yarn equivalent). + - No API or behaviour changes. The repository's own lockfile also moves vite to 8.4.1 and every parse5 copy to 8.1.1; neither ships in a published package's dependencies. +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 10f4bfb3c4a..d68e6a1ef2c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/core", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Microkernel Core for ObjectStack", "type": "module", diff --git a/packages/create-objectstack/CHANGELOG.md b/packages/create-objectstack/CHANGELOG.md index 8ccd880125d..da88c68dcee 100644 --- a/packages/create-objectstack/CHANGELOG.md +++ b/packages/create-objectstack/CHANGELOG.md @@ -1,5 +1,22 @@ # create-objectstack +## 19.0.0-next.5 + +### Patch Changes + +- 27bfd02: feat(create-objectstack): the blank template's help articles are a knowledge source, served only where an embedder is configured + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer who scaffolds a project with `npm create objectstack`. + + - **New file `src/knowledge/articles.knowledge-source.ts`**, listed in `knowledgeSources` in `objectstack.config.ts`. It indexes the body of each published help article, one passage per `##` section, with the article's category kept beside each passage. Drafts are not indexed. It names no store, so the deployment's own store holds the index, and the stack does not add `requires: ['knowledge']`. + - **With no embedder configured** (a fresh project, `pnpm dev`, `pnpm test`) the source is held: nothing is indexed or sent anywhere, and AI clients connected to the app's MCP server are offered no `search_knowledge` tool. + - **To enable search on a self-hosted deployment**, save an embedder provider in Settings under AI, Embedder, and restart the server. The body of every published article is then sent to that provider. The README's "Search the help articles" section says how. + - `starter.test.ts` gains two cases: with no embedder the boot prints no warning about knowledge and MCP lists no `search_knowledge`; with a small test embedder each published section is found by search. + - To remove the help articles, also delete `src/knowledge/articles.knowledge-source.ts` and its `knowledgeSources` entry; the README's removal steps say so. + ## 19.0.0-next.4 No changes in this release. diff --git a/packages/create-objectstack/package.json b/packages/create-objectstack/package.json index 82e3a0f6ea9..d1cd0c8a047 100644 --- a/packages/create-objectstack/package.json +++ b/packages/create-objectstack/package.json @@ -1,6 +1,6 @@ { "name": "create-objectstack", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Create a new ObjectStack project — npx create-objectstack", "bin": { "create-objectstack": "./bin/create-objectstack.js" diff --git a/packages/create-objectstack/src/templates/blank/package.json b/packages/create-objectstack/src/templates/blank/package.json index 6ce38334904..d7e66ca1e27 100644 --- a/packages/create-objectstack/src/templates/blank/package.json +++ b/packages/create-objectstack/src/templates/blank/package.json @@ -17,14 +17,14 @@ "test": "vitest run" }, "dependencies": { - "@objectstack/spec": "19.0.0-next.4", - "@objectstack/runtime": "19.0.0-next.4", - "@objectstack/plugin-hono-server": "19.0.0-next.4" + "@objectstack/spec": "19.0.0-next.5", + "@objectstack/runtime": "19.0.0-next.5", + "@objectstack/plugin-hono-server": "19.0.0-next.5" }, "devDependencies": { - "@objectstack/cli": "19.0.0-next.4", - "@objectstack/skills": "19.0.0-next.4", - "@objectstack/verify": "19.0.0-next.4", + "@objectstack/cli": "19.0.0-next.5", + "@objectstack/skills": "19.0.0-next.5", + "@objectstack/verify": "19.0.0-next.5", "typescript": "^5.3.0", "vitest": "~4.1.12" }, diff --git a/packages/drivers/driver-memory/CHANGELOG.md b/packages/drivers/driver-memory/CHANGELOG.md index 321dacf6843..48f1f0a8928 100644 --- a/packages/drivers/driver-memory/CHANGELOG.md +++ b/packages/drivers/driver-memory/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/driver-memory +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-memory/package.json b/packages/drivers/driver-memory/package.json index b7ff39e8e03..15f337b126e 100644 --- a/packages/drivers/driver-memory/package.json +++ b/packages/drivers/driver-memory/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-memory", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "In-Memory Driver for ObjectStack (Reference Implementation)", "type": "commonjs", diff --git a/packages/drivers/driver-mongodb/CHANGELOG.md b/packages/drivers/driver-mongodb/CHANGELOG.md index 3ce8c31fb2b..bcc06596a84 100644 --- a/packages/drivers/driver-mongodb/CHANGELOG.md +++ b/packages/drivers/driver-mongodb/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/driver-mongodb +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-mongodb/package.json b/packages/drivers/driver-mongodb/package.json index bcf4241e7e5..01dfadb3727 100644 --- a/packages/drivers/driver-mongodb/package.json +++ b/packages/drivers/driver-mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-mongodb", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "MongoDB Driver for ObjectStack - Native document database driver via official mongodb client", "type": "commonjs", diff --git a/packages/drivers/driver-odata/CHANGELOG.md b/packages/drivers/driver-odata/CHANGELOG.md index 7fccf215043..9292f1c8481 100644 --- a/packages/drivers/driver-odata/CHANGELOG.md +++ b/packages/drivers/driver-odata/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/driver-odata +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-odata/package.json b/packages/drivers/driver-odata/package.json index 4a0bab605f8..43395f4dd81 100644 --- a/packages/drivers/driver-odata/package.json +++ b/packages/drivers/driver-odata/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-odata", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "OData v4 and v2 datasource driver for ObjectStack — serve an OData service's entity sets as external objects through a plugin driver", "keywords": [ diff --git a/packages/drivers/driver-sql/CHANGELOG.md b/packages/drivers/driver-sql/CHANGELOG.md index 346322c46a3..3498fc03d17 100644 --- a/packages/drivers/driver-sql/CHANGELOG.md +++ b/packages/drivers/driver-sql/CHANGELOG.md @@ -1,5 +1,57 @@ # @objectstack/driver-sql +## 19.0.0-next.5 + +### Patch Changes + +- 011532e: fix(deps): installs of `@objectstack/core` and `@objectstack/driver-sql` no longer resolve the undici 7.x and mysql2 versions Snyk reports as high and critical + + Clause-②: no + Metadata-protocol: none + + Who sees it: a team that installs `@objectstack/core`, or pairs `@objectstack/driver-sql` with MySQL, and scans the installed tree (Snyk, OSV-Scanner, `npm audit`). + + - **`@objectstack/core`** declares `undici` `^7.30.2` (was `^7.30.1`). 7.30.2 fixes five high advisories (SNYK-JS-UNDICI-22291127, -22392401, -22370261, -22290988, -22291066). + - **`@objectstack/driver-sql`** declares its optional `mysql2` peer as `^3.25.0` (was `^3.0.0`). 3.25.0 fixes the critical GHSA-f763-mv98-7rv9. A project that already has an older mysql2 3.x gets a peer warning on install; upgrade it with `pnpm add mysql2@^3.25.0` (or the npm/yarn equivalent). + - No API or behaviour changes. The repository's own lockfile also moves vite to 8.4.1 and every parse5 copy to 8.1.1; neither ships in a published package's dependencies. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-sql/package.json b/packages/drivers/driver-sql/package.json index 51cc28ac754..5dfa8b65249 100644 --- a/packages/drivers/driver-sql/package.json +++ b/packages/drivers/driver-sql/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-sql", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "SQL Driver for ObjectStack - Supports PostgreSQL, MySQL, SQLite via Knex, and Oracle for federation", "type": "commonjs", diff --git a/packages/drivers/driver-sqlite-wasm/CHANGELOG.md b/packages/drivers/driver-sqlite-wasm/CHANGELOG.md index b91d784225f..53c84749850 100644 --- a/packages/drivers/driver-sqlite-wasm/CHANGELOG.md +++ b/packages/drivers/driver-sqlite-wasm/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/driver-sqlite-wasm +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-sqlite-wasm/package.json b/packages/drivers/driver-sqlite-wasm/package.json index 229f78f608f..7ca4c5996bb 100644 --- a/packages/drivers/driver-sqlite-wasm/package.json +++ b/packages/drivers/driver-sqlite-wasm/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-sqlite-wasm", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "WASM SQLite Driver for ObjectStack — runs in browser/WebContainer (StackBlitz) without native bindings", "keywords": [ diff --git a/packages/drivers/driver-turso/CHANGELOG.md b/packages/drivers/driver-turso/CHANGELOG.md index 2d5b07fa728..753930e1590 100644 --- a/packages/drivers/driver-turso/CHANGELOG.md +++ b/packages/drivers/driver-turso/CHANGELOG.md @@ -1,5 +1,47 @@ # @objectstack/driver-turso +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/drivers/driver-turso/package.json b/packages/drivers/driver-turso/package.json index a141efbbb5c..f0db5664279 100644 --- a/packages/drivers/driver-turso/package.json +++ b/packages/drivers/driver-turso/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/driver-turso", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Turso/libSQL Driver for ObjectStack — Edge-first SQLite with embedded replicas", "keywords": [ diff --git a/packages/formula/CHANGELOG.md b/packages/formula/CHANGELOG.md index 97d52c64a2a..38b3db42201 100644 --- a/packages/formula/CHANGELOG.md +++ b/packages/formula/CHANGELOG.md @@ -1,5 +1,69 @@ # @objectstack/formula +## 19.0.0-next.5 + +### Minor Changes + +- c19307a: fix(formula)!: a flow condition that orders a `date` or `datetime` field against a number is now refused, in every spelling + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: none — `skills/objectstack-formula/SKILL.md` already teaches a date field as its ISO text and prescribes `daysBetween(today(), record.due)` for days remaining and `daysFromNow(n)` for a date ahead, and no skill teaches ordering a date against a number + + + + **BREAKING** accept-set narrowing. In a flow condition (a start, edge or `decision` branch condition) a `date` or `datetime` field reaches the run as its text (`YYYY-MM-DD`, or an ISO-8601 instant), and no overload orders that text against a number. So `due_date > 5` faults on every run, and the flow stops at the condition after the write that fired it has landed. The type check saw the fault and dropped it, so the condition passed `os validate` and the publish door with no finding, in all four spellings: the bare name (`due_date > 5`), `record.FIELD` / `previous.FIELD` (`record.due_date > 5`), an index read (`record['due_date'] > 5`) and a macro variable ranging over the field (`[due_date].exists(d, d > 5)`). + + - **The verdict.** Two new codes, graded as date arithmetic is (an error at every flow condition): `date-number-ordering-run-fails` on a record-triggered flow or a sweep of the typed object, `date-number-ordering-run-may-fail` elsewhere. A `record.FIELD` / `previous.FIELD` read keeps the row's arm where bare names are unproven; a bare name a flow variable holds is not judged. Params: `operands`, `operator`, and `reference` (the field as written; an index read is named by its member spelling). The message prescribes `daysBetween(a, b)` or a date-to-date comparison with `daysFromNow(n)` / `addDays(d, n)`. + - **Masking.** A text or boolean mismatch graded a warning no longer hides the ordering behind it: `title > 5 && due_date > 5` gets the error. A mismatch graded an error keeps its code and words. + - **Where.** `os validate` / `os build` (`validateStackExpressions`) report an `error`, and the flow publish door refuses the publish with `INVALID_METADATA` (422). `registerFlow` logs it as an advisory and still registers the flow, so a stored flow keeps its run-time behaviour until it is next published. + - **Not refused.** An ordering against a date or a date text (`due_date > today()`, `due_date > '2026-01-01'`), equality, `daysBetween` / `addDays` / `daysFromNow` over the field. Record-scoped sites (formula fields, validation rules, `visibleWhen` / `requiredWhen`) are not judged by this change. The run-time evaluator is unchanged. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `due_date > 5` (more than five days past due) | `daysBetween(due_date, today()) > 5` | + | `record.due_date < 7` (due within the week) | `record.due_date < daysFromNow(7)` | + | `[due_date].exists(d, d > 5)` | `[due_date].exists(d, daysBetween(d, today()) > 5)` | + + One-line fix: in a flow condition, never compare a date field with a number; compare a span from `daysBetween(a, b)` with the number, or compare the date with a date from `daysFromNow(n)` / `addDays(d, n)`. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/formula/package.json b/packages/formula/package.json index 71ea522a30a..98c18c6936b 100644 --- a/packages/formula/package.json +++ b/packages/formula/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/formula", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack canonical expression engine — CEL (cel-js) + ObjectStack stdlib + dialect registry", "type": "commonjs", diff --git a/packages/lint/CHANGELOG.md b/packages/lint/CHANGELOG.md index dbc6a3213c1..2348cb82f82 100644 --- a/packages/lint/CHANGELOG.md +++ b/packages/lint/CHANGELOG.md @@ -1,5 +1,136 @@ # @objectstack/lint +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. +- af457fe: fix(service-knowledge,lint): a knowledge source whose `where` reads a field the object does not define is named as that mistake, at save and by `os validate` + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + + + + A knowledge source's `where` selects the records it indexes. When it read a field its object does not define (a misspelt condition key such as `stauts`, a `{ $field }` comparand, or a key under `$and` / `$or` / `$not`), the metadata API's save door answered `403 PERMISSION_DENIED` "which you may not query (it is hidden from you ...)" where a security service is mounted, sending the author to look for a permission that does not exist, and admitted the source where none is. It is now refused `400 VALIDATION_ERROR`, naming the field, the object and the new rule `knowledge-source-where-field-unknown`, ahead of every permission arm, judged on the object's definition alone (declared fields, `id` and the system columns the platform injects), as the sibling `knowledge-source-field-unknown` arm is. A field that exists but is hidden from the author still answers `403` with the sentence it had. + + `os validate`, `os build`, `os lint` and the runtime publish gate report the same mistake with the same words under the new rule (`error`), which they did not judge before: a stack whose knowledge source filters on a field its object does not have now fails validation. A `where` key that is neither a field nor a logical key (`$and`, `$or`, `$not`), such as an unsupported `$nor`, is reported the same way, at both doors, rather than passed. `os explain knowledge-source-where-field-unknown` describes the rule. + The ADR-0087 semantic entry `knowledge-source-where-field-unknown-refused` (`@objectstack/spec`, listed to a stack that declares `knowledgeSources`) tells `os migrate meta` upgraders to check their sources' `where` fields. +- 3c0e8b4: fix(lint)!: a validation rule whose condition compares a choice field with an option label, where the record holds the option's value, is refused at validate, build and publish + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + + + **BREAKING** accept-set narrowing. A `select`, `radio`, `multiselect` or `checkboxes` field stores the option's value (`urgent`), never its label (`Urgent`), and a validation rule's condition is evaluated against the stored record as written. So a rule comparing the field with a label never fired (`record.priority == 'Urgent'`, or `in [...]`), and its negated form refused every write, the records holding `urgent` included (`record.priority != 'Urgent'`, `!(record.priority in ['Urgent'])`). Both published with no finding. + + - **Now:** `os validate`, `os build` and `os lint` report `validation-condition-option-label` as an error, and the metadata publish door refuses an `object` or `object_extension` publish carrying it with `422 INVALID_METADATA`. The finding names the field, the label written and the value to write. Judged in a rule's `condition` and in a conditional rule's `when`, its `then` / `otherwise` branches included, on the object's own rules and on the rules an object extension adds, for a field read as `record.FIELD` or `previous.FIELD`. The spellings reached: `FIELD == 'L'`, `FIELD != 'L'`, `'L' == FIELD`, `'L' != FIELD`, and each member of `FIELD in [...]` (negated or not). + - **Not refused:** the membership spelling `'L' in FIELD` on a `multiselect` or `checkboxes` field, a label that is also some option's value, a literal that is neither a label nor a value (a stored value may lie outside the options), a `readonly` field, a field bound to a shared picklist or declared by two object extensions, a label holding a quote or a backslash, a predicate in a dialect other than CEL, and a rule switched off with `active: false` (a different, active rule of the same name is still judged). + - **Stored metadata:** a stored object or extension carrying the shape still loads and its rule evaluates as before. Its next publish is refused until the condition is fixed or the rule is switched off. + + | Before (refused now) | After | + |:--|:--| + | `condition: "record.priority == 'Urgent' && record.name == null"` | `condition: "record.priority == 'urgent' && record.name == null"` | + | `condition: "record.priority != 'Urgent'"` | `condition: "record.priority != 'urgent'"` | + + Fix: write the option's value in place of its label, as the refusal names it; or set `active: false` on the rule. + +### Patch Changes + +- b2006d3: fix(lint): the search warning on a react page list and the flow save warnings name things by the label the admin typed, falling back to the API name + + Clause-②: no + Metadata-protocol: none + + The search warning a `` on a react page draws now names the object by its stored label, as the same warning on an object or list view already did: both surfaces run one search check, and the object's label now travels with it. The flow save warnings of the trigger-readiness rule (an unknown trigger object, an unknown or object-less start input, one record id read as a list, an auto-triggered flow left in draft) and of the flow write rule (a write to a system field an external object does not store) now name the flow, and the objects the flow does define, by their stored labels too, matching the other flow and save warnings. + + A flow or object with no label, a blank label or a label that is not a plain string (an inline locale map) is still named by its API name. An object the app does not define keeps the name the warning asks the admin to check, an injected column keeps its API name since it has no label of its own, and a start input keeps its variable name. + + Rule ids, `message`, `hint`, `where`, the `os explain` entries and `os validate` output keep the API names, and the sentence wording is unchanged. Nothing to change in metadata. +- 8b67dcd: fix(lint): admin-facing save warnings name things by the label the admin typed, falling back to the API name + + Clause-②: no + Metadata-protocol: none + + The user-facing sentence a save warning carries (`userMessage`, rendered from a finding's `userTextParams`) now names each object, field, permission set, policy, book, form, page, dashboard, widget, filter, report, dataset and measure by the label stored in the stack, and shows the API name only where that thing has no label, its label is not a plain string (an inline locale map), or it is not in the stack being checked (an undeclared permission set, an object no package provides, a column the platform injects). Before, these sentences showed API names, so an admin who labelled a permission set `服务工程师` read the generated `fuwu_gongcheng_shi` in the warning instead. + + This covers the ten user-text catalogues that documented API names: the security-posture rule first, then the Auto Number, report chart, form layout, object reference, page sort, record page header, search, list-view sort and dashboard widget rules. A field or name the warning reports as unknown is still shown as written, since it is the text the admin has to correct. Rule ids, `message`, `hint`, `where`, the `os explain` entries and `os validate` output keep the API names, and the sentence wording is unchanged. Nothing to change in metadata. +- 96fa9ef: fix(lint): the flow readonly, placeholder and credential warnings and the retired permission key warning name things by the label the admin typed, falling back to the API name + + Clause-②: no + Metadata-protocol: none + + Four more save warnings now name what they are about by its stored label, as the other flow and save warnings already do. The warning for a flow writing a field with a "Read-only when" condition names the flow, the field and the object by their labels. The flow placeholder warnings name the flow and the object by their labels, and the relationship field a placeholder reads through by its label. The warning for a credential written into a flow names the flow by its label and the node by its label. The warning for a permission set still writing a retired key names the permission set and the object by their labels. + + A flow, node, object, field or permission set with no label, a blank label or a label that is not a plain string (an inline locale map) is still named by its API name (a node by its id), and so is an object the app being checked does not define. A placeholder field the object does not declare keeps the name the warning asks the admin to check, an injected system field keeps the name the warning asks the admin to add, the placeholder is shown as written, and the retired key keeps its name. + + Rule ids, `message`, `hint`, `where`, the `os explain` entries and `os validate` output keep the API names, and the sentence wording is unchanged. Nothing to change in metadata. +- 9317722: Clause-②: no + Metadata-protocol: none + + The `dataset-member-no-vocabulary` advisory now carries a localized user sentence. Saving a dataset in Studio whose measures or dimensions declare neither synonyms nor a description returns, per member, one short sentence in the request's language (every platform locale) that names the member and its dataset and points at the member's Advanced section, where Synonyms and Description are filled in. The rule id, `message` and `hint` are unchanged; the finding gains `userTextParams` (`dataset`, `member` by stored label else API name, and `kind`), and `DatasetMemberVocabularyFinding` gains the optional `userTextParams` field. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/sdui-parser@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/lint/package.json b/packages/lint/package.json index fd2c073ed00..0998c53364a 100644 --- a/packages/lint/package.json +++ b/packages/lint/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/lint", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Static, build-time validation for an ObjectStack metadata graph — dashboard widget bindings, CEL/predicate expressions, and more. Pure (stack) => Issue[] functions shared by the CLI's `os validate` and any other consumer (e.g. AI authoring). Depends on @objectstack/spec; never on a runtime.", "type": "module", diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index b5f02fed086..8804358fca8 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,68 @@ # @objectstack/plugin-mcp-server +## 19.0.0-next.5 + +### Patch Changes + +- 5c00c57: docs(skills, spec, mcp): the UI skill shows a `BulkActionResult` entry and what a "stepped" form is, and the remaining AI tool name statements spell the qualified name + + Clause-②: no + Metadata-protocol: none + + - `skills/objectstack-ui/rules/actions.md`: the selection bullet now shows the value an `execution: 'aggregate'` body resolves with, as `BulkActionResultSchema` declares it: `{ succeeded: [ids], failed: [{ id, message }] }`, both lists, the reason under `message` and not `error`. The bullet named the type without an entry, and answers written from it put the reason under `error` or pushed objects into `succeeded`, neither of which parses. + - `skills/objectstack-ui/rules/list-views.md`: Forms now says a "stepped" form is the object's field groups in order (on a `form` item, `type: 'wizard'`), before any `kind: 'react'` wizard page. + - `skills/objectstack-ai/SKILL.md`: an AI-exposed action's tool is spelled `action___` (`action_` for a top-level action) in the Skills example and under "Actions as AI Tools". Eval case 1 of `skills-tools-knowledge` says the action is bound to `support_case` and requires `action_support_case__crm_escalate_case`. + - `@objectstack/spec`: the `stack.tools` description and its TSDoc spell the same two names in place of `action_`. Text only: no schema shape changes. + - `@objectstack/mcp`: the README's skill-prompt paragraph spells the same names. + + The older `action_` spelling of an object-bound action still resolves, to every action of that name whatever its object; nothing an author wrote before is refused. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [96fa9ef] +- Updated dependencies [3adf532] +- Updated dependencies [9317722] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 383a0acde7d..aaed878e17c 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/mcp", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack as an MCP server — exposes your app's objects (and AI tools) over the Model Context Protocol (stdio + Streamable HTTP)", "type": "module", diff --git a/packages/metadata-core/CHANGELOG.md b/packages/metadata-core/CHANGELOG.md index 7f3b16328a2..fcf5a2e35aa 100644 --- a/packages/metadata-core/CHANGELOG.md +++ b/packages/metadata-core/CHANGELOG.md @@ -1,5 +1,55 @@ # @objectstack/metadata-core +## 19.0.0-next.5 + +### Patch Changes + +- bb2c500: fix(knowledge): on a deployment with no knowledge service, duplicating a package that holds a knowledge source copies the source unserved + + Clause-②: yes (widening) + Metadata-protocol: none + + Who sees it: an administrator of a self-hosted deployment that runs no knowledge service (its stack neither declares `requires: ['knowledge']` nor ships a `knowledgeSources` entry, and its host mounts no `KnowledgeServicePlugin`), duplicating a package that holds a knowledge source, for example an app installed from the marketplace. + + - **Before**: `POST /packages/:id/duplicate` answered `503 SERVICE_UNAVAILABLE` for the whole package, naming the source and telling the caller to add `requires: ['knowledge']` to the stack and restart. Nothing was copied. + - **Now**: the package is duplicated. The copy carries the knowledge source, and nothing loads, builds, embeds or searches it, as nothing does for the source it was copied from. Once an operator mounts the knowledge service and it is enabled, both are served. The boot's log names the sources that are not served, with the fix; the duplicate's answer has no new field. + - **Still asked**: the caller needs `manage_knowledge_sources` beside `manage_metadata`. The knowledge service's own verdict on a source is not asked on such a deployment, because no service is there to give it: whether the caller may themselves search what the source indexes, whether its `adapter` names a mounted store, and whether its `source.retrieval.mode` is one the store runs. The copy lists the fields the package's source lists, and every search asks the searcher's own gates. + - **Unchanged**: an author's save of a knowledge source there (`PUT /meta/knowledge_source/:name`, the MCP draft save, and `POST /packages/:id/move-in` of a package-less source) is still refused `503` with the same remedy. A knowledge service that is registered and serves no instance for the request's environment, or cannot be resolved, still refuses the duplicate. Where a knowledge service answers, each source a duplicate copies is still admitted for the caller. + + `authoredKnowledgeSourceRefusal` (`@objectstack/metadata-core`) answers `undefined` for `door: 'duplicate'` when `resolveKnowledgeService` answers nothing; its signature and its doors (`save`, `duplicate`) are unchanged. A host whose own dispatcher deps carry no `classifyServiceOrLoud` cannot tell "no knowledge service" from "registered, with no instance for this environment", so there a duplicate is copied in both cases; the platform's dispatcher tells them apart and still refuses the second. The upgrade-guide entry `knowledge-source-save-refused-without-knowledge-service` no longer lists the package duplicate in its surface. Decided in ADR-0161 K8, the dated note of 2026-12-03. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/metadata-core/package.json b/packages/metadata-core/package.json index f238a0de681..73c51a233f0 100644 --- a/packages/metadata-core/package.json +++ b/packages/metadata-core/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/metadata-core", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Metadata Repository contracts: types, canonicalization, errors, interface (ADR-0008).", "type": "module", diff --git a/packages/metadata-fs/CHANGELOG.md b/packages/metadata-fs/CHANGELOG.md index 70efc9b2516..3731c9db642 100644 --- a/packages/metadata-fs/CHANGELOG.md +++ b/packages/metadata-fs/CHANGELOG.md @@ -1,5 +1,12 @@ # @objectstack/metadata-fs +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [bb2c500] + - @objectstack/metadata-core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/metadata-fs/package.json b/packages/metadata-fs/package.json index cea7014ccd7..176fcb173e9 100644 --- a/packages/metadata-fs/package.json +++ b/packages/metadata-fs/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/metadata-fs", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "FileSystemRepository: Node-only Repository implementation backed by JSON files and a JSONL change log (ADR-0008).", "type": "module", diff --git a/packages/metadata-protocol/CHANGELOG.md b/packages/metadata-protocol/CHANGELOG.md index 6139875469e..d930495d37b 100644 --- a/packages/metadata-protocol/CHANGELOG.md +++ b/packages/metadata-protocol/CHANGELOG.md @@ -1,5 +1,189 @@ # @objectstack/metadata-protocol +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. +- 79d7153: fix(service-datasource): a datasource created in Setup is saved through the kernel save, into a named package, and a create naming none is refused `422 WRITABLE_PACKAGE_REQUIRED` + + Clause-②: yes (narrowing) — narrowed: a Setup datasource create naming no package is refused, and an edit of a datasource whose stored config or pool the schema refuses is refused until it sends the block corrected; widened in the same change: the `@objectstack/spec/kernel` exports `getMetadataTypeCarryForwardRetirement` and `MetadataCarryForwardRetirement` + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/data-modeling/external-datasources.mdx (a datasource created in Setup is saved into the writable package the request names; skills/** teach no Setup datasource create) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling record 7408558495). + + - **Before:** `POST /api/v1/datasources` (the Setup "Datasources" create) inserted its row straight into the metadata table, bound to no package, so it was the one create door the kernel's package-less create judgment never saw. + - **Now:** the door's create, edit (`PATCH /api/v1/datasources/{name}`) and credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) are saved through the kernel save, and every judge of that save answers them. A create names its package with `package` in the request body; naming none answers `422 WRITABLE_PACKAGE_REQUIRED` in this door's words, the writable packages on `error.details.writablePackages`, nothing stored and the secret sealed for the request removed again. An empty or non-string `package` answers `400 VALIDATION_ERROR`. An edit and a migration are saved in the package the row is stored in. No new exemption: the reference to the secret the door has just sealed is stated to the save by server code only (never by any HTTP or MCP door), and passes the own-reference rule only when it is the body's reference and no other stored datasource row holds it. A host with no metadata save answers `503 SERVICE_UNAVAILABLE` instead of writing the row itself. + - **Imports land with their datasource.** An object imported from a datasource added in Setup is saved in the package that datasource is stored in; from a package-less one it still lands loose. + - **Console:** the Setup datasource editor shows the refusal in the server's words with one button per writable package, and picking one sends the create again into that package. + - **Not touched:** the door's delete (`DELETE /api/v1/datasources/{name}`) still removes the row directly. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", … }` | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", …, "package": "my_pkg" }` | + | `PATCH /api/v1/datasources/{name}` `{ "active": false }` on a datasource whose stored `config` or `pool` the schema refuses for anything but an inline credential (answered `400 DATASOURCE_ADMIN_ERROR`, naming the key) | `PATCH /api/v1/datasources/{name}` `{ "active": false, "config": { …the stored config without the key the refusal names } }` | + + One-line fix: name the writable package the new datasource belongs to; on the second arm, send the corrected `config` (or `pool`) with the edit. An edit of an existing datasource is saved in place on the body a read serves: the credentials a row stored before inline credentials were refused still holds in `config` are carried forward by the save, so its `label` and `active: false` edits keep saving, and a row whose stored config or pool the schema now refuses for any other reason is refused until the edit sends it corrected. + + - **A bound reference retires the inline credential, on every door.** A datasource save whose body binds `external.credentialsRef` no longer carries the driver's inline credential slot (`config.password`; turso's `config.authToken`) forward from the stored row: the row is written without it, and the save names each dropped position on its answer (`advisories`, rule `withheld-key-dropped`; the admin door's update answer as `droppedWithheldKeys`). With a reference bound the connect path never reads that slot. The credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) therefore leaves the reference and no inline password at rest, after a restart too. Former alias spellings and a URL-embedded password are still carried forward, and the migration still reports them as `remaining`. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + + +### Patch Changes + +- 38f702c: fix(metadata-protocol): the environment's own row of a name two enabled packages ship is what the reads naming no package serve, as the save naming no package edits it + + Clause-②: yes + Metadata-protocol: none + + + + Who sees it: an environment that stores its own (package-unbound) customization of a metadata item that two or more enabled packages ship, and reads it without naming a package. + + - **Before:** every read naming no package (`GET /api/v1/meta/TYPE/NAME`, `/layers`, `/published`, `/meta/TYPE/_env/NAME`, and the in-process item, layered and execution reads) answered `409 RESOURCE_CONFLICT` naming the shippers, while the save naming no package answered `200` and edited that row. An environment could change an item no read would show it. + - **Now:** those reads serve the environment's row, stating no package. `/layers` reports no code layer and the row as overlay and effective. After a save naming no package, every read serves the saved body. Reads and writes give the same answer (ruling 6942981052, option (b), narrowed by 7187668758 and 7405866869). + - **Unchanged:** with no such row the reads still refuse naming the enabled shippers; beside a stored row bound to a package (a shipper's own copy), where the save naming no package edits that package's row or refuses, the reads answer as before; `?package=PACKAGE` answers as before; a disabled shipper counts for nothing; a name the packages hold only as stored rows (no shipper) keeps its refusal on reads and saves alike; a sealed managed type's package-unbound row is still declined. +- 301a378: fix(metadata): a book group's `pages` is read as doc references, so a doc's "Used by" lists the book and a namespace copy renames the book's doc pins + + Clause-②: no + Metadata-protocol: none + + `BookGroupSchema.pages` lists doc names, but the reference index derives its sites from property names and `pages` spells the plural of the `page` type, so it filed `book.pages` under target `page`. A doc's references answer (`GET /api/v1/meta/doc/:name/references`) missed every book that pins it, and a package copy under a new namespace left the copied book pointing at the source's docs. + + The spec now declares the binding at the producer, `.meta({ xReference: 'doc' })` on a group's `pages`, and the derivation in `@objectstack/metadata-protocol` reads that marker in place of the naming rule. A translation's `pages` keys still name pages; since `pages` now names two types, the namespace copy resolves it by the copied item's own type. What a book accepts is unchanged. +- 9674b7f: fix(metadata-protocol): duplicating a package that ships seed data copies every seed + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who duplicates a package that carries `seed` items (the Starter among them), through `POST /api/v1/packages/:id/duplicate` or the Studio's duplicate dialog. + + - **Before:** every seed of the source was refused at the copy with "Unrecognized key(s) on this seed: `name`", so the duplicate answered `success: false`, listed each seed under `failed`, and the copy opened without its sample data. + - **Now:** each seed is copied under its copy name, aimed at the copied object, carrying only the keys the seed declaration admits. A duplicate with nothing else wrong answers `success: true` with `failedCount: 0`. + - Nothing changes for seed authoring: the seed declaration is as strict as before, and a seed body still has no `name` key. +- 4fed008: fix(metadata-protocol): a stored 18.x form overlay row that holds the protocol-19 switch now says how to clear it + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator upgrading a deployment whose 18.x database holds a form saved over the API as a flattened view row (`{ object, viewKind: 'form', type, sections }`, no `config`). + + - **The switch still refuses the row, and now names the way out.** The upgrade reads no form out of such a row, so it holds the switch. `os migrate stored-forms` (and the preview of `os migrate protocol --to 19`) and the line the server logs when a public form door meets the row both told the administrator to repair "a `form` or `formViews` entry that is an object", which such a row does not have, and saving the row again keeps it as it is. Both now name the remedy that clears it: on the 18.x release you are running, delete the row (`DELETE /api/v1/meta/view/NAME`, with `?package=PACKAGE` where it is saved in a package), re-create its form as a form item named `OBJECT.KEY` whose `config` carries the form body (in Studio, a new form on the object), point anything that opened the old name at the new one, and run the upgrade again: the new item moves. A row already named `OBJECT.KEY` is re-created under the same name. + - Other unreadable rows (a container whose `form` or `formViews` is not an object) keep the fix they had. +- 198301b: fix(cli): `os migrate protocol --to 19 --apply` writes each moved stored form without the old `data` binding, and never switches over a form the runtime would serve invalid + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator upgrading a deployment whose 18.x database holds forms edited in Studio (a view's `form` or `formViews` saved with the view). + + - **A moved form no longer keeps `data`.** The protocol-19 switch moved each stored form "with its body as written", and an 18.x Studio save stores a form's object binding as `data: { provider: 'object', object }`. A `form` item refuses `data` by name, so every moved form was served `valid: false` and the `form` door refused the same body. The switch now drops a plain object binding, as `os migrate meta --from 18 --write` does for a form in source; the rest of the body moves as written. + - **No switch over a form the `form` schema refuses.** The census (`os migrate stored-forms`, and the preview of `os migrate protocol --to 19`) now judges every form body the switch would write, and every stored `form` row it keeps, with the runtime's own schema. A body it refuses is listed with the site, the schema's words and the action; `os migrate protocol --to 19` then exits 1 and writes nothing, and `--apply` records no switch while one stands. `--json` carries the list as `bodyRefusals`, and `canSwitch` is `false` beside it. This includes a form served under a name the protocol-19 naming rule refuses, such as a form a container serves as `OBJECT.CONTAINER.KEY` when the container's package (none, a customization package, or any other) is not the package that owns the object: the switch renames no form, so it no longer writes one there. + - **The fix names the package.** For a stored `form` row served invalid, the action is `PUT /api/v1/meta/form/NAME?package=PACKAGE`: the save door addresses a package's row only with `?package=`. `os migrate meta --stored` does the same: its fix line for any row saved in a package (every type) now reads `PUT /api/v1/meta/TYPE/NAME?package=PACKAGE`, where it printed a door that refused the save. + - **A form whose name cannot move says what can be done.** Such a form is refused rather than renamed. Its action names the remedy that exists on the release you are running, and it keeps the container's list views: save the container again without its `form` and `formViews` (its lists, named in the action, stay where they are), or delete it when it serves no list view; then re-create each of its forms as its own form named `OBJECT.KEY`, point anything that opened the old name at the new one, and run the upgrade again. + + A deployment that already switched on `19.0.0-next.4` and holds moved forms with `data`: run `os migrate stored-forms` to list them, and save each again without `data` through the door it names. +- f7c60e5: The boot census `metadata_sealed_overlay_unserved` no longer tells you to delete a stored row that the delete door refuses. When the row sits beside the one enabled package that ships its name, the census now names that package's paired customization package as the place for the change. + + Clause-②: no + Metadata-protocol: none + + A package-less stored row whose name one enabled read-only package ships is that package's customization. This covers a type with a declared-override channel: flow, action, page, app, dataset, doc, book or mapping. The census line now says to save the change as a declared override in `ID.custom` (`overrides: { package: ID, basedOn: VERSION }`). It also says the stored row stays at rest, served by no read, and needs no delete. Before, the line said to delete the stored row. While a code package ships the name, that delete answers `403 NOT_OVERRIDABLE` (sealed against removal) for doc, flow, action and mapping. Every other row keeps its remedy word for word. Only the log line changes: no door, read or stored row behaves differently. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [96fa9ef] +- Updated dependencies [3adf532] +- Updated dependencies [9317722] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + - @objectstack/sdui-parser@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/metadata-protocol/package.json b/packages/metadata-protocol/package.json index 519c6ec0842..0b7f41b7a99 100644 --- a/packages/metadata-protocol/package.json +++ b/packages/metadata-protocol/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/metadata-protocol", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack metadata management protocol: sys_metadata CRUD, draft/publish, locks, package ownership, diagnostics (ADR-0076).", "type": "module", diff --git a/packages/metadata/CHANGELOG.md b/packages/metadata/CHANGELOG.md index 91ad1ba8d89..282852eb4a6 100644 --- a/packages/metadata/CHANGELOG.md +++ b/packages/metadata/CHANGELOG.md @@ -1,5 +1,60 @@ # @objectstack/metadata +## 19.0.0-next.5 + +### Patch Changes + +- 29588f4: fix(metadata): `RemoteLoader` sends `type` and `name` each as exactly one encoded path segment + + Clause-②: no (narrowing) + Metadata-protocol: none + + + + **BREAKING** (runtime loader, no metadata surface): FROM `RemoteLoader` accepting any `type` / `name` string TO each sent as exactly one percent-encoded path segment under the configured base URL, with an empty, `.` or `..` value refused before any request. + + - An item name can now only address its own item on the configured server. Every by-name request (`load`, `exists`, `stat`, `save`), the collection request (`loadMany`, `list`) and the `path` a save reports are spelled from one shared helper. + - A refused value is a miss for a read (`load` answers `{ data: null }`, `exists` answers `false`, `stat` answers `null`, `loadMany` / `list` answer `[]`) and a thrown refusal for `save`. + - Ordinary names (letters, digits, `_`, `-`, `.` inside a name) are requested at exactly the URL they were before. A name carrying a reserved character is now sent percent-encoded as one segment; a remote server reads it back with its ordinary path decoding. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + - @objectstack/metadata-fs@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 7ebd5acc31a..5fe21e46c81 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/metadata", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Metadata loading, saving, and persistence for ObjectStack", "type": "module", diff --git a/packages/objectql/CHANGELOG.md b/packages/objectql/CHANGELOG.md index bd5e31c37bd..f1282218690 100644 --- a/packages/objectql/CHANGELOG.md +++ b/packages/objectql/CHANGELOG.md @@ -1,5 +1,95 @@ # @objectstack/objectql +## 19.0.0-next.5 + +### Minor Changes + +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + + +### Patch Changes + +- 89b6da3: fix(objectql): a non-system create of a platform table that names its organization has the organization checked like any other reference + + Clause-②: no (narrowing) + Metadata-protocol: none + + + + Who sees it: a caller that creates a row of a platform (`sys_`) table outside the system context and names the row's organization itself, where no organization wall judges that organization: every caller under the `single` posture, and, under `isolated` or `group`, a platform operator who crosses the wall. The doors are `POST /api/v1/data/sys_queue`, `POST /api/v1/data/sys_assignment_rule` or any other platform table that carries the platform's organization column, an import, a batch insert, or a user-context automation. The Setup forms send no organization, so they are not reached. + + - **The crossing operator:** a platform operator with no active organization, whose write the wall lets cross without judging the organization. A create naming an organization that does not exist is refused; one naming an organization the operator can read is stored, as before. + + - **Before:** the organization column is read-only, and the reference check skipped every read-only column, on the ground that the read-only strip had already taken a caller's value. A create of a platform table is the one write that strip does not judge, so the value was stored as sent and never checked: a row could be stored under an organization id that names no organization, wherever the organization wall does not judge the column (the `single` posture, or a caller the wall lets cross). + - **Now:** that value is checked as the lookup it is. An organization that does not exist, and one the caller cannot read, answer `400 VALIDATION_FAILED` with one `fields` entry, `organization_id` with code `reference_not_found`, and nothing is stored. The two answers are the same. + - **Not reached:** a member under `isolated` or `group`, whose organization the wall judges: the wall refuses a value outside the caller's organizations, as before, and under `group` a member organization that is not the active one is stored, as before (ADR-0105 D5); a create that names no organization (the write's own organization is stamped, as before); a system write (seed replay, package install, boot); an update (the read-only strip takes the value, as before); a value a `beforeInsert` hook wrote over the caller's; an app object's organization column, which the create strip still takes. + + **BREAKING** for a caller that creates a platform-table row outside the system context, where no organization wall judges the organization (the `single` posture, or a platform operator crossing the wall), naming an organization that does not exist or that it cannot read: it answered 2xx and stored the row under that id; it answers 400 `VALIDATION_FAILED` and stores nothing. + The fix for a caller: name an organization it can read, usually its active one, or name none and let the write's organization be stamped. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [9674b7f] +- Updated dependencies [bb2c500] +- Updated dependencies [4fed008] +- Updated dependencies [198301b] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] +- Updated dependencies [f7c60e5] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-protocol@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/objectql/package.json b/packages/objectql/package.json index 5687d661e28..f887d363217 100644 --- a/packages/objectql/package.json +++ b/packages/objectql/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/objectql", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Isomorphic ObjectQL Engine for ObjectStack", "type": "commonjs", diff --git a/packages/observability/CHANGELOG.md b/packages/observability/CHANGELOG.md index 690e95c9099..8523c975dbe 100644 --- a/packages/observability/CHANGELOG.md +++ b/packages/observability/CHANGELOG.md @@ -1,5 +1,42 @@ # @objectstack/observability +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/observability/package.json b/packages/observability/package.json index 31bf5b116c6..6b2bfe02b1c 100644 --- a/packages/observability/package.json +++ b/packages/observability/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/observability", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Observability contracts and exporters for ObjectStack — MetricsRegistry, ErrorReporter, Logger plus noop/console/OTLP-HTTP exporters. Deployment-target neutral; runtime and services depend on this so the same instrumentation works on Cloudflare Workers, Node, and self-hosted Kubernetes.", "type": "module", diff --git a/packages/platform-objects/CHANGELOG.md b/packages/platform-objects/CHANGELOG.md index a1edf17f9f5..ed257299509 100644 --- a/packages/platform-objects/CHANGELOG.md +++ b/packages/platform-objects/CHANGELOG.md @@ -1,5 +1,188 @@ # @objectstack/platform-objects +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. + +### Patch Changes + +- 1cbcf46: fix(platform-objects): with SSO-only mode on, Setup → Users no longer offers Set Password on a user the identity provider provisioned + + Clause-②: no + Metadata-protocol: none + + Who sees it: a platform administrator on Setup → Users of an environment in SSO-only mode (`ssoOnlyMode` / `OS_AUTH_SSO_ONLY`). + + - **Set Password is hidden on an IdP-provisioned user's row** (`source = idp_provisioned`) while SSO-only mode is on. The server refuses that password write (`409`), so the button only ever led to a refusal. + - **Still offered:** on local-password users, on your own row (the break-glass password a platform administrator may set for themselves), and on every row when SSO-only mode is off. If the console has not received the SSO-only flag, or the row's identity source, the button shows as before and the server still decides. + - The `ssoEnforced` entry of the public auth feature registry now says that Set Password reads it to hide those rows; no served flag changes. +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- 061948f: fix(platform-objects): Setup → Teams — a team opens from the list, Create Team asks only for the name, and a team opens on its members + + Clause-②: no + Metadata-protocol: none + + Who sees it: an organization administrator on Setup → Users & Organization → Teams. + + - **The team name opens the team.** The list's default view (By Organization) led with the Organization column, and only the first column of a list is the link that opens a record, so a team could not be opened from the list. Both team views now lead with the name; the By Organization view still groups by organization. + - **Create Team asks only for the name.** The team is created in the organization you are working in, which is the only one you can create it in from there, so the dialog no longer asks for the organization. An AI assistant calling the action creates the team in the active organization as well. + - **A team opens on Team Members.** On the wide record page the tabs beside the details open on their first tab, which was Invitations. The team's tabs are now Team Members, then Invitations. +- d362eaa: docs(identity): Create Key says how to connect an outside system without a person's key + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone creating an API key, in Setup or in the Account app, in every shipped language. + + - **Before:** the Create Key dialog said only that the key acts as you, with your access. An administrator wiring up a first integration (an ERP sync, say) saw no other path, so the outside system got the administrator's whole reach and broke when that person left. + - **Now:** the same description adds one sentence: for a system that must keep working without you, create a user for it holding only the permission sets it needs, and create the key while signed in as that user. The permissions guide gains a "Connecting an outside system" section with the steps. + - Nothing about keys changes: a key is still created by its owner for themselves, acts exactly as that owner, and cannot be narrowed. +- 8b1560b: fix(platform-objects): Revoke Session and Revoke / Restore API Key are on the record page and the side preview, not only in a row's right-click menu + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Login & Security → Sessions and API Keys. + + - **Revoke Session, Revoke API Key and Restore API Key now sit on the record** (`locations: ['record']`, was `['record_row']`). They show on the record page and in the side preview's actions, and stay on each list row: in the row's context menu, and in the selection bar when that one row is selected. A list page draws no control on its rows, so before this an action placed on rows alone was found only by right-clicking. + - **zh-CN: Access Policy names its shared settings as Sign-in Methods does.** The organization page now uses the deployment page's terms and full-width parentheses: 空闲超时(分钟), 会话绝对有效期(小时), 每用户最大并发会话数, and 允许的 IP 范围 on both pages. +- 4eef1f5: fix(setup): Setup → Knowledge says where the rest of a knowledge setup lives, Delivery Log shows who each notification went to, by which channel, and whether it was delivered, and the notification event list keeps its own Setup entry, Notification Events, served to organization administrators + + Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a Setup entry, Notification Events, is served to callers who hold `setup.write` and were served no entry for that list before (organization administrators hold `setup.write` and not `manage_platform_settings`). + + Who sees it: a platform administrator in Setup; an organization administrator sees Notification Events. + + - **Setup → Knowledge** no longer calls itself the vector-store backend. It holds the indexing defaults, and its description now names the two other places a knowledge base is set up: the embedding provider, under AI Model Service → Embedder (a saved provider takes effect after a server restart), and the knowledge sources themselves, created in App Studio → AI. The sentence is in every shipped language, with each page named the way that language names it. It is plain text, not a link. + - **Setup → Notifications → Delivery Log** now opens the delivery list (`sys_notification_delivery`, new `recent` view) instead of the notification event list. Each row is one send: the recipient (the person, and the address it went to), the channel, the status (pending, in flight, success, dead, suppressed), the attempts, the last error, the topic and when it was queued, newest first. The entry keeps its name, its place and its gate (`manage_platform_settings`), and it is shown only where the messaging service is mounted. The event list (`sys_notification`) is no longer opened from this entry; the search alias "Notification Events" moves to the event list's own entry below. + - **Setup → Notifications → Notification Events** is a new entry, after Delivery Log, opening the notification event list (`sys_notification`, view `recent`), whose toolbar carries **Send In-App Message**. It is gated on `setup.write`, the capability that action and its door demand, so organization administrators, who hold `setup.write` and are deliberately withheld `manage_platform_settings`, now reach the action from the menu; before, the list's only Setup entry was gated on `manage_platform_settings`. Who reads the rows is still the object grant's call, and who may send is still judged by the door. The label is in every shipped language. The administrator guide now names this path for sending a message to the organization. + - The topic still shows as its key (for example `approval.requested`): the platform has no display names for notification topics. +- 5f55f96: fix(spec,approvals): approval and permission-set help say what the form does, in plain words; the approval index objects ship translation bundles + + Clause-②: no + Metadata-protocol: none + + - The permission-set form's API-name help no longer says a Chinese label fills nothing: the create form keeps Latin letters and digits and spells Chinese in pinyin, and only a label with neither (Japanese kana, for example) leaves the name to be typed. + - The approval step's Value and Organization help explain what an expression can read (the record now, the record as submitted, flow variables and earlier results) and what the top and parent organization choices mean, with `current.*`, `trigger.*`, `vars.*`, `$root` and `$parent` kept only as examples. + - `sys_approval_approver` and `sys_approval_token` are now in the approvals plugin's translation extract, so their labels have a bundle entry in every locale instead of none. +- 3e83ef2: fix(spec): the app inspector's Label, Description and Active rows show help in the author's language + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone editing an app in Studio under a non-English locale. + + - **The three rows carry their own help text.** Before, they had none, so the form showed the schema's English description ("App display label", "App description", "Whether the app is enabled") even when the rest of the form was translated. + - **Every bundled locale translates it.** zh-CN, zh-Hant, ja-JP, ko, es-ES, fr, de, pt-BR, ru and ar each ship their own wording of the new help text in the platform metadata-form packs. + - Nothing an app author writes changes; the `app` schema is untouched. +- 01edf99: fix(platform-objects): Setup's Sessions list and the Account app's My Sessions name each session's device in words, "Chrome · macOS", instead of the raw user-agent string + + Clause-②: no + Metadata-protocol: none + + Who sees it: a security administrator on Setup → Sessions, and any user on Account → My Sessions, who has to tell one session from another before revoking it. + + - **New read-only field `device` on `sys_session`**, a text formula computed on every read from `user_agent`: the browser (Chrome, Edge, Safari, Firefox) and the system (Windows, macOS, Linux, Android, iOS), as "Chrome · macOS". No column is stored. API and export readers get the same field. + - **The `all_sessions` and `mine` list views show `device` in place of `user_agent`.** The raw user agent stays on the record, as plain text with no display format, under Client on the record page. The `revoked` view is unchanged. + - A client neither the browser nor the system is recognised for (a script, an SDK, ChromeOS) shows its raw user agent, never "Unknown"; a session with no user agent shows empty. No version numbers. A Chromium browser that also announces itself as Chrome (Opera, Samsung Internet) reads as Chrome. The column cannot be sorted, as with every computed column. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + +- bf95e78: fix(platform-objects): a unit of measure is titled by its label, not its code + + Clause-②: no + Metadata-protocol: none + + `sys_unit` now declares `label` as its title field (`nameField` and `displayNameField`), where it declared `code`. An admin who creates a unit 斤 with code `JIN1` now sees 斤 in the "created" message, the record header, list titles and pickers, instead of `JIN1`. A quantity still stores and names its unit by code; only the unit row's own title changes. `sys_standard_unit_setting` and `sys_exchange_rate` keep their code titles. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/platform-objects/package.json b/packages/platform-objects/package.json index 5128a573e51..b6be9595e25 100644 --- a/packages/platform-objects/package.json +++ b/packages/platform-objects/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/platform-objects", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Core platform object schemas for ObjectStack — identity, security, audit, tenant, and metadata objects", "type": "commonjs", diff --git a/packages/plugins/embedder-openai/CHANGELOG.md b/packages/plugins/embedder-openai/CHANGELOG.md index 32dc76542dd..a7df71ffbad 100644 --- a/packages/plugins/embedder-openai/CHANGELOG.md +++ b/packages/plugins/embedder-openai/CHANGELOG.md @@ -1,5 +1,42 @@ # @objectstack/embedder-openai +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/embedder-openai/package.json b/packages/plugins/embedder-openai/package.json index 775cb9d3689..d3b7c1cc895 100644 --- a/packages/plugins/embedder-openai/package.json +++ b/packages/plugins/embedder-openai/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/embedder-openai", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "OpenAI-compatible embedder for ObjectStack — works against OpenAI, 阿里通义 DashScope, 智谱 BigModel, 硅基流动 SiliconFlow, 火山引擎 Doubao, MiniMax, Ollama, and any drop-in OpenAI-shape endpoint.", "type": "commonjs", diff --git a/packages/plugins/knowledge-memory/CHANGELOG.md b/packages/plugins/knowledge-memory/CHANGELOG.md index cbb90487010..4d28db72141 100644 --- a/packages/plugins/knowledge-memory/CHANGELOG.md +++ b/packages/plugins/knowledge-memory/CHANGELOG.md @@ -1,5 +1,47 @@ # @objectstack/knowledge-memory +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [959b20f] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/service-knowledge@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/knowledge-memory/package.json b/packages/plugins/knowledge-memory/package.json index a39ecc29923..92dd3ae3742 100644 --- a/packages/plugins/knowledge-memory/package.json +++ b/packages/plugins/knowledge-memory/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/knowledge-memory", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "In-memory knowledge adapter for ObjectStack (dev / test reference implementation).", "type": "commonjs", diff --git a/packages/plugins/knowledge-pgvector/CHANGELOG.md b/packages/plugins/knowledge-pgvector/CHANGELOG.md index a03e357143a..268dbdb28fb 100644 --- a/packages/plugins/knowledge-pgvector/CHANGELOG.md +++ b/packages/plugins/knowledge-pgvector/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/knowledge-pgvector +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/knowledge-pgvector/package.json b/packages/plugins/knowledge-pgvector/package.json index a3e5089949a..cc58d7305d5 100644 --- a/packages/plugins/knowledge-pgvector/package.json +++ b/packages/plugins/knowledge-pgvector/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/knowledge-pgvector", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "PostgreSQL + pgvector knowledge adapter for ObjectStack: an open vector store for self-hosted deployments.", "type": "commonjs", diff --git a/packages/plugins/knowledge-turso/CHANGELOG.md b/packages/plugins/knowledge-turso/CHANGELOG.md index e04b8c1f1ac..48de465ded9 100644 --- a/packages/plugins/knowledge-turso/CHANGELOG.md +++ b/packages/plugins/knowledge-turso/CHANGELOG.md @@ -1,5 +1,55 @@ # @objectstack/knowledge-turso +## 19.0.0-next.5 + +### Patch Changes + +- 5e900d3: perf(knowledge-turso): knowledge searches on one libSQL store no longer wait for each other + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone asking an AI question in an environment whose knowledge source is on the Turso (libSQL) store, most of all on a remote Turso database, where each statement is a network round trip. + + - **Searches run beside each other.** Until now every call on one store client went through a single queue, so two searches the assistant issued in one round, or two people asking at once, ran one after the other. Reads (searches, the index-status read, document listings) now run concurrently, at most 4 at a time per client, so a burst does not open unbounded requests. + - **Writes still run alone.** A record sync, a build step, a generation switch, a source drop, the store's start-up and a table's one-time keyword-index creation each wait for the reads in flight and run with nothing else beside them. A write that is waiting is not overtaken by reads that arrive after it. + - **Answers do not change.** A search whose index is switched while it embeds its question is searched again, as before. The `[knowledge] search timing` line still reports `ms.queue_wait`, which is now time spent waiting for a write (or for a free read slot), not for another search. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/knowledge-turso/package.json b/packages/plugins/knowledge-turso/package.json index aa35670d288..8725b67c2bd 100644 --- a/packages/plugins/knowledge-turso/package.json +++ b/packages/plugins/knowledge-turso/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/knowledge-turso", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "libSQL (Turso) knowledge adapter for ObjectStack: an open vector store in a libSQL file of its own, for local development and deployments not on PostgreSQL.", "type": "commonjs", diff --git a/packages/plugins/organizations/CHANGELOG.md b/packages/plugins/organizations/CHANGELOG.md index f34ebd34c9e..17d0ecfa62e 100644 --- a/packages/plugins/organizations/CHANGELOG.md +++ b/packages/plugins/organizations/CHANGELOG.md @@ -1,5 +1,48 @@ # @objectstack/organizations +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/organizations/package.json b/packages/plugins/organizations/package.json index 5a226115c83..e8bf0522c10 100644 --- a/packages/plugins/organizations/package.json +++ b/packages/plugins/organizations/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/organizations", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Multi-organization runtime for ObjectStack — registers the `org-scoping` service that turns single-database row-level Organization isolation on: `organization_id` auto-stamp on insert, per-org seed replay, default-organization bootstrap, and the walled-posture membership-policy gate.", "type": "commonjs", diff --git a/packages/plugins/plugin-approvals/CHANGELOG.md b/packages/plugins/plugin-approvals/CHANGELOG.md index 76515512cb3..05608c3a6eb 100644 --- a/packages/plugins/plugin-approvals/CHANGELOG.md +++ b/packages/plugins/plugin-approvals/CHANGELOG.md @@ -1,5 +1,127 @@ # @objectstack/plugin-approvals +## 19.0.0-next.5 + +### Patch Changes + +- c966840: refactor(plugin-approvals): the approval service's collaborator surfaces and options move to their own module + + Clause-②: no + Metadata-protocol: none + + No behaviour change. `ApprovalEngine`, `ApprovalClock`, `ApprovalResumeSurface`, `ApprovalMessagingSurface`, `ApprovalBuiltinTemplate`, `ApprovalServiceOptions`, `ApproverQueueSource` and the object-read admission types now live in a module of their own inside the package; the package exports the same names with the same types, and the built JavaScript is byte-identical. +- ce01a26: refactor(plugin-approvals): the approval service's timing constants and run-liveness tables move to their own modules + + Clause-②: no + Metadata-protocol: none + + No behaviour change. The reminder and SLA-escalation constants (`REMIND_COOLDOWN_MS`, `ESCALATION_JOB_NAME`, `ESCALATION_SCAN_INTERVAL_MS`, `SLA_ACTOR_ID`, `ESCALATION_ENABLED_FLIP_CUTOFF_MS`) and the run-liveness and stranded-request tables and types (`RUN_STATUS_LIVENESS`, `REQUEST_STATUS_STRANDABILITY`, `StrandedRunState`, `StrandedApprovalRequest`, …) now live in modules of their own inside the package; the package exports the same names with the same values and types. +- e43597b: fix(approvals): a run the engine fails or cancels closes the approval request it was waiting on + + Clause-②: no + Metadata-protocol: none + + Who sees it: approvers and submitters of a record whose approval flow the automation engine ended without a decision. + + - **Before:** when the engine failed a run that was waiting at an approval step (a fan-out whose other branch's sub-flow also paused, a sub-flow inside a loop or other region body whose child paused) or cancelled it (`cancelRun`, or the child run such a refusal cancels), the request the step had opened stayed `pending`. It kept its place in the approver's inbox, the record kept its `pending` approval status, and a decision on it answered `409 RESUME_TARGET_LOST`, until the dead-run sweep's next pass recalled it. + - **Now:** the request is closed at the moment the engine ends the run, the way the dead-run sweep closes one: it becomes `recalled`, its timeline records that the owning flow run failed or was cancelled (no person is named), nobody is asked to decide it any more, and the record's approval status field is put back as on a recall. A decision on it is refused as on any closed request. + - A request that a decision, a recall or a record-delete cancel already ended is left exactly as that act wrote it; a decision that resumes the run writes nothing new. + - Not yet covered: a request opened by an approval step whose pause the engine never stored, because a branch beside it had already parked or failed the run before the step suspended. That request is still closed by the dead-run sweep's next pass. +- 5f55f96: fix(spec,approvals): approval and permission-set help say what the form does, in plain words; the approval index objects ship translation bundles + + Clause-②: no + Metadata-protocol: none + + - The permission-set form's API-name help no longer says a Chinese label fills nothing: the create form keeps Latin letters and digits and spells Chinese in pinyin, and only a label with neither (Japanese kana, for example) leaves the name to be typed. + - The approval step's Value and Organization help explain what an expression can read (the record now, the record as submitted, flow variables and earlier results) and what the top and parent organization choices mean, with `current.*`, `trigger.*`, `vars.*`, `$root` and `$parent` kept only as examples. + - `sys_approval_approver` and `sys_approval_token` are now in the approvals plugin's translation extract, so their labels have a bundle entry in every locale instead of none. +- ec3df88: fix(approvals): a queue or position approver's members are shown with the queue or position they stand for + + Clause-②: yes + Metadata-protocol: none + + Who sees it: anyone reading a record's approvals panel while its step waits on a `queue` or `position` approver. + + - **Before**: the step opens one slot per member of the queue or position, and the panel named each person with nothing saying which queue or position they came from. Five names read as five separate approvers. + - **Now**: each person's chip says where they came from, `Zhang Wei · Billing Desk`. A queue's label is the one the server resolved for the queue the step addressed in its own flow's package; a position's is its declared item's label; else the machine name made readable. + + The approvals read (`GET /approvals/requests` and `GET /approvals/requests/:id`) serves a new optional field on each request, `pending_approver_origins`: each still-pending slot that a `queue` or `position` approver expanded to, mapped to the approver reference(s) it came from (`{ "u7": ["queue:billing_desk"] }`). It is declared on `ApprovalRequestRow` (`@objectstack/spec/contracts`). The answer is the membership when the step opened, recorded as the request opens; it is never re-read. A person named outright, a literal `position:NAME` slot (an unstaffed position, which already names itself), and a request opened before this release carry no entry. + + Beside it the same reads serve a second new optional field, `pending_approver_origin_labels`: each `queue:NAME` origin mapped to the label of the queue the step resolved, at the step's flow package and directory organization (`{ "queue:billing_desk": "Billing Desk" }`), also declared on `ApprovalRequestRow` and recorded when the step opened. Two packages may each ship a queue of the same name; this label is the one the step actually used. A reference with no entry (no queue resolver, a failed read) reads as its name. + + Where the console must label a queue by its bare name itself and the registry lists that name more than once, it shows the name made readable rather than either package's label. + + A legacy stored `queue:NAME` slot, which no current release writes, now reads as the queue's label instead of a truncated raw reference; the reference stays on hover. +- 0bfa522: fix(plugin-approvals): the out-of-office delegation form says its dates are in local time, and no longer offers a Delegator picker + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone filling in an out-of-office delegation (Approvals → Delegations), and an administrator on the Setup grid. + + - **Valid From and Valid Until state the same, true time basis.** Valid Until's help used to say the time was UTC, and Valid From's said nothing; the form's date-and-time control takes both in the browser's local time and saves an exact moment. Both now say so, in every shipped locale. What is stored, and how the window is judged, is unchanged. + - **The Delegator is no longer an editable picker.** A delegation always names its author as the delegator, so the field now declares `uiReadonly: true`: the create and edit dialogs show it locked and filled with you, with no clear or browse control, grids and the record page do not offer to edit it, and the console leaves it out of the write so a new delegation is saved with the acting user as before (`defaultValue: 'current_user'`, and the delegation write guard stamps an omitted delegator). REST, import and system writes keep the field, and the write guard still refuses a delegator other than the caller with `403 FORBIDDEN`. +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/plugins/plugin-approvals/package.json b/packages/plugins/plugin-approvals/package.json index a073723271a..945014bfcd0 100644 --- a/packages/plugins/plugin-approvals/package.json +++ b/packages/plugins/plugin-approvals/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-approvals", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Multi-step approval engine for ObjectStack — sys_approval_process + sys_approval_request + sys_approval_action + IApprovalService.", "type": "commonjs", diff --git a/packages/plugins/plugin-audit/CHANGELOG.md b/packages/plugins/plugin-audit/CHANGELOG.md index d44a7da10c8..5aa369f7101 100644 --- a/packages/plugins/plugin-audit/CHANGELOG.md +++ b/packages/plugins/plugin-audit/CHANGELOG.md @@ -1,5 +1,102 @@ # @objectstack/plugin-audit +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. + +### Patch Changes + +- 79697ea: fix(plugin-audit): a reaction read that names its comments returns every reaction on the readable ones, however many there are + + Clause-②: no + Metadata-protocol: none + + A caller-scoped read of `sys_comment_reaction` whose `where` names the comments it reads (`comment_id` equal to one id, or `comment_id: { $in: [...] }` of at most 2,000 ids, at the top of the `where` or in a top-level `$and`) is now answered from those comment ids: the gate asks which of them the caller can read and keeps their reactions, without first scanning reaction rows. Both discussion surfaces read reactions this way. Before, the gate scanned at most 2,000 reaction rows of the read and kept only the comments those rows named, so on a thread with more than 2,000 reactions the reactions of comments past that window were missing, `count` and `total` were short, and a paged read stopped early, with no error. + + Who can read what is unchanged: a reaction is still readable exactly when its comment is, and the reactions of a comment the caller cannot read stay out. A read that names no comment ids keeps the bounded 2,000-row scan and its existing warning; past that window it still omits reactions, so scope such a read by `comment_id`. Nothing to do on upgrade. +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/plugin-audit/package.json b/packages/plugins/plugin-audit/package.json index fb75c4c055e..dd02c0032d7 100644 --- a/packages/plugins/plugin-audit/package.json +++ b/packages/plugins/plugin-audit/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-audit", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Audit Plugin for ObjectStack — System audit log object and audit trail", "type": "commonjs", diff --git a/packages/plugins/plugin-auth/CHANGELOG.md b/packages/plugins/plugin-auth/CHANGELOG.md index 3796e243230..ab548ad0976 100644 --- a/packages/plugins/plugin-auth/CHANGELOG.md +++ b/packages/plugins/plugin-auth/CHANGELOG.md @@ -1,5 +1,94 @@ # Changelog +## 19.0.0-next.5 + +### Patch Changes + +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [a92f1ed] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [ea18263] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [4b5311b] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/service-messaging@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/plugins/plugin-auth/package.json b/packages/plugins/plugin-auth/package.json index f4ad5d67982..5c09f318520 100644 --- a/packages/plugins/plugin-auth/package.json +++ b/packages/plugins/plugin-auth/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-auth", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Authentication & Identity Plugin for ObjectStack", "type": "commonjs", diff --git a/packages/plugins/plugin-dev/CHANGELOG.md b/packages/plugins/plugin-dev/CHANGELOG.md index ac9bf2d4426..59c59f2a75c 100644 --- a/packages/plugins/plugin-dev/CHANGELOG.md +++ b/packages/plugins/plugin-dev/CHANGELOG.md @@ -1,5 +1,67 @@ # @objectstack/plugin-dev +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [91f131b] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [fb9b1a5] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [0b5a370] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [3adf532] +- Updated dependencies [791e151] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [56bed06] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/service-storage@19.0.0-next.5 + - @objectstack/plugin-security@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/setup@19.0.0-next.5 + - @objectstack/account@19.0.0-next.5 + - @objectstack/service-realtime@19.0.0-next.5 + - @objectstack/driver-memory@19.0.0-next.5 + - @objectstack/service-i18n@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/plugins/plugin-dev/package.json b/packages/plugins/plugin-dev/package.json index 64bb1afb846..9435761f751 100644 --- a/packages/plugins/plugin-dev/package.json +++ b/packages/plugins/plugin-dev/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-dev", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Development Assembly Plugin for ObjectStack — wires the real platform stack for zero-config local development", "type": "commonjs", diff --git a/packages/plugins/plugin-email/CHANGELOG.md b/packages/plugins/plugin-email/CHANGELOG.md index ea6c679134a..1795d557435 100644 --- a/packages/plugins/plugin-email/CHANGELOG.md +++ b/packages/plugins/plugin-email/CHANGELOG.md @@ -1,5 +1,86 @@ # @objectstack/plugin-email +## 19.0.0-next.5 + +### Patch Changes + +- a92f1ed: fix(plugin-email, service-messaging, console): Send test email refuses in the reader's language, Discard restores a settings select, and the notification template form names its variables + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Email (and any settings page with a choice list), and one writing a notification template in Setup → Notification Templates. + + - **Send test email answers in the console's language when it refuses before sending.** A form with no SMTP host, a provider this server cannot deliver with, an API provider with no key, a transport that cannot be built, and the three recipient refusals (nobody signed in, an account with no address, an account that cannot be read) used to answer in English whatever the console's language. They now follow the language the request carries, as the answers after a send already did, in the same eleven languages. With no language they keep their English words. A provider's own error text is still passed through as the provider wrote it. + - **The Subject and Body help on a notification template names the variables.** It used to name only `{{ payload.x }}`. It now names `{{ title }}` and `{{ body }}` (the notification's own title and text), `{{ topic }}`, and `{{ payload. }}` for any other value the topic sends, in every shipped language. No stored template changes and nothing new is refused. + - **Discard puts a settings choice list back with the fields that depend on it.** On Setup → Email, choosing SMTP and pressing Discard hid the SMTP fields while the Provider list still read SMTP. A choice list or radio group whose value goes back to unset now shows nothing chosen again, so the list and the fields below it agree. A saved value is shown as before. +- 51395e7: fix(plugin-email): the log-only banner on Setup → Email no longer says notification e-mail is recorded in `sys_email` + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Email while no mail provider is saved (the live transport is the development log). + + - **The banner now names what is logged:** invitations, password resets and test mail are recorded in `sys_email` as logged (not delivered). + - **It says notification e-mail is skipped, not logged,** until a provider is saved. The notification channel already refused the log transport, so notification e-mail never reached `sys_email`; only the banner's wording changes, in every language Setup → Email speaks. Notification behaviour is unchanged. +- 14de0ff: feat(rest, plugin-email): preview an email template through the real send-time renderer, the pending draft when one exists + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator who previews an email template, and anyone reviewing a template the AI assistant or an MCP client left as a pending draft. + + - **New door `POST /api/v1/email/render`.** It renders a saved email template by name against sample values the caller types, through the same locale ladder, required-variable check and renderer a send uses. Nothing is delivered, nothing is queued, no mail-log (`sys_email`) row is written and no business record is read. It requires the mail capability (`manage_platform_settings`), as the send door does. The body is a closed set: `template` (required), `data`, `locale`, `timezone`, `currency`, `package`, `previewDrafts`; any other key, an inline subject or body included, is refused `400`. + - **The pending draft.** With `previewDrafts: true`, a caller the draft-read admission admits (the system, or a holder of `studio.access`, `setup.access` or `manage_metadata`) gets each language member's pending draft where one exists, and a template that exists only as a draft renders. A caller it does not admit gets the published rendering, never a refusal. + - **The answer says what it rendered:** `version` (`draft` or `published`), `locale`, and for a draft its `publishVerdict`, what a publish of that draft would refuse. The send's own refusals keep their sentence: a missing required variable answers `400` with `details.refusal: 'MISSING_VARIABLES'`, an unknown template `404`. + - **Contract (`@objectstack/spec`, additive):** `RenderTemplateInput.previewDrafts?`, `RenderTemplateResult.resolved?` and the new `RenderedTemplateVersion` type. `SendTemplateInput` is unchanged, and `sendTemplate` never reads a draft, even when its input object carries the key. + - **`@objectstack/plugin-email`:** `renderTemplate` sets `resolved` on every render; `TemplateLoadOptions.previewDrafts?` and `EmailTemplateRow.draft?` carry the draft read through the registry loader. A replacement `TemplateLoader` that ignores the option renders the published row, labelled published. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/plugin-email/package.json b/packages/plugins/plugin-email/package.json index 9618697e128..e78ed07fb25 100644 --- a/packages/plugins/plugin-email/package.json +++ b/packages/plugins/plugin-email/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-email", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Email service plugin for ObjectStack — IEmailService + transport-pluggable outbound delivery with sys_email persistence.", "type": "commonjs", diff --git a/packages/plugins/plugin-hono-server/CHANGELOG.md b/packages/plugins/plugin-hono-server/CHANGELOG.md index cc8d5307031..2be052cccec 100644 --- a/packages/plugins/plugin-hono-server/CHANGELOG.md +++ b/packages/plugins/plugin-hono-server/CHANGELOG.md @@ -1,5 +1,62 @@ # @objectstack/plugin-hono-server +## 19.0.0-next.5 + +### Minor Changes + +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/plugin-hono-server/package.json b/packages/plugins/plugin-hono-server/package.json index bf36c704b80..861dceeeede 100644 --- a/packages/plugins/plugin-hono-server/package.json +++ b/packages/plugins/plugin-hono-server/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-hono-server", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Standard Hono Server Adapter for ObjectStack Runtime", "type": "commonjs", diff --git a/packages/plugins/plugin-pinyin-search/CHANGELOG.md b/packages/plugins/plugin-pinyin-search/CHANGELOG.md index c46d8785763..20c577f446b 100644 --- a/packages/plugins/plugin-pinyin-search/CHANGELOG.md +++ b/packages/plugins/plugin-pinyin-search/CHANGELOG.md @@ -1,5 +1,48 @@ # @objectstack/plugin-pinyin-search +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/plugin-pinyin-search/package.json b/packages/plugins/plugin-pinyin-search/package.json index f81573d5ef7..e32188b0da5 100644 --- a/packages/plugins/plugin-pinyin-search/package.json +++ b/packages/plugins/plugin-pinyin-search/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-pinyin-search", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Pinyin search recall for ObjectStack — populates the hidden `__search` companion column (full pinyin + initials of the display/name field) so `$search` hits CJK names typed as pinyin. Locale-gated via OS_SEARCH_PINYIN_ENABLED (#2486).", "type": "commonjs", diff --git a/packages/plugins/plugin-security/CHANGELOG.md b/packages/plugins/plugin-security/CHANGELOG.md index 05d03252fe8..246b4cac59e 100644 --- a/packages/plugins/plugin-security/CHANGELOG.md +++ b/packages/plugins/plugin-security/CHANGELOG.md @@ -1,5 +1,112 @@ # @objectstack/plugin-security +## 19.0.0-next.5 + +### Patch Changes + +- 91f131b: fix(security): the owner of a record deletes it beside an app's own delete rule, whoever created it + + Clause-②: no + Metadata-protocol: none + + Who sees it: an app that authors a row-level `delete` policy (for example "anyone may delete a closed deal") on an object with an owner column (`owner_id`), on `private`, `public_read` and `public_read_write` objects alike. + + - **The record's owner deletes it again.** Before, beside such a policy the platform's own row gate admitted only the person who created the record, so the owner of a record they did not type in (assigned to them, imported, handed over) was refused with 403 on every record the policy does not admit: a rule written to let more people delete took the delete away from owners. Now the owner, someone above the owner by write depth (`writeScope`), and a holder of write depth `org` delete it, as they do on an object with no authored delete policy. A by-id delete and a predicate (bulk) delete reach the same records, and `security/explain` agrees. + - **Unchanged:** Modify All (`modifyAllRecords`) still does not lift an authored delete policy on a business object, so its holder deletes the records the policy admits, the ones they created and the ones they own, and no others. A creator who no longer owns a record is still refused unless the policy admits it. An object with no owner column keeps the creator rule. Edit (update) is not changed by this release. +- fb9b1a5: fix(security): a Modify All holder deletes the records they own beside an app's own delete rule, as any owner does + + Clause-②: no + Metadata-protocol: none + + Who sees it: an app that authors a row-level `delete` policy (for example "anyone may delete a closed deal") on an object with an owner column (`owner_id`), and a user who holds Modify All (`modifyAllRecords`) on that object, typically a manager. + + - **Holding Modify All no longer takes a delete away from an owner.** Before, beside such a policy a Modify All holder was refused (403) a record assigned to them that someone else entered, while a plain owner in the same position deleted it. Now the Modify All holder deletes the records they own as well, by id and by a predicate (bulk) delete alike, and `security/explain` agrees. + - **Unchanged:** Modify All itself still does not lift an authored delete policy on a business object. Its holder deletes the records the policy admits, the ones they created and the ones they own, and no others: a record of another owner, or one with no owner, stays refused. An object with no owner column keeps the creator rule. Edit (update) is not changed by this release. +- 0b5a370: fix(security): the pending approver reads the record under review, its attachments and its comments even when no permission set grants them the object + + Clause-②: no + Metadata-protocol: none + + Who sees it: an approver whose permission sets do not grant read on the object they are asked to approve (the usual case when the approver is the submitter's manager). + + - **While their step is pending**, that approver opens the one record the request is about: by id, in the list (that record alone), its attachments and field-owned files (download), and its comment and activity thread. `security/explain` answers the read as allowed and names the approval request. + - **Nothing wider.** Every other row of the object stays refused, by id, in the list, in a count and on its files, also on an object whose rows are readable org-wide. Read only: an edit stays refused, and export stays refused. An agent acting on the approver's behalf, a caller from another organization and anyone not on the slate get nothing. + - **It closes with the step.** Once the step is approved, rejected or reassigned, the next read is refused again. + - Correction to an earlier release note: the pending-approver read added in an earlier release said "the approver still needs read on the object itself". That is no longer true: being on the pending step's slate (or holding the approval override) is enough, for that one record. + + No metadata key is added and nothing needs configuring. +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- 791e151: fix(approvals): a pending approver whose only read of the record comes from the approval sees the submitted fields on the request page + + Clause-②: no + Metadata-protocol: none + + Who sees it: an approver whose permission sets grant no read on the object they approve, and who reads the record only because an approval step is pending on them. + + - **The request page draws the submitted record.** When the object's definition is served, the page used to filter the snapshot again by the approver's own permissions. Those grant no read of the object, so every field was dropped and the left pane stayed blank. The page now draws the snapshot as the server served it: the server has already removed the fields this reader may not read. Field permissions still narrow the page for a reader whose permission sets do grant read of the object. + - **No blank pane.** When the reader's field permissions leave no submitted field to draw, the page shows "You don't have access to this object's fields; ask an administrator." instead of an empty pane. + - **Access explanation.** For a read granted by a pending approval, the `object_crud` layer's detail now opens with that grant ("read on 'X' is granted via approval request N: …") and says after it that no permission set grants the read. It used to open with the permission sets' denial. + - The record page (`//record/`) is unchanged here. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/plugins/plugin-security/package.json b/packages/plugins/plugin-security/package.json index 9b1794ad525..874a67fb636 100644 --- a/packages/plugins/plugin-security/package.json +++ b/packages/plugins/plugin-security/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-security", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Security Plugin for ObjectStack — RBAC, RLS, and Field-Level Security Runtime", "type": "commonjs", diff --git a/packages/plugins/plugin-sharing/CHANGELOG.md b/packages/plugins/plugin-sharing/CHANGELOG.md index 7e489bffe86..44e64ba94fa 100644 --- a/packages/plugins/plugin-sharing/CHANGELOG.md +++ b/packages/plugins/plugin-sharing/CHANGELOG.md @@ -1,5 +1,151 @@ # @objectstack/plugin-sharing +## 19.0.0-next.5 + +### Patch Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. +- 49b2dd8: fix(plugin-sharing): a sharing rule saved through the `/data` door (the Setup sharing-rule form) is refused when its `user` recipient names no user the rule could share with + + Clause-②: no (narrowing) + Metadata-protocol: none + + + + Who sees it: an administrator saving a sharing rule in Setup, and any non-system write of `sys_sharing_rule` through the engine: `POST`/`PATCH /api/v1/data/sys_sharing_rule`, an import, a batch insert, a predicate update, or a user-context automation. + + - **Before:** a rule whose `user` recipient named no user (or, on a multi-organization deployment, no member of the rule's organization) was stored. It granted no one access, and the form said it saved. + - **Now:** the insert, and an update that moves a rule onto such a recipient, answer `400 VALIDATION_FAILED` with one `fields` entry under `recipient_id`, with the sentence `POST /api/v1/sharing/rules` already answered for the same recipient. Nothing is stored. An id that does not exist and a user of another organization get the same answer. The write is judged in the organization it leaves the rule in: an `organization_id` the write supplies, else the stored rule's, else the caller's active organization (the Setup form posts none). + - An update that keeps the stored recipient is not judged, so a rule whose user has since left can still be switched off or edited. System writes are not judged. + + **BREAKING** for a caller that writes a `sys_sharing_rule` row outside the system context naming a `user` recipient id that does not exist or, on a multi-organization deployment, a user outside the rule's organization: it answered 2xx and stored a rule that granted nothing; it answers 400 `VALIDATION_FAILED` and stores nothing. + The fix for a caller: send the id of an existing user, on a multi-organization deployment a member of the rule's organization. +- b5911b2: fix(plugin-sharing): an assignment rule created from Setup is stamped with the administrator's organization instead of being refused with "Organization is required" + + Clause-②: yes (narrowing) + Metadata-protocol: none + + Who sees it: an organization administrator creating an assignment rule in Setup → Assignment Rules, or through `POST /api/v1/data/sys_assignment_rule`. + + - **Creating a rule no longer needs an organization in the request.** The form has no organization field, so every create was refused with `400 VALIDATION_FAILED` on `organization_id`. The rule now lands in the caller's active organization, the way a queue does. + - **A stored rule still always belongs to one organization.** The column is the platform's tenant column, created NOT NULL, and a create that would land in no organization is still refused naming `organization_id`. A create that names its organization is stored under it, and on a walled deployment the tenant wall still refuses one outside the caller's organizations. + - `organization_id` on `sys_assignment_rule` is now the platform-provided tenant column, the one `sys_queue` carries: hidden in forms, with no label or help text of its own, and read-only. + - **A create that names an `organization_id` is no longer checked as a reference.** The tenant column is read-only, so the engine's reference check skips it. Where the tenant wall does not judge the column (the `single` posture), a value naming no organization is stored as sent, and that rule routes nothing. `sys_queue` behaves the same today; the platform-wide fix is tracked in #39482. + - **BREAKING:** an update through the data API that names a different `organization_id` no longer moves an assignment rule to that organization. On a walled deployment, a value outside the caller's organizations is refused by the tenant wall first. Anywhere else the value is dropped as read-only, with a warning in the server log, the update succeeds without it, and the rule stays in the organization it was created in, as a queue does. Create the rule in the organization it belongs to instead. + + +- a53022e: fix(plugin-sharing): the Assignment Rules page and the rule form say which records a rule routes; a queue is titled by its display name, and the queue page takes the Setup menu's name + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator setting up assignment rules and queues in Setup. + + - **The Assignment Rules page sentence and the rule form's Object help now state the scope, in every shipped locale.** A rule routes only a new record created without an owner, for example from a public form or an integration. A record a signed-in user creates is owned by that user and stays with them, so a rule tried by creating a record yourself does nothing. The routing itself is unchanged. + - **A queue is named by its display name.** `sys_queue`'s title field (`nameField`, and its alias `displayNameField`) is now `label`, so the save message reads `Queue "After sales" created` and the queue's record page is headed by its display name, with the API name (`after_sales`) in the highlights strip under it. The API name is still what records, assignment rules, approvals, sharing rules and queue members store and match on. + - **The queue page reads as the Setup menu entry that opens it.** In the ten translated locales the menu says 工作队列 (and each locale's counterpart: 作業キュー, Colas de trabajo, Arbeitswarteschlangen, …), while the page heading, the New button and the save message said 队列. `sys_queue`'s label and plural label, and the queue record page's label, now use the menu's word. English is unchanged (both say Queues). Queue Members and the Queue fields keep 队列. +- 8feef82: fix(plugin-sharing): a sharing rule whose criteria compares a choice field with an option's label, where the records hold the option's value, is refused at save + + Clause-②: yes (narrowing) + Metadata-protocol: none + + + + Who sees it: an administrator or an agent saving a sharing rule, through the Setup sharing-rule form or any write of `sys_sharing_rule` (`POST`/`PATCH /api/v1/data/sys_sharing_rule`, an import, a batch write), and through `POST /api/v1/sharing/rules`. + + - **Before:** a criteria such as `{"jinji_chengdu":"紧急"}` on a `radio` field whose options are 高 (`gao`) and 紧急 (`jinji`) saved and showed as active. The records hold `jinji`, so the rule shared nothing. The negated forms (`$ne` / `$nin` on the label) shared every record, the ones the author meant to exclude included. + - **Now:** both doors answer `400 VALIDATION_FAILED` with one sentence naming the field, the label written and the value to write (`/data` with one `fields` entry under `criteria_json`, code `invalid_option`). Nothing is stored. Judged on `select`, `radio`, `multiselect` and `checkboxes` fields with inline options, not readonly and not bound to a shared picklist: plain equality, `$eq`, `$ne`, `$in`, `$nin`, and on a multi-value field `$contains` / `$notContains`, anywhere under `$and` / `$or` / `$not`. + - A literal that is neither an option value nor a label still saves, and so does a label that is also another option's value. An update that leaves the criteria alone is not judged, so a rule saved with a label can still be switched off. As with the existing check for a criteria that narrows nothing, the verdict does not depend on who writes: system-context writes are judged too. + + **BREAKING:** a sharing rule whose condition compares a choice field with the text shown for an option, instead of the option's stored value, used to save and quietly share nothing (or everything, when negated); it is now refused when you save it, and the message tells you which value to use. Use the option's value in the condition, as the message names it. +- e6f8428: fix(sharing): a record restored from the recycle bin gets its sharing-rule grants back before the restore returns + + Clause-②: no + Metadata-protocol: none + + Before, the delete removed the record's rule shares and the restore did not re-create them, so the rule's recipients could not see the restored record until somebody edited it. The sharing plugin now re-evaluates the rules of every restored row, the same evaluation an insert runs. Manual shares are not restored. +- c0c6154: feat(plugin-sharing): Setup → Record Shares names the object each grant is about + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Record Shares (`sys_record_share`). + + - **The All view gains an Object column** right after Record, and the By Object view now opens with it. The cell draws the object's icon and label (for example 联系人 / Contact), never its API name, so a row reading a person's name says which kind of record was shared. + - `sys_record_share.object_name` declares the `object-ref` display widget, the declaration `sys_assignment_rule`, `sys_webhook` and `sys_notification` already carry on their object-name text fields. A display hint only: the stored column, the read-only data API and every other view are unchanged, and no view groups on the column. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/plugins/plugin-sharing/package.json b/packages/plugins/plugin-sharing/package.json index 44dc0ea6f04..558abb9e9d8 100644 --- a/packages/plugins/plugin-sharing/package.json +++ b/packages/plugins/plugin-sharing/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-sharing", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Record-level sharing for ObjectStack — sys_record_share + middleware that enforces sharingModel + ISharingService.", "type": "commonjs", diff --git a/packages/plugins/plugin-webhooks/CHANGELOG.md b/packages/plugins/plugin-webhooks/CHANGELOG.md index 8a2815b480c..0b83ba9d9a4 100644 --- a/packages/plugins/plugin-webhooks/CHANGELOG.md +++ b/packages/plugins/plugin-webhooks/CHANGELOG.md @@ -1,5 +1,69 @@ # @objectstack/plugin-webhooks +## 19.0.0-next.5 + +### Patch Changes + +- ea18263: feat(webhooks): a webhook saves without a Definition, its form help is in an administrator's words, and HTTP deliveries show their status as a label + + Clause-②: yes + Metadata-protocol: none + + - **Definition is optional.** `sys_webhook.definition_json` is no longer required. A webhook created in Setup, or with `POST /api/v1/data/sys_webhook`, with no definition used to be refused (`400`, `required` on `definition_json`; typing `{}` passed). It is now saved, and it delivers exactly as a webhook whose definition is `{}`: every reader of the column already took an absent value that way. A column the platform created is already nullable (ADR-0113), so there is nothing to migrate. A database whose column was created `NOT NULL` before ADR-0113 now reports it as drift (`relax_not_null`, needs confirmation); until it is relaxed with `os migrate apply`, saving a webhook without a Definition there fails at the database instead of with the old `required` error. + - **Help text.** The help under Name, Object, Triggers, Target URL, Active, Definition, Custom Headers, Signing Secret, Managed By and Customized no longer names `snake_case`, `bulk_update` / `bulk_delete`, `sys_secret`, the signature header or a spec package path. It says what to enter and what happens, in every shipped locale. + - **Delivery status labels.** `sys_http_delivery.status` is now a select over the same five stored values (`pending`, `in_flight`, `success`, `failed`, `dead`), so Setup → HTTP Deliveries shows Waiting to send, Sending, Delivered, Failed and Given up, translated. Stored values, filters, saved views and the API answer are unchanged; the field's served `type` is now `select` and carries its `options`. A newly created table sizes the column as every select is sized (`varchar(255)`); an existing `varchar(16)` column is left as it is and reports no drift. + - **Error column.** The Recent and Pending delivery lists show the Error column, as Failures already did, so a delivery waiting for its retry shows why the last attempt failed. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [a92f1ed] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [ea18263] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [4b5311b] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/service-messaging@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/plugins/plugin-webhooks/package.json b/packages/plugins/plugin-webhooks/package.json index aef0acd55c5..a3220544cd5 100644 --- a/packages/plugins/plugin-webhooks/package.json +++ b/packages/plugins/plugin-webhooks/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/plugin-webhooks", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Persistent, cluster-aware webhook dispatcher. Durable outbox + per-partition cluster.lock for exactly-once-ish delivery across nodes. See content/docs/concepts/webhook-delivery.mdx.", "type": "module", diff --git a/packages/qa/dogfood/CHANGELOG.md b/packages/qa/dogfood/CHANGELOG.md index ada50a87709..15909847051 100644 --- a/packages/qa/dogfood/CHANGELOG.md +++ b/packages/qa/dogfood/CHANGELOG.md @@ -1,5 +1,104 @@ # @objectstack/dogfood +## 0.0.55-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [49b2dd8] +- Updated dependencies [af457fe] +- Updated dependencies [c966840] +- Updated dependencies [ce01a26] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [e43597b] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [91f131b] +- Updated dependencies [79697ea] +- Updated dependencies [bb2c500] +- Updated dependencies [1324973] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [a92f1ed] +- Updated dependencies [b5911b2] +- Updated dependencies [a53022e] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [ea18263] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [8feef82] +- Updated dependencies [e6f8428] +- Updated dependencies [c0c6154] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [fb9b1a5] +- Updated dependencies [deeb51e] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [0b5a370] +- Updated dependencies [51395e7] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [4b5311b] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [0bfa522] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [791e151] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/plugin-sharing@19.0.0-next.5 + - @objectstack/plugin-approvals@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/plugin-audit@19.0.0-next.5 + - @objectstack/mcp@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/service-automation@19.0.0-next.5 + - @objectstack/service-storage@19.0.0-next.5 + - @objectstack/plugin-security@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/service-datasource@19.0.0-next.5 + - @objectstack/plugin-email@19.0.0-next.5 + - @objectstack/service-messaging@19.0.0-next.5 + - @objectstack/plugin-webhooks@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/connector-mcp@19.0.0-next.5 + - @objectstack/plugin-pinyin-search@19.0.0-next.5 + - @objectstack/verify@19.0.0-next.5 + - @objectstack/example-crm@4.0.107-next.5 + - @objectstack/example-multi-package@0.0.14-next.5 + - @objectstack/example-showcase@0.3.29-next.5 + - @objectstack/connector-openapi@19.0.0-next.5 + - @objectstack/connector-rest@19.0.0-next.5 + - @objectstack/service-analytics@19.0.0-next.5 + - @objectstack/trigger-record-change@19.0.0-next.5 + - @objectstack/trigger-schedule@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 0.0.55-next.4 ### Patch Changes diff --git a/packages/qa/dogfood/package.json b/packages/qa/dogfood/package.json index 161c613f221..b480e87035a 100644 --- a/packages/qa/dogfood/package.json +++ b/packages/qa/dogfood/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/dogfood", - "version": "0.0.55-next.4", + "version": "0.0.55-next.5", "private": true, "license": "Apache-2.0", "description": "Dogfood regression gate — hand-written golden tests that boot real example apps through @objectstack/verify's in-process HTTP stack, pinning historical runtime regressions (#2018 timezone bucketing, #1994 cross-owner RLS, #2004 field fidelity) that static checks miss.", diff --git a/packages/qa/downstream-contract/CHANGELOG.md b/packages/qa/downstream-contract/CHANGELOG.md index db0a0db05bb..6e0eed9522f 100644 --- a/packages/qa/downstream-contract/CHANGELOG.md +++ b/packages/qa/downstream-contract/CHANGELOG.md @@ -1,5 +1,42 @@ # @objectstack/downstream-contract +## 0.0.53-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 0.0.53-next.4 ### Patch Changes diff --git a/packages/qa/downstream-contract/package.json b/packages/qa/downstream-contract/package.json index faaba133ed4..88887c12b2a 100644 --- a/packages/qa/downstream-contract/package.json +++ b/packages/qa/downstream-contract/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/downstream-contract", - "version": "0.0.53-next.4", + "version": "0.0.53-next.5", "description": "Frozen third-party consumer fixture — a backward-compatibility gate for @objectstack/spec. Authored the way an external project on a published release authors metadata; if a spec change breaks it, that change is breaking (#2035).", "license": "Apache-2.0", "private": true, diff --git a/packages/qa/http-conformance/CHANGELOG.md b/packages/qa/http-conformance/CHANGELOG.md index 3d437d6f1ac..27effd9f91a 100644 --- a/packages/qa/http-conformance/CHANGELOG.md +++ b/packages/qa/http-conformance/CHANGELOG.md @@ -1,5 +1,15 @@ # @objectstack/http-conformance +## 0.1.15-next.5 + +### Patch Changes + +- Updated dependencies [f00ab66] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [3adf532] + - @objectstack/core@19.0.0-next.5 + ## 0.1.15-next.4 ### Patch Changes diff --git a/packages/qa/http-conformance/package.json b/packages/qa/http-conformance/package.json index af776e3008b..f5ab5ae529b 100644 --- a/packages/qa/http-conformance/package.json +++ b/packages/qa/http-conformance/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/http-conformance", - "version": "0.1.15-next.4", + "version": "0.1.15-next.5", "private": true, "license": "Apache-2.0", "description": "HTTP transport-port conformance gate (ADR-0076 D11/OQ#10, #2462) — a zero-dependency node:http reference implementation of IHttpServer plus a cross-adapter suite that boots the dispatcher bridge and REST generator on it AND on plugin-hono-server, pinning that the port stays free of framework-isms. Not published; validation instrument, not a product server.", diff --git a/packages/qa/scenarios/CHANGELOG.md b/packages/qa/scenarios/CHANGELOG.md index a9025dfbcca..f0273c4144e 100644 --- a/packages/qa/scenarios/CHANGELOG.md +++ b/packages/qa/scenarios/CHANGELOG.md @@ -1,5 +1,73 @@ # @objectstack/scenarios +## 19.0.0-next.5 + +### Patch Changes + +- 7234001: fix(scenarios): the run grader's refusal reading and the replay's created-id reading take a tool body followed by the CLI schema note + + Clause-②: no + Metadata-protocol: none + + Two readings still parsed a tool output as whole text, so a body the agent CLI followed with its "input schema was not in your prompt" note read as nothing. In the run grader, a coded `{ error }` refusal with the note was not a refusal to the leak check, while the served-keys reading already took that body. In the replay, a recorded `create_record` or `run_action` answer with the note named no created row, so later writes were re-sent with the recorded id instead of the live one. Both now read through the shared `outputJson`, as the rest of the scorer does; an output without the note reads as before. +- a5ca373: docs(scenarios): `skill-evals --skills-from VERSION` takes its cases from the checkout + + Clause-②: no + Metadata-protocol: none + + The `@objectstack/skills` package no longer carries each skill's `evals/` directory, so a round over a published version grades that version's bundles against the eval cases (and case files) in the repository checkout's `skills/`. The README's `--skills-from` lines say so, and `round.json` records both trees. A round over the workspace is unchanged. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [49b2dd8] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [b5911b2] +- Updated dependencies [a53022e] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [8feef82] +- Updated dependencies [e6f8428] +- Updated dependencies [c0c6154] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [96fa9ef] +- Updated dependencies [3adf532] +- Updated dependencies [9317722] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/plugin-sharing@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/qa/scenarios/package.json b/packages/qa/scenarios/package.json index d0ae0fd1231..49ac3637fdd 100644 --- a/packages/qa/scenarios/package.json +++ b/packages/qa/scenarios/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/scenarios", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Run the open ObjectStack scenario cards end to end from npm: `npx @objectstack/scenarios run` builds an app from each card's prompt with your local Claude Code login, scores it and writes one run record per card. Also the scenario-card schema and loader (computed truths over seed rows) and the deterministic scorer (`@objectstack/scenarios/score`, `./score/full`). Ships the open card library (docs/qa/scenarios) as package data, never a private overlay; refuses an API-billed login. A devx instrument, not a protocol: packages/spec carries no obligation for this format.", "type": "module", diff --git a/packages/rest/CHANGELOG.md b/packages/rest/CHANGELOG.md index 481ee81b383..bb773855943 100644 --- a/packages/rest/CHANGELOG.md +++ b/packages/rest/CHANGELOG.md @@ -1,5 +1,107 @@ # @objectstack/rest +## 19.0.0-next.5 + +### Patch Changes + +- 05c3f32: fix(rest): `GET /api/v1/meta/form?object=X` now lists only object X's forms + + Clause-②: no + Metadata-protocol: none + + Who sees it: any client that lists one object's forms through the metadata read, on protocol 19 where an object's forms are `form` items named `OBJECT.KEY`. + + - **`?object=` now narrows the form list** to the forms bound to that object (the item's `object`), the way it narrows the view list. Before, the filter was ignored and every form came back with `200`. + - **An object no form names answers an empty list**, as the view list does. + - **Unchanged:** the form list with no `object` filter still lists every form you can see, and `?object=` on the view list answers as before. +- 526d87e: feat(app-shell): Studio's public-form editor shows what a visitor gets: a field the public address never serves is flagged, the preview has the live buttons, a Chinese title derives the address + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator building a public form in Studio (Studio → an object → Forms). + + - **A field the public address never serves is no longer a surprise.** A public form's address drops every `lookup`, `master_detail` and `user` field, and the server-managed columns, from what it serves, so a visitor never sees them. On a form with a public address the editor no longer offers such a field in Add field, flags one already on the form as "Not on the public form", and leaves it out of the preview. A field the object requires but the address never serves is no longer demanded on a public form (so such a form still saves); the editor says instead that a rule, hook or default must set it, or every submission is refused. The served form is unchanged: dropping the field stays right, the author is now told. + - **One rule for both.** `@objectstack/spec/security` exports `isPublicFormServedField(name, def)` and `PUBLIC_FORM_NEVER_SERVED_FIELD_TYPES` beside `PUBLIC_FORM_SERVER_MANAGED_FIELDS`. `GET /api/v1/forms/:slug` strips by it (same fields as before), and the editor reads it. + - **The preview's buttons are the live page's.** It showed Cancel and Create; on a public form it now shows only the submit button, named as the visitor reads it (the form's own label, else Submit); a form an action opens keeps Cancel, as its in-app page draws it. + - **The address derives from a Chinese title.** A new form's address follows its title through pinyin, as Studio's other create doors derive names (维修中心 → `weixiu-zhongxin`); an address the author typed is kept. + - **A blank after-submit message says what a visitor sees.** The two fields show the default thank-you texts the live page falls back to, with a line saying a visitor sees them after submitting. +- 14de0ff: feat(rest, plugin-email): preview an email template through the real send-time renderer, the pending draft when one exists + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator who previews an email template, and anyone reviewing a template the AI assistant or an MCP client left as a pending draft. + + - **New door `POST /api/v1/email/render`.** It renders a saved email template by name against sample values the caller types, through the same locale ladder, required-variable check and renderer a send uses. Nothing is delivered, nothing is queued, no mail-log (`sys_email`) row is written and no business record is read. It requires the mail capability (`manage_platform_settings`), as the send door does. The body is a closed set: `template` (required), `data`, `locale`, `timezone`, `currency`, `package`, `previewDrafts`; any other key, an inline subject or body included, is refused `400`. + - **The pending draft.** With `previewDrafts: true`, a caller the draft-read admission admits (the system, or a holder of `studio.access`, `setup.access` or `manage_metadata`) gets each language member's pending draft where one exists, and a template that exists only as a draft renders. A caller it does not admit gets the published rendering, never a refusal. + - **The answer says what it rendered:** `version` (`draft` or `published`), `locale`, and for a draft its `publishVerdict`, what a publish of that draft would refuse. The send's own refusals keep their sentence: a missing required variable answers `400` with `details.refusal: 'MISSING_VARIABLES'`, an unknown template `404`. + - **Contract (`@objectstack/spec`, additive):** `RenderTemplateInput.previewDrafts?`, `RenderTemplateResult.resolved?` and the new `RenderedTemplateVersion` type. `SendTemplateInput` is unchanged, and `sendTemplate` never reads a draft, even when its input object carries the key. + - **`@objectstack/plugin-email`:** `renderTemplate` sets `resolved` on every render; `TemplateLoadOptions.previewDrafts?` and `EmailTemplateRow.draft?` carry the draft read through the registry loader. A replacement `TemplateLoader` that ignores the option renders the published row, labelled published. +- 6b551a0: fix(rest): the form list refuses an empty or bracketed `object` filter, as the view list does + + Clause-②: no (narrowing) + Metadata-protocol: none + + + + Who sees it: a client listing one object's forms with `GET /api/v1/meta/form?object=NAME` (and the environment-scoped twin), on the REST server and the runtime dispatcher. + + - **Empty filter.** `?object=` with an empty value was read as no filter and answered `200` with every form in the environment. It now answers `400 VALIDATION_ERROR` naming the parameter, the answer the view list already gives (`refuseEmptyListFilter`); the sentence ends "leave the parameter out to list every form you can see". + - **Bracketed key.** `?object[]=NAME`, `?object[0]=NAME`, and a bracketed key beside a plain one, were already refused `400 VALIDATION_ERROR` on the form list, by the list's unknown-parameter check. They now get the view list's refusal instead (`refuseBracketedListFilter`), which says the filter takes one object name spelled `?object=NAME`. + - **Unchanged:** `?object=NAME` still lists that object's forms, an object no form names still answers the empty list, the form list with no filter still lists every form, and the view list answers as before. + + **BREAKING** for a client that sends `GET /api/v1/meta/form?object=` with an empty value: it answered 200 with every form; it answers 400 `VALIDATION_ERROR` and serves no list. + The fix for a client: send one object name, or leave the `object` parameter out to list every form. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/service-package@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/rest/package.json b/packages/rest/package.json index f068d6bd1d6..7b07dd2e22e 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/rest", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack REST API Server - automatic REST endpoint generation from protocol", "type": "module", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index c5c32661483..8fcaf3faf3c 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,154 @@ # @objectstack/runtime +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + +- 259cc46: fix(runtime): `PATCH /api/v1/packages/:id` refuses a body key it does not read + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator or an agent who edits a package through `PATCH /api/v1/packages/` and sends a key the door does not read, such as `picklistExtensions`. Until now the door answered `200`, saved `name` / `description` / `version` / `dependencies` if present, and dropped the rest without a word, so the caller believed the extra key was stored. + + **BREAKING** for a caller of `PATCH /api/v1/packages/` that sends a body key the door does not read: it answered 200 and saved the keys it reads; it answers 400 `VALIDATION_ERROR` and saves nothing. + + - The door reads the `manifest` wrapper and, flat or inside it, `name`, `description`, `version` and `dependencies`. Any other key is now refused with `400 VALIDATION_ERROR`, naming every unread key (`manifest.` inside the wrapper; beside an object wrapper every other top-level key is unread) and the keys the door reads, in the sentence closed query-parameter doors already answer. Nothing is written: not a valid `name` sent beside it. + - Migration: send only the four keys. A package's metadata (a picklist extension, an object extension, any item) is saved as an item through `/api/v1/meta//?package=`, never on this door. Studio's package dialog sends only the four keys and is unaffected. + + + +### Patch Changes + +- bb2c500: fix(knowledge): on a deployment with no knowledge service, duplicating a package that holds a knowledge source copies the source unserved + + Clause-②: yes (widening) + Metadata-protocol: none + + Who sees it: an administrator of a self-hosted deployment that runs no knowledge service (its stack neither declares `requires: ['knowledge']` nor ships a `knowledgeSources` entry, and its host mounts no `KnowledgeServicePlugin`), duplicating a package that holds a knowledge source, for example an app installed from the marketplace. + + - **Before**: `POST /packages/:id/duplicate` answered `503 SERVICE_UNAVAILABLE` for the whole package, naming the source and telling the caller to add `requires: ['knowledge']` to the stack and restart. Nothing was copied. + - **Now**: the package is duplicated. The copy carries the knowledge source, and nothing loads, builds, embeds or searches it, as nothing does for the source it was copied from. Once an operator mounts the knowledge service and it is enabled, both are served. The boot's log names the sources that are not served, with the fix; the duplicate's answer has no new field. + - **Still asked**: the caller needs `manage_knowledge_sources` beside `manage_metadata`. The knowledge service's own verdict on a source is not asked on such a deployment, because no service is there to give it: whether the caller may themselves search what the source indexes, whether its `adapter` names a mounted store, and whether its `source.retrieval.mode` is one the store runs. The copy lists the fields the package's source lists, and every search asks the searcher's own gates. + - **Unchanged**: an author's save of a knowledge source there (`PUT /meta/knowledge_source/:name`, the MCP draft save, and `POST /packages/:id/move-in` of a package-less source) is still refused `503` with the same remedy. A knowledge service that is registered and serves no instance for the request's environment, or cannot be resolved, still refuses the duplicate. Where a knowledge service answers, each source a duplicate copies is still admitted for the caller. + + `authoredKnowledgeSourceRefusal` (`@objectstack/metadata-core`) answers `undefined` for `door: 'duplicate'` when `resolveKnowledgeService` answers nothing; its signature and its doors (`save`, `duplicate`) are unchanged. A host whose own dispatcher deps carry no `classifyServiceOrLoud` cannot tell "no knowledge service" from "registered, with no instance for this environment", so there a duplicate is copied in both cases; the platform's dispatcher tells them apart and still refuses the second. The upgrade-guide entry `knowledge-source-save-refused-without-knowledge-service` no longer lists the package duplicate in its surface. Decided in ADR-0161 K8, the dated note of 2026-12-03. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [91f131b] +- Updated dependencies [9674b7f] +- Updated dependencies [bb2c500] +- Updated dependencies [4fed008] +- Updated dependencies [198301b] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [fb9b1a5] +- Updated dependencies [3e83ef2] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [0b5a370] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [96fa9ef] +- Updated dependencies [3adf532] +- Updated dependencies [791e151] +- Updated dependencies [9317722] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] +- Updated dependencies [f7c60e5] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-protocol@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/plugin-security@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/service-datasource@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/driver-memory@19.0.0-next.5 + - @objectstack/driver-sqlite-wasm@19.0.0-next.5 + - @objectstack/driver-turso@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/service-cluster@19.0.0-next.5 + - @objectstack/service-i18n@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/runtime/package.json b/packages/runtime/package.json index c5bc137e0fe..78512e65c46 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/runtime", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack Core Runtime & Query Engine", "type": "module", diff --git a/packages/sdui-parser/CHANGELOG.md b/packages/sdui-parser/CHANGELOG.md index 3aaa2f3b81d..8816ca72e3d 100644 --- a/packages/sdui-parser/CHANGELOG.md +++ b/packages/sdui-parser/CHANGELOG.md @@ -1,5 +1,9 @@ # @objectstack/sdui-parser +## 19.0.0-next.5 + +No changes in this release. + ## 19.0.0-next.4 No changes in this release. diff --git a/packages/sdui-parser/package.json b/packages/sdui-parser/package.json index d950e21fc5c..805f2501770 100644 --- a/packages/sdui-parser/package.json +++ b/packages/sdui-parser/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/sdui-parser", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "ObjectStack constrained JSX-source → SDUI SchemaNode tree compiler (parse, never execute). Isomorphic, zero React. ADR-0080.", "type": "commonjs", diff --git a/packages/services/service-analytics/CHANGELOG.md b/packages/services/service-analytics/CHANGELOG.md index 1e0be66e104..84dd8bd5b01 100644 --- a/packages/services/service-analytics/CHANGELOG.md +++ b/packages/services/service-analytics/CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog — @objectstack/service-analytics +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-analytics/package.json b/packages/services/service-analytics/package.json index 9f236751229..93085e2ab98 100644 --- a/packages/services/service-analytics/package.json +++ b/packages/services/service-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-analytics", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Analytics Service for ObjectStack — implements IAnalyticsService with multi-driver strategy pattern (NativeSQL, ObjectQL, InMemory)", "type": "module", diff --git a/packages/services/service-automation/CHANGELOG.md b/packages/services/service-automation/CHANGELOG.md index f53f74cabcf..014fb30d324 100644 --- a/packages/services/service-automation/CHANGELOG.md +++ b/packages/services/service-automation/CHANGELOG.md @@ -1,5 +1,100 @@ # @objectstack/service-automation +## 19.0.0-next.5 + +### Patch Changes + +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- 1324973: fix(service-automation): a run of a flow saved into a package records the checksum its version history row is keyed by + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone running a flow that is saved into a package (Studio, `PUT /meta/flow/:name` with a package, a package install). + + - **A waiting run of a package-bound flow now records its version's real checksum.** The run used to hash the flow body as the server serves it, which carries the package stamp (`_packageId`) the stored body does not. Its `flow_checksum` then named no version in the flow's history, so after a restart or a new save the run could not find the version it started on and resumed on the current one, or not at all. + - **The checksum drops only the read-time provenance stamps** (`_packageId`, `_packageVersion`, `_provenance`), the three the metadata save door never stores. A flow's lock (`_lock` and its family) is stored and stays part of the checksum. A flow with no package keeps exactly the checksum it had. + - Runs already parked with the old checksum are not migrated. +- deeb51e: fix(automation): a pause the engine drops before storing it is released to the node that raised it + + Clause-②: no + Metadata-protocol: none + + Who sees it: approvers and submitters on flows that fan out an approval step beside a branch that also pauses (a sub-flow whose child waits on a timer, for example), and anyone whose pausing node arms something on entry. + + - **Before:** a run parks at one place only. When a branch's pause could not be carried (a second branch paused beside it, a pause before a later branch, a pause inside a loop or other region body, or a pause arriving after a sibling had already failed the run), the engine failed the run but never told the node whose pause it dropped. An approval step in that position left its request `pending`, in the approver's inbox, with a decision answering `409 RESUME_TARGET_LOST`, until the dead-run sweep's next pass; a `wait` step left its wake-up job armed. + - **Now:** each such pause is released to its node with the reason `failed`, through the same release a stored pause gets when the engine ends its run. The approval step closes its request at once (`recalled`, the timeline naming the failed run), and a `wait` step drops its wake-up job. A pause the run did store is still released once, when the run ends, and never a second time. + - With `@objectstack/plugin-approvals` this completes the change that closes a request when the engine fails or cancels its run: the case that changeset left to the dead-run sweep is now covered too. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [9674b7f] +- Updated dependencies [bb2c500] +- Updated dependencies [4fed008] +- Updated dependencies [198301b] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [f7c60e5] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/metadata-protocol@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/services/service-automation/package.json b/packages/services/service-automation/package.json index 1481ba3a471..5c1a8c339f8 100644 --- a/packages/services/service-automation/package.json +++ b/packages/services/service-automation/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-automation", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Automation Service for ObjectStack — implements IAutomationService with plugin-based DAG flow execution engine", "type": "module", diff --git a/packages/services/service-cache/CHANGELOG.md b/packages/services/service-cache/CHANGELOG.md index 1248e2f1dd1..0740787005d 100644 --- a/packages/services/service-cache/CHANGELOG.md +++ b/packages/services/service-cache/CHANGELOG.md @@ -1,5 +1,47 @@ # @objectstack/service-cache +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/service-cluster@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-cache/package.json b/packages/services/service-cache/package.json index 0bf9292d48a..c41f65d291f 100644 --- a/packages/services/service-cache/package.json +++ b/packages/services/service-cache/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-cache", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Cache Service for ObjectStack — implements ICacheService with in-memory and Redis adapters", "type": "module", diff --git a/packages/services/service-cluster-redis/CHANGELOG.md b/packages/services/service-cluster-redis/CHANGELOG.md index e6ab454fd42..73b56d17924 100644 --- a/packages/services/service-cluster-redis/CHANGELOG.md +++ b/packages/services/service-cluster-redis/CHANGELOG.md @@ -1,5 +1,43 @@ # @objectstack/service-cluster-redis +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/service-cluster@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-cluster-redis/package.json b/packages/services/service-cluster-redis/package.json index f0fb3ddfc36..3973a72feff 100644 --- a/packages/services/service-cluster-redis/package.json +++ b/packages/services/service-cluster-redis/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-cluster-redis", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Redis cluster driver for ObjectStack — implements IPubSub/ILock/IKV/ICounter against Redis using ioredis.", "type": "module", diff --git a/packages/services/service-cluster/CHANGELOG.md b/packages/services/service-cluster/CHANGELOG.md index edfaaa53649..00378e72e8e 100644 --- a/packages/services/service-cluster/CHANGELOG.md +++ b/packages/services/service-cluster/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/service-cluster +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-cluster/package.json b/packages/services/service-cluster/package.json index 0b3d53fb389..99e2f3faebc 100644 --- a/packages/services/service-cluster/package.json +++ b/packages/services/service-cluster/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-cluster", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Cluster Service for ObjectStack — pluggable PubSub/Lock/KV/Counter primitives. Memory driver included; postgres/redis drivers ship separately.", "type": "module", diff --git a/packages/services/service-datasource/CHANGELOG.md b/packages/services/service-datasource/CHANGELOG.md index 6de717213d1..d1dba7640e8 100644 --- a/packages/services/service-datasource/CHANGELOG.md +++ b/packages/services/service-datasource/CHANGELOG.md @@ -1,5 +1,81 @@ # @objectstack/service-external-datasource +## 19.0.0-next.5 + +### Minor Changes + +- 79d7153: fix(service-datasource): a datasource created in Setup is saved through the kernel save, into a named package, and a create naming none is refused `422 WRITABLE_PACKAGE_REQUIRED` + + Clause-②: yes (narrowing) — narrowed: a Setup datasource create naming no package is refused, and an edit of a datasource whose stored config or pool the schema refuses is refused until it sends the block corrected; widened in the same change: the `@objectstack/spec/kernel` exports `getMetadataTypeCarryForwardRetirement` and `MetadataCarryForwardRetirement` + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/data-modeling/external-datasources.mdx (a datasource created in Setup is saved into the writable package the request names; skills/** teach no Setup datasource create) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling record 7408558495). + + - **Before:** `POST /api/v1/datasources` (the Setup "Datasources" create) inserted its row straight into the metadata table, bound to no package, so it was the one create door the kernel's package-less create judgment never saw. + - **Now:** the door's create, edit (`PATCH /api/v1/datasources/{name}`) and credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) are saved through the kernel save, and every judge of that save answers them. A create names its package with `package` in the request body; naming none answers `422 WRITABLE_PACKAGE_REQUIRED` in this door's words, the writable packages on `error.details.writablePackages`, nothing stored and the secret sealed for the request removed again. An empty or non-string `package` answers `400 VALIDATION_ERROR`. An edit and a migration are saved in the package the row is stored in. No new exemption: the reference to the secret the door has just sealed is stated to the save by server code only (never by any HTTP or MCP door), and passes the own-reference rule only when it is the body's reference and no other stored datasource row holds it. A host with no metadata save answers `503 SERVICE_UNAVAILABLE` instead of writing the row itself. + - **Imports land with their datasource.** An object imported from a datasource added in Setup is saved in the package that datasource is stored in; from a package-less one it still lands loose. + - **Console:** the Setup datasource editor shows the refusal in the server's words with one button per writable package, and picking one sends the create again into that package. + - **Not touched:** the door's delete (`DELETE /api/v1/datasources/{name}`) still removes the row directly. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", … }` | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", …, "package": "my_pkg" }` | + | `PATCH /api/v1/datasources/{name}` `{ "active": false }` on a datasource whose stored `config` or `pool` the schema refuses for anything but an inline credential (answered `400 DATASOURCE_ADMIN_ERROR`, naming the key) | `PATCH /api/v1/datasources/{name}` `{ "active": false, "config": { …the stored config without the key the refusal names } }` | + + One-line fix: name the writable package the new datasource belongs to; on the second arm, send the corrected `config` (or `pool`) with the edit. An edit of an existing datasource is saved in place on the body a read serves: the credentials a row stored before inline credentials were refused still holds in `config` are carried forward by the save, so its `label` and `active: false` edits keep saving, and a row whose stored config or pool the schema now refuses for any other reason is refused until the edit sends it corrected. + + - **A bound reference retires the inline credential, on every door.** A datasource save whose body binds `external.credentialsRef` no longer carries the driver's inline credential slot (`config.password`; turso's `config.authToken`) forward from the stored row: the row is written without it, and the save names each dropped position on its answer (`advisories`, rule `withheld-key-dropped`; the admin door's update answer as `droppedWithheldKeys`). With a reference bound the connect path never reads that slot. The credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) therefore leaves the reference and no inline password at rest, after a restart too. Former alias spellings and a URL-embedded password are still carried forward, and the migration still reports them as `remaining`. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/driver-sql@19.0.0-next.5 + - @objectstack/driver-memory@19.0.0-next.5 + - @objectstack/driver-mongodb@19.0.0-next.5 + - @objectstack/driver-sqlite-wasm@19.0.0-next.5 + - @objectstack/driver-turso@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-datasource/package.json b/packages/services/service-datasource/package.json index 1ca38253db6..e7fbd3915b5 100644 --- a/packages/services/service-datasource/package.json +++ b/packages/services/service-datasource/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-datasource", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "The datasource service (ADR-0015): external-table federation (introspect/draft/import/validate) + runtime UI datasource lifecycle (list/test/create/update/remove + REST routes). Open-source mechanism; the tier line falls on which ICryptoProvider / driver factory a host injects.", "type": "module", diff --git a/packages/services/service-i18n/CHANGELOG.md b/packages/services/service-i18n/CHANGELOG.md index cecdd7da7bd..33a74d2b589 100644 --- a/packages/services/service-i18n/CHANGELOG.md +++ b/packages/services/service-i18n/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/service-i18n +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-i18n/package.json b/packages/services/service-i18n/package.json index e23b4578a21..fa1d6a5b585 100644 --- a/packages/services/service-i18n/package.json +++ b/packages/services/service-i18n/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-i18n", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "I18n Service for ObjectStack — implements II18nService with file-based locale loading", "type": "module", diff --git a/packages/services/service-job/CHANGELOG.md b/packages/services/service-job/CHANGELOG.md index 7e7bc28b4fa..f8d9a130d36 100644 --- a/packages/services/service-job/CHANGELOG.md +++ b/packages/services/service-job/CHANGELOG.md @@ -1,5 +1,52 @@ # @objectstack/service-job +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-job/package.json b/packages/services/service-job/package.json index cddaed58b50..66b2f63e267 100644 --- a/packages/services/service-job/package.json +++ b/packages/services/service-job/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-job", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Job Service for ObjectStack — implements IJobService with setInterval and cron scheduling", "type": "module", diff --git a/packages/services/service-knowledge/CHANGELOG.md b/packages/services/service-knowledge/CHANGELOG.md index e82f1e0872e..439629ac03b 100644 --- a/packages/services/service-knowledge/CHANGELOG.md +++ b/packages/services/service-knowledge/CHANGELOG.md @@ -1,5 +1,85 @@ # @objectstack/service-knowledge +## 19.0.0-next.5 + +### Minor Changes + +- af457fe: fix(service-knowledge,lint): a knowledge source whose `where` reads a field the object does not define is named as that mistake, at save and by `os validate` + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + + + + A knowledge source's `where` selects the records it indexes. When it read a field its object does not define (a misspelt condition key such as `stauts`, a `{ $field }` comparand, or a key under `$and` / `$or` / `$not`), the metadata API's save door answered `403 PERMISSION_DENIED` "which you may not query (it is hidden from you ...)" where a security service is mounted, sending the author to look for a permission that does not exist, and admitted the source where none is. It is now refused `400 VALIDATION_ERROR`, naming the field, the object and the new rule `knowledge-source-where-field-unknown`, ahead of every permission arm, judged on the object's definition alone (declared fields, `id` and the system columns the platform injects), as the sibling `knowledge-source-field-unknown` arm is. A field that exists but is hidden from the author still answers `403` with the sentence it had. + + `os validate`, `os build`, `os lint` and the runtime publish gate report the same mistake with the same words under the new rule (`error`), which they did not judge before: a stack whose knowledge source filters on a field its object does not have now fails validation. A `where` key that is neither a field nor a logical key (`$and`, `$or`, `$not`), such as an unsupported `$nor`, is reported the same way, at both doors, rather than passed. `os explain knowledge-source-where-field-unknown` describes the rule. + The ADR-0087 semantic entry `knowledge-source-where-field-unknown-refused` (`@objectstack/spec`, listed to a stack that declares `knowledgeSources`) tells `os migrate meta` upgraders to check their sources' `where` fields. + +### Patch Changes + +- 959b20f: fix(service-knowledge): a record write before the boot reads a runtime-composed knowledge service calls no store + + Clause-②: no + Metadata-protocol: none + + A knowledge service the runtime composes is read as enabled or held once, at `kernel:bootstrapped` (ADR-0161 K8, the dated note on item 12). A record write could land before that reading, such as a seed or a package's sample data on a new project's first boot, and its sync ran at once. On a deployment with no embedder this called the store, and the boot logged a `[knowledge] a batch of N record syncs of source … failed (… has no embedder …)` warning, although a held service calls no store. + + Now a record sync that arrives before the reading waits for it, on every path: inline, and on the record-sync queue's per-message and batch paths. Nothing calls a store meanwhile. Once the reading is taken, a held service completes each sync without one, and an enabled service runs it as it did before. The inline sync never holds the write up: it is deferred past the reading, so a write the boot itself awaits does not wait on a reading that comes after it. A service a host mounts itself has no such window and syncs as before. If the service stops before the reading (a boot that failed first), every waiting sync completes without one, so the queue's worker is not left waiting at shutdown. +- 69dd4b0: fix(spec): the `places` bound of `source.affinity` is stated as one entry's + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author writing a `boost` entry of a knowledge source's `source.affinity`. The jsdoc of `KNOWLEDGE_AFFINITY_MAX_PLACES` and the refusal of `places` above 20 said a match "never becomes matches first" and passes "one whole answer's worth of hits". That is true of one entry only: entries add, so a hit that matches two `boost` entries (two on one field included) passes their summed places. The jsdoc and the refusal now say the bound is one entry's and that it equals the largest `topK` of `search_knowledge`. No accepted value changes. + + `@objectstack/service-knowledge` adds test pins that the places bound equals `SEARCH_KNOWLEDGE_MAX_TOP_K`, that an affinity entry and a scope term read a stored value alike, and that the `user` fact agrees with `resolveCallerIdentity`; `NO_AFFINITY_FACTS`' jsdoc no longer names a failed resolve, which keeps the `user` fact. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/service-settings@19.0.0-next.5 + - @objectstack/embedder-openai@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-knowledge/package.json b/packages/services/service-knowledge/package.json index 41262e2ce98..85c160c2781 100644 --- a/packages/services/service-knowledge/package.json +++ b/packages/services/service-knowledge/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-knowledge", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Knowledge Service for ObjectStack — orchestrator implementing IKnowledgeService over pluggable IKnowledgeAdapter backends (in-memory, PostgreSQL + pgvector, libSQL, or your own).", "type": "module", diff --git a/packages/services/service-mailbox/CHANGELOG.md b/packages/services/service-mailbox/CHANGELOG.md index 07cffc06210..2fd1fd08616 100644 --- a/packages/services/service-mailbox/CHANGELOG.md +++ b/packages/services/service-mailbox/CHANGELOG.md @@ -1,5 +1,54 @@ # @objectstack/service-mailbox +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + - @objectstack/connector-imap@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-mailbox/package.json b/packages/services/service-mailbox/package.json index abf4cddcba6..34d451affc6 100644 --- a/packages/services/service-mailbox/package.json +++ b/packages/services/service-mailbox/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-mailbox", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Mailbox Service for ObjectStack \u2014 inbound mail: the mirrored message (sys_mail_message), its record associations and their read gates.", "type": "module", diff --git a/packages/services/service-messaging/CHANGELOG.md b/packages/services/service-messaging/CHANGELOG.md index 7fe7b5965ed..a020a52c628 100644 --- a/packages/services/service-messaging/CHANGELOG.md +++ b/packages/services/service-messaging/CHANGELOG.md @@ -1,5 +1,125 @@ # @objectstack/service-messaging +## 19.0.0-next.5 + +### Patch Changes + +- a92f1ed: fix(plugin-email, service-messaging, console): Send test email refuses in the reader's language, Discard restores a settings select, and the notification template form names its variables + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Email (and any settings page with a choice list), and one writing a notification template in Setup → Notification Templates. + + - **Send test email answers in the console's language when it refuses before sending.** A form with no SMTP host, a provider this server cannot deliver with, an API provider with no key, a transport that cannot be built, and the three recipient refusals (nobody signed in, an account with no address, an account that cannot be read) used to answer in English whatever the console's language. They now follow the language the request carries, as the answers after a send already did, in the same eleven languages. With no language they keep their English words. A provider's own error text is still passed through as the provider wrote it. + - **The Subject and Body help on a notification template names the variables.** It used to name only `{{ payload.x }}`. It now names `{{ title }}` and `{{ body }}` (the notification's own title and text), `{{ topic }}`, and `{{ payload. }}` for any other value the topic sends, in every shipped language. No stored template changes and nothing new is refused. + - **Discard puts a settings choice list back with the fields that depend on it.** On Setup → Email, choosing SMTP and pressing Discard hid the SMTP fields while the Provider list still read SMTP. A choice list or radio group whose value goes back to unset now shows nothing chosen again, so the list and the fields below it agree. A saved value is shown as before. +- ea18263: feat(webhooks): a webhook saves without a Definition, its form help is in an administrator's words, and HTTP deliveries show their status as a label + + Clause-②: yes + Metadata-protocol: none + + - **Definition is optional.** `sys_webhook.definition_json` is no longer required. A webhook created in Setup, or with `POST /api/v1/data/sys_webhook`, with no definition used to be refused (`400`, `required` on `definition_json`; typing `{}` passed). It is now saved, and it delivers exactly as a webhook whose definition is `{}`: every reader of the column already took an absent value that way. A column the platform created is already nullable (ADR-0113), so there is nothing to migrate. A database whose column was created `NOT NULL` before ADR-0113 now reports it as drift (`relax_not_null`, needs confirmation); until it is relaxed with `os migrate apply`, saving a webhook without a Definition there fails at the database instead of with the old `required` error. + - **Help text.** The help under Name, Object, Triggers, Target URL, Active, Definition, Custom Headers, Signing Secret, Managed By and Customized no longer names `snake_case`, `bulk_update` / `bulk_delete`, `sys_secret`, the signature header or a spec package path. It says what to enter and what happens, in every shipped locale. + - **Delivery status labels.** `sys_http_delivery.status` is now a select over the same five stored values (`pending`, `in_flight`, `success`, `failed`, `dead`), so Setup → HTTP Deliveries shows Waiting to send, Sending, Delivered, Failed and Given up, translated. Stored values, filters, saved views and the API answer are unchanged; the field's served `type` is now `select` and carries its `options`. A newly created table sizes the column as every select is sized (`varchar(255)`); an existing `varchar(16)` column is left as it is and reports no drift. + - **Error column.** The Recent and Pending delivery lists show the Error column, as Failures already did, so a delivery waiting for its retry shows why the last attempt failed. +- 4eef1f5: fix(setup): Setup → Knowledge says where the rest of a knowledge setup lives, Delivery Log shows who each notification went to, by which channel, and whether it was delivered, and the notification event list keeps its own Setup entry, Notification Events, served to organization administrators + + Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a Setup entry, Notification Events, is served to callers who hold `setup.write` and were served no entry for that list before (organization administrators hold `setup.write` and not `manage_platform_settings`). + + Who sees it: a platform administrator in Setup; an organization administrator sees Notification Events. + + - **Setup → Knowledge** no longer calls itself the vector-store backend. It holds the indexing defaults, and its description now names the two other places a knowledge base is set up: the embedding provider, under AI Model Service → Embedder (a saved provider takes effect after a server restart), and the knowledge sources themselves, created in App Studio → AI. The sentence is in every shipped language, with each page named the way that language names it. It is plain text, not a link. + - **Setup → Notifications → Delivery Log** now opens the delivery list (`sys_notification_delivery`, new `recent` view) instead of the notification event list. Each row is one send: the recipient (the person, and the address it went to), the channel, the status (pending, in flight, success, dead, suppressed), the attempts, the last error, the topic and when it was queued, newest first. The entry keeps its name, its place and its gate (`manage_platform_settings`), and it is shown only where the messaging service is mounted. The event list (`sys_notification`) is no longer opened from this entry; the search alias "Notification Events" moves to the event list's own entry below. + - **Setup → Notifications → Notification Events** is a new entry, after Delivery Log, opening the notification event list (`sys_notification`, view `recent`), whose toolbar carries **Send In-App Message**. It is gated on `setup.write`, the capability that action and its door demand, so organization administrators, who hold `setup.write` and are deliberately withheld `manage_platform_settings`, now reach the action from the menu; before, the list's only Setup entry was gated on `manage_platform_settings`. Who reads the rows is still the object grant's call, and who may send is still judged by the door. The label is in every shipped language. The administrator guide now names this path for sending a message to the organization. + - The topic still shows as its key (for example `approval.requested`): the platform has no display names for notification topics. +- 4b5311b: feat(service-messaging): preview a saved notification template against sample values, through the renderer a send uses + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator writing a notification template (Setup → Notification Templates). The preview pane on that form arrives separately; this release adds the server door it calls. + + - **New route: `POST /api/v1/messaging/notification-templates/:id/preview`.** Body: `{ "payload": { … } }`, the sample values the template's placeholders read (optional; an empty payload when absent). It answers `{ subject, html }` for an `html` or `mjml` template and `{ subject, text }` for a `markdown` or `text` one: the subject and body the email channel would send for that template and payload. In an `html` body every value is HTML-escaped, as on a send; a placeholder the payload does not fill renders empty, as on a send. + - **Nothing is sent and nothing is written.** No mail, no notification, no delivery row, no mail-log row. It works with no mail provider configured. + - **Who may preview:** whoever may read the template. The template is read with your own access, so a member who cannot read notification templates is refused `403 PERMISSION_DENIED`, and a template in another organization answers `404 RECORD_NOT_FOUND`. + - **It previews a saved template only**, by its id; it never takes template text in the request. Save the template first, then preview it. An inactive template still previews. + - Refused with `400 VALIDATION_ERROR`: any query parameter, a body key other than `payload`, and a `payload` that is not a JSON object. +- 347998b: feat(fields, service-messaging): a notification template's record page previews the saved template as it would be sent + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator opening a notification template under Setup → Notification Templates. + + - **Under the body, a Preview pane shows the saved subject and body as the messaging service renders them for a send.** The server's preview route renders them with the same function the email and SMS channels use. Nothing is sent and nothing is written. + - **Each placeholder in the saved subject and body gets a sample-value input** (`{{ amount }}` and `{{ payload.amount }}` share one input; `{{ topic }}` is filled from the template's own topic). Typing sends nothing; **Preview with these values** renders again with what was typed. + - **The pane refreshes when the template is saved**, not while you type in the edit form. A refusal (no access to the template, a template that no longer exists) is shown as its own text and code. + - An `html` or `mjml` template shows the rendered HTML through the console's sanitizer; a `markdown` or `text` template shows the plain text the channels send. + - The edit form is unchanged: the body keeps its markdown editor. The pane is the body's read face on the record page, declared on `sys_notification_template.body` as `widget: 'notification-template-preview'`. A list cell of the body draws the body alone. + - The pane's words are translated in every console language (`fields.notificationTemplatePreview.*`). +- 3adf532: feat(service-messaging): each sending feature registers its notification topics, and the preference options door serves each one's name, when it fires and its variables + + Clause-②: yes (widening) + Metadata-protocol: none + + `GET /api/v1/messaging/preference-options` now serves, for each topic a sending feature registered, a `label`, a one-sentence `description` of when it fires and, where the sender declared them, its `variables`. The topic pickers in the Console still show the bare topic id: drawing the name and description is a later Console change (#39651). Which platform topics are offered now follows composition: a platform topic is offered only where the feature that sends it is composed and registers it, and four topics are newly offered on a fresh boot (`approval.approved`, `approval.rejected`, `approval.abandoned`, `org.announcement`). `GET /api/v1/messaging/me/preferences` lists each person's own notification preferences from the same topics, so a person's own list gains and loses the same topics by composition. A typed or stored topic value is still accepted everywhere: the list is a suggestion, not a closed set. + + - `@objectstack/service-messaging`: `MessagingService.registerNotificationTopics(descriptors)` registers the topics a feature sends: each descriptor carries the topic id, a `label` and a `description` (each an English `fallback`, with an optional catalog `key`), and optional `variables`. A malformed descriptor, or a topic another feature already registered, is refused with a `TypeError` and nothing from the call is kept. `GET /api/v1/messaging/preference-options` serves each registered topic with its `label` and `description`, and its `variables` only when the descriptor declares them (absent means not declared yet, so the generic variables apply; `[]` means the sender declared none), rendered in the caller's language where the catalog has an entry; topics that come only from flows or stored notifications carry none of the three. No sender declares variables yet. The registry is the door's only platform source: the fixed topic list the package kept (`PLATFORM_NOTIFICATION_TOPICS`, never exported) is deleted, and every topic it offered is now registered by the feature that sends it. The plugin registers the Slack link removal notice (`messaging.slack_link_removed`), the in-app message door's topic (`org.announcement`, now offered on a fresh boot) and core's Change Owner notice. The new types `NotificationTopicDescriptor`, `NotificationTopicText` and `NotificationTopicVariable` are exported. + - `@objectstack/core`: exports `CHANGE_OWNER_NOTIFICATION_TOPIC_DESCRIPTOR`, the Change Owner topic's name and description. + - `@objectstack/plugin-audit`: registers `collab.mention` and `collab.reply`. + - `@objectstack/plugin-security`: registers `security.access_upgrade` and `system.upgrade_impact`. + - `@objectstack/plugin-auth`: registers `auth.phone_otp` and `auth.phone_invite`. + - `@objectstack/plugin-approvals`: registers the fifteen topics the approval service sends, among them `approval.approved`, `approval.rejected` and `approval.abandoned`, which no topic picker offered before. + + Each sender registers when the messaging service offers the member. A refusal is logged at `warn` without stopping the boot, and the registry keeps nothing from the refused call: those topics are then not offered at all (one collision drops every topic of that sender's call) unless a flow names one or the organization has stored one. The notices themselves are sent exactly as before. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-messaging/package.json b/packages/services/service-messaging/package.json index 955ab99c711..bcae8fbdf6b 100644 --- a/packages/services/service-messaging/package.json +++ b/packages/services/service-messaging/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-messaging", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Messaging Service for ObjectStack — outbound notification dispatch (ADR-0012). Ships the MessagingChannel registry, emit() fan-out, and the always-on inbox channel; other channels (email/webhook/push/IM) plug in.", "type": "module", diff --git a/packages/services/service-package/CHANGELOG.md b/packages/services/service-package/CHANGELOG.md index dcbcd872b6a..405cbc5c930 100644 --- a/packages/services/service-package/CHANGELOG.md +++ b/packages/services/service-package/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/service-package +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-package/package.json b/packages/services/service-package/package.json index 86c76dd9f25..da403c0ef30 100644 --- a/packages/services/service-package/package.json +++ b/packages/services/service-package/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-package", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Package management service for ObjectStack — publish, install, and manage packages", "type": "module", diff --git a/packages/services/service-print/CHANGELOG.md b/packages/services/service-print/CHANGELOG.md index d915aad2036..d39093a9a5f 100644 --- a/packages/services/service-print/CHANGELOG.md +++ b/packages/services/service-print/CHANGELOG.md @@ -1,5 +1,47 @@ # @objectstack/service-print +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-print/package.json b/packages/services/service-print/package.json index edb002d9659..e69b9b4ae53 100644 --- a/packages/services/service-print/package.json +++ b/packages/services/service-print/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-print", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Print Service for ObjectStack — renders a record's print page in headless Chromium under the requesting user's own principal and answers the PDF as a download; a print stores nothing.", "type": "module", diff --git a/packages/services/service-push/CHANGELOG.md b/packages/services/service-push/CHANGELOG.md index b4763fb3cfb..b0478a06128 100644 --- a/packages/services/service-push/CHANGELOG.md +++ b/packages/services/service-push/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/service-push +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-push/package.json b/packages/services/service-push/package.json index af818628691..2a0145e489c 100644 --- a/packages/services/service-push/package.json +++ b/packages/services/service-push/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-push", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Push service for ObjectStack — IPushService over the hosted push relay (cloud binding credential) and the APNs (token auth) and FCM HTTP v1 transports, configured by PushServiceConfigSchema with credentials by reference.", "type": "module", diff --git a/packages/services/service-queue/CHANGELOG.md b/packages/services/service-queue/CHANGELOG.md index c1d50fd6366..33644ba3764 100644 --- a/packages/services/service-queue/CHANGELOG.md +++ b/packages/services/service-queue/CHANGELOG.md @@ -1,5 +1,52 @@ # @objectstack/service-queue +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-queue/package.json b/packages/services/service-queue/package.json index 81919c009c7..379811b81d7 100644 --- a/packages/services/service-queue/package.json +++ b/packages/services/service-queue/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-queue", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Queue Service for ObjectStack — implements IQueueService with in-memory and durable DB-backed (sys_job_queue) adapters", "type": "module", diff --git a/packages/services/service-realtime/CHANGELOG.md b/packages/services/service-realtime/CHANGELOG.md index 4936531b5f5..f3823089fcc 100644 --- a/packages/services/service-realtime/CHANGELOG.md +++ b/packages/services/service-realtime/CHANGELOG.md @@ -1,5 +1,52 @@ # @objectstack/service-realtime +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-realtime/package.json b/packages/services/service-realtime/package.json index 63e8e140819..7f0d10bd764 100644 --- a/packages/services/service-realtime/package.json +++ b/packages/services/service-realtime/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-realtime", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Realtime Service for ObjectStack — implements IRealtimeService with WebSocket and in-memory pub/sub", "type": "module", diff --git a/packages/services/service-record-context/CHANGELOG.md b/packages/services/service-record-context/CHANGELOG.md index f1e3627c0db..0c598356a88 100644 --- a/packages/services/service-record-context/CHANGELOG.md +++ b/packages/services/service-record-context/CHANGELOG.md @@ -1,5 +1,55 @@ # @objectstack/service-record-context +## 19.0.0-next.5 + +### Patch Changes + +- 953ccfd: fix(record-context): a citation's quote is matched against the whole body when the answer carried the body cut, and the service serves the verifier + + Clause-②: yes (widening) + Metadata-protocol: none + + Who sees it: anyone whose AI answer quotes a record with a long body. A body past `RECORD_CONTEXT_BODY_MAX_CHARS` comes back from `get_record_context` as an outline (or cut text), so a citation that named no `anchor` was matched against headings only and dropped, even when its quote is in the record. Where many bodies keep their articles as bold text rather than headings, no anchor exists to name, and every such citation was lost. + + - `verifyRecordCitations`: a citation with no `anchor`, whose answer carried the body cut (an outline, or `truncated`), is also matched against the whole body, read again through the same door as the same caller. Only a body the answer itself named is read; a withheld body carries no `body` member and is never read. A quote that is not in the record still verifies nothing. ADR-0160 D9 is amended to match (objectstack-ai/objectstack#39505). + - `RecordContextService` gains `verifyCitations(citations, door)`, so a host's citation producer reaches the verifier the way it reaches `get_record_context`, without depending on this package. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-record-context/package.json b/packages/services/service-record-context/package.json index e5aa9cc7bf4..21ce3b09079 100644 --- a/packages/services/service-record-context/package.json +++ b/packages/services/service-record-context/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-record-context", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Record context service for ObjectStack — the context-pack (ai_context) render service and the get_record_context tool executor, reading one record AS THE CALLER (ADR-0160).", "type": "module", diff --git a/packages/services/service-segmenter/CHANGELOG.md b/packages/services/service-segmenter/CHANGELOG.md index d3d5a3e99a5..3515fdd70db 100644 --- a/packages/services/service-segmenter/CHANGELOG.md +++ b/packages/services/service-segmenter/CHANGELOG.md @@ -1,5 +1,52 @@ # @objectstack/service-segmenter +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-segmenter/package.json b/packages/services/service-segmenter/package.json index 3e128c12a18..ae8b8e3ce4b 100644 --- a/packages/services/service-segmenter/package.json +++ b/packages/services/service-segmenter/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-segmenter", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Segmenter Service for ObjectStack — implements ISegmenterService: the keyword terms of a question, cut into real words by a dictionary segmenter", "type": "module", diff --git a/packages/services/service-settings/CHANGELOG.md b/packages/services/service-settings/CHANGELOG.md index 916f5525326..5c057f49211 100644 --- a/packages/services/service-settings/CHANGELOG.md +++ b/packages/services/service-settings/CHANGELOG.md @@ -1,5 +1,75 @@ # @objectstack/service-settings +## 19.0.0-next.5 + +### Patch Changes + +- 8b1560b: fix(platform-objects): Revoke Session and Revoke / Restore API Key are on the record page and the side preview, not only in a row's right-click menu + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Login & Security → Sessions and API Keys. + + - **Revoke Session, Revoke API Key and Restore API Key now sit on the record** (`locations: ['record']`, was `['record_row']`). They show on the record page and in the side preview's actions, and stay on each list row: in the row's context menu, and in the selection bar when that one row is selected. A list page draws no control on its rows, so before this an action placed on rows alone was found only by right-clicking. + - **zh-CN: Access Policy names its shared settings as Sign-in Methods does.** The organization page now uses the deployment page's terms and full-width parentheses: 空闲超时(分钟), 会话绝对有效期(小时), 每用户最大并发会话数, and 允许的 IP 范围 on both pages. +- 4eef1f5: fix(setup): Setup → Knowledge says where the rest of a knowledge setup lives, Delivery Log shows who each notification went to, by which channel, and whether it was delivered, and the notification event list keeps its own Setup entry, Notification Events, served to organization administrators + + Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a Setup entry, Notification Events, is served to callers who hold `setup.write` and were served no entry for that list before (organization administrators hold `setup.write` and not `manage_platform_settings`). + + Who sees it: a platform administrator in Setup; an organization administrator sees Notification Events. + + - **Setup → Knowledge** no longer calls itself the vector-store backend. It holds the indexing defaults, and its description now names the two other places a knowledge base is set up: the embedding provider, under AI Model Service → Embedder (a saved provider takes effect after a server restart), and the knowledge sources themselves, created in App Studio → AI. The sentence is in every shipped language, with each page named the way that language names it. It is plain text, not a link. + - **Setup → Notifications → Delivery Log** now opens the delivery list (`sys_notification_delivery`, new `recent` view) instead of the notification event list. Each row is one send: the recipient (the person, and the address it went to), the channel, the status (pending, in flight, success, dead, suppressed), the attempts, the last error, the topic and when it was queued, newest first. The entry keeps its name, its place and its gate (`manage_platform_settings`), and it is shown only where the messaging service is mounted. The event list (`sys_notification`) is no longer opened from this entry; the search alias "Notification Events" moves to the event list's own entry below. + - **Setup → Notifications → Notification Events** is a new entry, after Delivery Log, opening the notification event list (`sys_notification`, view `recent`), whose toolbar carries **Send In-App Message**. It is gated on `setup.write`, the capability that action and its door demand, so organization administrators, who hold `setup.write` and are deliberately withheld `manage_platform_settings`, now reach the action from the menu; before, the list's only Setup entry was gated on `manage_platform_settings`. Who reads the rows is still the object grant's call, and who may send is still judged by the door. The label is in every shipped language. The administrator guide now names this path for sending a message to the organization. + - The topic still shows as its key (for example `approval.requested`): the platform has no display names for notification topics. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-settings/package.json b/packages/services/service-settings/package.json index 3f1d1e4eff6..75ff5c4a320 100644 --- a/packages/services/service-settings/package.json +++ b/packages/services/service-settings/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-settings", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Settings service for ObjectStack — manifest registry + K/V resolver (OS_* env > Tenant > User > Default) + REST routes. See ADR-0007.", "type": "module", diff --git a/packages/services/service-sms/CHANGELOG.md b/packages/services/service-sms/CHANGELOG.md index 4cb31e85bda..44b3f6cc475 100644 --- a/packages/services/service-sms/CHANGELOG.md +++ b/packages/services/service-sms/CHANGELOG.md @@ -1,5 +1,46 @@ # @objectstack/service-sms +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-sms/package.json b/packages/services/service-sms/package.json index 2b9e72937a1..111eef64fca 100644 --- a/packages/services/service-sms/package.json +++ b/packages/services/service-sms/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-sms", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "SMS service for ObjectStack — ISmsService + transport-pluggable outbound delivery (Aliyun / Twilio / log).", "type": "commonjs", diff --git a/packages/services/service-storage/CHANGELOG.md b/packages/services/service-storage/CHANGELOG.md index 3e166877a5d..7e6c87f2768 100644 --- a/packages/services/service-storage/CHANGELOG.md +++ b/packages/services/service-storage/CHANGELOG.md @@ -1,5 +1,73 @@ # @objectstack/service-storage +## 19.0.0-next.5 + +### Patch Changes + +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/observability@19.0.0-next.5 + - @objectstack/service-cluster@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/services/service-storage/package.json b/packages/services/service-storage/package.json index a0d2f3ee33a..e9ac8861794 100644 --- a/packages/services/service-storage/package.json +++ b/packages/services/service-storage/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/service-storage", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Storage Service for ObjectStack — implements IStorageService with local filesystem and S3 adapter skeleton", "type": "module", diff --git a/packages/skills/CHANGELOG.md b/packages/skills/CHANGELOG.md index a12816af166..adcefe097c8 100644 --- a/packages/skills/CHANGELOG.md +++ b/packages/skills/CHANGELOG.md @@ -1,5 +1,82 @@ # @objectstack/skills +## 19.0.0-next.5 + +### Patch Changes + +- 0f14ba7: docs(skills): the actions page of objectstack-ui teaches the second save-time refusal on an action body's capabilities + + Clause-②: no + Metadata-protocol: none + + `skills/objectstack-ui/rules/actions.md` already said that a body's write without `api.write` is refused at save (`action-body-write-capability-undeclared`). It now says the same of every other call the sandbox gates: a call missing its token is refused at save under `action-body-capability-undeclared`, and the fix is to add the token the message names to the body's `capabilities`. + + The section on the body's `ctx` now says that an identity-assignment write from an action body is refused, and points at the "Elevation stops at identity assignment" bullet of objectstack-automation, which names the four objects and the way to grant a position or a permission set instead. + + Nothing in the platform changes; both refusals were already made. + + The text is paid for inside the file, which goes from 16284 to 16282 bytes and stays at 4071 priced tokens. Two passages leave: the line that listed the location names used until protocol 19 (`list_toolbar`, `list_item`, `record_header`, `record_more`, a view's `bulkActions`), retired names a protocol 19 author no longer writes, and the closing note "Set `refreshAfter: true` when the action mutates the record", which the page's two examples that set `refreshAfter: true` still show. +- 97e63d9: docs(skills): the objectstack-i18n key map says a navigation translation node takes keywords, with or without a label + + Clause-②: no + Metadata-protocol: none + + `skills/objectstack-i18n/SKILL.md`, one line of the key map: `apps.{app}: label, description, navigation.{id}.label` becomes `navigation.{id}.{label,keywords[]} (at least one)`. The contract has accepted a node with `keywords` and no `label` since the navigation translation node made `label` optional beside `keywords`; the skill still listed `label` alone, so an agent asked for a locale's search words wrote a placeholder label next to them, or did not know the key. + + `keywords` is a list of strings, this locale's search words for the entry. A node with neither key is still refused. One eval case in `evals/bundles-locales-coverage.json` asks for a keywords-only node. +- 534a61d: docs(skills): the data skill says delete follows the record owner on `public_read_write` too + + Clause-②: no + Metadata-protocol: none + + `skills/objectstack-data/rules/security.md` still said `allowDelete` removes only rows the caller created and that neither `writeScope: 'org'` nor Modify All widens a delete on a `public_read_write` object. On an object with an owner field that is no longer what runs: delete follows the record's owner on `private`, `public_read` and `public_read_write` alike, a write depth above the owner or Modify All widens it, and a creator who no longer owns the row cannot delete it. The bullet now says so, keeps the creator rule for an object with no owner field (where an authored `delete` policy still widens), and says a `controlled_by_parent` detail needs, by default, edit on its master row however it is deleted. The Three axes gloss loses its `public_read_write` exception, and the eval case for this bullet expects the owner rule. + + The rewrite replaces the old sentences; the file goes from 19868 to 19861 bytes. +- a5ca373: fix(skills): the published skills package no longer carries each skill's `evals/` directory + + Clause-②: no + Metadata-protocol: none + + `@objectstack/skills` shipped every skill's `evals/` directory: the cases the maintainers score a skill with, each holding its expected answer and the spellings an answer must not contain. No agent loads them, and the eval runner itself withholds the directory from the skill it grades, so an installed skill held a folder the measured skill never had. From this release `dist/skills/` is the repository's `skills/**` without `skills/SKILL_NAME/evals/**`. + + - **What you see after an upgrade.** Re-running the sync (`npx skills@1.7.2 experimental_sync --agent claude-code --copy -y`) or `os skills` installs skills with no `evals/` directory. Every `SKILL.md`, `references/`, `rules/`, `guides/` and `contracts/` file is unchanged. An `evals/` directory a previous install left in your agent's skills directory is safe to delete. + - **Nothing reads them.** No `SKILL.md` points into `evals/`, and the CLI, the scaffolder and the MCP server read nothing from it. + - **The `next` channel is unchanged.** `npx skills add objectstack-ai/objectstack/skills` copies each skill's directory from the repository's `main`, `evals/` included. + - **The build proves it.** The package's copy step compares `dist/skills/**` to `skills/**` minus those directories, file for file and byte for byte, and refuses a tree that holds a file under a skill's `evals/`; `prepublishOnly` runs the same comparison. +- 5c00c57: docs(skills, spec, mcp): the UI skill shows a `BulkActionResult` entry and what a "stepped" form is, and the remaining AI tool name statements spell the qualified name + + Clause-②: no + Metadata-protocol: none + + - `skills/objectstack-ui/rules/actions.md`: the selection bullet now shows the value an `execution: 'aggregate'` body resolves with, as `BulkActionResultSchema` declares it: `{ succeeded: [ids], failed: [{ id, message }] }`, both lists, the reason under `message` and not `error`. The bullet named the type without an entry, and answers written from it put the reason under `error` or pushed objects into `succeeded`, neither of which parses. + - `skills/objectstack-ui/rules/list-views.md`: Forms now says a "stepped" form is the object's field groups in order (on a `form` item, `type: 'wizard'`), before any `kind: 'react'` wizard page. + - `skills/objectstack-ai/SKILL.md`: an AI-exposed action's tool is spelled `action___` (`action_` for a top-level action) in the Skills example and under "Actions as AI Tools". Eval case 1 of `skills-tools-knowledge` says the action is bound to `support_case` and requires `action_support_case__crm_escalate_case`. + - `@objectstack/spec`: the `stack.tools` description and its TSDoc spell the same two names in place of `action_`. Text only: no schema shape changes. + - `@objectstack/mcp`: the README's skill-prompt paragraph spells the same names. + + The older `action_` spelling of an object-bound action still resolves, to every action of that name whatever its object; nothing an author wrote before is refused. +- c1fb314: docs(skills): the navigation rule teaches `default_on` as a position's first app, and the security rule teaches the `allowExport` grant + + Clause-②: no + Metadata-protocol: none + + `skills/objectstack-ui/rules/navigation.md` § Who sees or opens an app said there is no per-position default app. There is one: `tabPermissions[app]: 'default_on'` on a permission set a position distributes makes that app the first one its holders open on a desktop when they have no last-used app, ahead of the app that declares `isDefault: true`; phones do not read the value. The rule now says so, and states the merge order of one app's values across the sets a user holds, highest wins: `hidden` < `default_off` < `visible` < `default_on`. The matching eval case in `evals/views-apps-actions-pages.json` asks for a landing app per position and expects `default_on`. + + `skills/objectstack-data/rules/security.md` § Object-level permissions did not mention export. It now says that Export is hidden without `allowExport` beside `allowRead` on the object, that no built-in permission set grants it (the admin sets included), and that an app grants it in a set a position names, never in its `isDefault` baseline. The section's example set carries the grant on one object. One new eval case in `evals/hooks-security-seeds-datasources.json` asks why a fresh install shows no Export, even to an admin. + + Neither file grew: the new lines are paid for in the same files by removed alignment padding and tighter wording, and one stale mention of a profile beside the permission set is gone (there is no profile). +- b8aee1e: docs(skills): the automation skill says an assignment rule tells nobody, and gives the creation flow that tells the person it picked + + Clause-②: no + Metadata-protocol: none + Skills-docs: updated here + + `skills/objectstack-automation/references/examples-flows.md` § Assignment rules gains the recipe. An assignment rule writes `owner_id` and `queue` and nothing else, and no key on a rule or an entry notifies, so the person a `round_robin` or `least_loaded` entry picks is told by a flow on the object's creation: a `record-after-create` start node with the condition `!isBlank(record.owner_id) && record.owner_id != record.created_by`, then a `notify` to `record.owner_id`. A parked record (an entry with no `strategy`, or a queue nobody staffs) has no owner, so nobody is told; a signed-in creator owns what they file and is not told of it. The section links the guide's whole flow. + + No runtime or contract change: the skill now teaches what the platform already does. One eval case in `evals/flows-triggers-approvals.json` asks for the routing and the notice together, and fails an answer that puts a notify key on the rule. Eval 12 of the same file (round-robin routing plus a queue sign-off) stops forbidding `record-after-create`, the trigger the section now teaches for the notice, and forbids `owner_id:` instead, the key a flow writes when it routes the record itself. Its case hash is new, so `skill-evals --regrade` sets it apart from a round recorded before this change: compare it across rounds only after a re-run. + + The recipe is paid for in the same file by cutting sentences `SKILL.md` already says: the file goes from 26505 to 26508 bytes and stays at its token ceiling. + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/skills/package.json b/packages/skills/package.json index 81baf25f620..8e7f762949e 100644 --- a/packages/skills/package.json +++ b/packages/skills/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/skills", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "The published ObjectStack skills catalog \u2014 the repository's skills/** tree, shipped at the version of the @objectstack/* packages it teaches.", "license": "Apache-2.0", "homepage": "https://github.com/objectstack-ai/objectstack/tree/main/packages/skills", diff --git a/packages/spec/CHANGELOG.md b/packages/spec/CHANGELOG.md index 4a3eda750a5..47d3551b57b 100644 --- a/packages/spec/CHANGELOG.md +++ b/packages/spec/CHANGELOG.md @@ -1,5 +1,432 @@ # @objectstack/spec +## 19.0.0-next.5 + +### Minor Changes + +- a549983: feat(metadata-protocol)!: the kernel refuses a package-less create; `POST /api/v1/automation` is retired; a flow saved through `/meta` is refused for a `notify` channel no plugin registers + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/permissions/permission-sets.mdx (a clone with no package to land in is refused, and the Console's "New similar" offers the writable packages; skills/** teach no package-less create, `POST /api/v1/automation` or `client.automation.create`) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling 7184753035; Q-g C, ruling 7234518908). + + - **A package-less create is refused.** FROM a metadata save naming no package, of an item no package holds and no stored loose row carries, answering `200` and storing a new package-less ("loose") row, TO `422 WRITABLE_PACKAGE_REQUIRED` naming the writable packages, nothing stored. It holds on every door that reaches the kernel save: `PUT /api/v1/meta/{type}/{name}` publish and `?mode=draft`, `os meta register` (non-zero exit, the server's sentence printed), `client.meta.saveItem`, the MCP and AI authoring doors, the automation definition door, and the permission-set clone door (a copy with no package to land in; its sentence names the body's `package`). An `action` is keyed by its object (ADR-0150 D4): a package-less save of an action whose holders all bind other objects is the environment's new item and is refused the same way. In publish mode a package's draft of the name does not hold it, so a publish-mode save of a name only a package's draft carries is refused too. + - **Not reached.** An in-place save, draft save, delete and per-item publish of an existing package-less item; a package-less save of an item a package holds (ADR-0150 D4: for an action, a holder at the body's object), and a draft-mode save of a name a package's draft holds (the draft address binds it into that package, as before); the five named exemptions: the kernel-item overlay, the external-datasource import, the binding-preserving migrations (`os migrate meta --stored`, the flow-credential move), platform registration at boot, and (ruling 7380917604) `os migrate organization-ownership --apply`'s conversions of rows stored before the upgrade (an organization's authored positions and permission sets, a promoted email template), which land loose under a server-stated provenance only the create judgment reads, every other save gate still judging them, and the ceremony's report lists them and names the move door (`POST /api/v1/packages/:id/move-in`). There is no flag or environment switch. Sharing rules, queues and assignment rules are data rows (Q-d A) and are not reached. + - **`POST /api/v1/automation` is retired** with `client.automation.create`, `AutomationApiContracts.createFlow`, `CreateFlowRequestSchema` and `CreateFlowResponseSchema`. The door held no package, so it is retired rather than given one. `PUT /api/v1/automation/{name}` still updates a flow that exists; for a new name it answers `422 WRITABLE_PACKAGE_REQUIRED` naming the metadata door. + - **The clone door lands a kernel source's copy in a named package (widening).** `POST /api/v1/security/permission-sets/{name}/clone` with `package` naming a writable package, for a set a kernel package ships (`member_default`), was refused `409 RESOURCE_CONFLICT` because no such package declares a dependency on the kernel package; it now lands there (a kernel package is in every resolution closure, ADR-0150 D3), and the objects the set grants on are still judged against the target's closure. + - **One notify-channel judge on both flow doors.** A flow written through the metadata save (`PUT /api/v1/meta/flow/{name}`, and every other caller of the runtime publish gate: a runtime package install, the MCP and AI doors) whose `notify` node names a channel no plugin registers was stored and armed (the `/automation` door refused it). The runtime publish gate now refuses it too (rule `flow-notify-channel-unregistered`), once the boot has settled; both doors ask the one predicate `unregisteredNotifyChannels` (`@objectstack/lint`). + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `PUT /api/v1/meta/view/my_grid` (new name, no package) | `PUT /api/v1/meta/view/my_grid?package=my_pkg` | + | `os meta register view --data v.json` (new item) | `os meta register view --data v.json --package my_pkg` | + | `client.meta.saveItem('view', 'my_grid', body)` (new item) | `client.meta.saveItem('view', 'my_grid', body, { packageId: 'my_pkg' })` | + | `POST /api/v1/automation` / `client.automation.create('f', def)` | `PUT /api/v1/meta/flow/f?package=my_pkg` / `client.meta.saveItem('flow', 'f', def, { packageId: 'my_pkg' })` | + + One-line fix: name the package a new item belongs to. A flow triggered on an object another package ships needs a package that declares that package as a dependency. Existing package-less items keep saving in place, and Studio's "move into package" moves them. +- c19307a: fix(formula)!: a flow condition that orders a `date` or `datetime` field against a number is now refused, in every spelling + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: none — `skills/objectstack-formula/SKILL.md` already teaches a date field as its ISO text and prescribes `daysBetween(today(), record.due)` for days remaining and `daysFromNow(n)` for a date ahead, and no skill teaches ordering a date against a number + + + + **BREAKING** accept-set narrowing. In a flow condition (a start, edge or `decision` branch condition) a `date` or `datetime` field reaches the run as its text (`YYYY-MM-DD`, or an ISO-8601 instant), and no overload orders that text against a number. So `due_date > 5` faults on every run, and the flow stops at the condition after the write that fired it has landed. The type check saw the fault and dropped it, so the condition passed `os validate` and the publish door with no finding, in all four spellings: the bare name (`due_date > 5`), `record.FIELD` / `previous.FIELD` (`record.due_date > 5`), an index read (`record['due_date'] > 5`) and a macro variable ranging over the field (`[due_date].exists(d, d > 5)`). + + - **The verdict.** Two new codes, graded as date arithmetic is (an error at every flow condition): `date-number-ordering-run-fails` on a record-triggered flow or a sweep of the typed object, `date-number-ordering-run-may-fail` elsewhere. A `record.FIELD` / `previous.FIELD` read keeps the row's arm where bare names are unproven; a bare name a flow variable holds is not judged. Params: `operands`, `operator`, and `reference` (the field as written; an index read is named by its member spelling). The message prescribes `daysBetween(a, b)` or a date-to-date comparison with `daysFromNow(n)` / `addDays(d, n)`. + - **Masking.** A text or boolean mismatch graded a warning no longer hides the ordering behind it: `title > 5 && due_date > 5` gets the error. A mismatch graded an error keeps its code and words. + - **Where.** `os validate` / `os build` (`validateStackExpressions`) report an `error`, and the flow publish door refuses the publish with `INVALID_METADATA` (422). `registerFlow` logs it as an advisory and still registers the flow, so a stored flow keeps its run-time behaviour until it is next published. + - **Not refused.** An ordering against a date or a date text (`due_date > today()`, `due_date > '2026-01-01'`), equality, `daysBetween` / `addDays` / `daysFromNow` over the field. Record-scoped sites (formula fields, validation rules, `visibleWhen` / `requiredWhen`) are not judged by this change. The run-time evaluator is unchanged. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `due_date > 5` (more than five days past due) | `daysBetween(due_date, today()) > 5` | + | `record.due_date < 7` (due within the week) | `record.due_date < daysFromNow(7)` | + | `[due_date].exists(d, d > 5)` | `[due_date].exists(d, daysBetween(d, today()) > 5)` | + + One-line fix: in a flow condition, never compare a date field with a number; compare a span from `daysBetween(a, b)` with the number, or compare the date with a date from `daysFromNow(n)` / `addDays(d, n)`. +- c9ea363: feat(spec)!: a navigation `keywords` list is never empty, on the nav item and on the translation node + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + + + **BREAKING** for metadata that writes an empty list: `keywords: []` on a navigation item, or on a translation bundle's navigation node `apps.APP.navigation.ID`, is now refused at every door where 19.0.0-next.4 accepted it. Fix: leave the key out. An empty list never matched a search and never translated anything, and no writer in the platform produces one: the nav editor and the design-mode menu omit the key instead. + + Narrowed: each `keywords` array now takes at least 1 and at most 20 words, at the nav item and at the translation node, with a message that says to leave the key out. A translation node carrying only `keywords: []` was accepted as a node that has keywords; it is now refused like a node with neither `label` nor `keywords`. + + The same node shape is also part of `PlatformTranslationData` and of `ServedTranslationData`, the body of `GET /i18n/translations/:locale`. Both took the 19.0.0-next.4 widening (a node may carry `keywords` without `label`) and now take this narrowing too. + + `@object-ui/types` mirrors the rule on its navigation item schema, so `objectui validate` refuses what the platform's save door refuses. +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. +- eb947b6: fix(spec)!: a field whose inline `options` declare one value twice is refused at every author door, as a shared picklist with a repeated value already was + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + Skills-docs: none — `skills/objectstack-data/references/examples-objects.md` teaches inline select options and already declares each value once; the refusal names the value, both entries and the fix + + + + **BREAKING** accept-set narrowing. FROM a field (on an object or an object extension, any type that takes `options`) whose `options` declare the same `value` in two entries saving, publishing and passing `os validate` / `os build`, TO that field refused by the field schema at every door: the metadata save (draft or active) and publish answer `422 INVALID_METADATA` with an issue at `fields.NAME.options.INDEX.value`, and `os validate` / `os build` report the same issue. The message reads `This field's \`options\` would carry the value 'a' twice: it is declared by option 0 and again by option 1.`, worded as the shared-picklist refusal is. + + Why. A record stores an option's value, and every reader that shows the record maps the stored value back to one option, so a repeated value left its label and colour ambiguous in lists, chips and reports. A shared `picklist` whose options repeat a value was refused at registration; the same list written inline on the field passed every door silently. The `Field.select(['In Progress', 'in progress'])` string form, whose two labels derive one value, is refused the same way. + + A stored object whose body carries the repeat still registers at boot and is served badged invalid; it is refused at its next save or publish until the repeat is removed. A stored object extension row carrying the repeat is not registered at boot (the loader logs and skips it), so the fields it adds are absent until the row is fixed: before upgrading, run `os validate` for packaged extensions and read each runtime-authored extension's `_diagnostics` on the metadata read. No conversion rewrites it (which label the author meant is not recorded); the ADR-0087 semantic entry `field-option-value-repeated-refused` carries the rewrite to the upgrade guide. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `options: [{ value: 'a', label: 'A' }, { value: 'a', label: 'A2' }]` | `options: [{ value: 'a', label: 'A' }, { value: 'a2', label: 'A2' }]` | + + One-line fix: declare each option value once; remove the repeated entry, or give it a value of its own. +- 79d7153: fix(service-datasource): a datasource created in Setup is saved through the kernel save, into a named package, and a create naming none is refused `422 WRITABLE_PACKAGE_REQUIRED` + + Clause-②: yes (narrowing) — narrowed: a Setup datasource create naming no package is refused, and an edit of a datasource whose stored config or pool the schema refuses is refused until it sends the block corrected; widened in the same change: the `@objectstack/spec/kernel` exports `getMetadataTypeCarryForwardRetirement` and `MetadataCarryForwardRetirement` + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/data-modeling/external-datasources.mdx (a datasource created in Setup is saved into the writable package the request names; skills/** teach no Setup datasource create) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling record 7408558495). + + - **Before:** `POST /api/v1/datasources` (the Setup "Datasources" create) inserted its row straight into the metadata table, bound to no package, so it was the one create door the kernel's package-less create judgment never saw. + - **Now:** the door's create, edit (`PATCH /api/v1/datasources/{name}`) and credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) are saved through the kernel save, and every judge of that save answers them. A create names its package with `package` in the request body; naming none answers `422 WRITABLE_PACKAGE_REQUIRED` in this door's words, the writable packages on `error.details.writablePackages`, nothing stored and the secret sealed for the request removed again. An empty or non-string `package` answers `400 VALIDATION_ERROR`. An edit and a migration are saved in the package the row is stored in. No new exemption: the reference to the secret the door has just sealed is stated to the save by server code only (never by any HTTP or MCP door), and passes the own-reference rule only when it is the body's reference and no other stored datasource row holds it. A host with no metadata save answers `503 SERVICE_UNAVAILABLE` instead of writing the row itself. + - **Imports land with their datasource.** An object imported from a datasource added in Setup is saved in the package that datasource is stored in; from a package-less one it still lands loose. + - **Console:** the Setup datasource editor shows the refusal in the server's words with one button per writable package, and picking one sends the create again into that package. + - **Not touched:** the door's delete (`DELETE /api/v1/datasources/{name}`) still removes the row directly. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", … }` | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", …, "package": "my_pkg" }` | + | `PATCH /api/v1/datasources/{name}` `{ "active": false }` on a datasource whose stored `config` or `pool` the schema refuses for anything but an inline credential (answered `400 DATASOURCE_ADMIN_ERROR`, naming the key) | `PATCH /api/v1/datasources/{name}` `{ "active": false, "config": { …the stored config without the key the refusal names } }` | + + One-line fix: name the writable package the new datasource belongs to; on the second arm, send the corrected `config` (or `pool`) with the edit. An edit of an existing datasource is saved in place on the body a read serves: the credentials a row stored before inline credentials were refused still holds in `config` are carried forward by the save, so its `label` and `active: false` edits keep saving, and a row whose stored config or pool the schema now refuses for any other reason is refused until the edit sends it corrected. + + - **A bound reference retires the inline credential, on every door.** A datasource save whose body binds `external.credentialsRef` no longer carries the driver's inline credential slot (`config.password`; turso's `config.authToken`) forward from the stored row: the row is written without it, and the save names each dropped position on its answer (`advisories`, rule `withheld-key-dropped`; the admin door's update answer as `droppedWithheldKeys`). With a reference bound the connect path never reads that slot. The credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) therefore leaves the reference and no inline password at rest, after a restart too. Former alias spellings and a URL-embedded password are still carried forward, and the migration still reports them as `remaining`. +- 8f241d4: feat(spec, layout, app-shell): a navigation entry with no `label` that opens a report or a page shows that report's or page's current label + + Clause-②: no + Metadata-protocol: semantic + + An app navigation entry without a `label` already showed, at render time, the current label of the view, object or dashboard it opens. A `report` entry naming a `reportName` and a `page` entry now do the same: the menu shows the report's or the page's label, in the viewer's language, and a renamed report or page shows its new name on the next load. Before, such an entry showed the target's machine name (for example `ge_jinji_chengdu_yu_gu_feiyong`), which is what the design mode's "Add menu item" wrote for a report or a page, and what a page created in the console writes when it is given no name. Entries already stored this way change with no edit. An entry whose target carries no label, or has not loaded, still shows the machine name. A `label` you write still renders verbatim. Nothing is stored for the absent case. + + `BaseNavItemSchema.label`'s describe now names report and page beside view, object and dashboard. The accepted shape does not change. + + `@object-ui/layout`: `NavLabelTarget` gains `{ kind: 'report'; reportName }` and `{ kind: 'page'; pageName }`, and `resolveNavItemLabel` asks a host's `NavTargetLabelResolver` for both. A host resolver that switches over `NavLabelTarget` and answers `undefined` by default keeps working, and those entries keep showing the machine name until it answers the two kinds. + + `@object-ui/app-shell`: `useNavTargetLabel` answers the two kinds from the served label (a page from the app bundle first), read by name where the caller asks for it, and the recent-items list asks the same resolver, so a menu entry and a recent row that open one report or page show the same text. +- 3c0e8b4: fix(lint)!: a validation rule whose condition compares a choice field with an option label, where the record holds the option's value, is refused at validate, build and publish + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + + + **BREAKING** accept-set narrowing. A `select`, `radio`, `multiselect` or `checkboxes` field stores the option's value (`urgent`), never its label (`Urgent`), and a validation rule's condition is evaluated against the stored record as written. So a rule comparing the field with a label never fired (`record.priority == 'Urgent'`, or `in [...]`), and its negated form refused every write, the records holding `urgent` included (`record.priority != 'Urgent'`, `!(record.priority in ['Urgent'])`). Both published with no finding. + + - **Now:** `os validate`, `os build` and `os lint` report `validation-condition-option-label` as an error, and the metadata publish door refuses an `object` or `object_extension` publish carrying it with `422 INVALID_METADATA`. The finding names the field, the label written and the value to write. Judged in a rule's `condition` and in a conditional rule's `when`, its `then` / `otherwise` branches included, on the object's own rules and on the rules an object extension adds, for a field read as `record.FIELD` or `previous.FIELD`. The spellings reached: `FIELD == 'L'`, `FIELD != 'L'`, `'L' == FIELD`, `'L' != FIELD`, and each member of `FIELD in [...]` (negated or not). + - **Not refused:** the membership spelling `'L' in FIELD` on a `multiselect` or `checkboxes` field, a label that is also some option's value, a literal that is neither a label nor a value (a stored value may lie outside the options), a `readonly` field, a field bound to a shared picklist or declared by two object extensions, a label holding a quote or a backslash, a predicate in a dialect other than CEL, and a rule switched off with `active: false` (a different, active rule of the same name is still judged). + - **Stored metadata:** a stored object or extension carrying the shape still loads and its rule evaluates as before. Its next publish is refused until the condition is fixed or the rule is switched off. + + | Before (refused now) | After | + |:--|:--| + | `condition: "record.priority == 'Urgent' && record.name == null"` | `condition: "record.priority == 'urgent' && record.name == null"` | + | `condition: "record.priority != 'Urgent'"` | `condition: "record.priority != 'urgent'"` | + + Fix: write the option's value in place of its label, as the refusal names it; or set `active: false` on the rule. +- 42bf4c9: feat(plugin-list): a list view that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + A list view used to offer its Export entry only when the view declared `exportOptions`, so most lists offered Import and no Export. A list view now reads an absent `exportOptions` as the empty block: the toolbar's Export button, the Display panel's export entries and the page bar's Import / Export menu offer the default formats, `csv` and `json`. `xlsx` is offered where a view lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the list through the object's effective `export` operation (`/me/permissions` `apiOperations`): a user whose permission sets do not grant it sees no Export entry on any list, and the server refuses the export request. + + To keep a view without export, declare `exportOptions: { formats: [] }` on it. To take export off every view of an object, set the object's `userActions.exportCsv: false`. + + An `object-grid` page component that names an object reads an absent `exportOptions` the same way: it offers `csv` and `json` by default, and `xlsx` only where it lists it in `formats`. Declare `exportOptions: { formats: [] }` on it to turn its export off. + + The upgrade guide carries the change as the semantic entry `list-view-export-on-by-default`. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + +- 458575c: feat(spec): a `datetime` answer-field format, so a result dialog can show a moment in time in the workspace's zone and language + + Clause-②: yes + Metadata-protocol: added + + Who sees it: an author declaring an action whose server answer carries a moment in time, such as the expiry of a key just created. + + - The action answer's format set gains `datetime`. A `resultDialog.fields` row, a `preflight.fields` row, a table column's cell and the dialog-level `resultDialog.format` all accept it; every format and row that parsed before parses unchanged. + - Renderer contract: the value is an instant, an ISO 8601 date-time string with `Z` or a `±hh:mm` offset (what `Date.prototype.toISOString` answers). A renderer draws it through its one date display path, in the workspace time zone when one is set (else the viewer's own) and the display language, so a result dialog and the list beside it show the same date and time. The copy control copies the answered string unchanged. Any other value, a date-only `YYYY-MM-DD` and a date-time with no zone included, does not fit and draws as `json`, as answered. In a table cell it draws without a copy control. + - What this release does in the console: it still draws a `datetime` value as `json`, as answered, until the console half (#39428) lands. + - `datetime` is the only time word added: `date`, `time` and `timestamp` are still refused as unknown formats. + +### Patch Changes + +- 1cbcf46: fix(platform-objects): with SSO-only mode on, Setup → Users no longer offers Set Password on a user the identity provider provisioned + + Clause-②: no + Metadata-protocol: none + + Who sees it: a platform administrator on Setup → Users of an environment in SSO-only mode (`ssoOnlyMode` / `OS_AUTH_SSO_ONLY`). + + - **Set Password is hidden on an IdP-provisioned user's row** (`source = idp_provisioned`) while SSO-only mode is on. The server refuses that password write (`409`), so the button only ever led to a refusal. + - **Still offered:** on local-password users, on your own row (the break-glass password a platform administrator may set for themselves), and on every row when SSO-only mode is off. If the console has not received the SSO-only flag, or the row's identity source, the button shows as before and the server still decides. + - The `ssoEnforced` entry of the public auth feature registry now says that Set Password reads it to hide those rows; no served flag changes. +- 38f702c: fix(metadata-protocol): the environment's own row of a name two enabled packages ship is what the reads naming no package serve, as the save naming no package edits it + + Clause-②: yes + Metadata-protocol: none + + + + Who sees it: an environment that stores its own (package-unbound) customization of a metadata item that two or more enabled packages ship, and reads it without naming a package. + + - **Before:** every read naming no package (`GET /api/v1/meta/TYPE/NAME`, `/layers`, `/published`, `/meta/TYPE/_env/NAME`, and the in-process item, layered and execution reads) answered `409 RESOURCE_CONFLICT` naming the shippers, while the save naming no package answered `200` and edited that row. An environment could change an item no read would show it. + - **Now:** those reads serve the environment's row, stating no package. `/layers` reports no code layer and the row as overlay and effective. After a save naming no package, every read serves the saved body. Reads and writes give the same answer (ruling 6942981052, option (b), narrowed by 7187668758 and 7405866869). + - **Unchanged:** with no such row the reads still refuse naming the enabled shippers; beside a stored row bound to a package (a shipper's own copy), where the save naming no package edits that package's row or refuses, the reads answer as before; `?package=PACKAGE` answers as before; a disabled shipper counts for nothing; a name the packages hold only as stored rows (no shipper) keeps its refusal on reads and saves alike; a sealed managed type's package-unbound row is still declined. +- af457fe: fix(service-knowledge,lint): a knowledge source whose `where` reads a field the object does not define is named as that mistake, at save and by `os validate` + + Clause-②: no (narrowing) + Metadata-protocol: narrowed + + + + A knowledge source's `where` selects the records it indexes. When it read a field its object does not define (a misspelt condition key such as `stauts`, a `{ $field }` comparand, or a key under `$and` / `$or` / `$not`), the metadata API's save door answered `403 PERMISSION_DENIED` "which you may not query (it is hidden from you ...)" where a security service is mounted, sending the author to look for a permission that does not exist, and admitted the source where none is. It is now refused `400 VALIDATION_ERROR`, naming the field, the object and the new rule `knowledge-source-where-field-unknown`, ahead of every permission arm, judged on the object's definition alone (declared fields, `id` and the system columns the platform injects), as the sibling `knowledge-source-field-unknown` arm is. A field that exists but is hidden from the author still answers `403` with the sentence it had. + + `os validate`, `os build`, `os lint` and the runtime publish gate report the same mistake with the same words under the new rule (`error`), which they did not judge before: a stack whose knowledge source filters on a field its object does not have now fails validation. A `where` key that is neither a field nor a logical key (`$and`, `$or`, `$not`), such as an unsupported `$nor`, is reported the same way, at both doors, rather than passed. `os explain knowledge-source-where-field-unknown` describes the rule. + The ADR-0087 semantic entry `knowledge-source-where-field-unknown-refused` (`@objectstack/spec`, listed to a stack that declares `knowledgeSources`) tells `os migrate meta` upgraders to check their sources' `where` fields. +- 3af1b4b: fix(spec)!: the nested `options` of `POST /api/v1/ai/chat` and `POST /api/v1/ai/complete` names the keys the hosted doors honour, and refuses the rest + + Clause-②: no (narrowing) + Metadata-protocol: none + + **BREAKING** for a caller that types its AI request against `AiChatRequest` or `AiCompleteRequest`, or validates one with `AiChatRequestSchema` or `AiCompleteRequestSchema`. `options` was an open record that accepted any key, while the hosted AI doors read only `model`, `temperature` and `maxTokens` there (and, on `/chat`, `tools` for a caller who holds the build permission) and silently dropped every other key, as the hosted service's own contract review recorded. The schemas are now closed to those keys: `AiCompleteRequest.options` takes `model`, `temperature` and `maxTokens`; `AiChatRequest.options` takes those three and `tools`. Any other key, such as `stop` or `toolChoice`, is refused by the schema and is a type error in the request types, instead of being accepted and ignored. + + The keys that are refused now never had an effect at the hosted doors, so a request that sent one behaves the same once the key is deleted. The first-party console sends no nested `options`, and the client SDK passes the request through unchanged. A flat top-level `model`, `temperature` or `maxTokens` on a chat request still wins over its nested twin. + + +- 301a378: fix(metadata): a book group's `pages` is read as doc references, so a doc's "Used by" lists the book and a namespace copy renames the book's doc pins + + Clause-②: no + Metadata-protocol: none + + `BookGroupSchema.pages` lists doc names, but the reference index derives its sites from property names and `pages` spells the plural of the `page` type, so it filed `book.pages` under target `page`. A doc's references answer (`GET /api/v1/meta/doc/:name/references`) missed every book that pins it, and a package copy under a new namespace left the copied book pointing at the source's docs. + + The spec now declares the binding at the producer, `.meta({ xReference: 'doc' })` on a group's `pages`, and the derivation in `@objectstack/metadata-protocol` reads that marker in place of the naming rule. A translation's `pages` keys still name pages; since `pages` now names two types, the namespace copy resolves it by the copied item's own type. What a book accepts is unchanged. +- f32b7d6: fix(cli): `os migrate meta --from 18` says which 18.x release its own-field-row answer describes, and what differs for a source last run on an earlier 18.x + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer running `os migrate meta --from 18` (with or without `--write`) to move a project to protocol 19. The `--stored` review's rows are unchanged; the step-19 entry's note covers a deployment last run on an earlier 18.x. + + - **The own-field-row list names its releases.** The list of own field rows beside Modify All that protocol 19 narrows printed a "protocol 18" answer that is the one 18.3.0 to 18.6.0 give. Its header and each row's protocol-18 line now say so. + - **The View All and Modify All manual change carries a note for an earlier 18.x.** `--from` names a major, so the tool cannot tell which 18.x a source last ran on. The note, printed in every run that crosses into 19 whether the list is empty or not, says what differs: + - from 18.3.0 to 18.5.0 View All also read a field over the set's own `readable: false` row, so beside View All without Modify All that row now hides its field and is not listed: delete it where the set's holders should still read the field; + - before 18.3.0 neither bit cast a field vote, so a listed row already answered as it does on 19. +- 5c00c57: docs(skills, spec, mcp): the UI skill shows a `BulkActionResult` entry and what a "stepped" form is, and the remaining AI tool name statements spell the qualified name + + Clause-②: no + Metadata-protocol: none + + - `skills/objectstack-ui/rules/actions.md`: the selection bullet now shows the value an `execution: 'aggregate'` body resolves with, as `BulkActionResultSchema` declares it: `{ succeeded: [ids], failed: [{ id, message }] }`, both lists, the reason under `message` and not `error`. The bullet named the type without an entry, and answers written from it put the reason under `error` or pushed objects into `succeeded`, neither of which parses. + - `skills/objectstack-ui/rules/list-views.md`: Forms now says a "stepped" form is the object's field groups in order (on a `form` item, `type: 'wizard'`), before any `kind: 'react'` wizard page. + - `skills/objectstack-ai/SKILL.md`: an AI-exposed action's tool is spelled `action___` (`action_` for a top-level action) in the Skills example and under "Actions as AI Tools". Eval case 1 of `skills-tools-knowledge` says the action is bound to `support_case` and requires `action_support_case__crm_escalate_case`. + - `@objectstack/spec`: the `stack.tools` description and its TSDoc spell the same two names in place of `action_`. Text only: no schema shape changes. + - `@objectstack/mcp`: the README's skill-prompt paragraph spells the same names. + + The older `action_` spelling of an object-bound action still resolves, to every action of that name whatever its object; nothing an author wrote before is refused. +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- bb2c500: fix(knowledge): on a deployment with no knowledge service, duplicating a package that holds a knowledge source copies the source unserved + + Clause-②: yes (widening) + Metadata-protocol: none + + Who sees it: an administrator of a self-hosted deployment that runs no knowledge service (its stack neither declares `requires: ['knowledge']` nor ships a `knowledgeSources` entry, and its host mounts no `KnowledgeServicePlugin`), duplicating a package that holds a knowledge source, for example an app installed from the marketplace. + + - **Before**: `POST /packages/:id/duplicate` answered `503 SERVICE_UNAVAILABLE` for the whole package, naming the source and telling the caller to add `requires: ['knowledge']` to the stack and restart. Nothing was copied. + - **Now**: the package is duplicated. The copy carries the knowledge source, and nothing loads, builds, embeds or searches it, as nothing does for the source it was copied from. Once an operator mounts the knowledge service and it is enabled, both are served. The boot's log names the sources that are not served, with the fix; the duplicate's answer has no new field. + - **Still asked**: the caller needs `manage_knowledge_sources` beside `manage_metadata`. The knowledge service's own verdict on a source is not asked on such a deployment, because no service is there to give it: whether the caller may themselves search what the source indexes, whether its `adapter` names a mounted store, and whether its `source.retrieval.mode` is one the store runs. The copy lists the fields the package's source lists, and every search asks the searcher's own gates. + - **Unchanged**: an author's save of a knowledge source there (`PUT /meta/knowledge_source/:name`, the MCP draft save, and `POST /packages/:id/move-in` of a package-less source) is still refused `503` with the same remedy. A knowledge service that is registered and serves no instance for the request's environment, or cannot be resolved, still refuses the duplicate. Where a knowledge service answers, each source a duplicate copies is still admitted for the caller. + + `authoredKnowledgeSourceRefusal` (`@objectstack/metadata-core`) answers `undefined` for `door: 'duplicate'` when `resolveKnowledgeService` answers nothing; its signature and its doors (`save`, `duplicate`) are unchanged. A host whose own dispatcher deps carry no `classifyServiceOrLoud` cannot tell "no knowledge service" from "registered, with no instance for this environment", so there a duplicate is copied in both cases; the platform's dispatcher tells them apart and still refuses the second. The upgrade-guide entry `knowledge-source-save-refused-without-knowledge-service` no longer lists the package duplicate in its surface. Decided in ADR-0161 K8, the dated note of 2026-12-03. +- 5c2a41a: fix(spec): `os migrate meta --stored --apply` rewrites a stored list view's `bulkActions` when the object's declared `actionLayout.selection` already draws its order + + Clause-②: no + Metadata-protocol: none + + The protocol-19 conversion `view-bulk-actions-to-action-selection` left every list of an object as stored, with a TODO, whenever the object already declared `actionLayout.selection`, without comparing it. The source half (`os migrate meta --from 18 --write`) writes exactly that arm when a list's order is not the default one, merged from every list of the object, so after the source edits a Studio-saved list view row stayed unconverted, `--stored --apply` exited 1, and its TODO prescribed the edit that was already made. + + The conversion now reads the declared arm against the list's order the way it already reads each list against the merged order of several lists: the arm agrees when it names every action the list names and its order (`pinned`, then `more`) restricted to those names is the list's. Which of them are buttons is the arm's own split, as declared, never recomputed from one list, since the merge already lets a list's names land in `more`; so an arm the source half merged from several lists agrees with each of their rows replayed alone. When it agrees, the list moves and the arm is left as declared; the named actions still gain `'selection'` where they lack it. Any other arm (another order, an action of the list not named, not an arm) is the author's arrangement: it is never overwritten, the row stays as stored, and the TODO now names the declared arm beside an arm that would keep the list's order. The workaround (re-save the view without `bulkActions`) still works. +- 526d87e: feat(app-shell): Studio's public-form editor shows what a visitor gets: a field the public address never serves is flagged, the preview has the live buttons, a Chinese title derives the address + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator building a public form in Studio (Studio → an object → Forms). + + - **A field the public address never serves is no longer a surprise.** A public form's address drops every `lookup`, `master_detail` and `user` field, and the server-managed columns, from what it serves, so a visitor never sees them. On a form with a public address the editor no longer offers such a field in Add field, flags one already on the form as "Not on the public form", and leaves it out of the preview. A field the object requires but the address never serves is no longer demanded on a public form (so such a form still saves); the editor says instead that a rule, hook or default must set it, or every submission is refused. The served form is unchanged: dropping the field stays right, the author is now told. + - **One rule for both.** `@objectstack/spec/security` exports `isPublicFormServedField(name, def)` and `PUBLIC_FORM_NEVER_SERVED_FIELD_TYPES` beside `PUBLIC_FORM_SERVER_MANAGED_FIELDS`. `GET /api/v1/forms/:slug` strips by it (same fields as before), and the editor reads it. + - **The preview's buttons are the live page's.** It showed Cancel and Create; on a public form it now shows only the submit button, named as the visitor reads it (the form's own label, else Submit); a form an action opens keeps Cancel, as its in-app page draws it. + - **The address derives from a Chinese title.** A new form's address follows its title through pinyin, as Studio's other create doors derive names (维修中心 → `weixiu-zhongxin`); an address the author typed is kept. + - **A blank after-submit message says what a visitor sees.** The two fields show the default thank-you texts the live page falls back to, with a line saying a visitor sees them after submitting. +- 5f55f96: fix(spec,approvals): approval and permission-set help say what the form does, in plain words; the approval index objects ship translation bundles + + Clause-②: no + Metadata-protocol: none + + - The permission-set form's API-name help no longer says a Chinese label fills nothing: the create form keeps Latin letters and digits and spells Chinese in pinyin, and only a label with neither (Japanese kana, for example) leaves the name to be typed. + - The approval step's Value and Organization help explain what an expression can read (the record now, the record as submitted, flow variables and earlier results) and what the top and parent organization choices mean, with `current.*`, `trigger.*`, `vars.*`, `$root` and `$parent` kept only as examples. + - `sys_approval_approver` and `sys_approval_token` are now in the approvals plugin's translation extract, so their labels have a bundle entry in every locale instead of none. +- 3e83ef2: fix(spec): the app inspector's Label, Description and Active rows show help in the author's language + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone editing an app in Studio under a non-English locale. + + - **The three rows carry their own help text.** Before, they had none, so the form showed the schema's English description ("App display label", "App description", "Whether the app is enabled") even when the rest of the form was translated. + - **Every bundled locale translates it.** zh-CN, zh-Hant, ja-JP, ko, es-ES, fr, de, pt-BR, ru and ar each ship their own wording of the new help text in the platform metadata-form packs. + - Nothing an app author writes changes; the `app` schema is untouched. +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. +- ec3df88: fix(approvals): a queue or position approver's members are shown with the queue or position they stand for + + Clause-②: yes + Metadata-protocol: none + + Who sees it: anyone reading a record's approvals panel while its step waits on a `queue` or `position` approver. + + - **Before**: the step opens one slot per member of the queue or position, and the panel named each person with nothing saying which queue or position they came from. Five names read as five separate approvers. + - **Now**: each person's chip says where they came from, `Zhang Wei · Billing Desk`. A queue's label is the one the server resolved for the queue the step addressed in its own flow's package; a position's is its declared item's label; else the machine name made readable. + + The approvals read (`GET /approvals/requests` and `GET /approvals/requests/:id`) serves a new optional field on each request, `pending_approver_origins`: each still-pending slot that a `queue` or `position` approver expanded to, mapped to the approver reference(s) it came from (`{ "u7": ["queue:billing_desk"] }`). It is declared on `ApprovalRequestRow` (`@objectstack/spec/contracts`). The answer is the membership when the step opened, recorded as the request opens; it is never re-read. A person named outright, a literal `position:NAME` slot (an unstaffed position, which already names itself), and a request opened before this release carry no entry. + + Beside it the same reads serve a second new optional field, `pending_approver_origin_labels`: each `queue:NAME` origin mapped to the label of the queue the step resolved, at the step's flow package and directory organization (`{ "queue:billing_desk": "Billing Desk" }`), also declared on `ApprovalRequestRow` and recorded when the step opened. Two packages may each ship a queue of the same name; this label is the one the step actually used. A reference with no entry (no queue resolver, a failed read) reads as its name. + + Where the console must label a queue by its bare name itself and the registry lists that name more than once, it shows the name made readable rather than either package's label. + + A legacy stored `queue:NAME` slot, which no current release writes, now reads as the queue's label instead of a truncated raw reference; the reference stays on hover. +- 14de0ff: feat(rest, plugin-email): preview an email template through the real send-time renderer, the pending draft when one exists + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator who previews an email template, and anyone reviewing a template the AI assistant or an MCP client left as a pending draft. + + - **New door `POST /api/v1/email/render`.** It renders a saved email template by name against sample values the caller types, through the same locale ladder, required-variable check and renderer a send uses. Nothing is delivered, nothing is queued, no mail-log (`sys_email`) row is written and no business record is read. It requires the mail capability (`manage_platform_settings`), as the send door does. The body is a closed set: `template` (required), `data`, `locale`, `timezone`, `currency`, `package`, `previewDrafts`; any other key, an inline subject or body included, is refused `400`. + - **The pending draft.** With `previewDrafts: true`, a caller the draft-read admission admits (the system, or a holder of `studio.access`, `setup.access` or `manage_metadata`) gets each language member's pending draft where one exists, and a template that exists only as a draft renders. A caller it does not admit gets the published rendering, never a refusal. + - **The answer says what it rendered:** `version` (`draft` or `published`), `locale`, and for a draft its `publishVerdict`, what a publish of that draft would refuse. The send's own refusals keep their sentence: a missing required variable answers `400` with `details.refusal: 'MISSING_VARIABLES'`, an unknown template `404`. + - **Contract (`@objectstack/spec`, additive):** `RenderTemplateInput.previewDrafts?`, `RenderTemplateResult.resolved?` and the new `RenderedTemplateVersion` type. `SendTemplateInput` is unchanged, and `sendTemplate` never reads a draft, even when its input object carries the key. + - **`@objectstack/plugin-email`:** `renderTemplate` sets `resolved` on every render; `TemplateLoadOptions.previewDrafts?` and `EmailTemplateRow.draft?` carry the draft read through the registry loader. A replacement `TemplateLoader` that ignores the option renders the published row, labelled published. +- 6e07cd8: docs(spec): the picklist docblocks state how values are added to another package's shared list — `picklistExtensions` in code, or a stored `picklist_extension` item whose values end in `__c` + + Clause-②: no + Metadata-protocol: none + + Who sees it: a developer or an agent reading the `picklist` reference page, or the spec source, to learn who may add values to a shared option list. Two comments are rewritten; no schema, type, default or runtime behaviour changes. + + - The module docblock of `data/picklist.zod.ts` (the lead of the `picklist` reference page) and the note above the `picklist` row in `kernel/metadata-plugin.zod.ts` said that a deployment appending values was "a later phase with its own admission", not declared. They now state the rule ADR-0146 D2 / D10 carry as amended 2026-12-04: a shared list is extended, never replaced; a writable package (the base's paired `.custom`, or any writable package whose dependency closure holds the list) adds values through a stored `picklist_extension` item, one per package per list, stored under the list's name, its body `PicklistExtensionSchema` unchanged; and every value such an item adds ends in `__c`, while the option's label stays free text. + - Unchanged: a code package still adds values through `picklistExtensions`; the `picklist` type still takes no runtime create and no overlay; no organization appends values. + - The `picklist_extension` type, its doors and its export are a separate change. This one describes the rule and adds nothing you can call. +- fcdb79d: docs(spec): the `list-view-export-on-by-default` upgrade note now covers page object grids + + Clause-②: no + Metadata-protocol: none + + The upgrade-guide entry `list-view-export-on-by-default` used to say that an `object-grid` page component still offers export only when it declares `exportOptions`. That stopped being true in this same release. The entry now says that an `object-grid` page component that names an object reads an absent `exportOptions` the same way a list view does: it offers `csv` and `json` by default, and `xlsx` only where it lists it in `formats`. Declare `exportOptions: { formats: [] }` on it to turn its export off. A grid that names no object offers export only when it declares the block. The entry's headline and its check step now name the grid too: an `object-grid` page component that names an object has the same two off switches as a list view (`exportOptions: { formats: [] }` on it, or the object's `userActions.exportCsv: false`), and the same `allowExport` check per permission set. Only the text changed: no behaviour changes and no new upgrade entry is added. +- 69dd4b0: fix(spec): the `places` bound of `source.affinity` is stated as one entry's + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author writing a `boost` entry of a knowledge source's `source.affinity`. The jsdoc of `KNOWLEDGE_AFFINITY_MAX_PLACES` and the refusal of `places` above 20 said a match "never becomes matches first" and passes "one whole answer's worth of hits". That is true of one entry only: entries add, so a hit that matches two `boost` entries (two on one field included) passes their summed places. The jsdoc and the refusal now say the bound is one entry's and that it equals the largest `topK` of `search_knowledge`. No accepted value changes. + + `@objectstack/service-knowledge` adds test pins that the places bound equals `SEARCH_KNOWLEDGE_MAX_TOP_K`, that an affinity entry and a scope term read a stored value alike, and that the `user` fact agrees with `resolveCallerIdentity`; `NO_AFFINITY_FACTS`' jsdoc no longer names a failed resolve, which keeps the `user` fact. +- 69dd4b0: docs(spec): `documentBy` TSDoc names where a code-registered or packaged source is judged + + Clause-②: no + Metadata-protocol: none + + The TSDoc of `source.documentBy` said a source registered in code or installed with a package "does not judge it yet" by the parent-link rule. For a packaged source that is no longer true: `os validate` and the publish gate judge it (`knowledge-source-document-by-not-parent-link`), and the sentence now says so. A source registered in code is in no stack collection, so neither judges it, and the sentence says that too. TSDoc only: no schema, `.describe()` or generated output change. + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/spec/package.json b/packages/spec/package.json index 39b04671f4a..c3a9caf81ae 100644 --- a/packages/spec/package.json +++ b/packages/spec/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/spec", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations", "license": "Apache-2.0", "type": "commonjs", diff --git a/packages/triggers/trigger-api/CHANGELOG.md b/packages/triggers/trigger-api/CHANGELOG.md index 17fa1d3e209..e7c8cdd1d92 100644 --- a/packages/triggers/trigger-api/CHANGELOG.md +++ b/packages/triggers/trigger-api/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/trigger-api +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/triggers/trigger-api/package.json b/packages/triggers/trigger-api/package.json index 86b5a57205c..15c7e854d04 100644 --- a/packages/triggers/trigger-api/package.json +++ b/packages/triggers/trigger-api/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/trigger-api", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Inbound HTTP/webhook flow trigger for ObjectStack — per-flow HMAC-verified endpoints with queue-backed ingestion (ADR-0041)", "type": "commonjs", diff --git a/packages/triggers/trigger-record-change/CHANGELOG.md b/packages/triggers/trigger-record-change/CHANGELOG.md index dfe33ac8a9d..a488e34d011 100644 --- a/packages/triggers/trigger-record-change/CHANGELOG.md +++ b/packages/triggers/trigger-record-change/CHANGELOG.md @@ -1,5 +1,45 @@ # @objectstack/plugin-trigger-record-change +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/triggers/trigger-record-change/package.json b/packages/triggers/trigger-record-change/package.json index 3efc9b93786..424e66c842a 100644 --- a/packages/triggers/trigger-record-change/package.json +++ b/packages/triggers/trigger-record-change/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/trigger-record-change", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Record-change flow trigger for ObjectStack — auto-launches flows on object insert/update/delete via ObjectQL lifecycle hooks (ADR-0018)", "type": "commonjs", diff --git a/packages/triggers/trigger-schedule/CHANGELOG.md b/packages/triggers/trigger-schedule/CHANGELOG.md index 4331721d4b1..16e9234daed 100644 --- a/packages/triggers/trigger-schedule/CHANGELOG.md +++ b/packages/triggers/trigger-schedule/CHANGELOG.md @@ -1,5 +1,47 @@ # @objectstack/plugin-trigger-schedule +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [011532e] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [3adf532] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/metadata-core@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/triggers/trigger-schedule/package.json b/packages/triggers/trigger-schedule/package.json index cd81223ea1d..3aa3f2e1cea 100644 --- a/packages/triggers/trigger-schedule/package.json +++ b/packages/triggers/trigger-schedule/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/trigger-schedule", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Schedule flow trigger for ObjectStack \u2014 auto-launches flows on a cron/interval/once schedule via the IJobService (ADR-0018)", "type": "commonjs", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 19d4cdf1509..fa7ddbff15d 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,42 @@ # @objectstack/types +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 30548fff6a4..05668a87705 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/types", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Shared interfaces describing the ObjectStack Runtime environment", "type": "commonjs", diff --git a/packages/verify/CHANGELOG.md b/packages/verify/CHANGELOG.md index dfe5cb6a251..fa715dd27ce 100644 --- a/packages/verify/CHANGELOG.md +++ b/packages/verify/CHANGELOG.md @@ -1,5 +1,116 @@ # @objectstack/verify +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [49b2dd8] +- Updated dependencies [af457fe] +- Updated dependencies [959b20f] +- Updated dependencies [c966840] +- Updated dependencies [ce01a26] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [05c3f32] +- Updated dependencies [e43597b] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [91f131b] +- Updated dependencies [79697ea] +- Updated dependencies [bb2c500] +- Updated dependencies [1324973] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [a92f1ed] +- Updated dependencies [b5911b2] +- Updated dependencies [a53022e] +- Updated dependencies [061948f] +- Updated dependencies [526d87e] +- Updated dependencies [ea18263] +- Updated dependencies [8f241d4] +- Updated dependencies [d362eaa] +- Updated dependencies [8b1560b] +- Updated dependencies [8feef82] +- Updated dependencies [e6f8428] +- Updated dependencies [c0c6154] +- Updated dependencies [4eef1f5] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [fb9b1a5] +- Updated dependencies [deeb51e] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [89b6da3] +- Updated dependencies [0b5a370] +- Updated dependencies [953ccfd] +- Updated dependencies [011532e] +- Updated dependencies [51395e7] +- Updated dependencies [01edf99] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [4b5311b] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [259cc46] +- Updated dependencies [0bfa522] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [6b551a0] +- Updated dependencies [3adf532] +- Updated dependencies [bf95e78] +- Updated dependencies [791e151] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] +- Updated dependencies [29588f4] + - @objectstack/platform-objects@19.0.0-next.5 + - @objectstack/spec@19.0.0-next.5 + - @objectstack/runtime@19.0.0-next.5 + - @objectstack/plugin-sharing@19.0.0-next.5 + - @objectstack/service-knowledge@19.0.0-next.5 + - @objectstack/plugin-approvals@19.0.0-next.5 + - @objectstack/rest@19.0.0-next.5 + - @objectstack/plugin-audit@19.0.0-next.5 + - @objectstack/mcp@19.0.0-next.5 + - @objectstack/core@19.0.0-next.5 + - @objectstack/plugin-auth@19.0.0-next.5 + - @objectstack/service-automation@19.0.0-next.5 + - @objectstack/service-storage@19.0.0-next.5 + - @objectstack/plugin-security@19.0.0-next.5 + - @objectstack/service-datasource@19.0.0-next.5 + - @objectstack/plugin-email@19.0.0-next.5 + - @objectstack/service-messaging@19.0.0-next.5 + - @objectstack/plugin-webhooks@19.0.0-next.5 + - @objectstack/service-settings@19.0.0-next.5 + - @objectstack/plugin-hono-server@19.0.0-next.5 + - @objectstack/objectql@19.0.0-next.5 + - @objectstack/service-record-context@19.0.0-next.5 + - @objectstack/metadata@19.0.0-next.5 + - @objectstack/plugin-pinyin-search@19.0.0-next.5 + - @objectstack/service-job@19.0.0-next.5 + - @objectstack/service-mailbox@19.0.0-next.5 + - @objectstack/service-queue@19.0.0-next.5 + - @objectstack/service-realtime@19.0.0-next.5 + - @objectstack/knowledge-pgvector@19.0.0-next.5 + - @objectstack/service-analytics@19.0.0-next.5 + - @objectstack/service-cache@19.0.0-next.5 + - @objectstack/service-package@19.0.0-next.5 + - @objectstack/service-push@19.0.0-next.5 + - @objectstack/service-sms@19.0.0-next.5 + - @objectstack/trigger-api@19.0.0-next.5 + - @objectstack/trigger-record-change@19.0.0-next.5 + - @objectstack/trigger-schedule@19.0.0-next.5 + - @objectstack/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/packages/verify/package.json b/packages/verify/package.json index 910995bdcda..5e74d9a9d02 100644 --- a/packages/verify/package.json +++ b/packages/verify/package.json @@ -1,6 +1,6 @@ { "name": "@objectstack/verify", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "license": "Apache-2.0", "description": "Boot any ObjectStack app in-process and verify it through the real HTTP stack — auto-derived CRUD round-trip fidelity plus the cross-owner RLS invariant. Catches runtime regressions that static checks miss.", "type": "module", diff --git a/skills/objectstack-ai/SKILL.md b/skills/objectstack-ai/SKILL.md index 555ee217ece..dc411645db2 100644 --- a/skills/objectstack-ai/SKILL.md +++ b/skills/objectstack-ai/SKILL.md @@ -13,7 +13,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: ai tags: agent, tool, skill, knowledge, context-pack, llm, embedding, mcp --- diff --git a/skills/objectstack-api/SKILL.md b/skills/objectstack-api/SKILL.md index 1613818ba47..bbc2629b05d 100644 --- a/skills/objectstack-api/SKILL.md +++ b/skills/objectstack-api/SKILL.md @@ -14,7 +14,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: api tags: rest, endpoint, auth, realtime, server --- diff --git a/skills/objectstack-ask/SKILL.md b/skills/objectstack-ask/SKILL.md index 33fee653cd2..061a33d0b6d 100644 --- a/skills/objectstack-ask/SKILL.md +++ b/skills/objectstack-ask/SKILL.md @@ -17,7 +17,7 @@ license: Apache-2.0 compatibility: Requires an environment served by @objectstack/mcp 19.x metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: process tags: ask, question, metric, dataset, mcp, list_datasets, query_dataset, 问数, 指标 --- diff --git a/skills/objectstack-automation/SKILL.md b/skills/objectstack-automation/SKILL.md index fd21d62cfca..932fffc7f17 100644 --- a/skills/objectstack-automation/SKILL.md +++ b/skills/objectstack-automation/SKILL.md @@ -11,7 +11,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: automation tags: flow, workflow, trigger, approval, state-machine, scheduled, webhook --- diff --git a/skills/objectstack-data/SKILL.md b/skills/objectstack-data/SKILL.md index e8a15fcf4e6..1f3722af382 100644 --- a/skills/objectstack-data/SKILL.md +++ b/skills/objectstack-data/SKILL.md @@ -11,7 +11,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: data tags: object, field, validation, index, relationship, hook, schema, permission, rls, security, seed, fixture --- diff --git a/skills/objectstack-formula/SKILL.md b/skills/objectstack-formula/SKILL.md index e747d36b256..d7f99ee8bb3 100644 --- a/skills/objectstack-formula/SKILL.md +++ b/skills/objectstack-formula/SKILL.md @@ -11,7 +11,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x and @objectstack/formula 19.x (CEL) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: expression tags: cel, formula, predicate, condition, validation, visibility, seed-dynamic --- diff --git a/skills/objectstack-i18n/SKILL.md b/skills/objectstack-i18n/SKILL.md index f3f16759573..2b19489580a 100644 --- a/skills/objectstack-i18n/SKILL.md +++ b/skills/objectstack-i18n/SKILL.md @@ -11,7 +11,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: i18n tags: i18n, translation, locale, l10n, bundle, coverage --- diff --git a/skills/objectstack-mcp-build/SKILL.md b/skills/objectstack-mcp-build/SKILL.md index 70c843dc0f6..98bc4325e34 100644 --- a/skills/objectstack-mcp-build/SKILL.md +++ b/skills/objectstack-mcp-build/SKILL.md @@ -15,7 +15,7 @@ license: Apache-2.0 compatibility: Requires an environment whose @objectstack/runtime 19.x serves the MCP draft door (none through 18.6.0 does), on a connection granted metadata:write metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: process tags: mcp, build, draft, save_metadata_draft, verdict, studio, no-project, 草稿 --- diff --git a/skills/objectstack-platform/SKILL.md b/skills/objectstack-platform/SKILL.md index f19c0c90005..cf359007792 100644 --- a/skills/objectstack-platform/SKILL.md +++ b/skills/objectstack-platform/SKILL.md @@ -17,7 +17,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x and @objectstack/core 19.x (Zod v4 schemas), Node 22+ metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: platform tags: project, defineStack, driver, hono, plugin, kernel, service, requires, capability, DI, lifecycle, cli, deploy, ops --- diff --git a/skills/objectstack-platform/references/bootstrap.md b/skills/objectstack-platform/references/bootstrap.md index 7024d33ea13..eecf4303e20 100644 --- a/skills/objectstack-platform/references/bootstrap.md +++ b/skills/objectstack-platform/references/bootstrap.md @@ -329,13 +329,13 @@ resuming, re-run the defect's own reproduction on the version you pin. "validate": "objectstack validate" }, "dependencies": { - "@objectstack/spec": "19.0.0-next.4", - "@objectstack/runtime": "19.0.0-next.4", - "@objectstack/driver-memory": "19.0.0-next.4", - "@objectstack/plugin-hono-server": "19.0.0-next.4" + "@objectstack/spec": "19.0.0-next.5", + "@objectstack/runtime": "19.0.0-next.5", + "@objectstack/driver-memory": "19.0.0-next.5", + "@objectstack/plugin-hono-server": "19.0.0-next.5" }, "devDependencies": { - "@objectstack/cli": "19.0.0-next.4", + "@objectstack/cli": "19.0.0-next.5", "typescript": "^5.3.0" } } diff --git a/skills/objectstack-project/SKILL.md b/skills/objectstack-project/SKILL.md index 85fadba14a3..2a5d64133f1 100644 --- a/skills/objectstack-project/SKILL.md +++ b/skills/objectstack-project/SKILL.md @@ -13,7 +13,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/cli 19.x and @objectstack/verify 19.x; the check lists below are that version's. metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: process tags: project, process, testing, verify, release, changeset, upgrade, backfill, platform-gap --- diff --git a/skills/objectstack-query/SKILL.md b/skills/objectstack-query/SKILL.md index 88b36a224bb..919534be01d 100644 --- a/skills/objectstack-query/SKILL.md +++ b/skills/objectstack-query/SKILL.md @@ -12,7 +12,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: query tags: query, filter, sort, paginate, aggregate, ObjectQL, full-text --- diff --git a/skills/objectstack-ui/SKILL.md b/skills/objectstack-ui/SKILL.md index b17e6327375..4b65a807b2e 100644 --- a/skills/objectstack-ui/SKILL.md +++ b/skills/objectstack-ui/SKILL.md @@ -11,7 +11,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x (Zod v4 schemas) metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: ui tags: view, app, page, dashboard, report, chart, action, widget, doc --- diff --git a/skills/objectstack-upgrade/SKILL.md b/skills/objectstack-upgrade/SKILL.md index 68e69bef805..90056c14637 100644 --- a/skills/objectstack-upgrade/SKILL.md +++ b/skills/objectstack-upgrade/SKILL.md @@ -16,7 +16,7 @@ license: Apache-2.0 compatibility: Requires `@objectstack/spec` and `@objectstack/cli` at the TARGET major; the chain replays from the spec's `MIGRATION_SUPPORT_FLOOR`. No network access required. metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: process tags: upgrade, migration, protocol, major, retired-keys, tombstone, conversions, validate, report --- diff --git a/skills/objectui/SKILL.md b/skills/objectui/SKILL.md index bf58c53c367..ff0382484bc 100644 --- a/skills/objectui/SKILL.md +++ b/skills/objectui/SKILL.md @@ -5,7 +5,7 @@ license: Apache-2.0 compatibility: Requires @objectstack/spec 19.x; each @object-ui/* package declares its exact @objectstack/spec range in its own manifest. metadata: author: objectstack-ai - version: "19.0.0-next.4" + version: "19.0.0-next.5" domain: ui tags: sdui, schema-renderer, json-ui, react, shadcn, tailwind, plugin, expression user-invocable: false diff --git a/ui/apps/console/CHANGELOG.md b/ui/apps/console/CHANGELOG.md index 5c9af31d802..dcf2216ccbb 100644 --- a/ui/apps/console/CHANGELOG.md +++ b/ui/apps/console/CHANGELOG.md @@ -1,5 +1,75 @@ # @object-ui/console +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. + +### Patch Changes + +- a92f1ed: fix(plugin-email, service-messaging, console): Send test email refuses in the reader's language, Discard restores a settings select, and the notification template form names its variables + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on Setup → Email (and any settings page with a choice list), and one writing a notification template in Setup → Notification Templates. + + - **Send test email answers in the console's language when it refuses before sending.** A form with no SMTP host, a provider this server cannot deliver with, an API provider with no key, a transport that cannot be built, and the three recipient refusals (nobody signed in, an account with no address, an account that cannot be read) used to answer in English whatever the console's language. They now follow the language the request carries, as the answers after a send already did, in the same eleven languages. With no language they keep their English words. A provider's own error text is still passed through as the provider wrote it. + - **The Subject and Body help on a notification template names the variables.** It used to name only `{{ payload.x }}`. It now names `{{ title }}` and `{{ body }}` (the notification's own title and text), `{{ topic }}`, and `{{ payload. }}` for any other value the topic sends, in every shipped language. No stored template changes and nothing new is refused. + - **Discard puts a settings choice list back with the fields that depend on it.** On Setup → Email, choosing SMTP and pressing Discard hid the SMTP fields while the Provider list still read SMTP. A choice list or radio group whose value goes back to unset now shows nothing chosen again, so the list and the fields below it agree. A saved value is shown as before. +- 91d5e9b: feat(console): Language & Region names the default working calendar's time zone when it differs from the organization's + + Clause-②: no + Metadata-protocol: none + + Who sees it: an organization administrator on Setup → Language & Region. + + - When the organization's default working calendar (`sys_work_calendar` with `is_default`) uses a different time zone from the organization's saved time zone, a note under the Time zone row names the calendar and both zones, and says that business hours and SLA due dates that name no calendar run on the calendar's zone. + - The note is informational only: a calendar may keep its own zone (ADR-0157 D7), so nothing is refused or changed. With matching zones, no default calendar, or a calendar read the viewer may not make, no note is shown. + - New locale key `console.settingsView.calendarZoneDiffers` in every shipped pack. +- 9cd8e52: feat(plugin-grid): an object table that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + An `object-grid` used to draw its Export menu only when it declared `exportOptions`. A grid over an object now reads an absent `exportOptions` the way a list view does: as the empty block, offering the default formats, `csv` and `json`. `xlsx` is offered where the grid lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before, and a grid that names no object still offers export only when it declares the block. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the grid through the object's effective `export` operation: a user whose permission sets do not grant it sees no Export entry, and the server refuses the export request. To keep a table without export, declare `exportOptions: { formats: [] }` on it; to take export off every surface of an object, set the object's `userActions.exportCsv: false`. + + The platform's own screens that compose a grid declare `exportOptions: { formats: [] }` on the grid they build, so none gains an Export entry: the list page's grid (whose list toolbar keeps the one export door), the enlarged related list tab, the Studio metadata lists, the object manager, the field designer and the console's row-action dev page. +- @objectstack/sdui-parser@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/ui/apps/console/package.json b/ui/apps/console/package.json index 975c8abddb4..9d7ee5ce54b 100644 --- a/ui/apps/console/package.json +++ b/ui/apps/console/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/console", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "ObjectStack Console — opinionated, fork-ready runtime console built on @object-ui/app-shell with the full plugin set wired up. Ships as a Hono UI plugin serving a pre-built SPA.", "license": "MIT", "type": "module", diff --git a/ui/packages/app-shell/CHANGELOG.md b/ui/packages/app-shell/CHANGELOG.md index 564074f5c4a..f2baa2a11f0 100644 --- a/ui/packages/app-shell/CHANGELOG.md +++ b/ui/packages/app-shell/CHANGELOG.md @@ -1,5 +1,634 @@ # @object-ui/app-shell — Changelog +## 18.6.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. +- 79d7153: fix(service-datasource): a datasource created in Setup is saved through the kernel save, into a named package, and a create naming none is refused `422 WRITABLE_PACKAGE_REQUIRED` + + Clause-②: yes (narrowing) — narrowed: a Setup datasource create naming no package is refused, and an edit of a datasource whose stored config or pool the schema refuses is refused until it sends the block corrected; widened in the same change: the `@objectstack/spec/kernel` exports `getMetadataTypeCarryForwardRetirement` and `MetadataCarryForwardRetirement` + Metadata-protocol: narrowed + Skills-docs: updated here — content/docs/data-modeling/external-datasources.mdx (a datasource created in Setup is saved into the writable package the request names; skills/** teach no Setup datasource create) + + + + **BREAKING** accept-set narrowing (ADR-0070 D1; ruling record 7408558495). + + - **Before:** `POST /api/v1/datasources` (the Setup "Datasources" create) inserted its row straight into the metadata table, bound to no package, so it was the one create door the kernel's package-less create judgment never saw. + - **Now:** the door's create, edit (`PATCH /api/v1/datasources/{name}`) and credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) are saved through the kernel save, and every judge of that save answers them. A create names its package with `package` in the request body; naming none answers `422 WRITABLE_PACKAGE_REQUIRED` in this door's words, the writable packages on `error.details.writablePackages`, nothing stored and the secret sealed for the request removed again. An empty or non-string `package` answers `400 VALIDATION_ERROR`. An edit and a migration are saved in the package the row is stored in. No new exemption: the reference to the secret the door has just sealed is stated to the save by server code only (never by any HTTP or MCP door), and passes the own-reference rule only when it is the body's reference and no other stored datasource row holds it. A host with no metadata save answers `503 SERVICE_UNAVAILABLE` instead of writing the row itself. + - **Imports land with their datasource.** An object imported from a datasource added in Setup is saved in the package that datasource is stored in; from a package-less one it still lands loose. + - **Console:** the Setup datasource editor shows the refusal in the server's words with one button per writable package, and picking one sends the create again into that package. + - **Not touched:** the door's delete (`DELETE /api/v1/datasources/{name}`) still removes the row directly. + + ## FROM → TO + + | FROM | TO | + |:---|:---| + | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", … }` | `POST /api/v1/datasources` `{ "name": "wh", "driver": "postgres", …, "package": "my_pkg" }` | + | `PATCH /api/v1/datasources/{name}` `{ "active": false }` on a datasource whose stored `config` or `pool` the schema refuses for anything but an inline credential (answered `400 DATASOURCE_ADMIN_ERROR`, naming the key) | `PATCH /api/v1/datasources/{name}` `{ "active": false, "config": { …the stored config without the key the refusal names } }` | + + One-line fix: name the writable package the new datasource belongs to; on the second arm, send the corrected `config` (or `pool`) with the edit. An edit of an existing datasource is saved in place on the body a read serves: the credentials a row stored before inline credentials were refused still holds in `config` are carried forward by the save, so its `label` and `active: false` edits keep saving, and a row whose stored config or pool the schema now refuses for any other reason is refused until the edit sends it corrected. + + - **A bound reference retires the inline credential, on every door.** A datasource save whose body binds `external.credentialsRef` no longer carries the driver's inline credential slot (`config.password`; turso's `config.authToken`) forward from the stored row: the row is written without it, and the save names each dropped position on its answer (`advisories`, rule `withheld-key-dropped`; the admin door's update answer as `droppedWithheldKeys`). With a reference bound the connect path never reads that slot. The credential migration (`POST /api/v1/datasources/{name}/migrate-credential`) therefore leaves the reference and no inline password at rest, after a restart too. Former alias spellings and a URL-embedded password are still carried forward, and the migration still reports them as `remaining`. +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. + +### Patch Changes + +- c9ea363: Clause-②: no + Metadata-protocol: none + + Clearing an entry's translated name in the design mode's menu now keeps that entry's translated search keywords in the language's menu translation. Before, the save deleted the entry's whole translation node, so the keywords written for that language went with the name. A node left with no keywords is still deleted (objectstack#39210). +- 96aa479: fix(console): a reloaded user turn draws the person's words and their attachments, and is sent to the agent again as it was first sent + + Clause-②: no + Metadata-protocol: none + + After a reload, a user turn that carried an attachment drew the text the agent read: the person's words, the model note and one `[Attached file …]` line per file, joined, with no image or file chip. The conversation store now keeps the turn as sent beside that text (cloud#5401, returned as `AiMessageSchema.parts`), and the console draws from it: + + - server history: a user row's `parts` are rebuilt into the turn's words, its marked model note and one `file` part per stored attachment (`storedUserTurnParts`); a part with no stored-file id, an address the bubble may not draw, or any other type is left out. A row without `parts` (stored before) draws its `content` as before; + - the message cache keeps a user turn's files, model note and local attachments, so a cache restore draws the same bubble; + - a restored user turn carries `attachments`, `localAttachments` and the new `modelNote`, and the chat store is seeded from them with the send's own builder (`userTurnPartsOf`), so the bubble draws them and the agent is sent the turn again as it was first sent. +- ac14a74: **Shipped in 19.0.0-next.4**, whose CHANGELOG missed this entry; listed here one prerelease late. + + fix(app-shell): a record discussion's reaction read counts the row budget over the whole thread, as the record page does + + Clause-②: no + Metadata-protocol: none + + On a deployment with a row budget (`OS_DATA_QUERY_ROW_BUDGET`), the record page payload refuses a discussion's reactions when the thread's reaction rows together are past the budget, while the list page's comments and the phone comments page read a thread of more than 100 comments in batches of 100 comment ids and let the budget judge each batch alone. So a thread whose reactions together were past the budget, with no batch past it, showed its reactions on those surfaces and none on the record page. Those surfaces now read the batches as one read: when more than one batch has reactions, the server is asked its own budget rule of the whole read (one extra one-row read), and rows together past the budget show the comments without reactions, as the record page does; reactions that fit are all shown, as before. +- fb4735d: fix(studio): the app preview's Open link and its nav route links open the app under the console's base path + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone previewing an app in Studio. The preview's **Open** link and each navigation row's route link named the bare router path (`/apps//…`), so on a console served under `/_console` the new tab left the console and the server answered `404 ENDPOINT_NOT_FOUND`. Both now go through the router, which puts the console's base path in front (`/_console/apps//`); they still open in a new tab. A navigation row's shown route text is unchanged, and a `url` entry keeps its own address. +- 05e97de: feat(ui-types, plugin-view): a single-choice (radio) field can group a kanban, and a filter or sharing-rule condition on it picks its value from the options + + Clause-②: yes (widening) + Metadata-protocol: added + + Who sees it: a builder adding a kanban view in the console (Add view, then Kanban) on an object whose status-like field was made in Studio as a single-choice field. + + - The view-config field normalizer now puts the spec choice types `radio`, `multiselect` and `checkboxes` in the select category; before, they fell to text. + - The kanban group-by pick offers a single-choice field, and still offers a single user or lookup field and a boolean. It no longer offers a multi-valued field (`multiselect`, `checkboxes`, `tags`, a `multiple` select or reference), which the board cannot draw one lane per value for. + - The default group-by field is the first field that declares its own options, ahead of a user or lookup field listed before it. + - A filter or condition row on a single-choice (`radio`) field now gets the select operators and an option picker, as a `select` field does: the labels are shown and the option value is stored. This is the condition builder in Setup, Sharing rules, which used to draw a free-text box, so an admin typed the label and the rule matched no record. `FILTER_SELECT_LIKE_TYPES` and `FILTER_FIELD_TYPES` in `@object-ui/types` now include `radio`, so `FilterFieldType` and `FilterFieldSchema.type` accept it. `multiselect` and `checkboxes` stay out of that bucket: the server refuses equality and list membership on their stored arrays, and they keep their `contains` operators over their options. +- 531d132: fix(studio): the field layout canvas draws radio and checkbox-list fields as the form does, a group title selects its whole name when entered, and the group panel names the group by its label in one header + + Clause-②: no + Metadata-protocol: none + + - Studio → object → Field layout, Layout mode: a `radio` field's card lists its choices with a round mark each, and a `checkboxes` field's card with a square mark, as the record form and the Preview tab draw them. Before, a radio field was drawn as a dropdown and a checkbox list as an empty text box. + - Clicking (or tabbing into) a group's title selects the whole name, so typing replaces it instead of inserting into it. + - The group panel's related-table picker reads "Place a related table here" (在此放置关联表) and its empty choice "None (this group holds fields)" (无(本分组放字段)); the label no longer ends in the spec key `(relatedList)`. + - The group panel draws one header that names the group by its label (分组属性 · the label). Before, it showed the group's machine key (`group` for a label with no ASCII letters, such as 新分组) and a second header under it with its own close button. + - The object canvas on the metadata admin's object edit page draws `radio` and `checkboxes` fields as the same choice lists, where it drew a dropdown and a chip box. +- c14f27d: fix(console): the add-view card says why a view type is greyed out, and the app preview names nav kinds in the designer language + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone adding a view from a list's view switcher (添加视图 → 视图类型). Gallery, map and chart were disabled in the type list with no hint about what the object lacks. Each greyed type now carries the sentence the create-view dialog's type card already gives (the missing image field, latitude field, or dataset), and a blocked type the card opens on gives it under the select. + + Studio's app preview names each navigation entry's kind in the designer's language (对象, 仪表盘, 链接, 分组 …) in its read-only list and on the design canvas, instead of the raw type key (`object`). +- 91954d3: feat(console): design mode saves referenced items before the menu, lists each item's save result, and refuses header buttons that cannot be saved when they are selected + + Clause-②: no + Metadata-protocol: none + + The design mode's staging area now decides what 「Save」 sends, in what order, and says what happened to each item: + + - a staged change may name the other items it points at (`references`): those commit first. The app menu names every dashboard, report, page, object list and view its entries open, so a menu is never published pointing at an item that failed to save. When a commit fails, the items saved before it stay saved, and it and everything after it stay staged and are not sent (no server transaction spans them); + - after a save that stopped, the bar opens a list of every item the save held: saved, not saved with the reason, or not sent (and the item it waited on). The list stays until the next save, 「Cancel」 or 「Dismiss」; + - 「Header buttons」 asks, before it offers its panel, whether a change to the object's header buttons could be saved: a draft already pending in App Studio, a walled customization door, an unlisted package or a read-only customization package open the control on the reason instead, and nothing can be staged. The save's own checks stay; + - while something is staged, the bar says that a reload drops it: staged changes are not kept across a reload. +- 31a291a: feat(console): dashboards are designed in place inside design mode, with the bar as the only Save/Cancel + + Clause-②: no + Metadata-protocol: none + + A dashboard no longer has an edit state of its own beside the design mode; it is designed inside it: + + - while the mode is on, the dashboard on screen is drawn editable in place (its cards dashed, draggable and resizable, Studio's dashboard panel at the right), beside the menu's editor. Its header offers 「Add card」 and nothing that saves or discards: the bar's 「Save」 publishes it and its 「Cancel」 drops it and returns the page read-only; + - the edited dashboard is staged with the mode under its item key, so moving to another page and back keeps the edits, one 「Save」 publishes every dashboard edited, and the app menu's entries that open a dashboard commit after it; + - a dashboard that cannot be saved (a draft already pending in App Studio, a walled customization door, no installed version to customize, no package to save into) is drawn read-only with the reason when it is selected, and nothing can be staged for it; + - outside the mode, the dashboard header's 「Edit」 enters the mode with that dashboard selected, and so does the landing of a dashboard just created from the mode's 「New dashboard…」 or opened from a Studio list. The Edit is offered where the mode can be on (not on a phone); + - the mode's entry can name an item to select (`{ select: { type, name } }`), taken by the page that draws that item; the menu's 「Add menu item」 opening is taken by the menu only; + - the save's result list calls a dashboard 「Dashboard: NAME」 in every language pack. + + A report's own editor still saves on its own and still holds the mode out. +- dee265e: fix(console): design mode no longer saves over another admin's change; each item is refused when someone else published it after you opened it + + Clause-②: no + Metadata-protocol: none + + When two administrators change the same item in design mode, the second 「Save」 used to publish over the first without a word. Each item's commit now publishes pinned to the published version read when the item was opened for the mode: a dashboard, a report, a list's shared view, and an object's layout (header buttons, record tabs, field groups and highlight fields, in the object's own package or in its customization package for an installed app). When someone else published the item since, the save of that item is refused and nothing is written over their change. The draft the save wrote is taken back, the item is listed as not saved with the reason "Changed by someone else since you opened it, so your changes were not saved over theirs. They are still staged.", and its edits stay staged. Items saved before it stay saved, as with any other refused item. The app menu keeps its own rule: its edits are replayed over the menu as stored when you save, and its publish is pinned to that read. + + `@object-ui/i18n` adds one key in every language: `designMode.results.changedElsewhere`. +- 6aa7b9f: feat(console): reports are designed in place inside design mode, gated like dashboards + + Clause-②: no + Metadata-protocol: none + + A report no longer has an edit state of its own beside the design mode; it is designed inside it, as a dashboard is: + + - while the mode is on, the report on screen is drawn in its editor: the report builder for a report it can hold, the report panel beside the report for a joined or pre-dataset one. Neither has a 「Save」, 「Discard」 or close button of its own: the bar's 「Save」 publishes the report and its 「Cancel」 drops the edit and returns the page read-only; + - the edited report is staged with the mode under its item key, so moving to another page and back keeps the edit, one 「Save」 publishes every report and dashboard edited, and the app menu's entries that open the report commit after it; + - a report that cannot be saved (a draft already pending where the save would land, a walled customization door, no installed version to customize, no package to save into, nothing authored to read) is drawn read-only with the reason when it is selected, and nothing can be staged for it; + - outside the mode, the report header's 「Edit」 enters the mode with that report selected, and so does a report opened from a Studio list; the 「×」 back to that list stays on the page and in the builder; + - who may design a report is now who may design a dashboard: a workspace admin holding metadata authoring (`manage_metadata`). The report's 「Edit」, the reports index's 「New report」 and the new-report page follow it; an admin without metadata authoring gets none of them; + - a new report is still made from the reports index, with the builder's own Save and Close, outside the mode; + - the save's result list calls a report 「Report: NAME」 in every language pack. + + `ReportBuilder` (`@object-ui/plugin-report`) takes `onSave`, `onDiscard` and `onClose` as optional: a host that saves the report elsewhere hands none, and the header draws none of the three. +- c0024a0: feat(console): a Studio list click on a dashboard opens its app in design mode with that dashboard selected, and the design bar's × goes back to the list + + Clause-②: no + Metadata-protocol: none + + Opening a dashboard from an App Studio list no longer swaps into a separate edit state of the dashboard: + + - the click opens the dashboard's app (the same app as before) in design mode with that dashboard selected and editable in place; the bar's 「Save」 and 「Cancel」 are its only Save/Cancel. The click carries the selection by item type and name, and the page that draws the item takes it, so another designable kind joins by its page taking the selection; + - the design bar draws a × after 「Save」 that goes back to the App Studio list the click came from, wherever in the app the mode has moved since. While anything is staged it asks first; staying keeps every staged change, going drops them and returns to the list. The 「New dashboard」 entry from a Studio list draws the same ×; + - while the bar draws its ×, the page header's own × back to App Studio is not drawn; once the mode is off (after 「Save」, 「Cancel」 or a reload) the page's × is back and still returns to the list, because the page address keeps it (`?studio=`); + - a dashboard with no published version still opens App Studio's own item page, and a report still opens in its builder; + - the app route `design/dashboard/NAME`, which nothing in the console linked to, is removed; a dashboard is designed in place in design mode. +- bc67b32: feat(console): design mode edits a record page's field groups and highlight fields in place, and saves an object's header buttons, tabs and field layout as one publish + + Clause-②: no + Metadata-protocol: none + + On a default or slotted record page, the design mode now covers the object's whole page layout, and one 「Save」 writes it once per object: + + - a 「Field layout」 control at the end of the record page's tab row opens the object's field groups and highlight fields beside the record, in App Studio's own editors. The record previews each change at once; the panel has no save of its own, the bar's 「Save」 and 「Cancel」 are the only ones. It replaces the tab editor's 「Adjust field groups」 link to App Studio. Before anything can be staged the object is asked whether a change could be saved (a draft pending in App Studio, a walled customization door, an unlisted package or a read-only customization package lock the editors and say why); + - an object's header buttons, record tabs, field groups and highlight fields stage as one change, and 「Save」 publishes the object once: one read of the object, one draft, one publish. Before, header buttons and tabs saved as two separate drafts and publishes of the same object; + - an installed object is still written into the app's customization package as an object extension (header buttons, tabs and field groups); its highlight fields are set by its package, so they are shown read-only with the reason; + - a fully authored (`kind: 'full'`) record page shows none of these controls. +- d7ac4ab: A shared list view's structure is now changed through the design mode; outside it, a shared view offers only 「Reset」 and 「Save as my view」 (objectstack#39377). + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on a list page whose open view is a shared (saved) view. + + - **Before:** the list's 「Update view」 → 「Save to this view」 asked for confirmation and saved and published the shared view at once, and the view settings panel saved it with its own Save. + - **Now, outside the design mode:** the list's draft offers 「Reset」 and 「Save as my view」 only, and the view settings open read-only with a line saying the view is changed in the design mode. Nothing is written to the shared view. + - **Now, inside the design mode:** 「Update view」 → 「Apply to this view」 stages the list (columns, their order, grouping, the default filter and sort) for the bar's 「Save」, and each edit in the view settings is staged the same way. The bar's 「Save」 saves and publishes the view; 「Cancel」 drops it unwritten. A view whose package is read-only, or that has unpublished changes in App Studio, is refused when it is selected, and the view settings say why. + - An ad-hoc filter or sort, column widths and the row height stay the reader's own and never light the bar's 「Save」. The reader's own views save at once, as before. Creating, deleting, renaming, pinning and sharing a view are unchanged. +- 4868231: feat(app-shell): a custom page selected in design mode offers "Design this page in Studio" + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator who may author metadata, in an app's design mode, on a custom app page. + + - **The page shows a strip with 「Design this page in Studio」.** It opens the page's item in Studio; Studio's back button returns to the page. The page itself stays read-only: custom pages are designed in Studio, not in place (objectstack#39378, epic objectstack#39368). + - **With changes staged it asks first.** It uses the mode's own question, 「Leave Design mode? Your unsaved changes will be lost.」; with nothing staged it opens at once. + - **Absent** outside design mode, for a caller the Studio design gate refuses, and for a package Studio cannot write. +- 801dda1: fix(studio): a condition on a choice field picks its value from the field's options + + Clause-②: no + Metadata-protocol: none + + In the Studio condition builder (validation rule conditions, page block and hook conditions, and every form that mounts it), a row whose field is a `select`, `radio`, `multiselect` or `checkboxes` field with options now picks its value from those options. The picker shows each option's label with its stored value beside it, and writes the value. Before, the value cell was a free text box for every field, so typing the label an admin sees everywhere (`紧急`) produced `record.jinji_chengdu == '紧急'`, which no record matches because records store the option value (`jinji`). + + A row whose literal is not one of the field's option values is warned under the row: an option label names the value it stands for, with a button that swaps the label for that value; any other literal is named as not an option value. A stored condition written with a label still opens as a row, shows its literal in the picker, and carries the warning. The warning is advisory and never holds the save. `tags` fields, fields whose options come from a shared picklist the catalog does not expand, and every other field type keep the free text box. +- 3a859c5: fix(studio): admin copy reads in the admin's words — a Chinese validation message names its rule through its pinyin, type badges show names, nested flow steps show their kind, and the approval step explains its symbols + + Clause-②: no + Metadata-protocol: none + + - A new validation rule's API name follows its error message until the author edits the name. A message written in Chinese derived nothing, so the rule kept its minted `validation_1`, while every other Studio door that names an item from its words derives Chinese through its pinyin. The rule panel now does the same: `工时超过四十` names the rule `gongshi_chaoguo_sishi`. The pinyin dictionary loads on demand, so a Chinese message typed before it arrives renames the rule when it lands, once; a name the author typed is never replaced. + - The report, action and flow lists drew their Type column as the raw value (`summary`, `matrix`, `script`, `record_change`). The column now shows the name the type's own designer uses, in the reader's language (汇总, 矩阵, 脚本, 记录变更), with the raw value on its tooltip. Other badge columns (an HTTP method, a locale tag) are identifiers and still show as written. + - A step nested inside a loop, try/catch or parallel region showed its raw type (`SCRIPT`) where a top-level step shows its kind by name; it now shows the same name (脚本 under a Chinese console). + - In a Chinese console, the approval step's approver help now says in words what `current.…`, `trigger.…` and `vars.…` refer to in an expression approver, and what `$root` and `$parent` mean for the approver's organization. +- bbc6411: fix(console): the Setup page behind 岗位成员 uses the navigation's term + + Clause-②: no + Metadata-protocol: none + + In Chinese, the Setup navigation names the entry for a position's people 岗位成员, and keeps the older term 岗位持有人 only as a search keyword. The page it opened still used the older term: its title, subtitle and prompt, and the holder list's title, Add button, empty state, Remove confirmation and read-failure line. They now use 岗位成员, so the page carries the name of the entry that opens it. The Traditional Chinese page frame, generated from the Simplified Chinese strings, follows (崗位成員). English copy is unchanged. +- c335a23: fix(console): the object designer's folded tabs are called More, and the flow add-node palette stays inside the window + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator building objects and flows in the Studio. + + - **The object designer's tab row folds its trailing tabs into 「更多」 / "More"**, not 「高级」 / "Advanced". At a narrower window the panels that do not fit (Validations, Actions, Settings, Hooks, API) fold into one dropdown; called Advanced it read as a settings menu. The string key is now `engine.studio.data.tab.more` (it was `engine.studio.data.tab.advanced`); nothing else moves. + - **The flow designer's add-node palette is no taller than the room on the side it opens to**, kept 8 px off the window's edge. Opened from a "+" near the top of the canvas, its search box and first rows were drawn outside the window; now the list shrinks and scrolls inside the panel. +- 64188fb: feat(app-shell, plugin-report): a new report's data source offers New dataset on the app's objects, published at once and picked for the report + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace admin building the first report of an app (Studio → the app → Reports → New, or the app's own reports index). + + - **The app's datasets come first** in the report builder's data source: the ones the app's package holds and the ones that read one of its objects, then everything else. + - **While no dataset reads one of the app's objects**, the data source says, in one or two plain sentences, that a report reads a dataset and none reads this app's objects yet, and offers **New dataset** on each of the app's objects. The data source list no longer opens over that explanation. + - **New dataset opens on its object** and writes nothing until you name the dataset and press Create. The dataset is then saved and published in the same act, into the package the report is saved in (the same package pick as the report's Save, so you are asked at most once), and picked for the report. A refused publish leaves no dataset or draft behind and shows the server's reason in the dialog. + - An existing report's Edit and Studio's dashboard-widget New dataset are unchanged (the latter still saves a draft). + - Known residue: a dataset created this way stays published if you then leave the report unsaved. +- 7039fd6: fix(app-shell, plugin-report): dataset pickers put a real match before the typed text, member names follow the picked field, and a member with no label reads as its source field + + Clause-②: no + Metadata-protocol: none + + Who sees it: a Studio author building a dataset, a report or a dashboard card, and anyone reading a saved dataset report. + + - **The searchable pickers rank a real match first.** In the dataset designer's base-object and field pickers, the dashboard card's data-source picker and every other designer combo, an option whose label or name is what you typed comes first, then one that starts with it, then one that contains it. The "Use «text»" row is now last, so pressing Enter after typing a field's label (for example 紧急) picks that field instead of storing the typed text as a field name. With no match the row is the only one, and Enter still uses the typed text. + - **A member name filled in by a field pick follows the next pick.** Picking a field for a dimension or measure whose name is empty, or still the name the previous field filled in, now names it after the newly picked field. A name you typed yourself is kept. + - **A dimension or measure with no label of its own shows its source field's label** — 紧急程度 rather than `jinji_chengdu` — in the report and dashboard-widget member pickers, as the dataset designer's Label placeholder, and as the saved report's table, matrix and chart header. A label you wrote still wins, a row `count` keeps its caption, and nothing is written into the dataset. A member reading a field through a relationship (`account.region`) keeps its name in the saved report's headers. +- 3787cb6: feat(app-shell): Setup → Record Shares and the sharing rule pages mark a recipient who cannot open the shared object at all + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator reading Setup → Record Shares, a share's own page, or a sharing rule whose recipient is a named user. + + - **A share or a rule could look granted and do nothing.** A record share or sharing rule widens which rows a user reaches; it never grants the object. A user whose permission sets grant no read on the object still could not open a shared record, and nothing on screen said so. + - **The recipient cell now carries a mark** ("Cannot open Repair Order", with the remedy in its tooltip: assign a permission set that grants read on the object) when the served access-explain door answers a positive denial at the object-permission layer: `decidedBy: 'object_crud'` for a share's record, the `object_crud` layer's `denies` for a rule's object. The object is named by its label. + - **Nothing changes otherwise.** A viewer the explain door does not admit, a failed ask, or any other answer draws the cell exactly as before. The mark follows the permission sets: once a set granting read is assigned, the next page drawn shows none. + - **Cost:** one explain call per page per (user, object), batching the page's record ids under the server's 200-id cap. + - Nothing is said at save time; a sharing rule or share still saves as before. +- 526d87e: feat(app-shell): Studio's public-form editor shows what a visitor gets: a field the public address never serves is flagged, the preview has the live buttons, a Chinese title derives the address + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator building a public form in Studio (Studio → an object → Forms). + + - **A field the public address never serves is no longer a surprise.** A public form's address drops every `lookup`, `master_detail` and `user` field, and the server-managed columns, from what it serves, so a visitor never sees them. On a form with a public address the editor no longer offers such a field in Add field, flags one already on the form as "Not on the public form", and leaves it out of the preview. A field the object requires but the address never serves is no longer demanded on a public form (so such a form still saves); the editor says instead that a rule, hook or default must set it, or every submission is refused. The served form is unchanged: dropping the field stays right, the author is now told. + - **One rule for both.** `@objectstack/spec/security` exports `isPublicFormServedField(name, def)` and `PUBLIC_FORM_NEVER_SERVED_FIELD_TYPES` beside `PUBLIC_FORM_SERVER_MANAGED_FIELDS`. `GET /api/v1/forms/:slug` strips by it (same fields as before), and the editor reads it. + - **The preview's buttons are the live page's.** It showed Cancel and Create; on a public form it now shows only the submit button, named as the visitor reads it (the form's own label, else Submit); a form an action opens keeps Cancel, as its in-app page draws it. + - **The address derives from a Chinese title.** A new form's address follows its title through pinyin, as Studio's other create doors derive names (维修中心 → `weixiu-zhongxin`); an address the author typed is kept. + - **A blank after-submit message says what a visitor sees.** The two fields show the default thank-you texts the live page falls back to, with a line saying a visitor sees them after submitting. +- 8f241d4: feat(spec, layout, app-shell): a navigation entry with no `label` that opens a report or a page shows that report's or page's current label + + Clause-②: no + Metadata-protocol: semantic + + An app navigation entry without a `label` already showed, at render time, the current label of the view, object or dashboard it opens. A `report` entry naming a `reportName` and a `page` entry now do the same: the menu shows the report's or the page's label, in the viewer's language, and a renamed report or page shows its new name on the next load. Before, such an entry showed the target's machine name (for example `ge_jinji_chengdu_yu_gu_feiyong`), which is what the design mode's "Add menu item" wrote for a report or a page, and what a page created in the console writes when it is given no name. Entries already stored this way change with no edit. An entry whose target carries no label, or has not loaded, still shows the machine name. A `label` you write still renders verbatim. Nothing is stored for the absent case. + + `BaseNavItemSchema.label`'s describe now names report and page beside view, object and dashboard. The accepted shape does not change. + + `@object-ui/layout`: `NavLabelTarget` gains `{ kind: 'report'; reportName }` and `{ kind: 'page'; pageName }`, and `resolveNavItemLabel` asks a host's `NavTargetLabelResolver` for both. A host resolver that switches over `NavLabelTarget` and answers `undefined` by default keeps working, and those entries keep showing the machine name until it answers the two kinds. + + `@object-ui/app-shell`: `useNavTargetLabel` answers the two kinds from the served label (a page from the app bundle first), read by name where the caller asks for it, and the recent-items list asks the same resolver, so a menu entry and a recent row that open one report or page show the same text. +- 2f7b40e: fix(app-shell): naming a new dashboard in the design mode no longer toasts that the dashboard is empty + + Clause-②: no + Metadata-protocol: none + + The design mode's 「Add menu item → New dashboard」 creates the dashboard empty, publishes it and opens it in edit. Its publish answered the runtime authoring gate's `dashboard-without-widgets` reminder, and the console toasted it right away: 「Published — the authoring check raised 1 advisory finding(s)」 over the rule's English text, for a dashboard the admin had only just named. The create now declares that one finding of that one write, and the advisory toast leaves it out. Everything else is unchanged: any other finding on the same publish still toasts, the menu's own write still toasts its findings, the door's response still carries the finding, and a later publish of a dashboard that is still empty (the on-page editor's Save, an API, CLI or AI publish) still reports it. +- 895b15d: fix(marketplace): the install confirm no longer lists a package's own objects as existing objects it changes + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator installing a marketplace package whose modules extend each other's objects (HotCRM, for example). The install confirm's "changes existing objects" section listed every extension target the catalog reported, including objects the same package creates, so a first install read as if it would alter data the environment already holds. The section now leaves out every target the package itself defines, read from the package manifest the page already loads; on a fresh install of such a package it no longer appears. A package that extends a platform object, or another installed package's object, still shows it, and the platform-object acknowledgment is asked only for what remains. If the manifest cannot be read, the catalog's list is shown as before. +- 9098d66: fix(app-shell): the record's Approvals tab draws a pending approver as a user reference, linked like the owner field + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who opens the Approvals tab of a record with a pending approval request. + + The "Waiting on" list now draws each pending person the way the record page draws a user field: the name the approvals service gives, as a link to the user that opens on click and shows the user's card on hover. If the service gave no name, the user lookup the field uses names the person. The raw id is shown only when nothing can name the person, and it carries the "unresolved reference" mark. A position seat keeps its label and is not drawn as a user. +- 09a1d7b: fix(core, app-shell): the delete toast says the record went to the recycle bin; a position's Add holder leaves out people who already hold it + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who deletes one record from a list or a record page, and an administrator adding holders to a position in Setup. + + - **Deleting one record now says where it went.** When the delete's answer carries a recycle-bin entry, the success toast reads `Lead "Ada" moved to the recycle bin` (and its translation in every built-in language) instead of `Lead "Ada" deleted`, for every caller. Before, only a person allowed to restore their own deletes learned anything, through the toast's Undo. Undo is unchanged: it is still offered only to that person. A delete whose answer carries no entry (a platform object, a deployment without a recycle bin, a data source that answers none) keeps the old toast, word for word. The confirm question is not changed, and the toast names no restore-until date, which the delete's answer does not carry. + - **`recordDelete.run` and the record page now always pass `onRecycleBinEntry` to `DataSource.delete`** for a one-record delete, not only when Undo can be offered. The ObjectStack adapter sends the same request either way; an adapter whose backend has no recycle bin never calls it. A batch delete is unchanged. + - Two new keys, `objectActions.movedToRecycleBinNamed` and `objectActions.movedToRecycleBin`, are in every built-in language pack; a host with no translations reads the English sentence. + - **Setup → position → Add holder offers only people who do not hold the position yet**; the picker's title says holders are not listed, and when every member already holds it the picker stays closed and says so. It is the same shape a permission set's Add user takes. +- 66b0c29: fix(app-shell): the field-list add picker is searchable and leaves out the platform's hidden columns; Add user on a permission set leaves out people who already hold it + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author editing metadata in Studio or Setup, and an administrator assigning a permission set. + + - **The add picker of an ordered field list is searchable** (a knowledge source's *Content fields* and *Filter fields*, a view's columns, and every other `field-multi` row of the metadata editor). Opening it puts the caret in its own search box, so typing filters the fields by label or name and no longer lands in the field you edited before. Enter adds the highlighted match; no typed name is added. + - **It no longer offers the columns the platform injects and hides** (`organization_id`, the `__search` companion, `owning_business_unit_id`), the fields the Studio's Data tab already leaves out. System fields the platform does not hide, such as `created_by`, `updated_at` and `owner`, are still offered, and a hidden column already in the list stays there with its label. + - **Permission set → Assigned users → Add user offers only people who do not hold the set yet**, whether they hold it directly or through a position; the picker's title says holders are not listed. When every member already holds the set, the picker stays closed and says so. +- 640e2f9: fix(plugin-chatbot,app-shell): the AI chat composer takes images and spreadsheets only + + Clause-②: no + Metadata-protocol: none + + The composer's default accept list offered PDF and Word files. A PDF was uploaded and sent to the model as a file part, which failed the whole turn on OpenAI-compatible providers that refuse an inline PDF (objectstack-ai/cloud#5428); a Word file was never read at all. The default list is now `image/*,.txt,.csv,.tsv,.xlsx,.xlsm`: images are uploaded as before, spreadsheets are parsed in the page as before, and a PDF, Word or any other file picked, pasted or dropped is refused with the composer's notice. The console's upload no longer takes a PDF either, so a host with its own accept list cannot send one. +- 4494911: feat(console): design mode refuses the app menu, record tabs and another package's dashboard when they are selected, not at Save + + Clause-②: no + Metadata-protocol: none + + What the design mode cannot save is now said when the item is selected, with the reason, and nothing is staged for it. The save's own checks stay, for what changes in between: + + - the app's menu: when the mode is entered, the menu asks where its save would write. A draft of the app pending in App Studio (in the app's own package, or in its customization package for an installed app), an unlisted package, a walled customization door or a read-only customization package draws the menu read-only with the reason in place of the keyboard hint: no 「Add menu item」, no 「⋮」, no drag. While the check reads, the menu is read-only too; + - a record page's tabs: the tab editor asks the object's one refusal (the same question header buttons and the field layout ask) and is drawn read-only with the reason when it refuses; + - a dashboard a menu entry opens from another package than the app's: its own gate is read for that package, and when it does not let the administrator in, the dashboard says so ("This dashboard cannot be saved here: its app has no package this account can customize.") instead of staying read-only with no reason. A gate still reading says nothing. + + `@object-ui/i18n` adds eight keys in every language: `designMode.menu.refusedNotListed`, `refusedPendingDraft`, `refusedWalled`, `refusedNotWritable`, and `designMode.object.tabsRefusedNotListed`, `tabsRefusedPendingDraft`, `tabsRefusedWalled`, `tabsRefusedNotWritable`. +- 6477f39: fix(marketplace): a marketplace install loads seed-file rows, says what its sample data run wrote, and lists what did not load + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator installing a marketplace package with sample data into this runtime (Setup → Marketplace). + + - **Seed files load on install.** The install's own sample-data load stores a `seedFile(...)` value through the runtime's `field-files` service, as the boot seed does. It used to refuse every such row ("this load has no file service to store it with") on a server that runs the storage service, and every link to that row stayed empty. A runtime without the storage service still refuses the row, by name. + - **The install result says what the run did.** "This install loaded N sample records" now counts the records this install wrote. Records it did not write, because they were already there or were deleted after an earlier load, are counted in their own sentence. A reinstall that writes nothing no longer says it loaded anything. + - **Failures are shown.** The result counts the sample records and the links between them that did not load, and lists each one under a Details disclosure, from the install answer's own report. A run that wrote nothing and failed now shows its failures instead of nothing. + - **Reinstall sentence corrected.** It said a reinstall loads the sample data again, including what you cleared. It does not: a reinstall leaves deleted and cleared sample records out, and Re-seed sample data brings them back. The sentence now says so. + - **Install confirm count.** The count of sample records reads the datasets of every package in a multi-package artifact. It used to show 0 for such a package. When the datasets are per language, the confirm says the count depends on the language the install uses instead of showing a number. +- e57fb78: feat(studio): a customer can add a validation rule to an installed package's object; it is saved in the App's customization package + + Clause-②: no + Metadata-protocol: none + + - Studio → an installed object → Validations: the package's own rules are listed first, marked 「来自软件包」 / "From the package", and open read-only. **New validation rule** is offered beside them. + - A rule you create or edit there is saved in your customizations (the object's extension in the App's `.custom` package) by the top bar's Save, which publishes it at once. It runs on every record save of the object, and it stays in place when the package is reinstalled or upgraded. + - A rule cannot take the name of one of the package's rules. Typing that name is refused with a message, and a new rule is named past it, because a same-named rule would replace the package's. + - On an object your own package owns, the tab is unchanged. +- 44cf0fc: Clause-②: no + Metadata-protocol: none + + The marketplace package page no longer offers Reinstall as the main button when this runtime already holds the latest version. It says "Up to date" (「已是最新版本」) instead, and Reinstall is in the "More install options" menu. A package that did not load, or is on an older version, keeps Reinstall as its button. + + The confirm in front of a reinstall or an update now says that this environment's customizations of the package are kept: reinstalling replaces only the package's own metadata, and the changes saved in its customization package stay as they are. +- d7844bb: fix(studio): the object canvas on the metadata admin's object edit page draws a yes/no field with the control the record form draws + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator previewing an object in Setup. The object canvas drew every `boolean` and `toggle` field as a switch, while the record form draws a `boolean` field as a checkbox. The canvas now asks the same rule the form does: a `boolean` field previews a checkbox and a `toggle` field a switch. +- d11b7fd: fix(app-shell): in design mode, a dashboard that cannot be edited says why, including when the check itself fails + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator who selects a dashboard in design mode that the mode will not let them change. + + - **The refusal's detail is shown under its line.** A dashboard refused because its app has no package to customize, or because it could not be read, now shows the reason the read gave beneath the refusal line. + - **A check that fails now says so.** If the check of whether the dashboard can be edited itself throws, the page stays read-only and reads "Could not check whether this dashboard can be edited", with the error's message beneath it, instead of showing nothing. + - The new line is translated in all eleven language packs. +- cefbc83: fix(app-shell): the Field layout panel in design mode starts below the design-mode bar, so its Save and Cancel stay reachable + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator who opens Field layout in design mode on a record page; the panel used to cover the bar's Save and Cancel until it was closed. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + +- 3d6d441: fix(console): a `?form=new` link opens no record form on an object whose generic create is closed + + Clause-②: no + Metadata-protocol: none + + On an object whose generic create is closed for the user (a better-auth table such as `sys_team`, which serves get and list only), a link carrying `?form=new` opened the record form overlay, which could only draw read-only with its "no permission to create" sentence. The console now reads the create form's own lock before opening the overlay: when it is closed, nothing opens and the param is dropped from the address. Objects whose create is open open the form as before (objectstack#39555). +- ec3df88: fix(approvals): a queue or position approver's members are shown with the queue or position they stand for + + Clause-②: yes + Metadata-protocol: none + + Who sees it: anyone reading a record's approvals panel while its step waits on a `queue` or `position` approver. + + - **Before**: the step opens one slot per member of the queue or position, and the panel named each person with nothing saying which queue or position they came from. Five names read as five separate approvers. + - **Now**: each person's chip says where they came from, `Zhang Wei · Billing Desk`. A queue's label is the one the server resolved for the queue the step addressed in its own flow's package; a position's is its declared item's label; else the machine name made readable. + + The approvals read (`GET /approvals/requests` and `GET /approvals/requests/:id`) serves a new optional field on each request, `pending_approver_origins`: each still-pending slot that a `queue` or `position` approver expanded to, mapped to the approver reference(s) it came from (`{ "u7": ["queue:billing_desk"] }`). It is declared on `ApprovalRequestRow` (`@objectstack/spec/contracts`). The answer is the membership when the step opened, recorded as the request opens; it is never re-read. A person named outright, a literal `position:NAME` slot (an unstaffed position, which already names itself), and a request opened before this release carry no entry. + + Beside it the same reads serve a second new optional field, `pending_approver_origin_labels`: each `queue:NAME` origin mapped to the label of the queue the step resolved, at the step's flow package and directory organization (`{ "queue:billing_desk": "Billing Desk" }`), also declared on `ApprovalRequestRow` and recorded when the step opened. Two packages may each ship a queue of the same name; this label is the one the step actually used. A reference with no entry (no queue resolver, a failed read) reads as its name. + + Where the console must label a queue by its bare name itself and the registry lists that name more than once, it shows the name made readable rather than either package's label. + + A legacy stored `queue:NAME` slot, which no current release writes, now reads as the queue's label instead of a truncated raw reference; the reference stays on hover. +- db0674c: fix(app-shell): the approval decision page's "Waiting on" row draws a pending approver as a user reference, linked like the owner field + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who opens an approval request's decision page while the request is pending. + + The "Waiting on" row now draws each pending person the way the record's Approvals tab and the record page's user fields do: the name the approvals service gives, as a link to the user that opens on click and shows the user's card on hover. If the service gave no name, the user lookup names the person. The raw id is shown only when nothing can name the person, in full, with the "unresolved reference" mark, where it used to be shown shortened. A position, team or other seat keeps its label and is not drawn as a user. +- 91aab83: A report opened from a Studio list now opens its app in design mode with the report selected, as a dashboard does, instead of in the report builder's own edit state (objectstack#39573). + + Clause-②: no + Metadata-protocol: none + + The new-report page (`/apps/APP/reports/new`) is not an existing item and keeps its own route. +- a91cd54: refactor(console): retire the report builder's own arrival state, now that Studio reports open in the app's design mode + + Clause-②: no + Metadata-protocol: none + + Who sees it: nobody; no behavior changes. A report opened from a Studio list already enters the app's design mode with the report selected; the older navigation state that asked the report page to open its builder had no producer left, so its writer, reader and the page's effect that cleared it are removed. +- e1c52c9: Clause-②: no + Metadata-protocol: none + + Studio's All-metadata area provides the dataset authoring context again, so a dashboard widget selected on a writable package's item page offers New dataset beside its dataset picker, saving the new dataset as a draft in that package, and the item page's dataset pickers and chart previews read the package's drafts. Since the Interfaces column was retired nothing provided it, and the entry never drew. A read-only package and Setup's editors offer no entry, as before (objectstack#39620). +- fb26c1c: feat(app-shell): in the app's design mode, a dashboard card's New dataset publishes the dataset at once into the dashboard's package and picks it for the card + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace admin designing a dashboard in the app's design mode (the dashboard's Edit, or a dashboard opened from App Studio). + + - **A selected card's dataset picker offers New dataset** in the design mode, as it does in App Studio. While no dataset reads one of the app's objects, the card panel says so in one sentence. + - **New dataset writes nothing until you name the dataset and press Create.** The dataset is then saved and published in the same act into the dashboard's own package (a writable app package, including a dashboard that an app's customization package owns), and picked for the card, so the dashboard you then save reads a published dataset. + - **A refused publish leaves no dataset or draft behind** and shows the server's reason in the dialog; the card stays unbound. + - **No entry where the dashboard's own package cannot hold the dataset**: an installed (read-only) app's dashboard, which the design mode saves as a customization of that app, offers no New dataset, because its cards read as the installed app's package and could not read a dataset held only in the customization package. Neither does a dashboard that names no package, or one the design mode refuses. + - App Studio's own New dataset is unchanged (it still saves a draft, published with the package). + - Known residue: a dataset created this way stays published if you then Cancel the dashboard edit. +- 791e151: fix(approvals): a pending approver whose only read of the record comes from the approval sees the submitted fields on the request page + + Clause-②: no + Metadata-protocol: none + + Who sees it: an approver whose permission sets grant no read on the object they approve, and who reads the record only because an approval step is pending on them. + + - **The request page draws the submitted record.** When the object's definition is served, the page used to filter the snapshot again by the approver's own permissions. Those grant no read of the object, so every field was dropped and the left pane stayed blank. The page now draws the snapshot as the server served it: the server has already removed the fields this reader may not read. Field permissions still narrow the page for a reader whose permission sets do grant read of the object. + - **No blank pane.** When the reader's field permissions leave no submitted field to draw, the page shows "You don't have access to this object's fields; ask an administrator." instead of an empty pane. + - **Access explanation.** For a read granted by a pending approval, the `object_crud` layer's detail now opens with that grant ("read on 'X' is granted via approval request N: …") and says after it that no permission set grants the read. It used to open with the permission sets' denial. + - The record page (`//record/`) is unchanged here. +- 9aabb7e: fix(app-shell): the record page draws the record the server served to a pending approver with no object read + + Clause-②: no + Metadata-protocol: none + + A pending approver may read the one record an approval request is about while their step waits, even without read on its object. The server served that record, but the record page showed only its id: the console's permissions answer grants no read on the object, so the page hid the title and every field the server had already filtered for this reader. + + The record page now draws the served record when two things hold: the server answered the read of this record, and the loaded permissions answer grants no read on its object. Only that page's reads of that object are left to the server. Edit, delete, inline editing, export and actions stay gated as before, related lists of other objects and every other page are unchanged, and a reader whose answer grants the read keeps today's field-level hiding (objectstack#39709). +- 5baf187: fix(console): the app menu's door into the design mode and the mode's bar read 「设计模式」 / "Design mode" again (renamed back from 「设计布局」 / "Design layout"), as do the strings that name the mode. The 「编辑应用」 / 「在 Studio 中查看」 row is unchanged. + + Clause-②: no + Metadata-protocol: none +- 04eba3d: Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a new read-only route, `GET /api/v1/marketplace/install-local/seed-locale`, served to `manage_metadata` holders, and a new `objects` member on the install answer's `seeded`; nothing that was served before changes. + + The local marketplace install confirm now names the language an app's sample records will load in, when the app ships them per language. It asks the runtime first: `GET /api/v1/marketplace/install-local/seed-locale?appDefaultLocale=` answers `{ locale, source }` from the install's own choice (the organization's language setting, then the installing user's language, then the app's declared default). When that language is not the one the administrator reads the console in, the confirm says so and links to Language & Region, where the organization's language is set. The order of that choice is unchanged. + + The install answer's `seeded` gains `objects`: the run split by object, whether the package defines each object, and why each skipped row was not written (`existing`, `withdrawn`, `noRowToUpdate`). The install note now counts only the package's own records as sample records, so it agrees with the clear and the sample-data count. Rows written to an object the package does not define (a platform object's timeline pointers) and updates that found no record are named instead of counted. "Already here, or deleted after an earlier load" is said only for rows where that is true. `inserted`, `updated` and `skipped` keep their meaning, and a runtime without `objects` is read as before. + + A reinstall confirm opens with a reinstall's line, and no longer suggests an Everyone grant the administrator already accepted. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [96aa479] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [7039fd6] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [758cd97] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [640e2f9] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [b2006d3] +- Updated dependencies [8b67dcd] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [3e44a67] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [96fa9ef] +- Updated dependencies [22d5eee] +- Updated dependencies [9317722] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/lint@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/plugin-chatbot@19.0.0-next.5 + - @object-ui/plugin-list@19.0.0-next.5 + - @object-ui/plugin-grid@19.0.0-next.5 + - @object-ui/plugin-dashboard@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/plugin-view@19.0.0-next.5 + - @object-ui/plugin-report@19.0.0-next.5 + - @object-ui/layout@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/plugin-designer@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/plugin-charts@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/auth@19.0.0-next.5 + - @object-ui/collaboration@19.0.0-next.5 + - @object-ui/data-objectstack@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/plugin-calendar@19.0.0-next.5 + - @object-ui/plugin-editor@19.0.0-next.5 + - @object-ui/plugin-form@19.0.0-next.5 + - @object-ui/plugin-kanban@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 18.6.0-next.4 ### Minor Changes diff --git a/ui/packages/app-shell/package.json b/ui/packages/app-shell/package.json index fc4e65496b0..145166b845b 100644 --- a/ui/packages/app-shell/package.json +++ b/ui/packages/app-shell/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/app-shell", - "version": "18.6.0-next.4", + "version": "18.6.0-next.5", "private": true, "type": "module", "sideEffects": [ diff --git a/ui/packages/auth/CHANGELOG.md b/ui/packages/auth/CHANGELOG.md index 72227b816ce..cf47a4784b6 100644 --- a/ui/packages/auth/CHANGELOG.md +++ b/ui/packages/auth/CHANGELOG.md @@ -1,5 +1,44 @@ # @object-ui/auth +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/auth/package.json b/ui/packages/auth/package.json index 2bf28f9e152..82e2e4e1c7f 100644 --- a/ui/packages/auth/package.json +++ b/ui/packages/auth/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/auth", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Authentication system for ObjectUI with AuthProvider, useAuth hook, AuthGuard, and form components.", diff --git a/ui/packages/cli/CHANGELOG.md b/ui/packages/cli/CHANGELOG.md index 084359a0064..6eea19051b1 100644 --- a/ui/packages/cli/CHANGELOG.md +++ b/ui/packages/cli/CHANGELOG.md @@ -1,5 +1,48 @@ # @object-ui/cli +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/cli/package.json b/ui/packages/cli/package.json index 0a19147b70a..3b13e98fadf 100644 --- a/ui/packages/cli/package.json +++ b/ui/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/cli", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Standalone CLI for ObjectUI — scaffold, develop, build and validate JSON/YAML schema-driven applications.", "type": "module", "homepage": "https://objectstack.ai/docs/frontend/cli", diff --git a/ui/packages/collaboration/CHANGELOG.md b/ui/packages/collaboration/CHANGELOG.md index 094f0343bf9..e8e67c1d8db 100644 --- a/ui/packages/collaboration/CHANGELOG.md +++ b/ui/packages/collaboration/CHANGELOG.md @@ -1,5 +1,47 @@ # @object-ui/collaboration +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [f00ab66] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [4494911] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [c8bfac1] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [347998b] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] + - @object-ui/types@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/collaboration/package.json b/ui/packages/collaboration/package.json index e8a1469c481..dd50a1ea5d3 100644 --- a/ui/packages/collaboration/package.json +++ b/ui/packages/collaboration/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/collaboration", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Real-time collaboration for ObjectUI with presence tracking, live cursors, conflict resolution, and comment threads.", diff --git a/ui/packages/components/CHANGELOG.md b/ui/packages/components/CHANGELOG.md index 03df636f7b9..c1f236655f2 100644 --- a/ui/packages/components/CHANGELOG.md +++ b/ui/packages/components/CHANGELOG.md @@ -1,5 +1,91 @@ # @object-ui/components +## 19.0.0-next.5 + +### Patch Changes + +- 37a2151: fix(components): a progress bar states its value to assistive technology + + Clause-②: no + Metadata-protocol: none + + The `Progress` exported by `@object-ui/components`, and the `progress` renderer, now hand `value` and `max` to the Radix root. A determinate bar carries `aria-valuenow`, `aria-valuetext` and `data-state="loading"` (`"complete"` at the maximum); a bar with no value stays indeterminate. Before, the synced Shadcn primitive kept `value` for the painted fill only, so a screen reader announced every bar as busy whatever its value. The painted fill is unchanged. The public export keeps its name and props. + + The attachment upload rows and the `usage-bar` block no longer set `aria-valuenow` themselves. The `usage-bar` reading is now the unrounded percent (for example `33.33…`, with `aria-valuetext` `33%`) instead of a rounded integer. +- f61773f: Clause-②: no + Metadata-protocol: none + + fix(components): a filter row stored with an operator its field no longer offers opens showing that operator + + `FilterBuilder` now mounts a row's own operator on every field type, not only on JSON-column fields. A sharing-rule condition saved on a radio field with a text operator (`$contains`, `$startsWith`, …) before radio joined the select operators used to open with a blank operator; it now opens showing that operator as one extra entry, and opening and saving the rule leaves it unchanged. A new row is still offered only the field's own operators. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + - @objectstack/sdui-parser@19.0.0-next.5 + - @object-ui/react-runtime@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/components/package.json b/ui/packages/components/package.json index 2e13bc56b94..1a0eef7189f 100644 --- a/ui/packages/components/package.json +++ b/ui/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/components", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Standard UI component library for ObjectUI, built with Shadcn UI + Tailwind CSS", diff --git a/ui/packages/core/CHANGELOG.md b/ui/packages/core/CHANGELOG.md index 091e2ae416f..b90ba187bba 100644 --- a/ui/packages/core/CHANGELOG.md +++ b/ui/packages/core/CHANGELOG.md @@ -1,5 +1,56 @@ # @object-ui/core +## 19.0.0-next.5 + +### Patch Changes + +- 09a1d7b: fix(core, app-shell): the delete toast says the record went to the recycle bin; a position's Add holder leaves out people who already hold it + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who deletes one record from a list or a record page, and an administrator adding holders to a position in Setup. + + - **Deleting one record now says where it went.** When the delete's answer carries a recycle-bin entry, the success toast reads `Lead "Ada" moved to the recycle bin` (and its translation in every built-in language) instead of `Lead "Ada" deleted`, for every caller. Before, only a person allowed to restore their own deletes learned anything, through the toast's Undo. Undo is unchanged: it is still offered only to that person. A delete whose answer carries no entry (a platform object, a deployment without a recycle bin, a data source that answers none) keeps the old toast, word for word. The confirm question is not changed, and the toast names no restore-until date, which the delete's answer does not carry. + - **`recordDelete.run` and the record page now always pass `onRecycleBinEntry` to `DataSource.delete`** for a one-record delete, not only when Undo can be offered. The ObjectStack adapter sends the same request either way; an adapter whose backend has no recycle bin never calls it. A batch delete is unchanged. + - Two new keys, `objectActions.movedToRecycleBinNamed` and `objectActions.movedToRecycleBin`, are in every built-in language pack; a host with no translations reads the English sentence. + - **Setup → position → Add holder offers only people who do not hold the position yet**; the picker's title says holders are not listed, and when every member already holds it the picker stays closed and says so. It is the same shape a permission set's Add user takes. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/ui/packages/core/package.json b/ui/packages/core/package.json index 4c5727ac5b8..c6d917d57a7 100644 --- a/ui/packages/core/package.json +++ b/ui/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/core", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "sideEffects": false, "license": "MIT", diff --git a/ui/packages/create-plugin/CHANGELOG.md b/ui/packages/create-plugin/CHANGELOG.md index 30d54cc7c62..c8a066b4cfd 100644 --- a/ui/packages/create-plugin/CHANGELOG.md +++ b/ui/packages/create-plugin/CHANGELOG.md @@ -1,5 +1,9 @@ # @object-ui/create-plugin +## 19.0.0-next.5 + +No changes in this release. + ## 19.0.0-next.4 No changes in this release. diff --git a/ui/packages/create-plugin/package.json b/ui/packages/create-plugin/package.json index 1353facdb3f..f55e36998fe 100644 --- a/ui/packages/create-plugin/package.json +++ b/ui/packages/create-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/create-plugin", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "CLI tool to scaffold ObjectUI plugins", "type": "module", "license": "MIT", diff --git a/ui/packages/data-objectstack/CHANGELOG.md b/ui/packages/data-objectstack/CHANGELOG.md index 85f3fa60faf..9e8a3fdd82d 100644 --- a/ui/packages/data-objectstack/CHANGELOG.md +++ b/ui/packages/data-objectstack/CHANGELOG.md @@ -1,5 +1,47 @@ # @object-ui/data-objectstack +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/client@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/data-objectstack/package.json b/ui/packages/data-objectstack/package.json index fc0ec78da9d..e845207fbb7 100644 --- a/ui/packages/data-objectstack/package.json +++ b/ui/packages/data-objectstack/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/data-objectstack", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "ObjectStack Data Adapter for ObjectUI", "license": "MIT", "type": "module", diff --git a/ui/packages/fields/CHANGELOG.md b/ui/packages/fields/CHANGELOG.md index b3ec40a71aa..84692d70d01 100644 --- a/ui/packages/fields/CHANGELOG.md +++ b/ui/packages/fields/CHANGELOG.md @@ -1,5 +1,102 @@ # @object-ui/fields +## 19.0.0-next.5 + +### Patch Changes + +- c0724ea: fix(fields): the notification topic and channel pickers put a real match before the typed text + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator editing a notification preference or a notification template, in the topic and channel pickers. + + - **A listed value that matches what you typed comes first.** Once you type in the topic or channel picker, a listed value whose name or shown words are what you typed (in any case) comes first, then one that starts with it, then one that only contains it. The "Use «text»" row is now last, so pressing Enter after typing part of a topic, a channel in another case (`Inbox`), or the words a value is shown by (`All topics`) stores that listed value instead of the typed text. With no match the row is the only one, and Enter still stores exactly what you typed. The row stays available whenever the typed text is not itself a listed value, so a value outside the list can still be entered. +- 347998b: feat(fields, service-messaging): a notification template's record page previews the saved template as it would be sent + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator opening a notification template under Setup → Notification Templates. + + - **Under the body, a Preview pane shows the saved subject and body as the messaging service renders them for a send.** The server's preview route renders them with the same function the email and SMS channels use. Nothing is sent and nothing is written. + - **Each placeholder in the saved subject and body gets a sample-value input** (`{{ amount }}` and `{{ payload.amount }}` share one input; `{{ topic }}` is filled from the template's own topic). Typing sends nothing; **Preview with these values** renders again with what was typed. + - **The pane refreshes when the template is saved**, not while you type in the edit form. A refusal (no access to the template, a template that no longer exists) is shown as its own text and code. + - An `html` or `mjml` template shows the rendered HTML through the console's sanitizer; a `markdown` or `text` template shows the plain text the channels send. + - The edit form is unchanged: the body keeps its markdown editor. The pane is the body's read face on the record page, declared on `sys_notification_template.body` as `widget: 'notification-template-preview'`. A list cell of the body draws the body alone. + - The pane's words are translated in every console language (`fields.notificationTemplatePreview.*`). +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @objectstack/formula@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/fields/package.json b/ui/packages/fields/package.json index f0de25f5d9d..7ebff898a0f 100644 --- a/ui/packages/fields/package.json +++ b/ui/packages/fields/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/fields", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Field renderers and registry for ObjectUI", "license": "MIT", "type": "module", diff --git a/ui/packages/i18n/CHANGELOG.md b/ui/packages/i18n/CHANGELOG.md index 7ec834996bd..55e74b08f29 100644 --- a/ui/packages/i18n/CHANGELOG.md +++ b/ui/packages/i18n/CHANGELOG.md @@ -1,5 +1,396 @@ # @object-ui/i18n +## 19.0.0-next.5 + +### Patch Changes + +- f00ab66: fix: the remaining runtime, help and console strings name the Setup path Setup shows + + Clause-②: no + Metadata-protocol: none + + Who sees it: an author reading a refusal, an administrator reading a boot line, a degraded connector, a field's help text or the two-factor enrollment message, in English and in the ten translated languages. Setup was regrouped, and these strings still sent the reader to a group or page that no longer exists. Each now names the group and entry Setup shows: + + - **SMS provider** (`@objectstack/spec`, the stack `sms` block refusals and the `retries` description): Setup → Notifications → SMS Channel, was Setup → Settings → SMS Delivery. One stack definition now gives one answer; the `sms` key description already said SMS Channel. + - **Connector credentials** (`@objectstack/spec` connector-entry credential refusals, the `@objectstack/service-automation` degraded reason of an instance whose credential is not set): Setup → Integrations & Developer → Connector Credentials, was Setup → Connector credentials. + - **File storage** (`@objectstack/service-storage`, the multi-replica local-storage refusal): Setup → Audit & Data → File Storage, was Setup → Settings → File Storage. + - **Auth settings page** (`@objectstack/plugin-auth`, the two boot warnings about the page's live status and declared defaults): Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + - **Default currency** (`@objectstack/plugin-auth`, the new-organization currency lines): Setup → Company Settings → Language & Region, was Setup → Localization. + - **API key lifetime ceiling** (`@objectstack/core`, the `400` refusal of an `expires_at` past the policy's maximum): names Setup → Login & Security → Sign-in Methods → API keys, was "the Authentication API key policy". The sentence still reads "Maximum key lifetime is N days"; the code and status do not move. + - **Field help** (`@objectstack/platform-objects`, `sys_organization`, `sys_business_unit`, `sys_work_calendar`): the timezone help names Setup → Company Settings → Language & Region → Default timezone (was Settings → Localization), the organization name help names Setup → Company Settings → Branding (was Settings → Branding), and the retired multi-factor flag names Setup → Login & Security → Access policy (was Settings → Access policy). The ten translated object bundles carry the same paths in each language's own Setup labels, as do their API-key help texts. + - **Two-factor enrollment** (`@object-ui/i18n`, en, zh-Hans, zh-Hant): an administrator turns two-factor on under Setup → Login & Security → Sign-in Methods, was Setup → Authentication. + + Only text changes; no accepted value, code or status moves. +- 531d132: fix(studio): the field layout canvas draws radio and checkbox-list fields as the form does, a group title selects its whole name when entered, and the group panel names the group by its label in one header + + Clause-②: no + Metadata-protocol: none + + - Studio → object → Field layout, Layout mode: a `radio` field's card lists its choices with a round mark each, and a `checkboxes` field's card with a square mark, as the record form and the Preview tab draw them. Before, a radio field was drawn as a dropdown and a checkbox list as an empty text box. + - Clicking (or tabbing into) a group's title selects the whole name, so typing replaces it instead of inserting into it. + - The group panel's related-table picker reads "Place a related table here" (在此放置关联表) and its empty choice "None (this group holds fields)" (无(本分组放字段)); the label no longer ends in the spec key `(relatedList)`. + - The group panel draws one header that names the group by its label (分组属性 · the label). Before, it showed the group's machine key (`group` for a label with no ASCII letters, such as 新分组) and a second header under it with its own close button. + - The object canvas on the metadata admin's object edit page draws `radio` and `checkboxes` fields as the same choice lists, where it drew a dropdown and a chip box. +- 91954d3: feat(console): design mode saves referenced items before the menu, lists each item's save result, and refuses header buttons that cannot be saved when they are selected + + Clause-②: no + Metadata-protocol: none + + The design mode's staging area now decides what 「Save」 sends, in what order, and says what happened to each item: + + - a staged change may name the other items it points at (`references`): those commit first. The app menu names every dashboard, report, page, object list and view its entries open, so a menu is never published pointing at an item that failed to save. When a commit fails, the items saved before it stay saved, and it and everything after it stay staged and are not sent (no server transaction spans them); + - after a save that stopped, the bar opens a list of every item the save held: saved, not saved with the reason, or not sent (and the item it waited on). The list stays until the next save, 「Cancel」 or 「Dismiss」; + - 「Header buttons」 asks, before it offers its panel, whether a change to the object's header buttons could be saved: a draft already pending in App Studio, a walled customization door, an unlisted package or a read-only customization package open the control on the reason instead, and nothing can be staged. The save's own checks stay; + - while something is staged, the bar says that a reload drops it: staged changes are not kept across a reload. +- 31a291a: feat(console): dashboards are designed in place inside design mode, with the bar as the only Save/Cancel + + Clause-②: no + Metadata-protocol: none + + A dashboard no longer has an edit state of its own beside the design mode; it is designed inside it: + + - while the mode is on, the dashboard on screen is drawn editable in place (its cards dashed, draggable and resizable, Studio's dashboard panel at the right), beside the menu's editor. Its header offers 「Add card」 and nothing that saves or discards: the bar's 「Save」 publishes it and its 「Cancel」 drops it and returns the page read-only; + - the edited dashboard is staged with the mode under its item key, so moving to another page and back keeps the edits, one 「Save」 publishes every dashboard edited, and the app menu's entries that open a dashboard commit after it; + - a dashboard that cannot be saved (a draft already pending in App Studio, a walled customization door, no installed version to customize, no package to save into) is drawn read-only with the reason when it is selected, and nothing can be staged for it; + - outside the mode, the dashboard header's 「Edit」 enters the mode with that dashboard selected, and so does the landing of a dashboard just created from the mode's 「New dashboard…」 or opened from a Studio list. The Edit is offered where the mode can be on (not on a phone); + - the mode's entry can name an item to select (`{ select: { type, name } }`), taken by the page that draws that item; the menu's 「Add menu item」 opening is taken by the menu only; + - the save's result list calls a dashboard 「Dashboard: NAME」 in every language pack. + + A report's own editor still saves on its own and still holds the mode out. +- dee265e: fix(console): design mode no longer saves over another admin's change; each item is refused when someone else published it after you opened it + + Clause-②: no + Metadata-protocol: none + + When two administrators change the same item in design mode, the second 「Save」 used to publish over the first without a word. Each item's commit now publishes pinned to the published version read when the item was opened for the mode: a dashboard, a report, a list's shared view, and an object's layout (header buttons, record tabs, field groups and highlight fields, in the object's own package or in its customization package for an installed app). When someone else published the item since, the save of that item is refused and nothing is written over their change. The draft the save wrote is taken back, the item is listed as not saved with the reason "Changed by someone else since you opened it, so your changes were not saved over theirs. They are still staged.", and its edits stay staged. Items saved before it stay saved, as with any other refused item. The app menu keeps its own rule: its edits are replayed over the menu as stored when you save, and its publish is pinned to that read. + + `@object-ui/i18n` adds one key in every language: `designMode.results.changedElsewhere`. +- 6aa7b9f: feat(console): reports are designed in place inside design mode, gated like dashboards + + Clause-②: no + Metadata-protocol: none + + A report no longer has an edit state of its own beside the design mode; it is designed inside it, as a dashboard is: + + - while the mode is on, the report on screen is drawn in its editor: the report builder for a report it can hold, the report panel beside the report for a joined or pre-dataset one. Neither has a 「Save」, 「Discard」 or close button of its own: the bar's 「Save」 publishes the report and its 「Cancel」 drops the edit and returns the page read-only; + - the edited report is staged with the mode under its item key, so moving to another page and back keeps the edit, one 「Save」 publishes every report and dashboard edited, and the app menu's entries that open the report commit after it; + - a report that cannot be saved (a draft already pending where the save would land, a walled customization door, no installed version to customize, no package to save into, nothing authored to read) is drawn read-only with the reason when it is selected, and nothing can be staged for it; + - outside the mode, the report header's 「Edit」 enters the mode with that report selected, and so does a report opened from a Studio list; the 「×」 back to that list stays on the page and in the builder; + - who may design a report is now who may design a dashboard: a workspace admin holding metadata authoring (`manage_metadata`). The report's 「Edit」, the reports index's 「New report」 and the new-report page follow it; an admin without metadata authoring gets none of them; + - a new report is still made from the reports index, with the builder's own Save and Close, outside the mode; + - the save's result list calls a report 「Report: NAME」 in every language pack. + + `ReportBuilder` (`@object-ui/plugin-report`) takes `onSave`, `onDiscard` and `onClose` as optional: a host that saves the report elsewhere hands none, and the header draws none of the three. +- bc67b32: feat(console): design mode edits a record page's field groups and highlight fields in place, and saves an object's header buttons, tabs and field layout as one publish + + Clause-②: no + Metadata-protocol: none + + On a default or slotted record page, the design mode now covers the object's whole page layout, and one 「Save」 writes it once per object: + + - a 「Field layout」 control at the end of the record page's tab row opens the object's field groups and highlight fields beside the record, in App Studio's own editors. The record previews each change at once; the panel has no save of its own, the bar's 「Save」 and 「Cancel」 are the only ones. It replaces the tab editor's 「Adjust field groups」 link to App Studio. Before anything can be staged the object is asked whether a change could be saved (a draft pending in App Studio, a walled customization door, an unlisted package or a read-only customization package lock the editors and say why); + - an object's header buttons, record tabs, field groups and highlight fields stage as one change, and 「Save」 publishes the object once: one read of the object, one draft, one publish. Before, header buttons and tabs saved as two separate drafts and publishes of the same object; + - an installed object is still written into the app's customization package as an object extension (header buttons, tabs and field groups); its highlight fields are set by its package, so they are shown read-only with the reason; + - a fully authored (`kind: 'full'`) record page shows none of these controls. +- d7ac4ab: A shared list view's structure is now changed through the design mode; outside it, a shared view offers only 「Reset」 and 「Save as my view」 (objectstack#39377). + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator on a list page whose open view is a shared (saved) view. + + - **Before:** the list's 「Update view」 → 「Save to this view」 asked for confirmation and saved and published the shared view at once, and the view settings panel saved it with its own Save. + - **Now, outside the design mode:** the list's draft offers 「Reset」 and 「Save as my view」 only, and the view settings open read-only with a line saying the view is changed in the design mode. Nothing is written to the shared view. + - **Now, inside the design mode:** 「Update view」 → 「Apply to this view」 stages the list (columns, their order, grouping, the default filter and sort) for the bar's 「Save」, and each edit in the view settings is staged the same way. The bar's 「Save」 saves and publishes the view; 「Cancel」 drops it unwritten. A view whose package is read-only, or that has unpublished changes in App Studio, is refused when it is selected, and the view settings say why. + - An ad-hoc filter or sort, column widths and the row height stay the reader's own and never light the bar's 「Save」. The reader's own views save at once, as before. Creating, deleting, renaming, pinning and sharing a view are unchanged. +- 4868231: feat(app-shell): a custom page selected in design mode offers "Design this page in Studio" + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator who may author metadata, in an app's design mode, on a custom app page. + + - **The page shows a strip with 「Design this page in Studio」.** It opens the page's item in Studio; Studio's back button returns to the page. The page itself stays read-only: custom pages are designed in Studio, not in place (objectstack#39378, epic objectstack#39368). + - **With changes staged it asks first.** It uses the mode's own question, 「Leave Design mode? Your unsaved changes will be lost.」; with nothing staged it opens at once. + - **Absent** outside design mode, for a caller the Studio design gate refuses, and for a package Studio cannot write. +- 801dda1: fix(studio): a condition on a choice field picks its value from the field's options + + Clause-②: no + Metadata-protocol: none + + In the Studio condition builder (validation rule conditions, page block and hook conditions, and every form that mounts it), a row whose field is a `select`, `radio`, `multiselect` or `checkboxes` field with options now picks its value from those options. The picker shows each option's label with its stored value beside it, and writes the value. Before, the value cell was a free text box for every field, so typing the label an admin sees everywhere (`紧急`) produced `record.jinji_chengdu == '紧急'`, which no record matches because records store the option value (`jinji`). + + A row whose literal is not one of the field's option values is warned under the row: an option label names the value it stands for, with a button that swaps the label for that value; any other literal is named as not an option value. A stored condition written with a label still opens as a row, shows its literal in the picker, and carries the warning. The warning is advisory and never holds the save. `tags` fields, fields whose options come from a shared picklist the catalog does not expand, and every other field type keep the free text box. +- 9e6a192: fix(app-shell): an approver who may not read the object now sees the submitted record on the approval request page + + Clause-②: no + Metadata-protocol: none + + Who sees it: an approver who opens an approval request on an object their permission sets do not let them read, which is the usual case when the approver is the submitter's manager. + + - **The submitted record is drawn instead of an empty area.** The server already sends the submission to the approver, without the fields an administrator hid from them; the page used to drop it because the object's definition is not served to that approver. It now draws the served fields under the labels the server sends, with linked records by name. + - **When the server sends no field at all**, the card says "You don't have access to this object's fields; ask an administrator." instead of staying empty. + - **Nothing more is shown than the server sends.** Field-level redaction is unchanged, and opening the live record still needs read on the object. + - New locale key `approvalsInbox.snapshotNoFieldAccess`, in every locale pack. +- bbc6411: fix(console): the Setup page behind 岗位成员 uses the navigation's term + + Clause-②: no + Metadata-protocol: none + + In Chinese, the Setup navigation names the entry for a position's people 岗位成员, and keeps the older term 岗位持有人 only as a search keyword. The page it opened still used the older term: its title, subtitle and prompt, and the holder list's title, Add button, empty state, Remove confirmation and read-failure line. They now use 岗位成员, so the page carries the name of the entry that opens it. The Traditional Chinese page frame, generated from the Simplified Chinese strings, follows (崗位成員). English copy is unchanged. +- c335a23: fix(console): the object designer's folded tabs are called More, and the flow add-node palette stays inside the window + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator building objects and flows in the Studio. + + - **The object designer's tab row folds its trailing tabs into 「更多」 / "More"**, not 「高级」 / "Advanced". At a narrower window the panels that do not fit (Validations, Actions, Settings, Hooks, API) fold into one dropdown; called Advanced it read as a settings menu. The string key is now `engine.studio.data.tab.more` (it was `engine.studio.data.tab.advanced`); nothing else moves. + - **The flow designer's add-node palette is no taller than the room on the side it opens to**, kept 8 px off the window's edge. Opened from a "+" near the top of the canvas, its search box and first rows were drawn outside the window; now the list shrinks and scrolls inside the panel. +- 64188fb: feat(app-shell, plugin-report): a new report's data source offers New dataset on the app's objects, published at once and picked for the report + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace admin building the first report of an app (Studio → the app → Reports → New, or the app's own reports index). + + - **The app's datasets come first** in the report builder's data source: the ones the app's package holds and the ones that read one of its objects, then everything else. + - **While no dataset reads one of the app's objects**, the data source says, in one or two plain sentences, that a report reads a dataset and none reads this app's objects yet, and offers **New dataset** on each of the app's objects. The data source list no longer opens over that explanation. + - **New dataset opens on its object** and writes nothing until you name the dataset and press Create. The dataset is then saved and published in the same act, into the package the report is saved in (the same package pick as the report's Save, so you are asked at most once), and picked for the report. A refused publish leaves no dataset or draft behind and shows the server's reason in the dialog. + - An existing report's Edit and Studio's dashboard-widget New dataset are unchanged (the latter still saves a draft). + - Known residue: a dataset created this way stays published if you then leave the report unsaved. +- 3787cb6: feat(app-shell): Setup → Record Shares and the sharing rule pages mark a recipient who cannot open the shared object at all + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator reading Setup → Record Shares, a share's own page, or a sharing rule whose recipient is a named user. + + - **A share or a rule could look granted and do nothing.** A record share or sharing rule widens which rows a user reaches; it never grants the object. A user whose permission sets grant no read on the object still could not open a shared record, and nothing on screen said so. + - **The recipient cell now carries a mark** ("Cannot open Repair Order", with the remedy in its tooltip: assign a permission set that grants read on the object) when the served access-explain door answers a positive denial at the object-permission layer: `decidedBy: 'object_crud'` for a share's record, the `object_crud` layer's `denies` for a rule's object. The object is named by its label. + - **Nothing changes otherwise.** A viewer the explain door does not admit, a failed ask, or any other answer draws the cell exactly as before. The mark follows the permission sets: once a set granting read is assigned, the next page drawn shows none. + - **Cost:** one explain call per page per (user, object), batching the page's record ids under the server's 200-id cap. + - Nothing is said at save time; a sharing rule or share still saves as before. +- 526d87e: feat(app-shell): Studio's public-form editor shows what a visitor gets: a field the public address never serves is flagged, the preview has the live buttons, a Chinese title derives the address + + Clause-②: yes + Metadata-protocol: none + + Who sees it: an administrator building a public form in Studio (Studio → an object → Forms). + + - **A field the public address never serves is no longer a surprise.** A public form's address drops every `lookup`, `master_detail` and `user` field, and the server-managed columns, from what it serves, so a visitor never sees them. On a form with a public address the editor no longer offers such a field in Add field, flags one already on the form as "Not on the public form", and leaves it out of the preview. A field the object requires but the address never serves is no longer demanded on a public form (so such a form still saves); the editor says instead that a rule, hook or default must set it, or every submission is refused. The served form is unchanged: dropping the field stays right, the author is now told. + - **One rule for both.** `@objectstack/spec/security` exports `isPublicFormServedField(name, def)` and `PUBLIC_FORM_NEVER_SERVED_FIELD_TYPES` beside `PUBLIC_FORM_SERVER_MANAGED_FIELDS`. `GET /api/v1/forms/:slug` strips by it (same fields as before), and the editor reads it. + - **The preview's buttons are the live page's.** It showed Cancel and Create; on a public form it now shows only the submit button, named as the visitor reads it (the form's own label, else Submit); a form an action opens keeps Cancel, as its in-app page draws it. + - **The address derives from a Chinese title.** A new form's address follows its title through pinyin, as Studio's other create doors derive names (维修中心 → `weixiu-zhongxin`); an address the author typed is kept. + - **A blank after-submit message says what a visitor sees.** The two fields show the default thank-you texts the live page falls back to, with a line saying a visitor sees them after submitting. +- 91d5e9b: feat(console): Language & Region names the default working calendar's time zone when it differs from the organization's + + Clause-②: no + Metadata-protocol: none + + Who sees it: an organization administrator on Setup → Language & Region. + + - When the organization's default working calendar (`sys_work_calendar` with `is_default`) uses a different time zone from the organization's saved time zone, a note under the Time zone row names the calendar and both zones, and says that business hours and SLA due dates that name no calendar run on the calendar's zone. + - The note is informational only: a calendar may keep its own zone (ADR-0157 D7), so nothing is refused or changed. With matching zones, no default calendar, or a calendar read the viewer may not make, no note is shown. + - New locale key `console.settingsView.calendarZoneDiffers` in every shipped pack. +- 09a1d7b: fix(core, app-shell): the delete toast says the record went to the recycle bin; a position's Add holder leaves out people who already hold it + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone who deletes one record from a list or a record page, and an administrator adding holders to a position in Setup. + + - **Deleting one record now says where it went.** When the delete's answer carries a recycle-bin entry, the success toast reads `Lead "Ada" moved to the recycle bin` (and its translation in every built-in language) instead of `Lead "Ada" deleted`, for every caller. Before, only a person allowed to restore their own deletes learned anything, through the toast's Undo. Undo is unchanged: it is still offered only to that person. A delete whose answer carries no entry (a platform object, a deployment without a recycle bin, a data source that answers none) keeps the old toast, word for word. The confirm question is not changed, and the toast names no restore-until date, which the delete's answer does not carry. + - **`recordDelete.run` and the record page now always pass `onRecycleBinEntry` to `DataSource.delete`** for a one-record delete, not only when Undo can be offered. The ObjectStack adapter sends the same request either way; an adapter whose backend has no recycle bin never calls it. A batch delete is unchanged. + - Two new keys, `objectActions.movedToRecycleBinNamed` and `objectActions.movedToRecycleBin`, are in every built-in language pack; a host with no translations reads the English sentence. + - **Setup → position → Add holder offers only people who do not hold the position yet**; the picker's title says holders are not listed, and when every member already holds it the picker stays closed and says so. It is the same shape a permission set's Add user takes. +- 4494911: feat(console): design mode refuses the app menu, record tabs and another package's dashboard when they are selected, not at Save + + Clause-②: no + Metadata-protocol: none + + What the design mode cannot save is now said when the item is selected, with the reason, and nothing is staged for it. The save's own checks stay, for what changes in between: + + - the app's menu: when the mode is entered, the menu asks where its save would write. A draft of the app pending in App Studio (in the app's own package, or in its customization package for an installed app), an unlisted package, a walled customization door or a read-only customization package draws the menu read-only with the reason in place of the keyboard hint: no 「Add menu item」, no 「⋮」, no drag. While the check reads, the menu is read-only too; + - a record page's tabs: the tab editor asks the object's one refusal (the same question header buttons and the field layout ask) and is drawn read-only with the reason when it refuses; + - a dashboard a menu entry opens from another package than the app's: its own gate is read for that package, and when it does not let the administrator in, the dashboard says so ("This dashboard cannot be saved here: its app has no package this account can customize.") instead of staying read-only with no reason. A gate still reading says nothing. + + `@object-ui/i18n` adds eight keys in every language: `designMode.menu.refusedNotListed`, `refusedPendingDraft`, `refusedWalled`, `refusedNotWritable`, and `designMode.object.tabsRefusedNotListed`, `tabsRefusedPendingDraft`, `tabsRefusedWalled`, `tabsRefusedNotWritable`. +- 6477f39: fix(marketplace): a marketplace install loads seed-file rows, says what its sample data run wrote, and lists what did not load + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator installing a marketplace package with sample data into this runtime (Setup → Marketplace). + + - **Seed files load on install.** The install's own sample-data load stores a `seedFile(...)` value through the runtime's `field-files` service, as the boot seed does. It used to refuse every such row ("this load has no file service to store it with") on a server that runs the storage service, and every link to that row stayed empty. A runtime without the storage service still refuses the row, by name. + - **The install result says what the run did.** "This install loaded N sample records" now counts the records this install wrote. Records it did not write, because they were already there or were deleted after an earlier load, are counted in their own sentence. A reinstall that writes nothing no longer says it loaded anything. + - **Failures are shown.** The result counts the sample records and the links between them that did not load, and lists each one under a Details disclosure, from the install answer's own report. A run that wrote nothing and failed now shows its failures instead of nothing. + - **Reinstall sentence corrected.** It said a reinstall loads the sample data again, including what you cleared. It does not: a reinstall leaves deleted and cleared sample records out, and Re-seed sample data brings them back. The sentence now says so. + - **Install confirm count.** The count of sample records reads the datasets of every package in a multi-package artifact. It used to show 0 for such a package. When the datasets are per language, the confirm says the count depends on the language the install uses instead of showing a number. +- 0b9a11b: fix(studio): renaming an installed package's field in a translated console now shows in that language + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace administrator customizing an installed package's object in Studio while the console is in a language other than the deployment's source language (for example 简体中文 on an English-authored package). + + - **Before:** a new display name or option name typed for a base field was saved into the field itself, but the package's own translation for that language kept winning, so nobody reading that language saw the change. + - **Now:** the name is staged as that language's translation in the package's paired `.custom` customization package and written by the page's Save (Cancel drops it). Readers of that language see the new name after the page reloads, other languages keep their own, and reinstalling the package leaves the rename in place. The inspector says that the new name shows only in that language. + - In the deployment's source language, with no translation shown over the name, the edit is saved into the field as before. Help text and placeholder are still saved into the field (the console reads those from the served field, where the customization already wins); a field description has no translation. + - This package adds the two inspector sentences in English and Chinese. +- e57fb78: feat(studio): a customer can add a validation rule to an installed package's object; it is saved in the App's customization package + + Clause-②: no + Metadata-protocol: none + + - Studio → an installed object → Validations: the package's own rules are listed first, marked 「来自软件包」 / "From the package", and open read-only. **New validation rule** is offered beside them. + - A rule you create or edit there is saved in your customizations (the object's extension in the App's `.custom` package) by the top bar's Save, which publishes it at once. It runs on every record save of the object, and it stays in place when the package is reinstalled or upgraded. + - A rule cannot take the name of one of the package's rules. Typing that name is refused with a message, and a new rule is named past it, because a same-named rule would replace the package's. + - On an object your own package owns, the tab is unchanged. +- 44cf0fc: Clause-②: no + Metadata-protocol: none + + The marketplace package page no longer offers Reinstall as the main button when this runtime already holds the latest version. It says "Up to date" (「已是最新版本」) instead, and Reinstall is in the "More install options" menu. A package that did not load, or is on an older version, keeps Reinstall as its button. + + The confirm in front of a reinstall or an update now says that this environment's customizations of the package are kept: reinstalling replaces only the package's own metadata, and the changes saved in its customization package stay as they are. +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. +- d11b7fd: fix(app-shell): in design mode, a dashboard that cannot be edited says why, including when the check itself fails + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator who selects a dashboard in design mode that the mode will not let them change. + + - **The refusal's detail is shown under its line.** A dashboard refused because its app has no package to customize, or because it could not be read, now shows the reason the read gave beneath the refusal line. + - **A check that fails now says so.** If the check of whether the dashboard can be edited itself throws, the page stays read-only and reads "Could not check whether this dashboard can be edited", with the error's message beneath it, instead of showing nothing. + - The new line is translated in all eleven language packs. +- 1177710: Remove the eleven design-mode locale keys no code reads any more. + + Clause-②: no + Metadata-protocol: none + + `@object-ui/i18n`: the keys `designMode.pins.notListed`, `designMode.pins.pendingDraft`, `designMode.pins.pairNotWritable`, `designMode.recordTabs.entry`, `designMode.recordTabs.leaveUnsaved`, `designMode.recordTabs.saveFailed`, `designMode.recordTabs.notListed`, `designMode.recordTabs.pendingDraft`, `designMode.recordTabs.notWritable`, `designMode.recordTabs.adjustFieldGroups` and `designMode.recordTabs.pairNotWritable` are removed from every pack. The console no longer reads them: an object's header buttons, record tabs, field groups and highlights are saved as one change. Nothing to migrate. +- 8d081ed: Remove the five shared-view draft locale keys no code reads any more. + + Clause-②: no (narrowing) — five released translation keys are removed from every locale pack (listed below) + Metadata-protocol: none + + + + A shared view's structure is changed under the design mode now (#39377), not saved from the list, so the console no longer reads the old confirm-and-publish texts. + + **BREAKING**: released keys are removed. No code in the platform reads them any more. + + - `@object-ui/i18n`, every locale: `console.objectView.draft.saveToViewConfirmTitle`, `console.objectView.draft.saveToViewConfirm`, `console.objectView.draft.saveToViewConfirmButton`, `console.objectView.draft.savedForEveryone` and `console.objectView.draft.pendingDraft` (shipped since 19.0.0-next.0). + + If a deployment overrides one of the removed keys (in its own i18next resources), that override no longer applies: nothing asks for the key. Remove the override. +- 259cc46: feat(spec, metadata-protocol, objectql, runtime, cloud-connection): a customer adds values to an installed package's picklist as a stored `picklist_extension` item of the customization pair + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + Who sees it: an administrator of an installed app (for example a CRM) who needs one more value in the vendor's shared option list, such as a new lead source. Until now nothing they could reach stored it: the list belongs to the vendor's package, and the `.custom` pair had no door for `picklistExtensions`. + + **BREAKING** for the same pull request's `PATCH /api/v1/packages/` door only (see `.changeset/39576-patch-packages-unread-body-key.md`): this half adds a type and refuses nothing an author already writes. + + - New metadata type `picklist_extension`, the twin of `object_extension`: values a package adds to a picklist another package owns, stored as an item of the writing package under the list's name (one item per package per list). The body is `PicklistExtensionSchema` unchanged (`extend`, `options`). It is saved as a draft, published, versioned, rolled back and deleted through `/api/v1/meta/picklist_extension/?package=` like any item, and classified `excluded` in the override table (a list is extended, never replaced). The type takes no `package` selector on history or rollback, so while two packages each hold a row of a list's name a rollback of it is refused with `409 RESOURCE_CONFLICT`, naming both; re-publish the wanted values instead. + - Every value such an item adds must end in `__c` (the suffix reserved for a customer's extension fields). A value without it is refused at the save, publish and restore doors with `VALIDATION_ERROR` / 400 located at `options..value`; the option `label` stays free text. The reason: a vendor version that later ships the same value is refused at upgrade while a customer's extension holds it, so with the suffix the vendor's next version may ship `trade_show` beside the customer's `trade_show__c`. The rule is asked of these items only: a list's own values and a code package's `picklistExtensions` are not judged for it. + - The doors also refuse, with `VALIDATION_ERROR` / 400: a write naming no package, a row filed under a name other than its `extend`, a list the package cannot reach (not its own and not declared by a package in its `dependencies`), a list name two installed packages each hold (the registry's own sentence: an extension's target is resolved environment-wide, so such an item could never be served), and a value the list or another package's extension already carries. + - A published item is served at once on every field bound to the list, re-registered at boot, replaced on re-publish (a value dropped from the item leaves the list), and withdrawn when the item is deleted or the package uninstalled. + - `GET /api/v1/packages//export` carries the items as `picklistExtensions`, and `POST /api/v1/marketplace/install-local` of such a pair writes each entry back as a `picklist_extension` item (before, it refused the key). + - `SchemaRegistry` (`@objectstack/objectql`) gains `storedPicklistExtension(request)`, one door for a stored row's `replace`, `refusal`, `withdraw` and `extenders` requests of its package's contribution to a list. + - Studio lists the type in its left menu under 数据 Data, in the 高级 fold, last in the group, and the pending-changes summary reads a count of these items as "N picklist extensions" in every console language instead of the raw type name. No editor or 「添加选项」 control ships in this change. + + Migration: none for this half. `picklist_extension` is a new type, so nothing an author already writes is refused by it; the `__c` rule applies only to items of the new type. The narrowing this pull request declares is the `PATCH /api/v1/packages/` body-key refusal, described with its migration in `.changeset/39576-patch-packages-unread-body-key.md` and registered there. + + +- 347998b: feat(fields, service-messaging): a notification template's record page previews the saved template as it would be sent + + Clause-②: no + Metadata-protocol: none + + Who sees it: an administrator opening a notification template under Setup → Notification Templates. + + - **Under the body, a Preview pane shows the saved subject and body as the messaging service renders them for a send.** The server's preview route renders them with the same function the email and SMS channels use. Nothing is sent and nothing is written. + - **Each placeholder in the saved subject and body gets a sample-value input** (`{{ amount }}` and `{{ payload.amount }}` share one input; `{{ topic }}` is filled from the template's own topic). Typing sends nothing; **Preview with these values** renders again with what was typed. + - **The pane refreshes when the template is saved**, not while you type in the edit form. A refusal (no access to the template, a template that no longer exists) is shown as its own text and code. + - An `html` or `mjml` template shows the rendered HTML through the console's sanitizer; a `markdown` or `text` template shows the plain text the channels send. + - The edit form is unchanged: the body keeps its markdown editor. The pane is the body's read face on the record page, declared on `sys_notification_template.body` as `widget: 'notification-template-preview'`. A list cell of the body draws the body alone. + - The pane's words are translated in every console language (`fields.notificationTemplatePreview.*`). +- fb26c1c: feat(app-shell): in the app's design mode, a dashboard card's New dataset publishes the dataset at once into the dashboard's package and picks it for the card + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace admin designing a dashboard in the app's design mode (the dashboard's Edit, or a dashboard opened from App Studio). + + - **A selected card's dataset picker offers New dataset** in the design mode, as it does in App Studio. While no dataset reads one of the app's objects, the card panel says so in one sentence. + - **New dataset writes nothing until you name the dataset and press Create.** The dataset is then saved and published in the same act into the dashboard's own package (a writable app package, including a dashboard that an app's customization package owns), and picked for the card, so the dashboard you then save reads a published dataset. + - **A refused publish leaves no dataset or draft behind** and shows the server's reason in the dialog; the card stays unbound. + - **No entry where the dashboard's own package cannot hold the dataset**: an installed (read-only) app's dashboard, which the design mode saves as a customization of that app, offers no New dataset, because its cards read as the installed app's package and could not read a dataset held only in the customization package. Neither does a dashboard that names no package, or one the design mode refuses. + - App Studio's own New dataset is unchanged (it still saves a draft, published with the package). + - Known residue: a dataset created this way stays published if you then Cancel the dashboard edit. +- 5baf187: fix(console): the app menu's door into the design mode and the mode's bar read 「设计模式」 / "Design mode" again (renamed back from 「设计布局」 / "Design layout"), as do the strings that name the mode. The 「编辑应用」 / 「在 Studio 中查看」 row is unchanged. + + Clause-②: no + Metadata-protocol: none +- 04eba3d: Clause-②: yes (widening) + Metadata-protocol: none + + The widening: a new read-only route, `GET /api/v1/marketplace/install-local/seed-locale`, served to `manage_metadata` holders, and a new `objects` member on the install answer's `seeded`; nothing that was served before changes. + + The local marketplace install confirm now names the language an app's sample records will load in, when the app ships them per language. It asks the runtime first: `GET /api/v1/marketplace/install-local/seed-locale?appDefaultLocale=` answers `{ locale, source }` from the install's own choice (the organization's language setting, then the installing user's language, then the app's declared default). When that language is not the one the administrator reads the console in, the confirm says so and links to Language & Region, where the organization's language is set. The order of that choice is unchanged. + + The install answer's `seeded` gains `objects`: the run split by object, whether the package defines each object, and why each skipped row was not written (`existing`, `withdrawn`, `noRowToUpdate`). The install note now counts only the package's own records as sample records, so it agrees with the clear and the sample-data count. Rows written to an object the package does not define (a platform object's timeline pointers) and updates that found no record are named instead of counted. "Already here, or deleted after an earlier load" is said only for rows where that is true. `inserted`, `updated` and `skipped` keep their meaning, and a runtime without `objects` is read as before. + + A reinstall confirm opens with a reinstall's line, and no longer suggests an Everyone grant the administrator already accepted. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/ui/packages/i18n/package.json b/ui/packages/i18n/package.json index 28f9ca460b9..0dd06b0bc94 100644 --- a/ui/packages/i18n/package.json +++ b/ui/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/i18n", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "sideEffects": false, "license": "MIT", diff --git a/ui/packages/layout/CHANGELOG.md b/ui/packages/layout/CHANGELOG.md index 86eb86f5a66..d7c4a0946da 100644 --- a/ui/packages/layout/CHANGELOG.md +++ b/ui/packages/layout/CHANGELOG.md @@ -1,5 +1,62 @@ # @object-ui/layout +## 19.0.0-next.5 + +### Patch Changes + +- 8f241d4: feat(spec, layout, app-shell): a navigation entry with no `label` that opens a report or a page shows that report's or page's current label + + Clause-②: no + Metadata-protocol: semantic + + An app navigation entry without a `label` already showed, at render time, the current label of the view, object or dashboard it opens. A `report` entry naming a `reportName` and a `page` entry now do the same: the menu shows the report's or the page's label, in the viewer's language, and a renamed report or page shows its new name on the next load. Before, such an entry showed the target's machine name (for example `ge_jinji_chengdu_yu_gu_feiyong`), which is what the design mode's "Add menu item" wrote for a report or a page, and what a page created in the console writes when it is given no name. Entries already stored this way change with no edit. An entry whose target carries no label, or has not loaded, still shows the machine name. A `label` you write still renders verbatim. Nothing is stored for the absent case. + + `BaseNavItemSchema.label`'s describe now names report and page beside view, object and dashboard. The accepted shape does not change. + + `@object-ui/layout`: `NavLabelTarget` gains `{ kind: 'report'; reportName }` and `{ kind: 'page'; pageName }`, and `resolveNavItemLabel` asks a host's `NavTargetLabelResolver` for both. A host resolver that switches over `NavLabelTarget` and answers `undefined` by default keeps working, and those entries keep showing the machine name until it answers the two kinds. + + `@object-ui/app-shell`: `useNavTargetLabel` answers the two kinds from the served label (a page from the app bundle first), read by name where the caller asks for it, and the recent-items list asks the same resolver, so a menu entry and a recent row that open one report or page show the same text. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/layout/package.json b/ui/packages/layout/package.json index 76373e6a901..beaf070a48d 100644 --- a/ui/packages/layout/package.json +++ b/ui/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/layout", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "sideEffects": [ "./dist/index.js", diff --git a/ui/packages/mobile/CHANGELOG.md b/ui/packages/mobile/CHANGELOG.md index 4fd768ce657..b8d6125380e 100644 --- a/ui/packages/mobile/CHANGELOG.md +++ b/ui/packages/mobile/CHANGELOG.md @@ -1,5 +1,14 @@ # @object-ui/mobile +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [05e97de] +- Updated dependencies [8f241d4] + - @object-ui/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/mobile/package.json b/ui/packages/mobile/package.json index fc8e1b51221..7ad3ff68ed3 100644 --- a/ui/packages/mobile/package.json +++ b/ui/packages/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/mobile", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Mobile optimization for ObjectUI with responsive components, PWA support, and touch gesture handling.", diff --git a/ui/packages/permissions/CHANGELOG.md b/ui/packages/permissions/CHANGELOG.md index 925591ba25d..e3508014103 100644 --- a/ui/packages/permissions/CHANGELOG.md +++ b/ui/packages/permissions/CHANGELOG.md @@ -1,5 +1,59 @@ # @object-ui/permissions +## 19.0.0-next.5 + +### Minor Changes + +- c8bfac1: feat(security, console): a permission set's `default_on` app is where its holders land on their first sign-in + + Clause-②: yes (widening) — one new optional member, `tabPermissions?`, on `@object-ui/permissions`' published `PermissionContextValue` (the caller's merged app tab map from `/auth/me/permissions`, handed on verbatim; absent means no answer); beside it, one new optional third argument on `resolveDesktopHomePath(apps, lastApp, tabPermissions?)` in `@object-ui/app-shell`, a private package; no response field, no key and no accepted value is added; nothing is removed or narrowed + Metadata-protocol: semantic + + `tabPermissions: { APP: 'default_on' }` on a permission set now means something: the holders of that set land in APP when they sign in with no last-used app. Before, the value was accepted, merged and served, and changed nothing. + + - **Merge order.** The caller's held sets merge one app's values by rank, highest wins, and the rank is now `hidden` < `default_off` < `visible` < `default_on` (it was `hidden` < `default_off` < `default_on` < `visible`). A baseline set that only shows an app no longer erases another held set's `default_on` for it. The same order applies in the execution context (`ExecutionContext.tabPermissions`), in `GET /api/v1/auth/me/permissions` (`tabPermissions`) and in `GET /api/v1/me/apps`, where only `hidden` drops an app, as before. + - **Desktop landing order** (the `/` redirect and every Home affordance, from 768 px up): the last-used app; else the first app of the served list whose merged value is `default_on`; else the app declaring `isDefault: true`; else the first product app; else `/home`. Several `default_on` apps resolve to the first in served order. A `default_on` app the user's sets hide, or that is hidden or switched off, is skipped. + - The phone layout is unchanged and does not read `default_on`. `default_off` still behaves like `visible`. + + Upgrade note: a user who holds a permission set marking an app `default_on` and has no last-used app now opens that app on sign-in, ahead of the app that declares `isDefault: true`; a user with a last-used app is not moved. `GET /api/v1/auth/me/permissions` now reports `default_on` for an app where one held set says `default_on` and another says `visible` (it reported `visible`). To keep the old landing, change the value to `visible` on the set; nothing stored needs migrating. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/permissions/package.json b/ui/packages/permissions/package.json index fd518eb717d..49b80355f77 100644 --- a/ui/packages/permissions/package.json +++ b/ui/packages/permissions/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/permissions", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "RBAC permission system for ObjectUI with object/field/row-level access control, permission guards, and hooks.", diff --git a/ui/packages/plugin-calendar/CHANGELOG.md b/ui/packages/plugin-calendar/CHANGELOG.md index 5c197ac5097..edd5de8eace 100644 --- a/ui/packages/plugin-calendar/CHANGELOG.md +++ b/ui/packages/plugin-calendar/CHANGELOG.md @@ -1,5 +1,57 @@ # @object-ui/plugin-calendar +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [f00ab66] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [4494911] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [347998b] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-calendar/package.json b/ui/packages/plugin-calendar/package.json index e848003bc7a..ffa5a064bb4 100644 --- a/ui/packages/plugin-calendar/package.json +++ b/ui/packages/plugin-calendar/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-calendar", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Calendar view plugins for ObjectUI - includes both ObjectQL-integrated and standalone calendar components", diff --git a/ui/packages/plugin-charts/CHANGELOG.md b/ui/packages/plugin-charts/CHANGELOG.md index f30ad411f13..a0371a02148 100644 --- a/ui/packages/plugin-charts/CHANGELOG.md +++ b/ui/packages/plugin-charts/CHANGELOG.md @@ -1,5 +1,61 @@ # @object-ui/plugin-charts +## 19.0.0-next.5 + +### Patch Changes + +- 3e44a67: fix(plugin-charts): a chart's value axis is wide enough for its tick labels, so a currency tick such as `US$1.2万` is no longer cut to `JS$1.2万` + + Clause-②: no + Metadata-protocol: none + + Who sees it: anyone reading a bar, line, area, combo or scatter chart whose value-axis labels are long, such as a currency amount in a zh-CN session (`US$1.2万`, `US$3000万`). + + - **Each value axis is as wide as its widest tick label.** Every value axis drawn up the side of a chart was a fixed 48px wide, so the first letters of a long label were cut off at the chart's edge. The left axis, the right axis of a two-axis chart, both axes of a combo and the scatter y axis now grow to hold their labels. + - **The width is bounded.** An axis is never narrower than the 48px it used to be, so a chart with short labels looks exactly as before. It is never wider than 120px. On a measured chart, the axes drawn beside the plot together take at most a third of the chart's width, so a narrow dashboard tile keeps most of its room for the plot. Past that bound a very long label can still be cut at its first letter. +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [f00ab66] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [4494911] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [347998b] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-charts/package.json b/ui/packages/plugin-charts/package.json index e369681f584..4036b2962bd 100644 --- a/ui/packages/plugin-charts/package.json +++ b/ui/packages/plugin-charts/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-charts", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Chart components plugin for ObjectUI, powered by Recharts", diff --git a/ui/packages/plugin-chatbot/CHANGELOG.md b/ui/packages/plugin-chatbot/CHANGELOG.md index cce4aecc681..e0df694eaf6 100644 --- a/ui/packages/plugin-chatbot/CHANGELOG.md +++ b/ui/packages/plugin-chatbot/CHANGELOG.md @@ -1,5 +1,94 @@ # @object-ui/plugin-chatbot +## 19.0.0-next.5 + +### Patch Changes + +- 96aa479: fix(console): a reloaded user turn draws the person's words and their attachments, and is sent to the agent again as it was first sent + + Clause-②: no + Metadata-protocol: none + + After a reload, a user turn that carried an attachment drew the text the agent read: the person's words, the model note and one `[Attached file …]` line per file, joined, with no image or file chip. The conversation store now keeps the turn as sent beside that text (cloud#5401, returned as `AiMessageSchema.parts`), and the console draws from it: + + - server history: a user row's `parts` are rebuilt into the turn's words, its marked model note and one `file` part per stored attachment (`storedUserTurnParts`); a part with no stored-file id, an address the bubble may not draw, or any other type is left out. A row without `parts` (stored before) draws its `content` as before; + - the message cache keeps a user turn's files, model note and local attachments, so a cache restore draws the same bubble; + - a restored user turn carries `attachments`, `localAttachments` and the new `modelNote`, and the chat store is seeded from them with the send's own builder (`userTurnPartsOf`), so the bubble draws them and the agent is sent the turn again as it was first sent. +- 640e2f9: fix(plugin-chatbot,app-shell): the AI chat composer takes images and spreadsheets only + + Clause-②: no + Metadata-protocol: none + + The composer's default accept list offered PDF and Word files. A PDF was uploaded and sent to the model as a file part, which failed the whole turn on OpenAI-compatible providers that refuse an inline PDF (objectstack-ai/cloud#5428); a Word file was never read at all. The default list is now `image/*,.txt,.csv,.tsv,.xlsx,.xlsm`: images are uploaded as before, spreadsheets are parsed in the page as before, and a PDF, Word or any other file picked, pasted or dropped is refused with the composer's notice. The console's upload no longer takes a PDF either, so a host with its own accept list cannot send one. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-chatbot/package.json b/ui/packages/plugin-chatbot/package.json index 1f4a2d951d0..cd91bc61c85 100644 --- a/ui/packages/plugin-chatbot/package.json +++ b/ui/packages/plugin-chatbot/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-chatbot", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Chatbot interface plugin for ObjectUI", diff --git a/ui/packages/plugin-dashboard/CHANGELOG.md b/ui/packages/plugin-dashboard/CHANGELOG.md index 7a89de581d8..c1618fc2fe0 100644 --- a/ui/packages/plugin-dashboard/CHANGELOG.md +++ b/ui/packages/plugin-dashboard/CHANGELOG.md @@ -1,5 +1,103 @@ # @object-ui/plugin-dashboard +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-dashboard/package.json b/ui/packages/plugin-dashboard/package.json index 01144cd8511..99c9a7fca56 100644 --- a/ui/packages/plugin-dashboard/package.json +++ b/ui/packages/plugin-dashboard/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-dashboard", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Dashboard plugin for ObjectUI", diff --git a/ui/packages/plugin-designer/CHANGELOG.md b/ui/packages/plugin-designer/CHANGELOG.md index 5cd65ff9aee..d5ec7042a24 100644 --- a/ui/packages/plugin-designer/CHANGELOG.md +++ b/ui/packages/plugin-designer/CHANGELOG.md @@ -1,5 +1,94 @@ # @object-ui/plugin-designer +## 19.0.0-next.5 + +### Patch Changes + +- 9cd8e52: feat(plugin-grid): an object table that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + An `object-grid` used to draw its Export menu only when it declared `exportOptions`. A grid over an object now reads an absent `exportOptions` the way a list view does: as the empty block, offering the default formats, `csv` and `json`. `xlsx` is offered where the grid lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before, and a grid that names no object still offers export only when it declares the block. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the grid through the object's effective `export` operation: a user whose permission sets do not grant it sees no Export entry, and the server refuses the export request. To keep a table without export, declare `exportOptions: { formats: [] }` on it; to take export off every surface of an object, set the object's `userActions.exportCsv: false`. + + The platform's own screens that compose a grid declare `exportOptions: { formats: [] }` on the grid they build, so none gains an Export entry: the list page's grid (whose list toolbar keeps the one export door), the enlarged related list tab, the Studio metadata lists, the object manager, the field designer and the console's row-action dev page. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [758cd97] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/plugin-grid@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/layout@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/data-objectstack@19.0.0-next.5 + - @object-ui/plugin-form@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-designer/package.json b/ui/packages/plugin-designer/package.json index f3cedcb9757..aa8c63410c1 100644 --- a/ui/packages/plugin-designer/package.json +++ b/ui/packages/plugin-designer/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-designer", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Visual designer plugin for ObjectUI with page, data model, process, and report designers.", diff --git a/ui/packages/plugin-detail/CHANGELOG.md b/ui/packages/plugin-detail/CHANGELOG.md index f2193d691fc..6e07e5cb12c 100644 --- a/ui/packages/plugin-detail/CHANGELOG.md +++ b/ui/packages/plugin-detail/CHANGELOG.md @@ -1,5 +1,97 @@ # @object-ui/plugin-detail +## 19.0.0-next.5 + +### Patch Changes + +- 9cd8e52: feat(plugin-grid): an object table that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + An `object-grid` used to draw its Export menu only when it declared `exportOptions`. A grid over an object now reads an absent `exportOptions` the way a list view does: as the empty block, offering the default formats, `csv` and `json`. `xlsx` is offered where the grid lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before, and a grid that names no object still offers export only when it declares the block. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the grid through the object's effective `export` operation: a user whose permission sets do not grant it sees no Export entry, and the server refuses the export request. To keep a table without export, declare `exportOptions: { formats: [] }` on it; to take export off every surface of an object, set the object's `userActions.exportCsv: false`. + + The platform's own screens that compose a grid declare `exportOptions: { formats: [] }` on the grid they build, so none gains an Export entry: the list page's grid (whose list toolbar keeps the one export door), the enlarged related list tab, the Studio metadata lists, the object manager, the field designer and the console's row-action dev page. +- 22d5eee: fix(plugin-detail): a related list's count badge announces its count in the console language + + Clause-②: no + Metadata-protocol: none + + The count badge in a related list's header showed a number and announced it to screen readers in English ("3 records") whatever the console language. It now reads the translated pair the related list already uses elsewhere: a zh-CN console announces 「3 条记录」, and an English console says "1 record" at one record rather than "1 records". What the badge draws is unchanged. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-detail/package.json b/ui/packages/plugin-detail/package.json index 32c5a2b0f68..5f7cbcdd01f 100644 --- a/ui/packages/plugin-detail/package.json +++ b/ui/packages/plugin-detail/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-detail", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "DetailView plugin for ObjectUI - comprehensive detail page with sections, tabs, and related lists", diff --git a/ui/packages/plugin-editor/CHANGELOG.md b/ui/packages/plugin-editor/CHANGELOG.md index c99e649a695..a4ef450acc7 100644 --- a/ui/packages/plugin-editor/CHANGELOG.md +++ b/ui/packages/plugin-editor/CHANGELOG.md @@ -1,5 +1,19 @@ # @object-ui/plugin-editor +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [05e97de] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [f61773f] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-editor/package.json b/ui/packages/plugin-editor/package.json index f3cb6d400e8..dfa1809a978 100644 --- a/ui/packages/plugin-editor/package.json +++ b/ui/packages/plugin-editor/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-editor", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Rich text editor plugin for ObjectUI, powered by Monaco Editor", diff --git a/ui/packages/plugin-form/CHANGELOG.md b/ui/packages/plugin-form/CHANGELOG.md index c156158e016..93b02e98621 100644 --- a/ui/packages/plugin-form/CHANGELOG.md +++ b/ui/packages/plugin-form/CHANGELOG.md @@ -1,5 +1,81 @@ # @object-ui/plugin-form +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-form/package.json b/ui/packages/plugin-form/package.json index 00ebe1896f0..19488afb7d8 100644 --- a/ui/packages/plugin-form/package.json +++ b/ui/packages/plugin-form/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-form", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Form plugin for ObjectUI", diff --git a/ui/packages/plugin-gantt/CHANGELOG.md b/ui/packages/plugin-gantt/CHANGELOG.md index e83cf26a99d..cd5577d485b 100644 --- a/ui/packages/plugin-gantt/CHANGELOG.md +++ b/ui/packages/plugin-gantt/CHANGELOG.md @@ -1,5 +1,84 @@ # @object-ui/plugin-gantt +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-gantt/package.json b/ui/packages/plugin-gantt/package.json index 9a4ebd6c418..75151c9c6c0 100644 --- a/ui/packages/plugin-gantt/package.json +++ b/ui/packages/plugin-gantt/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-gantt", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Gantt chart plugin for ObjectUI", diff --git a/ui/packages/plugin-grid/CHANGELOG.md b/ui/packages/plugin-grid/CHANGELOG.md index 91687ceb2df..51039392e90 100644 --- a/ui/packages/plugin-grid/CHANGELOG.md +++ b/ui/packages/plugin-grid/CHANGELOG.md @@ -1,5 +1,127 @@ # @object-ui/plugin-grid +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. +- 9cd8e52: feat(plugin-grid): an object table that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + An `object-grid` used to draw its Export menu only when it declared `exportOptions`. A grid over an object now reads an absent `exportOptions` the way a list view does: as the empty block, offering the default formats, `csv` and `json`. `xlsx` is offered where the grid lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before, and a grid that names no object still offers export only when it declares the block. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the grid through the object's effective `export` operation: a user whose permission sets do not grant it sees no Export entry, and the server refuses the export request. To keep a table without export, declare `exportOptions: { formats: [] }` on it; to take export off every surface of an object, set the object's `userActions.exportCsv: false`. + + The platform's own screens that compose a grid declare `exportOptions: { formats: [] }` on the grid they build, so none gains an Export entry: the list page's grid (whose list toolbar keeps the one export door), the enlarged related list tab, the Studio metadata lists, the object manager, the field designer and the console's row-action dev page. + +### Patch Changes + +- 758cd97: fix(plugin-grid): list pages lift record_row actions without a selection column + + Clause-②: no + Metadata-protocol: none + + On an object's list page the rows draw no actions of their own: one selected row brings up its actions in the selection bar. A list with no selection had no way to select a row, so its declared row actions (`locations: ['record_row']`) could be reached only through the row's right-click menu. Setup lists such as sessions, invitations and API keys were affected: their rows had no checkbox and no selection bar, so Revoke session, Copy invitation link and Revoke API key were hidden. + + - A list page grid whose view declares no `selection` (and no legacy `selectable`), and whose bulk actions open no selection, now lets you select one row at a time when a row on screen offers a declared row action. Selecting a row brings up its actions in the selection bar. + - A list page grid whose view switches selection off (`selection: { type: 'none' }`, or legacy `selectable: false`) draws the row's own actions menu at the end of each row instead, because no selection can show them there. + - Nothing changes on a list whose rows offer only the built-in Edit or Delete, or nothing at all. The same goes for a view that declares its own selection, and for a grid outside a list page (a related list, a page block, the record drawer). +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-grid/package.json b/ui/packages/plugin-grid/package.json index 0c17db099c3..f4093a12895 100644 --- a/ui/packages/plugin-grid/package.json +++ b/ui/packages/plugin-grid/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-grid", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Grid plugin for ObjectUI", diff --git a/ui/packages/plugin-kanban/CHANGELOG.md b/ui/packages/plugin-kanban/CHANGELOG.md index f52dbfd8923..e31e26570aa 100644 --- a/ui/packages/plugin-kanban/CHANGELOG.md +++ b/ui/packages/plugin-kanban/CHANGELOG.md @@ -1,5 +1,58 @@ # @object-ui/plugin-kanban +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [f00ab66] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [4494911] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [c0724ea] +- Updated dependencies [347998b] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-kanban/package.json b/ui/packages/plugin-kanban/package.json index 6a75315e3b6..4abc07f6d72 100644 --- a/ui/packages/plugin-kanban/package.json +++ b/ui/packages/plugin-kanban/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-kanban", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Kanban board plugin for ObjectUI, powered by dnd-kit", diff --git a/ui/packages/plugin-list/CHANGELOG.md b/ui/packages/plugin-list/CHANGELOG.md index 3d725525d60..f50cc374263 100644 --- a/ui/packages/plugin-list/CHANGELOG.md +++ b/ui/packages/plugin-list/CHANGELOG.md @@ -1,5 +1,133 @@ # @object-ui/plugin-list +## 19.0.0-next.5 + +### Minor Changes + +- d07ece7: feat(plugin-list, plugin-audit): a scroll-loading list view that hides its record count no longer asks for the total, and the audit log opens without counting the ledger + + Clause-②: yes (widening) — one new optional host prop, `onTotalDeclined?: () => void`, on `@object-ui/plugin-list`'s `ListView` (`ListViewProps`); `onTotalChange` keeps its `(total: number) => void` signature; nothing removed or narrowed + Metadata-protocol: semantic + + `showRecordCount: false` now also stops the count where nothing on screen reads it. An ungrouped grid view with no declared `pagination` loads as it scrolls; when that view also declares `showRecordCount: false`, the list view sends the declined total (`count=false`). The server then skips the `count(*)` it otherwise runs over the whole filtered table beside every window, and the list pages on "the last window came back full". On a large table the list opens at the speed of one window of rows. + + - A view that hides its count but keeps a numbered pager (declares `pagination`) still asks for the total, which its pager needs. + - A grouped grid, and a list shown in a page region's compact or capped posture, still ask for it. + - On the declined path no surface prints the rows loaded so far as a record count: + - the grid footer's summary row prints no 「Count N」, asks the server for no whole-set figure (that query would scan the set the list declined to count), and labels each declared figure (sum, average, …) as over the rows on screen, `Sum (this page)`; once the last window is in, the loaded rows are the set and the footer reads as before; + - `ListView` never calls `onTotalChange` on the declined path; it calls the new optional `onTotalDeclined()` once per settled load instead, so a host drops a count an earlier view gave it (a page tab's badge gets no number); + - the record drawer and the record page a declined list opens step ↑ ↓ through the loaded rows with no 「N / M」 counter (the page's `from` state carries `totalUnknown: true` in place of a total). + + `sys_audit_log`: every declared list view (`recent`, `writes_only`, `auth_events`, `record_views`, `config_changes`, `all_events`) declares `showRecordCount: false` and no longer declares `pagination`. Setup → Audit log loads as it scrolls, with no "N records" figure and no page numbers; `all_events` loads in windows of the default page size instead of 100. Opening the audit log no longer reads every ledger row for a total (measured at 1.7 s cold on 200k rows on SQLite, with every other request stalled meanwhile; the window itself is a few milliseconds). + + The standalone audit page (`/system/audit-log`) pages on the row past its window and never read the total; it now declines it too. + + To get the old behaviour on your own view, keep `showRecordCount` unset (or `true`), or declare `pagination`. +- 42bf4c9: feat(plugin-list): a list view that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + A list view used to offer its Export entry only when the view declared `exportOptions`, so most lists offered Import and no Export. A list view now reads an absent `exportOptions` as the empty block: the toolbar's Export button, the Display panel's export entries and the page bar's Import / Export menu offer the default formats, `csv` and `json`. `xlsx` is offered where a view lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the list through the object's effective `export` operation (`/me/permissions` `apiOperations`): a user whose permission sets do not grant it sees no Export entry on any list, and the server refuses the export request. + + To keep a view without export, declare `exportOptions: { formats: [] }` on it. To take export off every view of an object, set the object's `userActions.exportCsv: false`. + + An `object-grid` page component that names an object reads an absent `exportOptions` the same way: it offers `csv` and `json` by default, and `xlsx` only where it lists it in `formats`. Declare `exportOptions: { formats: [] }` on it to turn its export off. + + The upgrade guide carries the change as the semantic entry `list-view-export-on-by-default`. + +### Patch Changes + +- 9cd8e52: feat(plugin-grid): an object table that declares no `exportOptions` offers export + + Clause-②: no + Metadata-protocol: semantic + + An `object-grid` used to draw its Export menu only when it declared `exportOptions`. A grid over an object now reads an absent `exportOptions` the way a list view does: as the empty block, offering the default formats, `csv` and `json`. `xlsx` is offered where the grid lists it in `formats` and the server stream delivers it, as before. A declared block behaves as before, and a grid that names no object still offers export only when it declares the block. + + Who may export is unchanged. The permission set's `allowExport` grant reaches the grid through the object's effective `export` operation: a user whose permission sets do not grant it sees no Export entry, and the server refuses the export request. To keep a table without export, declare `exportOptions: { formats: [] }` on it; to take export off every surface of an object, set the object's `userActions.exportCsv: false`. + + The platform's own screens that compose a grid declare `exportOptions: { formats: [] }` on the grid they build, so none gains an Export entry: the list page's grid (whose list toolbar keeps the one export door), the enlarged related list tab, the Studio metadata lists, the object manager, the field designer and the console's row-action dev page. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [758cd97] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/plugin-grid@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-list/package.json b/ui/packages/plugin-list/package.json index 8bdb088d525..4823cd58b9c 100644 --- a/ui/packages/plugin-list/package.json +++ b/ui/packages/plugin-list/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-list", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "ListView plugin for ObjectUI - unified view component with view type switching", diff --git a/ui/packages/plugin-map/CHANGELOG.md b/ui/packages/plugin-map/CHANGELOG.md index 7b4346d180d..362098e9763 100644 --- a/ui/packages/plugin-map/CHANGELOG.md +++ b/ui/packages/plugin-map/CHANGELOG.md @@ -1,5 +1,25 @@ # @object-ui/plugin-map +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [05e97de] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [22d5eee] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-map/package.json b/ui/packages/plugin-map/package.json index 771ecdaa225..446da4da4ee 100644 --- a/ui/packages/plugin-map/package.json +++ b/ui/packages/plugin-map/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-map", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Map visualization plugin for ObjectUI", diff --git a/ui/packages/plugin-markdown/CHANGELOG.md b/ui/packages/plugin-markdown/CHANGELOG.md index c26440a6228..56636270442 100644 --- a/ui/packages/plugin-markdown/CHANGELOG.md +++ b/ui/packages/plugin-markdown/CHANGELOG.md @@ -1,5 +1,19 @@ # @object-ui/plugin-markdown +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [05e97de] +- Updated dependencies [8f241d4] +- Updated dependencies [09a1d7b] +- Updated dependencies [f61773f] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-markdown/package.json b/ui/packages/plugin-markdown/package.json index a29658e5b92..98cf72d20cb 100644 --- a/ui/packages/plugin-markdown/package.json +++ b/ui/packages/plugin-markdown/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-markdown", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Markdown rendering plugin for ObjectUI, powered by react-markdown", diff --git a/ui/packages/plugin-report/CHANGELOG.md b/ui/packages/plugin-report/CHANGELOG.md index 3ddeed60e4f..6cd5a6cdfea 100644 --- a/ui/packages/plugin-report/CHANGELOG.md +++ b/ui/packages/plugin-report/CHANGELOG.md @@ -1,5 +1,119 @@ # @object-ui/plugin-report +## 19.0.0-next.5 + +### Patch Changes + +- 6aa7b9f: feat(console): reports are designed in place inside design mode, gated like dashboards + + Clause-②: no + Metadata-protocol: none + + A report no longer has an edit state of its own beside the design mode; it is designed inside it, as a dashboard is: + + - while the mode is on, the report on screen is drawn in its editor: the report builder for a report it can hold, the report panel beside the report for a joined or pre-dataset one. Neither has a 「Save」, 「Discard」 or close button of its own: the bar's 「Save」 publishes the report and its 「Cancel」 drops the edit and returns the page read-only; + - the edited report is staged with the mode under its item key, so moving to another page and back keeps the edit, one 「Save」 publishes every report and dashboard edited, and the app menu's entries that open the report commit after it; + - a report that cannot be saved (a draft already pending where the save would land, a walled customization door, no installed version to customize, no package to save into, nothing authored to read) is drawn read-only with the reason when it is selected, and nothing can be staged for it; + - outside the mode, the report header's 「Edit」 enters the mode with that report selected, and so does a report opened from a Studio list; the 「×」 back to that list stays on the page and in the builder; + - who may design a report is now who may design a dashboard: a workspace admin holding metadata authoring (`manage_metadata`). The report's 「Edit」, the reports index's 「New report」 and the new-report page follow it; an admin without metadata authoring gets none of them; + - a new report is still made from the reports index, with the builder's own Save and Close, outside the mode; + - the save's result list calls a report 「Report: NAME」 in every language pack. + + `ReportBuilder` (`@object-ui/plugin-report`) takes `onSave`, `onDiscard` and `onClose` as optional: a host that saves the report elsewhere hands none, and the header draws none of the three. +- 64188fb: feat(app-shell, plugin-report): a new report's data source offers New dataset on the app's objects, published at once and picked for the report + + Clause-②: no + Metadata-protocol: none + + Who sees it: a workspace admin building the first report of an app (Studio → the app → Reports → New, or the app's own reports index). + + - **The app's datasets come first** in the report builder's data source: the ones the app's package holds and the ones that read one of its objects, then everything else. + - **While no dataset reads one of the app's objects**, the data source says, in one or two plain sentences, that a report reads a dataset and none reads this app's objects yet, and offers **New dataset** on each of the app's objects. The data source list no longer opens over that explanation. + - **New dataset opens on its object** and writes nothing until you name the dataset and press Create. The dataset is then saved and published in the same act, into the package the report is saved in (the same package pick as the report's Save, so you are asked at most once), and picked for the report. A refused publish leaves no dataset or draft behind and shows the server's reason in the dialog. + - An existing report's Edit and Studio's dashboard-widget New dataset are unchanged (the latter still saves a draft). + - Known residue: a dataset created this way stays published if you then leave the report unsaved. +- 7039fd6: fix(app-shell, plugin-report): dataset pickers put a real match before the typed text, member names follow the picked field, and a member with no label reads as its source field + + Clause-②: no + Metadata-protocol: none + + Who sees it: a Studio author building a dataset, a report or a dashboard card, and anyone reading a saved dataset report. + + - **The searchable pickers rank a real match first.** In the dataset designer's base-object and field pickers, the dashboard card's data-source picker and every other designer combo, an option whose label or name is what you typed comes first, then one that starts with it, then one that contains it. The "Use «text»" row is now last, so pressing Enter after typing a field's label (for example 紧急) picks that field instead of storing the typed text as a field name. With no match the row is the only one, and Enter still uses the typed text. + - **A member name filled in by a field pick follows the next pick.** Picking a field for a dimension or measure whose name is empty, or still the name the previous field filled in, now names it after the newly picked field. A name you typed yourself is kept. + - **A dimension or measure with no label of its own shows its source field's label** — 紧急程度 rather than `jinji_chengdu` — in the report and dashboard-widget member pickers, as the dataset designer's Label placeholder, and as the saved report's table, matrix and chart header. A label you wrote still wins, a row `count` keeps its caption, and nothing is written into the dataset. A member reading a field through a relationship (`account.region`) keeps its name in the saved report's headers. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-report/package.json b/ui/packages/plugin-report/package.json index 31376d86c5f..230746ed57d 100644 --- a/ui/packages/plugin-report/package.json +++ b/ui/packages/plugin-report/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-report", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "main": "dist/index.umd.cjs", "module": "dist/index.js", diff --git a/ui/packages/plugin-timeline/CHANGELOG.md b/ui/packages/plugin-timeline/CHANGELOG.md index 7f5ac2bd5c8..dc60caad355 100644 --- a/ui/packages/plugin-timeline/CHANGELOG.md +++ b/ui/packages/plugin-timeline/CHANGELOG.md @@ -1,5 +1,83 @@ # @object-ui/plugin-timeline +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/mobile@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-timeline/package.json b/ui/packages/plugin-timeline/package.json index 2365196c63f..c78b59209fe 100644 --- a/ui/packages/plugin-timeline/package.json +++ b/ui/packages/plugin-timeline/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-timeline", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Timeline component plugin for ObjectUI", diff --git a/ui/packages/plugin-timesheet/CHANGELOG.md b/ui/packages/plugin-timesheet/CHANGELOG.md index e94f382a2f4..f80c1594ce5 100644 --- a/ui/packages/plugin-timesheet/CHANGELOG.md +++ b/ui/packages/plugin-timesheet/CHANGELOG.md @@ -1,5 +1,55 @@ # @object-ui/plugin-timesheet +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [c9ea363] +- Updated dependencies [37a2151] +- Updated dependencies [f00ab66] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [4494911] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [c0724ea] +- Updated dependencies [347998b] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-timesheet/package.json b/ui/packages/plugin-timesheet/package.json index 05bf8f0ac7e..d0d1d60abc8 100644 --- a/ui/packages/plugin-timesheet/package.json +++ b/ui/packages/plugin-timesheet/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-timesheet", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Timesheet (row × weekday entry grid) list view plugin for ObjectUI", diff --git a/ui/packages/plugin-tree/CHANGELOG.md b/ui/packages/plugin-tree/CHANGELOG.md index 20764918160..605883d0fe7 100644 --- a/ui/packages/plugin-tree/CHANGELOG.md +++ b/ui/packages/plugin-tree/CHANGELOG.md @@ -1,5 +1,84 @@ # @object-ui/plugin-tree +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [c0724ea] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [22d5eee] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/plugin-detail@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/fields@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-tree/package.json b/ui/packages/plugin-tree/package.json index b6f5428dd40..3fee5389237 100644 --- a/ui/packages/plugin-tree/package.json +++ b/ui/packages/plugin-tree/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-tree", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Tree / tree-grid visualization plugin for ObjectUI", diff --git a/ui/packages/plugin-view/CHANGELOG.md b/ui/packages/plugin-view/CHANGELOG.md index c2341e3c3d8..a7255554bc0 100644 --- a/ui/packages/plugin-view/CHANGELOG.md +++ b/ui/packages/plugin-view/CHANGELOG.md @@ -1,5 +1,94 @@ # @object-ui/plugin-view +## 19.0.0-next.5 + +### Patch Changes + +- 05e97de: feat(ui-types, plugin-view): a single-choice (radio) field can group a kanban, and a filter or sharing-rule condition on it picks its value from the options + + Clause-②: yes (widening) + Metadata-protocol: added + + Who sees it: a builder adding a kanban view in the console (Add view, then Kanban) on an object whose status-like field was made in Studio as a single-choice field. + + - The view-config field normalizer now puts the spec choice types `radio`, `multiselect` and `checkboxes` in the select category; before, they fell to text. + - The kanban group-by pick offers a single-choice field, and still offers a single user or lookup field and a boolean. It no longer offers a multi-valued field (`multiselect`, `checkboxes`, `tags`, a `multiple` select or reference), which the board cannot draw one lane per value for. + - The default group-by field is the first field that declares its own options, ahead of a user or lookup field listed before it. + - A filter or condition row on a single-choice (`radio`) field now gets the select operators and an option picker, as a `select` field does: the labels are shown and the option value is stored. This is the condition builder in Setup, Sharing rules, which used to draw a free-text box, so an admin typed the label and the rule matched no record. `FILTER_SELECT_LIKE_TYPES` and `FILTER_FIELD_TYPES` in `@object-ui/types` now include `radio`, so `FilterFieldType` and `FilterFieldSchema.type` accept it. `multiselect` and `checkboxes` stay out of that bucket: the server refuses equality and list membership on their stored arrays, and they keep their `contains` operators over their options. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [37a2151] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [758cd97] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [9cd8e52] +- Updated dependencies [c8bfac1] +- Updated dependencies [f61773f] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/plugin-grid@19.0.0-next.5 + - @object-ui/components@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + - @object-ui/permissions@19.0.0-next.5 + - @object-ui/plugin-form@19.0.0-next.5 + - @object-ui/react@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/plugin-view/package.json b/ui/packages/plugin-view/package.json index edfd04273fa..362e0d9aa28 100644 --- a/ui/packages/plugin-view/package.json +++ b/ui/packages/plugin-view/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/plugin-view", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "Object View plugin for ObjectUI", diff --git a/ui/packages/react-runtime/CHANGELOG.md b/ui/packages/react-runtime/CHANGELOG.md index fd418f6fb51..3c8cf374bc9 100644 --- a/ui/packages/react-runtime/CHANGELOG.md +++ b/ui/packages/react-runtime/CHANGELOG.md @@ -1,5 +1,9 @@ # @object-ui/react-runtime +## 19.0.0-next.5 + +No changes in this release. + ## 19.0.0-next.4 No changes in this release. diff --git a/ui/packages/react-runtime/package.json b/ui/packages/react-runtime/package.json index 6ef1d3dc5a6..b01288fb7dc 100644 --- a/ui/packages/react-runtime/package.json +++ b/ui/packages/react-runtime/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/react-runtime", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "sideEffects": false, "license": "MIT", diff --git a/ui/packages/react/CHANGELOG.md b/ui/packages/react/CHANGELOG.md index 919e2ee2924..efd4d42f27c 100644 --- a/ui/packages/react/CHANGELOG.md +++ b/ui/packages/react/CHANGELOG.md @@ -1,5 +1,74 @@ # @object-ui/react +## 19.0.0-next.5 + +### Patch Changes + +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [05e97de] +- Updated dependencies [531d132] +- Updated dependencies [91954d3] +- Updated dependencies [31a291a] +- Updated dependencies [dee265e] +- Updated dependencies [6aa7b9f] +- Updated dependencies [bc67b32] +- Updated dependencies [d7ac4ab] +- Updated dependencies [4868231] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [801dda1] +- Updated dependencies [9e6a192] +- Updated dependencies [bbc6411] +- Updated dependencies [c335a23] +- Updated dependencies [64188fb] +- Updated dependencies [3787cb6] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [91d5e9b] +- Updated dependencies [09a1d7b] +- Updated dependencies [3c0e8b4] +- Updated dependencies [4494911] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [6477f39] +- Updated dependencies [0b9a11b] +- Updated dependencies [e57fb78] +- Updated dependencies [44cf0fc] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [d11b7fd] +- Updated dependencies [1177710] +- Updated dependencies [8d081ed] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [347998b] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [fb26c1c] +- Updated dependencies [5baf187] +- Updated dependencies [04eba3d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + - @object-ui/types@19.0.0-next.5 + - @object-ui/i18n@19.0.0-next.5 + - @object-ui/core@19.0.0-next.5 + ## 19.0.0-next.4 ### Patch Changes diff --git a/ui/packages/react/package.json b/ui/packages/react/package.json index 92bba506ead..c2b43da71da 100644 --- a/ui/packages/react/package.json +++ b/ui/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/react", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "type": "module", "license": "MIT", "description": "React bindings and SchemaRenderer component for ObjectUI", diff --git a/ui/packages/types/CHANGELOG.md b/ui/packages/types/CHANGELOG.md index c055577546b..634fb423d4c 100644 --- a/ui/packages/types/CHANGELOG.md +++ b/ui/packages/types/CHANGELOG.md @@ -1,5 +1,82 @@ # @object-ui/types +## 19.0.0-next.5 + +### Minor Changes + +- 05e97de: feat(ui-types, plugin-view): a single-choice (radio) field can group a kanban, and a filter or sharing-rule condition on it picks its value from the options + + Clause-②: yes (widening) + Metadata-protocol: added + + Who sees it: a builder adding a kanban view in the console (Add view, then Kanban) on an object whose status-like field was made in Studio as a single-choice field. + + - The view-config field normalizer now puts the spec choice types `radio`, `multiselect` and `checkboxes` in the select category; before, they fell to text. + - The kanban group-by pick offers a single-choice field, and still offers a single user or lookup field and a boolean. It no longer offers a multi-valued field (`multiselect`, `checkboxes`, `tags`, a `multiple` select or reference), which the board cannot draw one lane per value for. + - The default group-by field is the first field that declares its own options, ahead of a user or lookup field listed before it. + - A filter or condition row on a single-choice (`radio`) field now gets the select operators and an option picker, as a `select` field does: the labels are shown and the option value is stored. This is the condition builder in Setup, Sharing rules, which used to draw a free-text box, so an admin typed the label and the rule matched no record. `FILTER_SELECT_LIKE_TYPES` and `FILTER_FIELD_TYPES` in `@object-ui/types` now include `radio`, so `FilterFieldType` and `FilterFieldSchema.type` accept it. `multiselect` and `checkboxes` stay out of that bucket: the server refuses equality and list membership on their stored arrays, and they keep their `contains` operators over their options. + +### Patch Changes + +- c9ea363: feat(spec)!: a navigation `keywords` list is never empty, on the nav item and on the translation node + + Clause-②: yes (narrowing) + Metadata-protocol: narrowed + + + + **BREAKING** for metadata that writes an empty list: `keywords: []` on a navigation item, or on a translation bundle's navigation node `apps.APP.navigation.ID`, is now refused at every door where 19.0.0-next.4 accepted it. Fix: leave the key out. An empty list never matched a search and never translated anything, and no writer in the platform produces one: the nav editor and the design-mode menu omit the key instead. + + Narrowed: each `keywords` array now takes at least 1 and at most 20 words, at the nav item and at the translation node, with a message that says to leave the key out. A translation node carrying only `keywords: []` was accepted as a node that has keywords; it is now refused like a node with neither `label` nor `keywords`. + + The same node shape is also part of `PlatformTranslationData` and of `ServedTranslationData`, the body of `GET /i18n/translations/:locale`. Both took the 19.0.0-next.4 widening (a node may carry `keywords` without `label`) and now take this narrowing too. + + `@object-ui/types` mirrors the rule on its navigation item schema, so `objectui validate` refuses what the platform's save door refuses. +- 8f241d4: feat(spec, layout, app-shell): a navigation entry with no `label` that opens a report or a page shows that report's or page's current label + + Clause-②: no + Metadata-protocol: semantic + + An app navigation entry without a `label` already showed, at render time, the current label of the view, object or dashboard it opens. A `report` entry naming a `reportName` and a `page` entry now do the same: the menu shows the report's or the page's label, in the viewer's language, and a renamed report or page shows its new name on the next load. Before, such an entry showed the target's machine name (for example `ge_jinji_chengdu_yu_gu_feiyong`), which is what the design mode's "Add menu item" wrote for a report or a page, and what a page created in the console writes when it is given no name. Entries already stored this way change with no edit. An entry whose target carries no label, or has not loaded, still shows the machine name. A `label` you write still renders verbatim. Nothing is stored for the absent case. + + `BaseNavItemSchema.label`'s describe now names report and page beside view, object and dashboard. The accepted shape does not change. + + `@object-ui/layout`: `NavLabelTarget` gains `{ kind: 'report'; reportName }` and `{ kind: 'page'; pageName }`, and `resolveNavItemLabel` asks a host's `NavTargetLabelResolver` for both. A host resolver that switches over `NavLabelTarget` and answers `undefined` by default keeps working, and those entries keep showing the machine name until it answers the two kinds. + + `@object-ui/app-shell`: `useNavTargetLabel` answers the two kinds from the served label (a page from the app bundle first), read by name where the caller asks for it, and the recent-items list asks the same resolver, so a menu entry and a recent row that open one report or page show the same text. +- Updated dependencies [1cbcf46] +- Updated dependencies [38f702c] +- Updated dependencies [a549983] +- Updated dependencies [af457fe] +- Updated dependencies [3af1b4b] +- Updated dependencies [301a378] +- Updated dependencies [c19307a] +- Updated dependencies [f32b7d6] +- Updated dependencies [c9ea363] +- Updated dependencies [d07ece7] +- Updated dependencies [5c00c57] +- Updated dependencies [f00ab66] +- Updated dependencies [eb947b6] +- Updated dependencies [bb2c500] +- Updated dependencies [5c2a41a] +- Updated dependencies [79d7153] +- Updated dependencies [526d87e] +- Updated dependencies [8f241d4] +- Updated dependencies [3c0e8b4] +- Updated dependencies [5f55f96] +- Updated dependencies [3e83ef2] +- Updated dependencies [42bf4c9] +- Updated dependencies [c8bfac1] +- Updated dependencies [259cc46] +- Updated dependencies [ec3df88] +- Updated dependencies [14de0ff] +- Updated dependencies [6e07cd8] +- Updated dependencies [458575c] +- Updated dependencies [fcdb79d] +- Updated dependencies [69dd4b0] +- Updated dependencies [69dd4b0] + - @objectstack/spec@19.0.0-next.5 + ## 19.0.0-next.4 ### Minor Changes diff --git a/ui/packages/types/package.json b/ui/packages/types/package.json index 1891f996006..f5159f1494b 100644 --- a/ui/packages/types/package.json +++ b/ui/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@object-ui/types", - "version": "19.0.0-next.4", + "version": "19.0.0-next.5", "description": "Pure TypeScript type definitions for ObjectUI - The Protocol Layer", "type": "module", "sideEffects": false,