Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/odd-suns-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
26 changes: 0 additions & 26 deletions .changeset/resolve-document-application.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @palantir/pack.app

## 0.20.0

### Patch Changes

- Updated dependencies [9d0c61a]
- @palantir/pack.state.core@0.19.0
- @palantir/pack.state.foundry@0.22.0
- @palantir/pack.state.demo@0.17.0

## 0.19.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.app",
"version": "0.19.0",
"version": "0.20.0",
"description": "PACK main package",
"author": "",
"license": "Apache-2.0",
Expand Down
24 changes: 24 additions & 0 deletions packages/state/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @palantir/pack.state.core

## 0.19.0

### Minor Changes

- 9d0c61a: Bump `@osdk/foundry.pack` to `^2.68.0`, surface `owningApplicationId` on document types, and add document-to-application resolution.

The SDK adds `owningApplicationId` to the wire `DocumentType`, populated from the type's
metadata. `DocumentType` (state.core) now carries `owningApplicationId?: string` and
`FoundryDocumentService` maps it through, so it rides along on every
`loadDocumentTypeByName` / `getDocumentType` call.

Adds `resolveDocumentApplication(docRef)` to `DocumentService` (and `app.state`), backed by
the new `GET /v2/pack/documents/{documentId}/resolveApplication` endpoint. Given a document,
it resolves the owning application id from the document's type metadata, returning `undefined`
when none is configured. Unsupported on the in-memory and demo services.

`createDocumentEditDescription` no longer sends the deprecated `eventData.version` or top-level
`eventType` fields (both are now optional in the SDK/API and superseded by `eventData.schemaVersion`
and `eventData.eventType`).

`searchDocuments` accepts an optional `ontologyRid` in its options, forwarded to the search
request to scope results to a specific ontology. Not defaulted — omitted when unset, in which
case the document type name is searched across all ontologies.

## 0.18.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.state.core",
"version": "0.18.0",
"version": "0.19.0",
"description": "PACK State logic and utilities",
"license": "Apache-2.0",
"repository": {
Expand Down
29 changes: 29 additions & 0 deletions packages/state/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @palantir/pack.state.demo

## 0.17.0

### Minor Changes

- 9d0c61a: Bump `@osdk/foundry.pack` to `^2.68.0`, surface `owningApplicationId` on document types, and add document-to-application resolution.

The SDK adds `owningApplicationId` to the wire `DocumentType`, populated from the type's
metadata. `DocumentType` (state.core) now carries `owningApplicationId?: string` and
`FoundryDocumentService` maps it through, so it rides along on every
`loadDocumentTypeByName` / `getDocumentType` call.

Adds `resolveDocumentApplication(docRef)` to `DocumentService` (and `app.state`), backed by
the new `GET /v2/pack/documents/{documentId}/resolveApplication` endpoint. Given a document,
it resolves the owning application id from the document's type metadata, returning `undefined`
when none is configured. Unsupported on the in-memory and demo services.

`createDocumentEditDescription` no longer sends the deprecated `eventData.version` or top-level
`eventType` fields (both are now optional in the SDK/API and superseded by `eventData.schemaVersion`
and `eventData.eventType`).

`searchDocuments` accepts an optional `ontologyRid` in its options, forwarded to the search
request to scope results to a specific ontology. Not defaulted — omitted when unset, in which
case the document type name is searched across all ontologies.

### Patch Changes

- Updated dependencies [9d0c61a]
- @palantir/pack.state.core@0.19.0

## 0.16.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.state.demo",
"version": "0.16.0",
"version": "0.17.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
29 changes: 29 additions & 0 deletions packages/state/foundry-event/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# @palantir/pack.state.foundry-event

## 0.21.0

### Minor Changes

- 9d0c61a: Bump `@osdk/foundry.pack` to `^2.68.0`, surface `owningApplicationId` on document types, and add document-to-application resolution.

The SDK adds `owningApplicationId` to the wire `DocumentType`, populated from the type's
metadata. `DocumentType` (state.core) now carries `owningApplicationId?: string` and
`FoundryDocumentService` maps it through, so it rides along on every
`loadDocumentTypeByName` / `getDocumentType` call.

Adds `resolveDocumentApplication(docRef)` to `DocumentService` (and `app.state`), backed by
the new `GET /v2/pack/documents/{documentId}/resolveApplication` endpoint. Given a document,
it resolves the owning application id from the document's type metadata, returning `undefined`
when none is configured. Unsupported on the in-memory and demo services.

`createDocumentEditDescription` no longer sends the deprecated `eventData.version` or top-level
`eventType` fields (both are now optional in the SDK/API and superseded by `eventData.schemaVersion`
and `eventData.eventType`).

`searchDocuments` accepts an optional `ontologyRid` in its options, forwarded to the search
request to scope results to a specific ontology. Not defaulted — omitted when unset, in which
case the document type name is searched across all ontologies.

### Patch Changes

- Updated dependencies [9d0c61a]
- @palantir/pack.state.core@0.19.0

## 0.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state/foundry-event/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.state.foundry-event",
"version": "0.20.0",
"version": "0.21.0",
"description": "PACK event service for real-time document synchronization",
"license": "Apache-2.0",
"repository": {
Expand Down
30 changes: 30 additions & 0 deletions packages/state/foundry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @palantir/pack.state.foundry

## 0.22.0

### Minor Changes

- 9d0c61a: Bump `@osdk/foundry.pack` to `^2.68.0`, surface `owningApplicationId` on document types, and add document-to-application resolution.

The SDK adds `owningApplicationId` to the wire `DocumentType`, populated from the type's
metadata. `DocumentType` (state.core) now carries `owningApplicationId?: string` and
`FoundryDocumentService` maps it through, so it rides along on every
`loadDocumentTypeByName` / `getDocumentType` call.

Adds `resolveDocumentApplication(docRef)` to `DocumentService` (and `app.state`), backed by
the new `GET /v2/pack/documents/{documentId}/resolveApplication` endpoint. Given a document,
it resolves the owning application id from the document's type metadata, returning `undefined`
when none is configured. Unsupported on the in-memory and demo services.

`createDocumentEditDescription` no longer sends the deprecated `eventData.version` or top-level
`eventType` fields (both are now optional in the SDK/API and superseded by `eventData.schemaVersion`
and `eventData.eventType`).

`searchDocuments` accepts an optional `ontologyRid` in its options, forwarded to the search
request to scope results to a specific ontology. Not defaulted — omitted when unset, in which
case the document type name is searched across all ontologies.

### Patch Changes

- Updated dependencies [9d0c61a]
- @palantir/pack.state.core@0.19.0
- @palantir/pack.state.foundry-event@0.21.0

## 0.21.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state/foundry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.state.foundry",
"version": "0.21.0",
"version": "0.22.0",
"description": "PACK State service that integrates with Palantir Foundry platform APIs.",
"license": "Apache-2.0",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/state/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @palantir/pack.state.react

## 0.20.0

### Patch Changes

- Updated dependencies [9d0c61a]
- @palantir/pack.state.core@0.19.0

## 0.19.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@palantir/pack.state.react",
"version": "0.19.0",
"version": "0.20.0",
"description": "PACK State logic and utilities",
"license": "Apache-2.0",
"repository": {
Expand Down
Loading