Skip to content

3.1.4

Latest

Choose a tag to compare

@orchetect orchetect released this 15 Aug 04:26
· 1 commit to main since this release

Maintenance

  • Added support for 32-bit platforms including watchOS (armv7 / arm64_32) and WASM (wasm32) (#88)1
  • Bumped SwiftTestingExtensions dependency to 0.3.1

Changes

Important

To facilitate cross-platform 64/32-bit support, a new PlatformInt type alias has replaced Int at pinch points where very large values may overflow the native Int on 32-bit platforms.

This is a fully non-breaking change for 64-bit platforms, which continue to compile transparently and no codebase changes are required. Continue to use Int as before - it is not necessary to use this alias.

If you are supporting 32-bit platforms, this type resolves to Int64. See the PlatformInt documentation for details.

A future major-version bump of SwiftTimecode to v4 will remove this type alias and replace all affected type declarations across the library explicitly with Int64.

Contributors

  1. Thanks to @mansbernhardt for the PR.