Skip to content

Latest commit

 

History

History
666 lines (554 loc) · 61 KB

changelog.md

File metadata and controls

666 lines (554 loc) · 61 KB

api/cli-vNEXT (YYYY-MM-DD)

  • New GetToken trait for custom ways of specifying a token. The latter can now be a String or be NoToken as well.
  • Upgrade mkdocs to a more recent version that doesn't break in more recent python interpreters.

api/cli-v3.0.0 (2022-3-8)

  • Support for yup-oauth 0.6
  • Redesigned error handling which won't swallow errors anymore by making less assumptions about them. They are now merely assume to be JSON, with a fallback to the plain message.

api-v2.0.4:cli-v2.0.4 (2021-4-1)

  • every call is async
  • upgrade to hyper 0.14 and tokio 1.0

Note that there are still a few inefficiencies and oddities, but nothing that should prevent using libraries at least. CLIs are available but haven't been used in a while.

api-v1.0.4:cli-v1.0.4 (2017-2-1)

Upgrade to serde 0.9, which removes a lot of complexity and the need for nighly.

api-v1.0.3:cli-v1.0.3 (2017-2-1)

Uprade to hyper v0.10, and use hyper-rustls instead of openssl for all communication. Please note that authentication is still performed using openssl.

api-v1.0.1:cli-v1.0.1 (2016-12-24)

Bug Fixes

  • cli: try to depend on major version of api (b68b2a6b)
  • discovery: handle discovery urls with $ (0ba9535a)
  • license: correct link to license on github (f3d0ef45)
  • versions: cli + api use a single base version (5e28a06d)

Features

  • binaries: remove download information (e6468981)

api-v1.0.0:cli-v1.0.0 (2016-10-29)

Stability for everyone !

Features

Bug Fixes

  • api types: Add an unused field to empty API types. (0f14aa96)
  • auth: use redirect flow (b6f5fc6e)
  • template: URL-encoding '/' in URLs is not accepted by Google APIs. (292dd2f3)

api-v0.1.14:cli-v0.3.5 (2016-07-17)

Bug Fixes

api-v0.1.14:cli-v0.3.5 (2016-07-17)

Bug Fixes

  • cargo:
  • dependencies: use working version of serde-codegen (3921b6a5)
  • test: work with latest serde (bed46ba2)
  • travis:
    • don't fail by default on non-nightly (e9fe17ee)
    • as learned from yup-oauth (5ca02172)

Features

  • authentication: Use flow for installed apps (d37bb19d)

api-v0.1.13:cli-v0.3.4 (2016-04-10)

Bug Fixes

  • cargo: choose serde-version which works (33f28136)
  • cli: compatibility with serde 0.6 (9e8a047e)
  • lib: use hyper Bearer header style (065cfdd2)

api-v0.1.12 (2016-02-28)

Bug Fixes

  • make: use venv-python to run any utility (4bb7a33e)
  • parameters: previously the separator used in the request was incorrect, causing the request to fail. This has been fixed by this PR.
  • serde: update to serde 0.7, which allows to ignore unkonwn fields. That way, your library will work for longer, as it will just ignore possibly added fields.

cli-v0.3.3:api-v0.1.11 (2016-01-30)

Bug Fixes

  • cmn: get cmn compiling on nightly rust (8179f3bf, closes #131)
  • deps: assure license can be generated (9a2d2b57)
  • makefile: use PYTHONPATH for mako invocation (0bd7f200)
  • mako: use new discoveryRestUrl field for json download (ef9e7f1b)
  • rustup: use std::Thread::sleep (b54acb7c)
  • serde: update to latest serde/rust (8dab8c01)
  • travis: improve handling of error code if stable is tested (78c7d46f)
  • util.py: improve version and library name handling (53c27da2)
  • versionup: use latest oauth2 lib (a2c6b58d)

Features

  • json: updated API descriptions (8f01e8e9)
  • version-up: clap-rs v1.5 -> 2.0 (ab1aa55d)

cli-v0.3.2:cli-v0.1.9 (2015-08-08)

Bug Fixes

  • clap-up use clap 1.0.3 (be894bec)
  • deploy adjust linux script to target dir (0f61fa4c)
  • hyper-up compatibility with hyper 0.6.4 (e129a7d3, closes #123)
  • serde-up update to serde 0.5.0 (2d574591)

Improvements

  • cli pretty-print errors in debug mode (152cdd84)

cli-v0.3.1 (2015-06-26)

Bug Fixes

  • cli
  • deps make statement shell compatible (a566b702)
  • hyper-up work with hyper v0.6.0 (d0491a49)
  • rustup type-inference fails on empty vec (27fdd8ee)

cli-v0.3.0:api-v0.1.7 (2015-06-19)

This release allows both API and CLI to be built on stable (verified with rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14)).

The CLI additionally builds against the latest clap-rs, which brings color support next to other improvements.

cli-v0.2.0 (2015-05-10)

The first release you can actually use!

Features

  • Clap - The Argument Parser Users will Love !
    • Thanks to clap, using the command-line interface is so much more comfortable and helpful. In addition to that, it will provide wonderful usage information and help texts to get you going fast without stying the online-manual all the time.
    • Special thanks to @kbknapp for all the great support. It was my pleasure evolving my CLIs alongside clap.

Improvements

  • Usage-to-Manual Backlinks
    • Sometimes even the extended usage, e.g. youtube3 videos insert --help, is not enough. Now a URL to the exact method manual is provided as well to help filling in complex information.
  • (More) Human JSON Output
    • Previously obtained JSON information would contain null values, adding unwanted noise. These are now filtered out. Thanks to @erickt for the hint.
    • Did you know ... that you can use JQ to filter the JSON output and extract data ?

Bug Fixes

  • Out-of-memory during Uploads
    • When uploading anything over SSL (the default for Google Services), due to an issue in rust-openssl all data would first be cached in-memory before sending it with ulta-high CPU usage. Now that the aforementioned bug is fixed, you can easily saturate a 1Gb link for encrypted uploads.
  • YouTube uploads didn't work
    • Any YouTube upload was rejected as the server didn't want to see null values within the request structure. Thanks to additional filtering an optimized JSON stream is produced, much to the joy of said server.

api-v0.1.7 (2015-05-10)

Improvements

  • CLI remove null in pretty-printed json (5894c816, closes #102)
  • index.html DL title contains os-name (69b12104)
  • API

Features

  • clap
    • implement -u as good as possible (656fcae2)
    • parse structure and build App (db4624b4, closes #87)
    • initial version of command generation (b39bc3a9)
    • setup infrastructure (988d37f0)
  • CLI
  • index.html
  • deploy

Bug Fixes

  • CLI
    • completed list of parameter names (9274938f)
    • added latest reference CLI code (d2a4e2ff)
    • gate usage of upload_media_params (89432cc6)
    • handle repeated required strings (bf6a2ba6, closes #96)
    • 'about()' text for main commands (153324eb, closes #95)
    • adjust JsonTokenStorage to yup-oauth (94c821e0)
    • unified error handling (2f200217, closes #66)
    • escape subcommand descriptions (fac50418)
  • API
    • filter null values of requrest structs (3efa4f2b)
    • simplified call to form_urlencode (b27c990d)
    • let delegate forget uploaded urls (c346645f, closes #85)
    • remove unused std_misc feature (d46c0839)
    • adjust to latest hyper header macros (4115d50c)
    • exclude cloudsearch from build (de85fb43)
  • compat
  • clap
    • re-introduce UploadProtocol,fix CallType (d0ce221b, closes #81)
    • update docs and fix calltype handling (b039b382)
    • various fixes and improvements (7a38f7e4)
    • print usage if command is missing (63e23dd4)
    • tweaks to make youtube3 work (5320a48e)
    • adjust option usage to changed API (bac4e1a8)
    • handle apis without media upload (feaa3a06)
    • call iter() directly (02a41296)
    • commit before un-using UploadProtocol (1aff3135)
    • generate command data structure (8ac8d3b1)
    • upload some code to help debugging (9a8ae4b7)

api-v0.1.6 (2015-05-02)

Bug Fixes

  • rustup (abf0548b5 2015-04-15) (built 2015-04-15) (9ea3fea7)
  • make-deps fix dependencies (2e74d914)
  • make dependencies are now per-program-type (acd42dfc)
  • api-version-up v0.1.4 (6f2149b7)
  • lib update changed url crate imports (607ba745)
  • token-storage implement deletion of tokens (6d84ef90, closes #79)
  • cli add commands.yml.mako (51ddcf74)
  • hyper-client adjust to hyper client (191e822c, closes #47)
  • docker README info + fix author email (e7302810, closes #71)
  • docs
    • corrected cursor handling in mkdocs (bf37e515)
    • one folder per API docs (6d3dc776, closes #48)
  • README+deps better subtext + rename target (75e73d56)
  • cmn use bytes=... when sending as well (b9a469c0)
  • test add rustc_serialize to test-crate (fa011315)
  • api-update 'bytes ...' -> 'bytes=...' (3e0a24db)
  • travis
  • README corrected absolute links (34d0a7aa)
  • CLI
    • request value cursor handling and docs (b6a48bdc, closes #86)
    • simple and resumable upload works (2f3b2d24)
    • use only one request structure (0bb30da7)
    • set request value to call (be7ccb08)
    • verified download works (6befdbc6, closes #75)
    • response value json decoding (845a568b, closes #73)
    • resolve generator issues (797f2898, closes #77)
    • request value parsing compiles and inits (fa278a99, closes #64)
    • struct access compiles ... (bf22bef7)
    • NULL default values instead of randoms (4b87d909)
    • alt-media handling in CLI+API-docs (306852d5, closes #61)
    • optional parameter default handling (830529c4)
    • optimze argument handling and conversion (76841da0, closes #65)
    • Display for Errors + refactor (e45eb053, closes #54)
  • version-up
  • all update all code to latest version (f8689be4)
  • API
    • adapt to changed yup-oauth2 API (e523ddb6)
    • scopes were used illegally (d8fdf9df)
  • checkin latest version of all APIs (4cf0720e)
  • api+cli improved scope handling; fix CLI (5b4f18d3)

Features

  • engine infrastructure (ca8e8c06, closes #52)
  • CLI
    • per-API-credentials with default (e42f6fbe, closes #80)
    • hashmap handling (b830c1c6, closes #68)
    • repeated required args (c14ef9af)
    • --debug-auth flag (03f35bd4, closes #70)
    • --debug flag to output traffix (159c6591)
    • added first versions of all CLI (f5f12c55)
    • struct value parsing (15b78cd1)
    • field cursor complete and untested (1dd1fcf4)
    • make respective uppload_call (6119bfb7, closes #62)
    • upload flag parsing (9eed4056)
    • global optional parameters+DL tracking (36a7cb23)
    • parse method parameters and set them (6ae6ee88)
    • handle output json encoding and ostreams (3f49f50a, closes #63)
    • interpret output arguments (c3a9f1e8)
    • required arg parsing + first doit() call (e34e24e0, closes #60)
    • infrastructure for call and dry-run (d6919f1e, closes #59)
    • Implementation of JsonTokenStorage (8afc76a7, closes #58)
    • init hub + refactor for dry-run mode (f71c2862, closes #57)
    • engine checks resource and method args (be228f19, closes #55)
    • write default and read app-secret (4548644c, closes #53)
  • cli
  • config create config directory, if possible (5799d44f)
  • mkdocs
  • API
    • improved error handling (a3289420, closes #82)
    • Display + Error traits for Error struct (7dc99724, closes #56)

api-v0.1.4 (2015-05-02)

Bug Fixes

api-v0.1.3 (2015-05-02)

Bug Fixes

  • deps github-pages index generation (919ae4d8)
  • version-up check-in of latest sources (a2ca1cb2)
  • api-version-up version 0.1.3 (99f8b65f, closes #46)
  • rustup rustc (be9bd7c93 2015-04-05) (91861dcb)

api-v0.1.2 (2015-05-02)

Bug Fixes

  • docs
    • remove newlines interpreted as test (d1c5bf1e)
    • typo fixes and misc. improvements (ea161897, closes #42)
  • json-up update json files from discovery API (fca1b24c)
  • versionup
    • set the API version to 0.1.2 (c7fb7c40)
    • incl. Result conform to standards (e9535354)
  • result remove custom Result Enum (e5b013e9, closes #39)
  • misc whitespace and trait rename (6ad0c2ef)

Features

  • make cli depends on API, generically (cefd606b, closes #11)
  • mkdocs mkdocs generator works now (d1c97912, closes #43)
  • api api generation works once again (be7d8214)

api-v0.1.1 (2015-05-02)

Bug Fixes

  • mbuild upload size now taken properly (04f4c956)

api-v0.1.0 (2015-05-02)

Bug Fixes

  • doit
    • fix lifetime issues (29d9e45c)
    • repeated params string addition (b90a1916)
    • remove BorrowMut until it's cleared (1349c786)
  • to_version assured it handles '0' correctly (4b9dbb28, closes #3)
  • readme
    • improved markdown for library overview (97da926e)
    • added milestone link (6167dc07)
  • scope
    • make scope gen work with gmail (3b7e63f2)
    • scopes are sorted Strings now (6d2b0fc2)
  • activities
  • pyratemp is now self-contained (179c64c5)
  • cmn
    • upload() return value handling (cd1ff18b, closes #18)
    • serde cleanup;JsonError pub fields (b9a81a90)
  • json2xml
  • docs
    • re-export types used by delegate (556906ca)
    • better introduction and version handling (3a9aa519)
    • pretty names for methods and resources (0152138e)
    • repeated parameters docs improvement (863a98c0)
    • filter request value props by parts (fad0a717)
    • have to handle required/optionals vals (9cbb2adc)
    • remove empty '/// # ' lines (f2dda421)
  • schema
  • resources first recursive resource support (35bd1c3e)
  • version-up 0.1.0 release (3bc930ae)
  • names nested type names are consistent now (32145e64)
  • mako
  • libdocs asssure candidate is in mapping (1e332ddb)
  • api-versions ignore beta/alpha,assure latest (ff5cbb3b)
  • type-clashes protect from nested-type-clash (614539a9)
  • builders fixed part handling,it compiles now (70ea612f)
  • rename mv youtube-rs to google-apis-rs (11b6fe21)
  • hash nested type resolution and hashes (5d563c88)
  • test
    • unit-tests work once again (91f69ffd)
    • method builder examples work now (a3206abc)
  • apis
    • exclude those with recursive schemas (5ff22851)
    • intermediate improvements ... (92d8fa76)
  • util
    • deepcopy dicts instead (efe56ad2)
    • resource-to-category map (c7e169df)
    • do not degenerate during activity_split (7816cc81)
  • types
    • prune unused and ToParts trait (80161f72, closes #35)
    • make recursive types possible (8d9f175f)
    • prevent type-clash with Result (b6ebb1ec)
    • fix incorrect nested type names (4f794ef5)
    • prevent struct recursion issue (da575055)
    • nested types work for arrays (54540e69)
    • optionals are working once again (a268be27)
  • typename improved camelCasing (de40a8bd)
  • mbuild
    • simplification and cleanup (4bf28007)
    • scope -> add_scope (538120f7)
    • added size and mime type support (baea071a)
    • doit() call with enum type annotation (6fad7600)
    • setters now copy copyables (452b658c)
  • markup examples section in mbuilder got lost (4bdee961)
  • common
    • MultiPartReader test case (6b230135)
    • MultiPartReader now works correctly (e53e23a8)
  • visuals using visual markers now (8746f5e0)
  • mako-deps handle whitespace and add GENINFO (c3d399e9)
  • xml forgot to add shared.xml (e081017c)
  • json
  • #5 use function to make links correctly (c8061ebe)
  • cosmetics nicer code and identifiers (9b308bb6)
  • methods decent solution for free methods (79879daf, closes #19)
  • lib schema_markers() accessed map incorrectly (98f4bbab)
  • makefile regenerate .api.deps less often (63997910)
  • build
    • remove compiler warnings. (559cb8fe)
    • fixes to help more projects to build (cf258bf4)
  • compile no compiler warnings (bfc39229)
  • make
  • travis
    • incorrectly capitalized cargo.toml (31efbf4f)
    • explicit subshell for cargo-doc (4c657ac9)
    • try using a subshell for cargo cmd (a87fbdf0)
    • install virtualenv automatically (5fd7cb51)
    • Do not generate docs ! (b43eb0e3)
  • Scope Manual scope parameter ... (28878e06)
  • template-engine removed gsl, added pyratemp (e06738a7)
  • doc-links some links pointed to old doc name (a05426e7)
  • name MethodBuilder -> CallBuilder (10dfeeb1)
  • cargo
    • repository/source-code link (030c40d2)
    • make sure we get correct openssl vers. (d4869cfe)
  • traits
    • finally, we pick up all types (7e243936)
    • transitive, minimal traits for types (00de2b18)
    • perfected trait recognition. (8dc5e2a5)
  • delegate it now works in every which way (1423e462)
  • nestedtypes recursion for nested types (0d9f6363)
  • resource now with flattened activities (2531011f)
  • dev typo (7758f99f)
  • lib-name user lower-case library names,always (814c9c9f)
  • deps fixed dependency to wrong target (51d05d6d)
  • Makefile force python2.7 in virtualenv (876772cf)

Features

  • names improved library names (b8956103)
  • result generic result type (da300e03)
  • types
    • mark unused types with marker trait (8bb2166d)
    • prevent duplicate schema types (3a154303, closes #26)
  • docs
    • add more obvious crate and api version (79cbf3ee, closes #16)
    • add cargo.toml dependency information (7f33cf22, closes #10)
    • full usage example on landing page (9a17ab9e)
    • Traits now show up as part of lib (e164cf73)
  • downloads alt 'media' handling to allow dls (02d7a06f, closes #21)
  • doit
    • don't crash if json decode fails. (0823dec7, closes #33)
    • simplify delegate calls (265b4482, closes #30)
    • optimizations and simplification; seek (9d401f54, closes #17)
    • optimized memory allocation and options (224af640)
    • initial part writing (71c827b3)
    • multi-part mime-type and add_parts() (fc589cb9)
    • handle 'alt' param (3ea5e194, closes #20)
    • more multipart infrastructure (b0a1f518)
    • improve body infrastructure (7cfb5afd)
    • simplify URL_ENCODE handling (d2bf24ca)
    • uri-template handling complete (1fee21de)
    • uri-template generation works (54eb784a)
    • repeated types in examples (64219e7e)
    • repeatable parameters working (d758f410)
    • partial implementation of url expr (35437070)
    • set upload media type (33e85ddd)
    • pre-request delegate call. (60adacf8)
    • json decode and delegation (eef14713)
    • authentication with and without scopes (2c79f6e3)
    • attempt to send json-encoded request (9a58b0ba)
    • query string setup (aabed385)
  • schema
    • support for 'variant' schema (bb75c5b6)
    • generating valid rust from schemas (a5e675e7)
  • deps update-json using discovery API (c0a24760)
  • hub
    • allow to set user-agent (cb5a0a35, closes #24)
    • generate hub implementation and docs (615a1246)
  • all-apis build all apis, were possible (2d036b66)
  • common
    • multibytereader single byte test (b127df17)
    • MultiPartReader is working. (8db346b8)
  • mako-render multiple input-outputs per call (087a0762)
  • params additional fields and Result type (7c6f7d5e)
  • dlg make actual store_upload_url() call (ffef7dda)
  • dev spike to see how delegate can be work (432faa27)
  • name oauth22 -> oauth2_v2 (664d8225)
  • visuals defs are now more readable (e96260ba)
  • builder Partial MethodBuilder impl (01db8905)
  • videos first primitive types and api (aaf432fb)
  • gsl my first gsl program ... (0812068c)
  • mbuild
  • setters properties and setters for mbuilder (582aca32)
  • architecture figure out ownership model (67b052c5)
  • youtube first generated result ... (d8edf1dc)
  • type-params ground work for upload media (020300af)
  • service added authenticator arg (f13c2960)
  • builders request type handling part 1 (48d40d45)
  • doc def for DO NOT EDIT comments (f1d95822)
  • xmlconv add conversion tool and youtube api (eebcf549)
  • travis docs and tests of youtube3 on travis (dd0772f1)
  • lib
  • mako
    • now sets up entire project structure (475163ec)
    • LICENSE + README.md (3670e4f6)
    • mako-render generates output dirs (4e5f2c05)
    • can now use custom libraries in pycode (22986011)
    • cargo.toml template (be938255)
    • generic source/output mappings (2d77857a)
    • api deps generation works (30041e9c)
    • mako autosetup and improved executable (20410adb)
  • make
    • apis target - make all apis (e3b6aee6)
    • unified make based build system (0c2f149b)
    • makefile for handling json-to-xml (1980f76c)
  • traits add marker traits to schema types (c1eeee05)
  • delegate
  • fields put all fields onto a list (6c416609)
  • drive added gogole drive API (66f3ae14)
  • schemas now we pre-generate nested schemas (ac8c4153)
  • lookup LUTs and context to make better docs (ba98bee6)
  • json
    • Option<_> in schema only if needed (55978ff9, closes #32)
    • added field aliases, were needed (9f719dd9)
    • part 1 to implement 'any' type (712fed57)
  • gh-pages new github-pages target (f27fda8f)
  • layout improved module layout (24a727fd)
  • license improved license information (fc15a703)
  • cargo
  • rbuild build insert/update ... methods (693b5c8f)
  • cmn
    • Resumable upload implemented (29ee94b4)
    • implement query_transfer_status() (065753cc)
    • ContentRange header (parse and format) (42a76e46)
  • methods intermed. support for 'methods' (60d953a3)
  • pyratemp successfully generating make deps (c0bfeabb)