Changelog
All notable changes to the MIMS SDK are documented here.
Versioning
This project follows Semantic Versioning. Major versions may include breaking changes.
v1.0.0
LatestJanuary 15, 2025Initial stable release of the MIMS SDK for React applications.
Features
- MIMSProvider - Context provider for SDK initialization and API key validation
- PDFViewer - Full-featured PDF viewer with zoom, navigation, and field overlay
- SignaturePad - Signature capture component with draw, type, and upload modes
- Document Store - Zustand-based state management for document and field state
- Field Types - Support for text, signature, checkbox, date, and initials fields
- Type Safety - Full TypeScript support with exported type definitions
Hooks
useSDK- Access SDK context and make authenticated API requestsuseSDKReady- Simple boolean check for SDK initializationuseDocument- Read-only document state accessuseDocumentStore- Full store access with actionsuseCurrentPageFields- Get fields for current pageuseSelectedField- Get currently selected field
API Endpoints
POST /sdk/validate-key- Validate API key and get organization infoGET /sdk/documents/:id- Retrieve document with fieldsPOST /sdk/documents/submit- Submit completed document
v0.9.0
BetaDecember 1, 2024Public beta release for early adopters.
Features
- Initial PDFViewer implementation
- Basic signature capture
- Field rendering and value capture
- API key authentication
Known Issues
- Large PDFs may cause performance issues
- Signature smoothing not optimized
- Limited field validation
v0.1.0
AlphaOctober 15, 2024Internal alpha release for testing.
Features
- Proof of concept PDF rendering
- Basic provider setup
- Initial type definitions
Upgrade Guide
When upgrading between major versions, follow these guidelines:
From 0.x to 1.0
- Provider Props - The
baseUrlprop was renamed toapiBaseUrl - Store API -
getFields()was replaced with directfieldsMap access - Types - Field types are now more strictly typed with discriminated unions
Migration Exampletsx
// Before (0.x)
<MIMSProvider baseUrl="https://api..." apiKey="pk_...">
// After (1.0)
<MIMSProvider apiBaseUrl="https://api..." apiKey="pk_...">
// Before (0.x)
const fields = store.getFields();
// After (1.0)
const fields = store.fields; // Map<string, FieldState>Stay Updated
- Follow releases on GitHub
- Subscribe to our developer newsletter
- Join the community Discord