- upgrade dependency 'debug' to 3.1.0
- upgrade dependency 'qs' to 6.5.2
- upgrade dependency 'wpcom-xhr-request' to 1.1.2
- stop bundling Node.js 'fs' polyfill in browser package
- add media-example test app
- Add
edit()
method and set1.2
forget()
- test:site.media: eslint corrections
- site: eslint corrections
- eslint: update dependencies and rules
- pkg: update xhr to 1.0.0 and proxy to 3.0.0
- fix
Request
reference - re-export the Classes
- override
test
rule for CI adding DEBUG var - circleci: set
node
andnpm
version - make: remove line break
- remove
test-all
and addmake-watch
rule - add CircleCI badge
- clean - ES6ify
- package: update "n8-make" to v1.4.0
- update to Babel 6
- package: add "prepublish" script
- package: update "wpcom-proxy-request" to v2
- Fix minor issues
- rename
ad-credit-vouchers
tocredit-voucher
- Stats: Add statsInsights method for site.
- avoid webpack/webpack#300 issue
- marketing.survey. First approach
- SiteAdCreditVouchers: first implementation
- plans: add
./plans
methods
- re-build dist/
- Enable support for post types taxonomies endpoint
- runtime: export runtime lists
- test: add site.wpcomPlugin() tests
- SiteWPComPlugin: add Class
- test: add site.wpcomPluginsList() test
- Site: add wpcomPluginsList() method
- SitePlugin: rename methods: updateVersion() and update()
- site.taxonomy and site.taxonomy.term implemented
- site.plugin updates
- various test cleanup
- add site.post.del back which was removed in 4.9.3
- site.post.subscriber: implemented
- site.post: add post methods in the runtime
- runtime-build: refact -> pass pathBuilder function
- site.post: ES6ify
- site: ES6ify
- Fix requiring a JSON file
- site.plugin: add basic site plugins structure
- site.domain: add basic site domain structure
- site: add domain methods (see #163)
- version bump wpcom-xhr-request (see Automattic/wpcom-xhr-request#17)
- domain.dns: add
/domains/%s/dns
methods - domain.email: add
/domains/%s/email
methods - domain: add
/domains/%s
methods - domains: add
/domains
methods - site.settings: implemented
- me: add me.posts() method
- process site methods using runtime libs
- site: add generic postTypesList method
- site: add site.postCounts()
- site.wordads: add several methods
- version bump wpcom-xhr-request
- adds support for special
apiNamespace
param to integrate core WP-API
- add methods:
-
- me.billingHistory
-
- me.connectedAppication
-
- me.keyringConnection
-
- me.publicizeConnection
-
- me.settins.password
-
- me.towStep
- add babel-runtime so that es6 features requiring a pollyfill work
- add compiled js files to revision system
- Use webpack to build final product
- Return the static Promise.{reject/resolve} objects
- Set default Promise return in absence of callback
- Add Promise documentation
- circle: add config file. set node version
- Add Promsie Wrapper
- Add site.pageTemplates() test
- Add site.pageTemplates() method
- batch: remove bracket in url query
- send-request: parse and assign query param rightly
- example: add cors batch example
- send-request: always stringify query object
- Use PHP style query params for a batch request
- pkg: bump "wpcom-xhr-request" to "0.3.2"
- send-request: handler proxyOrigin parameter
- docs: fix references to
wpcom.sites()
->wpcom.site()
- site: fix query args for
statsVideo
andstatsPostViews
- core: store token if is defined
- test: fix a couple of failing tests and methods
- docs: prepare for auto-generated docs and code samples
- site: add stats endpoints
- docs: update OAuth and testing docs
- pkg: bump
wpcom-xhr-request
to0.3.1
- send-request: check
query
paramter - test: add util req testing file
- test: update wpcom.site.tagsList test
- test: update wpcom.site.categoriesList test
- test: force apiVersion to 1 for some stats tests
- site: fix embed_url param
- send-request: default value for
query
is {}
- request: update path for send-request module
- core: add sendRequest() to suppoert compatibility
- test: add users suggest testing file
- update to wpcom.req method
- test: add site.follow testing file
- test: add site embeds testing file
- test: add site.shortcodes testing file
- send-response: set apiVersion from wpcom property
- core: add apiVersion as property. Define
1.1
as default - request: refact -> create Req class
- site: use
list
builder forembdesList
method - test: site: add embedsList() test
- site: use
list
builder for shortcodesList method - test: add site.shortcodesList test
- post: propagate
id
andslug
when post is added - improve tests
- site: URIencode id. This allows to use the API wit Jetpack sites installed on subfolders.
- core: request handler parameter in constructor
- add
requite
util module - update coding
- core: Added users suggest endpoint
- Merge pull request #71 from Automattic/add/post-restore-endpoint
- Allow optional third-index apiVersion for resource list
- test: improve media util functions
- test: pre-process files in addFiles test
- test: update apiVersion tests using getFiles()
- test: add test.getFiles() method
- examples: better proxy me.html output
- test: fix testing data
- Get rid of confusion between
index.js
andwpcom+xhr.js
- media: fix bug in checking File on server-side
- media: fix checking File parameter in #addFiles method
- media: fix bug adding media files in client-side
- examples: add browser-proxy "upload.html" example
- media: add optional [query] parameter.
- pkg: update "wpcom-xhr-request" to v0.3.0
- add
return
statement to allsendRequest()
calls - media: support new api features
- media: use api version 1.1
- test: add batch test
- Add batch support
- test: add tag tests
- site: add site#tag() method
- tag: add tag library
- test: fix typeof asserts
- test: add category tests
- site: add site#category() method
- category: add category
- test: move up
global
testing value - package: update "debug" to v2.0.0
- Add media.update method
- Add tests for comment likes
- add CommentLike module and functions to Comment (mirroring Like for Posts)
- landing v1
- dist: recompile
- docs: update Follow doc page
- Add
Follow
implementation - update "browserify" to v4.2.1
- dist: recompile
- package: update "browserify" to v4.2.0
- package: update "wpcom-xhr-request" to v0.2.5
- site: use
%o
formatter for debug() calls
- dist: recompile
- examples: add "browser-proxy" example
- Makefile: remove
-xhr
- index: inline the
sendRequest()
function - package: update "browserify" to v4.1.11
- package: update "wpcom-xhr-request" to v0.2.3
- wpcom+xhr: add JSDoc comment
- dist: recompile
- package: update "wpcom-xhr-request" to v0.2.2
- docs: fix typo in function name
- docs: fix typo in
post
docs - docs: fix relative links in
WPCOM
main docs - package: be loose with the
debug
version - package: add "license" field
- dist: rebuild
- package: update "debug" and "wpcom-xhr-request" dependencies
- package: add "keywords" field
- test: fix testing data
- package: update "description"
- add LICENSE file
- package, Redme: use lowercase .JS, add "web"
- example: add uploading image browser example
- delete legacy wpcom-proxy (#39, @guille)
- examples: a few tweaks
- example: remove token value
- xhr: add wpcom.setToken()
-
New methods:
-
post.comment()
-
post.comments()
-
comment.get()
-
comment.update()
-
comment.replies()
-
comment.reply()
-
comment.delete()
-
-
dist: recompile
-
add test for all new methods
-
update documentation
-
New methods:
-
site.addMediaFiles()
-
site.addMediaUrls()
-
site.deleteMedia()
-
site.usersList()
-
site.likesList()
-
media.addFiles()
-
media.addUrls()
-
media.del()
-
post.reblog()
-
post.related()
-
like.state()
-
like.mine()
-
like.del()
-
reblog.to()
-
reblog.state()
-
-
Add and update examples over the browser
-
Improve and update documentation
- Remove internal "endpoints"
.json
files, saves ~8kb uncompressed (#19) - package: update "description" field
- History: match
git changelog
output - rename
doc
->docs
andexample
toexamples
- site: rename Sites to Site
- dist: add the compiled
wpcom-proxy.js
andwpcom.js
files - Readme: improve
- remove
req.js
, move send() fn to WPCOM class - add wpcom+proxy.js and wpcom+xhr.js wrapper class scripts
- add browserify standalone build rules
- rename npm name to
wpcom
- add me.sites() method
- New methods:
- me.connections()
- me.groups()
- me.likes()
- post.edit()
- post.del()
- improve error handling
- improve endpoint files structure
- update documentation
- replace
request
bysuperagent
- pck: bump wp-connect@0.2.0
- set token in the constructor
- remove .token() method
- core: cretae a Req instance in this.req property
- req: refact -> expose a Req constructor
- example: add simple exmaple application
- change the API
- doc: update documentation
- add tests
- first approach