Version 5.x
5.x is a breaking line that introduced Nitro-based document logic, but predates the 6.0 viewer API reshape.
Use 5.x if
- You already run New Architecture.
- You are mid-migration and cannot complete 6.0 API changes immediately.
Notes
- Migration from 4.x to 5.x is non-trivial.
- 6.0 changes viewer props/events and unifies page indexing to 0-based.