Skip to content

v4.0.0

Latest

Choose a tag to compare

@stainless-app stainless-app released this 03 Nov 07:28
ab5d6b7

4.0.0 (2025-11-03)

Full Changelog: v0.0.1...v4.0.0

Features

  • add get_responsive_image_attributes method with options parameter (766ded9)
  • add responsive image attributes generation for HTML <img> tags (13edc3d)
  • api: add BaseWebhookEvent (b4c2a83)
  • api: add GetImageAttributesOptions and ResponsiveImageAttributes schemas; update resource references in main.yaml; remove dummy endpoint (08560d4)
  • api: add path policy related non-breaking changes (b24e025)
  • api: add selectedFieldsSchema in upload and list API response (557f058)
  • api: extract UpdateFileDetailsRequest to model (9aaa659)
  • api: fix go sdk breaking changes (525a5aa)
  • api: fix upload API request params (0ac922a)
  • api: manual updates (eaa294e)
  • api: manual updates (9604a8e)
  • api: manual updates (0682128)
  • api: manual updates (f9bee87)
  • api: manual updates (2f5a40a)
  • api: manual updates (428829b)
  • api: manual updates (54e5bdf)
  • api: manual updates (8c970ed)
  • api: manual updates (e33d6ed)
  • api: manual updates (4c04de9)
  • api: manual updates (e9bad22)
  • api: manual updates (c0417fb)
  • api: manual updates (bddb2fa)
  • api: manual updates (24f9f11)
  • api: manual updates (8ac0ad3)
  • api: manual updates (c64d558)
  • api: manual updates (453e942)
  • api: modify upload options serialization for backend API compatibility (2d9cda5)
  • api: remove Stainless attribution from readme (45e7793)
  • api: update api docs link (03ecbdf)
  • api: Update env var name (db61f60)
  • api: update gem name (a966137)
  • api: updated docs (c2d983e)
  • expose response headers for both streams and errors (72c02c3)
  • handle thread interrupts in the core HTTP client (4d258e9)
  • pass all test cases (1cfd9cb)
  • tests: add support for plain hashes in various helper methods and tests (f7a8f2d)
  • tests: add test for generating signed URLs in responsive image attributes (41b17ab)
  • tests: add tests to ensure integer descriptors in srcset for responsive image attributes (fab9156)

Bug Fixes

  • absolutely qualified uris should always override the default (eebaf5e)
  • add examples/temp* to .gitignore (2e76262)
  • always send filename=... for multipart requests where a file is expected (9cf2e92)
  • carrierwave bump to rm mimemagic dep (ab4c2cf)
  • change to dev dep (22b98f8)
  • coroutine leaks from connection pool (62e54e5)
  • deps: update gem dependencies to latest versions in Gemfile.lock (0cfea18)
  • docs: enhance README to clarify features and integration with Ruby on Rails (22c2cec)
  • docs: remove unnecessary Bundler setup requirement from usage example in README (b3355da)
  • docs: streamline documentation for Ruby on Rails integration and remove redundant sections (855c7f9)
  • docs: update README examples for file uploads and remove obsolete parameters (17a776a)
  • docs: update README examples to use File.read instead of StringIO for file uploads (ca62b83)
  • docs: update README to enhance clarity on Ruby documentation and Rails integration (e5f64f1)
  • docs: update README to enhance documentation for Ruby on Rails integration and remove outdated sections (d1760a3)
  • docs: update README to reflect gem name change from imagekit to imagekitio (6beb35d)
  • README.md linking sections (9101ca2)
  • shorten multipart boundary sep to less than RFC specificed max length (b2ffa6a)
  • should not reuse buffers for IO.copy_stream interop (80dcda6)
  • spelling typo (8debe83)
  • standardize naming from "Image Kit" to "ImageKit" across documentation and gemspec (c427415)
  • update namespace for coerce_hash! method in file upload parameters (f3e7216)

Performance Improvements

Chores

  • allow fast-format to use bsd sed as well (81093a0)
  • do not install brew dependencies in ./scripts/bootstrap by default (14104e2)
  • ignore linter error for tests having large collections (86d5b43)
  • internal: codegen related update (d13a1d7)
  • remove example upload script (efe2092)
  • sync repo (0200fb8)
  • update SDK settings (15d893e)
  • update SDK settings (5ce5d1f)

Documentation

  • correct typo in default value description for custom metadata field (c16e257)
  • update README to enhance URL generation section with detailed examples and new features (f1687c0)

Refactors

  • consolidate handling of tags and responseFields for improved clarity (2b7d54e)
  • format and fix all lint issues (091e6d2)
  • remove unnecessary require statements for improved clarity (75820cd)
  • rename generateTransformationString to buildTransformationString for consistency (028871e)
  • simplify overlay processing and enhance safe property access (f35d7eb)
  • standardize method naming for URL and transformation string generation (f736fef)
  • streamline model object handling and enhance safe property access (ebf5887)
  • tests: remove password parameter from client setup in URL generation tests (3cf2616)
  • unify helper attribute naming across client and test files (67d2ecb)
  • update method calls to use fully qualified names for clarity (a45cc83)
  • update parameter naming for build_url method to use options (cd3618c)

Build System

  • deps: bump addressable from 2.7.0 to 2.8.0 in /samples/rails_app (db074cc)
  • deps: bump carrierwave from 2.1.0 to 2.1.1 in /samples/rails_app (c109b9b)
  • deps: bump nokogiri from 1.10.10 to 1.11.4 in /samples/rails_app (9497849)