Skip to content

Release version 1.0 with API updates #423

@wayfarer3130

Description

@wayfarer3130

This issue is for a beta-1 release process. The planned changes for this include API updates which will be incompatible with the 0.XX stream.

@pieper - I've created an issue for a release stream of dcmjs, as well as a stream beta-1 to contain the updates for the 1.0 version.

The planned changes for the 1.0 release include:

  1. Full set of type definitions for dcmjs
  2. Remove proxy definitions for all attributes, instead changing to use a consistent definition/object instance that:
  • maps data using adapters to provide missing data (to map to incoming data values and add accessors)
  • Maps vm to instance attribute such that vm===1 means the attribute gets assigned as a singleton rather than an array
  • Add attribute get methods to get consistent types, eg:
    element.tagValue.array to get as an array
    element.tagValue.first to get the first value
    element.tagValue.get(index) to get the nth value
    element.tagValue.firstNumber/firstString/firstDate
  1. Add frame/instance attribute to get tag value at given frame number or "virtual" frame number to hide shared/per frame data
  2. Add private tag handling for items.
  3. Build only esm modules using bun/rsbuild for faster build setup
  4. Add log4js logging bindings to allow logs to be set to various levels and/or redirected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions