Skip to content

Releases: procore-oss/js-sdk

v4.2.1

10 Mar 08:45
e585106
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.2.0...v4.2.1

v4.2.0

10 Mar 08:45
440f000
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.0...v4.2.0

v4.1.0

10 Mar 08:44
d21ae4d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.2...v4.1.0

4.0.2 (March 2023)

20 Mar 19:35
c3da932
Compare
Choose a tag to compare

Changelog

  • Improve Csrf Class (No change in functionality)
  • Update package.json dependencies

Full Changelog: v4.0.1...v4.0.2

4.0.1 (March 2023)

18 Mar 01:17
c889684
Compare
Choose a tag to compare

Changelog

  • Readme Improvement. Added details about RequestConfig.

Full Changelog: v4.0.0...v4.0.1

4.0.0 (March 2023)

18 Mar 00:29
cfeca53
Compare
Choose a tag to compare

Changelog

  • Fix Csrf Class
  • Require Node >= 14.15.0 (First LTS version of this version)
  • Update package.json dependencies

Full Changelog: v3.0.2...v4.0.0

3.0.2 (September 2022)

03 Oct 22:30
07d099e
Compare
Choose a tag to compare

Changelog:

  • Add support for adding Procore-Company-Id request header when defaultCompanyId is passed in ClientOptions.
  • Add support for adding Procore-Company-Id request header when companyId is passed in RequestConfig.
  • Add support for customer headers.

defaultCompanyId example:

// Pass the defaultCompanyId configuration in the ClientOptions
const procore = client(authorizer, undefined, { defaultCompanyId: 1 });

procore.get(
  { base: "/projects" }
);

companyId example:

const procore = client(authorizer);

// Pass the companyId configuration in the RequestConfig
procore.get(
  { base: "/projects" },
  { companyId: procoreCompanyId }
);

Custom headers example:

const procoreClinet = client(authorizer, {headers: {"Content-Type":"multipart/form-data"}});

#58

v3.0.1 (June 2021)

14 Jun 17:41
25fa613
Compare
Choose a tag to compare

Changelog:

  • Adds support for Rest API versioning (rest/v1.0 is)
  • Remove ramda dependency
  • Remove string dependency
  • Remove @procore/js-sdk-endpoints dependency
  • Add support for revoking token revoke()
  • Add Procore-Sdk-Version header to all requests
  • Add Procore-Sdk-Language header to all requests
  • Updated destroy method to delete method

Breaking Changes

  • Remove /vapid from base attribute passed to client. functions. Versioning will be handled in the client. function. See the Upgrading section for details about how to upgrade to version 3.0.1.
  • destroy method is no longer supported. Convert all destroy requests to delete.

#48
#42