Skip to content

Upgrading google-cloud-core 0.25 to 0.26

Unknown0.25.0 → 0.26.0

Fetching 1 release from GitHub…0 / 1
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Adds requests >=2.4.0,<3.0.0dev, tenacity <5.0.0dev,>=4.0.0.

Drops google-auth-httplib2, httplib2.

Installs 15 packages in all (was 12).

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: function generate_signed_url(credentials, resource, expiration, api_access_endpoint=…, method=…, content_md5=…, content_type=…, response_type=…, response_disposition=…, generation=…)
  • removed: function get_credentials()
  • removed: function make_exception(response, content, error_info=…, use_json=…)
  • added: function from_http_response(response)
  • added: function from_http_status(status_code, message, errors=…)
  • added: export Future
  • added: class Future(object)
  • added: method Future.add_done_callback(fn)
  • added: method Future.cancel()
  • added: method Future.cancelled()
  • added: method Future.done()
  • added: method Future.exception(timeout=…)
  • added: method Future.result(timeout=…)
  • added: method Future.running()
  • added: method Future.set_exception(exception)
  • added: method Future.set_result(result)
  • added: class Operation(polling.PollingFuture)
  • added: constructor Operation(operation, refresh, cancel, result_type, metadata_type=…)
  • added: function from_grpc(operation, operations_stub, result_type, **kwargs)
  • added: function from_http_json(operation, api_request, result_type, **kwargs)
  • added: method Operation.cancel()
  • added: method Operation.cancelled()
  • added: method Operation.done()
  • added: property Operation.metadata
  • added: property Operation.operation
  • added: class PollingFuture(base.Future)
  • added: constructor PollingFuture()
  • added: method PollingFuture.add_done_callback(fn)
  • added: method PollingFuture.done()
  • added: method PollingFuture.exception(timeout=…)
  • added: method PollingFuture.result(timeout=…)
  • added: method PollingFuture.running()
  • added: method PollingFuture.set_exception(exception)
  • added: method PollingFuture.set_result(result)
  • added: function complain(distribution_name)
  • removed: class BufferedStream(object)
  • removed: constructor BufferedStream(stream, start, size)
  • removed: method BufferedStream.read(size=…)
  • removed: property BufferedStream.stream_end_position
  • removed: property BufferedStream.stream_exhausted
  • removed: class BadStatusCodeError(HttpError)
  • removed: class CommunicationError(Error)
  • removed: class Error(Exception)
  • removed: class HttpError(CommunicationError)
  • removed: class RequestError(CommunicationError)
  • removed: class RetryAfterError(HttpError)
  • removed: class TransferError(CommunicationError)
  • removed: class TransferInvalidError(TransferError)
  • removed: class TransferRetryError(TransferError)
  • removed: constructor HttpError(response, content, url)
  • removed: constructor RetryAfterError(response, content, url, retry_after)
  • removed: property HttpError.status_code
  • removed: static method HttpError.from_response(http_response)
  • removed: static method RetryAfterError.from_response(http_response)
  • removed: class Request(object)
  • removed: class Response(_ResponseTuple)
  • removed: constructor Request(url=…, http_method=…, headers=…, body=…)
  • removed: function make_api_request(http, http_request, retries=…, redirections=…)
  • removed: property Request.body
  • removed: property Request.loggable_body
  • removed: property Response.is_redirect
  • removed: property Response.length
  • removed: property Response.retry_after
  • removed: property Response.status_code
  • removed: variable RESUME_INCOMPLETE
  • removed: variable TOO_MANY_REQUESTS
  • removed: class StreamSlice(object)
  • removed: constructor StreamSlice(stream, max_bytes)
  • removed: method StreamSlice.read(size=…)
  • removed: property StreamSlice.length
  • removed: class Download(_Transfer)
  • removed: class Upload(_Transfer)
  • removed: constructor Download(stream, **kwds)
  • removed: constructor Upload(stream, mime_type, total_size=…, http=…, close_stream=…, auto_transfer=…, **kwds)
  • removed: method Download.configure_request(http_request, url_builder)
  • removed: method Download.get_range(start, end=…, use_chunks=…)
  • removed: method Download.initialize_download(http_request, http)
  • removed: method Download.stream_file(use_chunks=…, headers=…)
  • removed: method Upload.configure_request(upload_config, http_request, url_builder)
  • removed: method Upload.initialize_upload(http_request, http)
  • removed: method Upload.refresh_upload_state()
  • removed: method Upload.stream_file(use_chunks=…)
  • removed: property Download.encoding
  • removed: property Download.progress
  • removed: property Download.total_size
  • removed: property Upload.complete
  • removed: property Upload.mime_type
  • removed: property Upload.progress
  • removed: property Upload.strategy
  • removed: property Upload.total_size
  • removed: static method Download.from_file(filename, overwrite=…, auto_transfer=…, **kwds)
  • removed: static method Download.from_stream(stream, auto_transfer=…, total_size=…, **kwds)
  • removed: static method Upload.from_file(filename, mime_type=…, auto_transfer=…, **kwds)
  • removed: static method Upload.from_stream(stream, mime_type, total_size=…, auto_transfer=…, **kwds)
  • removed: variable RESUMABLE_UPLOAD
  • removed: variable RESUMABLE_UPLOAD_THRESHOLD
  • removed: variable SIMPLE_UPLOAD
  • removed: function acceptable_mime_type(accept_patterns, mime_type)
  • removed: function calculate_wait_for_retry(retry_attempt)