Skip to content

Releases: Dr-Wade/dynamics-tools

dataverse-types-gen@0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Jun 14:19
232dd98

Minor Changes

  • ab95f00 Thanks @Dr-Wade! - Emit field descriptions as JSDoc comments on generated entity interfaces. Each property now carries a comment built from the Dataverse attribute metadata (description, display name, attribute type and required level), giving editors and AI agents column-level context on hover. When an attribute has no description, its display name is used as the comment summary.

dataverse-msal-client@0.2.0

Choose a tag to compare

Minor Changes

  • Add a typed query layer: entity<T>(dynamics, collection) returns a per-entity client with retrieveMultiple / retrieveAll / create / update, where select and the outer expand[].property are checked against keyof T. Pairs with filter<T>(), an immutable OData $filter builder whose field names are checked against T, string values are escaped, and and/or composition is parenthesised by construction.

dataverse-types-gen@0.2.0

Choose a tag to compare

@github-actions github-actions released this 21 May 12:27
1410c84

Minor Changes

  • 3d7a788 Thanks @Dr-Wade! - Generate an entity-names.ts file with EntityLogicalNames and
    EntitySetNames as const objects for the requested entities.

    EntitySetNames provides the plural collection names (e.g. accounts) used in
    Web API request URLs and @odata.bind; EntityLogicalNames provides the
    singular names used for metadata paths. Set names are read from the
    EntityContainer in $metadata, so no additional requests are made. The new
    file is re-exported from the index.ts barrel.

  • 3d7a788 Thanks @Dr-Wade! - Replace the AUTHORITY_URL environment variable with TENANT_ID.

    The generator now builds the OAuth authority URL itself
    (https://login.microsoftonline.com/<TENANT_ID>), matching how
    dataverse-msal-client is configured so both packages can share one .env.

    BREAKING: existing setups must replace AUTHORITY_URL with TENANT_ID in
    their environment / .env. The value of TENANT_ID is the tenant GUID at the
    end of the old authority URL.

dataverse-types-gen@0.1.1

Choose a tag to compare

@github-actions github-actions released this 21 May 12:24
abaf059

Patch Changes