Releases: FastPix/fastpix-java
v1.0.3
Version - [1.0.3]
Changed
-
SDK version bump:
1.0.2→1.0.3.
A maintenance release focused on static-analysis (SonarQube) cleanup. It
contains no functional or behavioral changes and is source-compatible with
1.0.2for normal SDK usage (see Compatibility for one constructor
visibility change). Theversionproperty, theSDK_VERSIONruntime
constant, and the installation documentation now report1.0.3. -
Static-analysis cleanup (non-behavioral). Resolved a set of SonarQube
findings across the SDK utilities, operations, and models. The thrown
conditions, serialization flow, and matched content types are unchanged:- Replaced regular-expression media-type detection in
RequestBodywith
equivalent linear-timeStringcomparisons, removing the super-linear
backtracking risk. - Reduced the cognitive complexity of
RequestBody.serializeContentType(...)
by extracting its JSON and raw-value branches into helper methods. - Replaced generic
RuntimeExceptionthrows in the serialization path with
specificIllegalStateExceptionandIllegalArgumentExceptiontypes. - Removed
@Nullablefrom theFastpixException.withBody(...)parameter to
match its existing non-null runtime contract. - Narrowed the
FastpixException(String, int, byte[], HttpResponse, Throwable)
constructor frompublictoprotected(see Compatibility). - Applied idiomatic and structural cleanups:
!isEmpty()oversize() > 0,
method references over equivalent lambdas,ifexpressions over
single-branchswitchstatements, and removal of unused members,
redundant constructors, and duplicated string literals.
- Replaced regular-expression media-type detection in
Compatibility
- No changes to public method signatures, request/response models, default
server URLs, hooks, or retry logic. - One source-level change: the
FastpixExceptionall-args constructor is
nowprotectedinstead ofpublic. Throwing, catching, and reading
FastpixExceptionare unaffected; this only impacts code that constructed
FastpixExceptiondirectly from outside the package — an unsupported usage. - No action required to upgrade beyond re-resolving the dependency.
v1.0.2
##VERSION - [1.0.2]
⚠️ Important — FastPix is migrating from .io to .com
FastPix hosts and documentation links are moving to the .com TLD. This release updates every reference the SDK ships:
Old (.io) |
New (.com) |
|---|---|
api.fastpix.io |
api.fastpix.com |
stream.fastpix.io |
stream.fastpix.com |
images.fastpix.io |
images.fastpix.com |
static.fastpix.io |
static.fastpix.com |
docs.fastpix.io/... |
fastpix.com/docs/... |
The .io hosts continue to serve traffic during the transition, but they are slated for deprecation soon — please update any hard-coded references in your application. We recommend upgrading to this release (or later).
What this means for users of io.fastpix:sdk:
- If you rely on SDK defaults, no code change is required. The default server URL is now
https://api.fastpix.com/v1/, so bumping to1.0.2and re-resolving the dependency (./gradlew build/mvn) is enough. - If you have an explicit
serverURLoverride (e.g.FastPixSDK.builder().serverURL("https://api.fastpix.io/v1/").build()), change it tohttps://api.fastpix.com/v1/. - If you reference FastPix asset URLs directly in your app (HLS playback URLs, image CDN), update those to the
.comequivalents before.iois decommissioned.
Fixed
manageVideos().list()(/on-demand): tracks now includeframeRate(onVideoTrackForGetAll), which was being silently dropped by the previous SDK build.signingKeys().delete()(/iam/signing-keys/{signingKeyId}): response now includes the optionaldata.messageconfirmation string the API returns (onDeleteSigningKeyResponse).
Changed
- The
User-Agentsent by the SDK no longer includes the code-generator version; it now reportsfastpix-sdk/java 1.0.2 ....
Docs
- All README and per-service documentation links updated from
docs.fastpix.io/...to the newhttps://fastpix.com/docs/...URL structure.
v1.0.0
Version - [1.0.0]
Major Version Release
Fixed
- Fixed missing request parameters in Java API method signatures.
- Improved Java type safety with accurate generic type parameters and Optional handling.
- Improved Maven/Gradle publishing configuration with consistent artifact naming and POM metadata.
v0.1.1
Version - [0.1.1]
Added
- Complete API coverage for Media, Live Streaming, Video Data, and Signing Keys
- Java 11+ support with comprehensive type safety
- Media upload, management, and processing capabilities
- Live streaming with simulcasting support
- Video analytics and performance tracking
- Cryptographic signing keys for secure authentication
- In-video AI processing features
- DRM configuration and management
- Playlist creation and management
- Comprehensive error handling with specific exception types
- Built-in retry mechanisms and timeout handling
- Asynchronous client support with CompletableFuture
- Reactive Streams integration for streaming operations
- Spring Boot auto-configuration and starter modules
- Custom HTTP client support with hooks
- SLF4j logging integration
- Full API specification compliance
Changed
- Reorganized package structure for better maintainability
- Updated dependencies to modern Java libraries (Jackson, SLF4j, Reactive Streams)
- Improved API design with better error handling
- Enhanced documentation and examples
- Updated SDK version to 1.0.0
- Updated minimum Java version requirement to 11+ for better compatibility and performance
Fixed
- Direct upload metadata handling
- Response object access patterns
- Type mismatches in method parameters
- Error handling for validation responses
- Improved error handling with specific exception types
- Fixed type annotation issues for better IDE support
- Ensured consistent API patterns across modules
v0.0.1
fix missing parameters and update docs