Axis v0.2.0 – Query API & Trace Graph Foundations
Axis v0.2.0 introduces the first traceability and query capabilities built on top of the EPCIS domain model established in v0.1.
This release expands Axis from a strongly typed EPCIS modeling library into the foundation of a traceability engine.
Highlights
Query APIs
Developers can now fluently search and filter EPCIS event collections.
Features include:
- EventCollection
- Event filtering
- EPC discovery
- Event lookup by EPC
- Collection traversal
EPC Collections
Axis now includes a dedicated EpcCollection type for working with EPC identifiers as first-class objects.
Features include:
- EPC aggregation
- Unique EPC discovery
- Collection operations
Trace APIs
Axis introduces the first generation of traceability APIs.
New components:
- Trace
- TraceNode
- TraceGraph
These APIs establish the foundation for future genealogy and relationship analysis capabilities.
Graph Generation
Developers can now generate trace graphs directly from EPCIS documents.
Example:
const graph = document.buildTraceGraph();This creates a graph representation of EPCs discovered within an EPCIS document and prepares the platform for future relationship traversal capabilities.
Developer Experience
Axis continues to emphasize:
- EPCIS-first design
- Strong TypeScript typing
- Immutable domain objects
- Fluent APIs
- JSON serialization
- Round-trip parsing
Quality
- 91 automated tests
- 100% passing
- Full TypeScript support
- MIT Licensed
Looking Ahead
The next release, v0.3.0 — Graph Intelligence, will introduce:
- Parent traversal
- Child traversal
- Ancestor traversal
- Descendant traversal
- Root node detection
- Leaf node detection
- Path discovery
- Relationship-aware trace graphs
Axis is being built to become the foundational TypeScript toolkit for EPCIS, traceability, genealogy, and supply-chain intelligence applications.