Skip to content

Comments

[Issue #319] Prepare @common-grants/core minor release#505

Merged
widal001 merged 22 commits intomainfrom
319-release-prep
Feb 17, 2026
Merged

[Issue #319] Prepare @common-grants/core minor release#505
widal001 merged 22 commits intomainfrom
319-release-prep

Conversation

@widal001
Copy link
Collaborator

@widal001 widal001 commented Feb 12, 2026

Summary

Changes proposed

What was added, updated, or removed in this PR.

  • Updates lib/core for v0.3.0 release
    • Adds explicit @Versioning.added() decorator to all schemas
    • Adds new route POST /common-grants/applications/search/ and a set of supporting models
    • Adds new OpenAPI tag for "Application reviews"
    • Changes NumberComparisonFilter.operator type to ComparisonOperators | EquivalenceOperators so that we can filter using eq and neq in addition to ge, gte, etc.
  • Updates lib/cli for v0.3.0 release
    • Updates the auto-generated OpenAPI docs used by cg check spec
    • Updates dev dependencies to reference catalog: for @types/node
  • Updates lib/ts-sdk/ (pausing on v0.5.0 release for custom field support)
    • Updates NumberComparisonFilterSchema to support EquivalenceOperators as well
    • Updates dev dependencies to reference catalog: for @types/node
  • Updates website:
    • Switches @common-grants/core to workspace:* dependency (instead of external library)
    • Switches to catalog: for all @typespec/ dependencies
    • Updates protocol docs to point to the correct TypeSpec source files in the SchemaFormatTabs component
    • Updates the default version to v0.3.0 in the OpenAPI docs

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers. Explain how the changes were verified.

Testing website

  1. Go to https://cg-pr-505.billy-daly.workers.dev/protocol/api-docs/ to browse OpenAPI docs for v0.3.0
  2. Go to the following pages and check the docs for consistency, gaps, etc.

Testing CLI changes

  1. Package and install the latest version of the CLI locally with pnpm pack and npm install -g <path-to-tarball>
  2. Go to /templates/fast-api/ and run make check-spec
  3. The checks should pass

Additional information

Screenshots, GIF demos, code examples or output to help show the changes working as expected.

Updated docs with v0.3.0

Screenshot 2026-02-12 at 2 06 42 PM

Checking that FastAPI template still passes cg check spec

Confirming that the shift to v0.3.0 doesn't break existing implementations

Screenshot 2026-02-12 at 4 30 25 PM Screenshot 2026-02-12 at 4 30 45 PM

The result of running pnpm changeset version

Screenshot 2026-02-13 at 5 11 46 PM

widal001 and others added 7 commits February 11, 2026 14:52
* feat(core): Adds 0.3.0 to the Versions enum
* refactor(core): Renamed Form --> FormBase
* feat(core): Adds missing fields to Form model
* feat(core): Adds new fields and models for application
* feat(core): Adds examples to application filters
* feat(core): Adds app search endpoint and review tag
* docs(core): Improve examples for application
Previously we omitted @Versioning.added() decorator for schemas added
in v0.1.0 but that caused some v0.2.0 models to get inferred as v0.1.0.
This makes all versioning explicit.
- Update all `@types/node` deps to use `"catalog:"`
- Updates website to use "workspace:*" for `@common-grants/core`
- Updates website to set all `@typespec/` deps to use `"catalog:"`
The switch to the latest @typespec/compiler version improved how the
example values were generated
@github-actions github-actions bot added cli Issue or PR related to the @common-grants/cli library website Issues related to the website core Issues related to @common-grants/core library sdk Issue or PR related to our SDKs typescript Issue or PR related to TypeScript tooling ts-sdk Related to TypeScript SDK labels Feb 12, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

🚀 Website Preview Deployed!

Preview your changes at: https://cg-pr-505.billy-daly.workers.dev

This preview will be automatically deleted when the PR is closed.

@widal001 widal001 marked this pull request as ready for review February 12, 2026 21:11
@widal001 widal001 requested a review from jcrichlake February 12, 2026 21:11
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes to the previous OpenAPI versions are mainly to the examples and descriptions, which we can't version like we can the fields and schemas themselves.


export const NumberComparisonFilterSchema = z.object({
operator: ComparisonOperatorsEnum,
operator: z.union([ComparisonOperatorsEnum, EquivalenceOperatorsEnum]),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating this to match the change in @common-grants/core Luckily it was caught by the property based testing we have set up in the TypeScript SDK 🎉

@widal001 widal001 merged commit 9f86b7b into main Feb 17, 2026
12 checks passed
@widal001 widal001 deleted the 319-release-prep branch February 17, 2026 14:21
@github-actions
Copy link
Contributor

🗑️ Preview Cleaned Up

The preview for this PR has been automatically deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Issue or PR related to the @common-grants/cli library core Issues related to @common-grants/core library sdk Issue or PR related to our SDKs ts-sdk Related to TypeScript SDK typescript Issue or PR related to TypeScript tooling website Issues related to the website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CommonGrants v0.3.0] Update docs and website [CommonGrants v0.3.0] Publish release

2 participants