Skip to content

Commit b107c6e

Browse files
chore: version packages (beta) - 0.10.0-beta.5
1 parent 5d45ba9 commit b107c6e

File tree

4 files changed

+72
-4
lines changed

4 files changed

+72
-4
lines changed

.changeset/pre.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,23 @@
55
"@hypercerts-org/lexicon": "0.9.0"
66
},
77
"changesets": [
8+
"add-project-sidecar",
89
"add-vitest-suite",
10+
"change-workscope-to-strongref",
11+
"document-location-sidecar-pattern",
912
"improved-exports-structure",
1013
"include-changelog-in-distribution",
1114
"initial-version-post-repo-migration",
15+
"make-activity-dates-optional",
16+
"move-schema-docs-to-autogenerated-file",
17+
"refactor-collection-items-array",
18+
"remove-bidirectional-project-link",
19+
"remove-collection-project",
1220
"rollup-build-system",
1321
"sparkly-doors-bet",
14-
"unbundle-type-declarations"
22+
"unbundle-type-declarations",
23+
"unify-projects-collections",
24+
"update-collection-lexicon",
25+
"update-contributor-lexicon"
1526
]
1627
}

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
# @hypercerts-org/lexicon
22

3+
## 0.10.0-beta.5
4+
5+
### Minor Changes
6+
7+
- [#78](https://github.com/hypercerts-org/hypercerts-lexicon/pull/78) [`c55d8a7`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/c55d8a77ff2949136bab0c6680b7e458712404f1) Thanks [@bitbeckers](https://github.com/bitbeckers)! - Remove org.hypercerts.claim.project lexicon and replace with org.hypercerts.claim.collection.project sidecar. Projects are now represented as collections with an optional project sidecar (same TID) that provides rich-text descriptions, avatars, and cover photos. Avatar and coverPhoto fields moved from base collection to project sidecar. Collections without the project sidecar are simple groupings; collections with it are "projects" with rich documentation.
8+
9+
- [#93](https://github.com/hypercerts-org/hypercerts-lexicon/pull/93) [`3276d6e`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/3276d6e59975ac8cfdd9a8eed09ddfd57fdddf41) Thanks [@bitbeckers](https://github.com/bitbeckers)! - Change workScope from inline object definition to strongRef in activity lexicon. This breaking change removes the workScope definition (withinAllOf, withinAnyOf, withinNoneOf properties) and changes the workScope property to reference an external record via strongRef, allowing for more flexible work scope definitions.
10+
11+
- [#97](https://github.com/hypercerts-org/hypercerts-lexicon/pull/97) [`ceddab9`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/ceddab9e829d8ade3868eac4d10dd906e12a153c) Thanks [@aspiers](https://github.com/aspiers)! - Move schema documentation tables from README.md to auto-generated SCHEMAS.md to reduce git merge conflicts. The SCHEMAS.md file is now auto-generated from lexicon definitions and included in the distributed package.
12+
13+
- [#78](https://github.com/hypercerts-org/hypercerts-lexicon/pull/78) [`cc9d7bf`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/cc9d7bff3dc63f155ce8e11204fc1506ca687711) Thanks [@bitbeckers](https://github.com/bitbeckers)! - Refactor collection lexicon to use items array instead of activities. The items array contains plain strongRefs (com.atproto.repo.strongRef) that can reference activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection), enabling recursive collection nesting. This change removes the activityWeight object structure from the base collection lexicon.
14+
15+
- [#67](https://github.com/hypercerts-org/hypercerts-lexicon/pull/67) [`b51dd76`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/b51dd7652b73c5ae6bba103f07eca9f5195809f0) Thanks [@bitbeckers](https://github.com/bitbeckers)! - Remove bidirectional project-activity link. Activities no longer include a `project` field reference. Projects continue to reference activities via the `activities` array, making the relationship unidirectional (project → activities only).
16+
17+
- [#98](https://github.com/hypercerts-org/hypercerts-lexicon/pull/98) [`43b0431`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/43b04316d8cb11066d61d79e70f262f0d2426cde) Thanks [@aspiers](https://github.com/aspiers)! - Remove org.hypercerts.claim.collection.project lexicon
18+
19+
- [#75](https://github.com/hypercerts-org/hypercerts-lexicon/pull/75) [`95e2ba1`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/95e2ba174ea348746ce64507bf94b73c3d3d3954) Thanks [@s-adamantine](https://github.com/s-adamantine)! - Unify project and collection schemas into a single
20+
`org.hypercerts.claim.collection` lexicon with `type` discriminator
21+
field to allow collections to be designated as projects. Custom
22+
strings are also allowed in `type`.
23+
24+
Also make `shortDescription` field optional in
25+
`org.hypercerts.claim.collection` to match
26+
`org.hypercerts.claim.project`.
27+
28+
This unification removes `org.hypercerts.claim.project`, so existing
29+
projects should be migrated to collections with `type` set to
30+
`project`.
31+
32+
- [#80](https://github.com/hypercerts-org/hypercerts-lexicon/pull/80) [`e8d5a7c`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/e8d5a7cd080e4f8d4e6b96ce5762678deaeb2902) Thanks [@s-adamantine](https://github.com/s-adamantine)! - Updated `org.hypercerts.claim.collection` lexicon:
33+
- Added optional `type` field to specify collection type (e.g., 'favorites', 'project')
34+
- Renamed fields for consistency:
35+
- `collectionTitle``title`
36+
- `shortCollectionDescription``shortDescription`
37+
- `collectionDescription``description`
38+
- Changed `description` from string to Leaflet linear document reference (`pub.leaflet.pages.linearDocument#main`) to support rich-text descriptions
39+
40+
**Breaking changes**:
41+
- Field names have been renamed (e.g., `collectionTitle``title`)
42+
- The `description` field now expects a reference object instead of a plain string
43+
44+
- [#92](https://github.com/hypercerts-org/hypercerts-lexicon/pull/92) [`bec8e63`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/bec8e63195fb73734b68f3d5201864b9bede0904) Thanks [@s-adamantine](https://github.com/s-adamantine)! - Update `org.hypercerts.claim.contributor` lexicon to support individual contributor profiles and roles.
45+
46+
Breaking Changes:
47+
- Removed `contributors` array.
48+
- Added `identifier`, `displayName`, and `image` fields for individual profiles.
49+
- Renamed `description` to `contributionDescription`.
50+
- Updated `required` fields to only include `createdAt`.
51+
52+
Also corrected incorrect references to `org.hypercerts.claim.contribution` across the codebase to use the correct ID `org.hypercerts.claim.contributor`.
53+
54+
### Patch Changes
55+
56+
- [#77](https://github.com/hypercerts-org/hypercerts-lexicon/pull/77) [`0d61ff7`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/0d61ff7e030a25682cd71877ae603b8782b09c3b) Thanks [@bitbeckers](https://github.com/bitbeckers)! - Document ATProto sidecar pattern for collections using app.certified.location. Collections can now have location metadata by creating a location record with the same TID, allowing location updates without changing the collection CID. Updated README with usage example and ERD with sidecar relationship.
57+
58+
- [#74](https://github.com/hypercerts-org/hypercerts-lexicon/pull/74) [`f845f92`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/f845f924907f62c8b96afa6a18ac203c4bd4cad5) Thanks [@aspiers](https://github.com/aspiers)! - Make startDate and endDate optional in activity lexicon
59+
360
## 0.10.0-beta.4
461

562
### Minor Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hypercerts-org/lexicon",
3-
"version": "0.10.0-beta.4",
3+
"version": "0.10.0-beta.5",
44
"description": "ATProto lexicon definitions and TypeScript types for the Hypercerts protocol",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)