This repository has been archived by the owner on Aug 12, 2020. It is now read-only.
Releases: kintone-labs/kintone-js-sdk
Releases · kintone-labs/kintone-js-sdk
v0.6.1
v0.5.1
Updates / Bug fixes
- Fixed a bug where "getAllRecordsByCursor" could not be executed
- Updated README to inform about major changes to the SDK's usage
v0.5.0
New functions / features
Completely changed parameters of all modules' constructors and functions to single object parameters
Example: Record module
- Previous version :
const kintone = require('@kintone/kintone-js-sdk');
const auth = new kintone.Auth();
const username = 'YOUR_USERNAME';
const password = 'YOUR_PASSWORD';
auth.setPasswordAuth(username, password);
// Define connection that included auth
const connection = new kintone.Connection('YOUR_DOMAIN', auth, 'YOUR_GUEST_SPACE_ID');
const kintoneRecord = new kintone.Record(connection);
const app = YOUR_APP_ID;
const id = YOUR_RECORD_ID;
kintoneRecord.getRecord(app, id).then((rsp) => {
console.log(rsp);
}).catch((err) => {
console.log(err);
});
- v0.5.0 version:
const kintone = require('@kintone/kintone-js-sdk');
// Define Authentication object
const kintoneAuth = new kintone.Auth();
const paramsAuth = {
username: 'YOUR_USER_NAME',
password: 'YOUR_PASSWORD'
};
kintoneAuth.setPasswordAuth(paramsAuth);
const paramsConnection = {
domain: 'YOUR_DOMAIN',
auth: kintoneAuth,
guestSpaceID: GUEST_SPACE_ID
};
const connection = new kintone.Connection(paramsConnection);
const kintoneRecord = new kintone.Record({connection});
const getRecordParams = {
app: YOUR_APP_ID,
id: YOUR_RECORD_ID
}
kintoneRecord.getRecord(getRecordParams).then((rsp) => {
console.log(rsp);
}).catch((err) => {
console.log(err);
});
Updates / bug fixes
- Fix #77
v0.4.2
v0.4.1
New functions
- Added new function "setHttpsProxy" for setting a proxy, which is SSL-secured.
v0.4.0
New functions
- Added RecordCursor module
Updates / Bug fixes
- Support proxy authentication for "setProxy()" function
- Corrections for user guide
- Improve delivery of package on npmjs
- Add missing "form-data" to dependencies
v0.3.2
Updates
- Fix bug of function uploadFile returns 'Blob'
- Fix DeprecationWarning: Buffer() is deprecated in unit tests
- Refactor getAllRecordsByQuery function
v0.3.1
Updates
- Upgrade axios to version 0.19.0
- Make connection parameter unnecessary when initializing SDK modules in browser environment on kintone domain.
v0.3.0
Updates
- Change nock.intercept("DELETE") to nock.delete
- Browser: change type of download file from ArrayBuffer to Blob
New functions
Auth
- setClientCertByPath
- setClientCert
Record module
- upsertRecord
- upsertRecords
v0.2.0
Updates
- Support tree shaking
New functions
Record module
- getAllRecordsByQuery
- addAllRecords
- updateAllRecords
- deleteAllRecordsByQuery