changelogs.md


mattscilipoti/tusc.rb

Repository  -  API  -  Source

0.7.0

August 20, 2020
  • Support OPTIONS request via OptionsRequest/Response classes
  • Increase default chunk_size to 10MB
  • Can assign uploaded chunk_size via TusClient.chunk_size
  • Readme lists "What is supported?"
  • Add Coveralls (for code coverage in Travis CI)
  • Add CodeClimate support and badge

0.6.3

August 13, 2020
  • Remove unused 'ougai' gem
  • Move dev/test/ci dependencies to Gemfile
  • Supports ruby 2.5, 2.6, 2.7
  • For Travis CI:
    • Use rake spec_ci
    • Specify limited dependencies for travis ci

0.6.2

August 13, 2020

0.6.1

August 12, 2020
  • Updated docs, using yard.

0.6.0

August 12, 2020
  • switch from Ougai::Logger to Ruby Logger.
    • Now, ruby/rails app can assign, e.g. TusClient.logger = Rails.logger
    • Still logs :source
  • Logger.level = Logger::INFO (was ERROR)
  • Add binstub bin/rackup (for testing)

0.5.0

August 6, 2020
  • Move Responsorial to TusClient namespace
  • Move HttpService to TusClient namespace
  • Move HttpService to lib/. lib/tusc/ is reserved for tus code.
  • Logged 'source' is code from tusc dir, not support libraries
  • Tests use std log (log/tusc.log) vs. log/tusc_test.log

0.4.6

August 5, 2020
  • FIX CreationResponse#body (for blank body)
  • Extract HttpService (head, patch, post)
  • CreationRequest logs body (used by some tus servers; e.g. Vimeo)
  • Log request/response vs. sending/receiving
  • #truncate uses ellipse (vs. 3 periods)

0.4.5

July 28, 2020
  • FIX: Upload 413 code ("resource's size exceeded"), by adding ContentType to UploadRequest
  • Extract UploadRequest from Uploader.push_chunk.

0.4.4

July 27, 2020
  • added specs to split file into multiple chunks

0.4.3

July 24, 2020
  • Added tests against local tus-server
  • FIX: Uploader now supports uploading video files (using octet-stream vs. detected content type)
    • removes dependency on MimeMagic
  • All *Response objects have basic interface: raw, status_code, success?

0.4.2

July 23, 2020

0.4.1

July 23, 2020

0.4.0

July 23, 2020
  • FIX: OffsetResponse#offset is 0, if Upload-Offset header is not present
  • Uploader#content_type detects or uses default

0.3.0

July 23, 2020
  • debug by setting TusClient.log_level = Logger::DEBUG
  • reduce log rollover sizes to 1MB (200kB for testing)
  • FIX: Get appropriate field from MimeMagic or return default type

0.2.0

July 22, 2020
  • Uploader passes extra_headers to OffsetRequest

0.1.6

July 22, 2020
  • FIX: Uploader#offset_request(er)
  • OffsetRequest: accepts URL or URI

0.1.5

July 22, 2020
  • FIX: Uploader requires OffsetRequest
  • FIX: #blank no longer creates BLANK_RE const if rails already has (via client)

0.1.4

July 22, 2020
  • CreationResponse: body is parsed from JSON
  • Copy/paste #blank? from Rails/ActiveSupport
  • FIX: Uploader.from_file_path factory method (named args)

0.1.3

July 22, 2020
  • i.e. Vimeo tus server requires info to be included in the request.

0.1.2

July 22, 2020

0.1.0

July 22, 2020

0.1.0

July 21, 2020
  • Creation Request (POST): requests URL we can upload to
  • Current Offset Request (HEAD): requests current offset fo specified file upload url
  • Upload Request (PATCH): uploads a chunk of the file