Bug Fixes
Features
Features
Bug Fixes
project.clj
: Add useless Jetty
library to :exclusions
to help prevent conflicts in downstream consumersBug Fixes
GoogleCtx
property :redirect-uris
from t/ISeq
to the more general t/Seqable
:warning: This release includes major breaking changes in the Google Drive code.
Breaking Changes
google-drive
namespace to simplify and organize the code, and to make
the type checker pass. Many type-defs and functions have been renamed, or simplified to take fewer unnamed arguments
and instead take a map with additional options (for example, see upload-file!
) which should make it easier to use.
Two protocols used in converting Objects into usable data (Requestable
and Response
) have been replaced with
simpler functions instead.true
values will no longer automatically be appended with a ?
. Before this change,
we would convert {"canInvite" true}
to {:can-invite? true}
. After this change, it will instead be transformed
to {:can-invite true}
(note the lack of a question mark). Keys for other values will not be changed
(e.g. {"canInvite" false, "name" "test"}
still becomes {:can-invite false, :name "test"}
Features
core.typed
type checking via lein typed check
. Type checking helped
uncover and fix multiple bugs in the existing code.Features
Bug Fixes
google-sheets
and google-drive
namespacesbuild-credential-from-ctx
to return a GoogleCredential
instance, which plays nicer with GSheets APIs.
Since GoogleCredential
implements HttpRequestInitializer
, client code shouldn't require modification
(although you may have to change type annotations if you referenced HttpRequestInitializer
)Features
GOOGLE_APPLICATION_CREDENTIALS
(this previously could be done with an environment variable of the same name; the system property will take precedence,
and if neither a system property nor an environment variable is specified, we'll still fall back to the Google
client library's default behavior, which also searches a predetermined file location)Documentation
Bug Fixes
com.google.gdata/core
and other
Google dependencies, by adding exclusions to com.google.gdata/core
:
com.google.code.findbugs/jsr305
is 1.3.7
in gdata/core
, 1.3.9
elsewhereorg.apache.httpcomponents/httpclient
is 4.0.1
in gdata/core
, 4.0.3
elsewhereBreaking Changes
credentials/GoogleCtx
map,
can now also accept a GoogleCredential
. This changes the annotation to credentials/GoogleAuth
.Features
google-drive/upload!
to prevent automatic conversion to Google Docscore.typed
annotations (still not complete)Documentation
Bug Fixes
Breaking Changes
Bug Fixes
Features
Breaking Changes
Changelog from 0.2.2 and earlier is reconstructed and may not be 100% accurate!
Features
google-drive
: Add get-file-ids
to enumerate id:title map of all filesgoogle-drive
: Add get-file
to fetch a File based on its IDBug Fixes
google-sheets
: write-worksheet
resizes directly to the size we need
in order to avoid breaking frozen rows/columnsFeatures
google-calendar
Features
google-drive
Misc
Features
Can you improve this documentation? These fine people already did:
Jeffrey Stanton, Donald Ball & Nathan SorensonEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close