Migrating from linuxforhealth-x12¶
x12sdk is the maintained continuation of LinuxForHealth x12, which stopped at 0.57.0 in June 2022. The models and reader API are the same; the package, imports and commands are renamed, and it runs on Pydantic v2.
before |
after |
|---|---|
|
|
|
|
|
|
|
removed; wrap the SDK in your own service |
Code that reads model fields keeps working. The Pydantic v1 method names
(.dict(), .json(), parse_obj) are deprecated in Pydantic v2; move to
model_dump(), model_dump_json() and model_validate.
The changelog lists everything that changed since the fork.