SharepointPlus Versions Save

SharepointPlus ($SP) is a JavaScript library which offers some extended features for SharePoint entirely on client side (requires no server install). $SP will simplify your interactions with Sharepoint.

v6.2.0

1 year ago

/!\ Starting from this release, SharePoint 2013 is not tested anymore. Moving forward, only SharePoint Online will be tested.

ChangeLog:

  • Added option modify to $SP().getManager()
  • Added $SP().isSPO()
  • Changed $SP().ajax() to better managed 401 error for the REST API calls
  • Changed $SP().cleanResult() when dealing with a date ($SP().cleanResult("2022-01-19 00:00:00") will now return "2022-01-19" instead of "2022-01-19 00:00:00")
  • Changed $SP().toDate() to ignore the timezone (e.g. $SP().toDate("2022-01-19") used to return different result based on the user's timezone, but now it returns the correct date at 00:00:00 in the current timezone)
  • Changed $SP().getVersions(): only compatible with REST API, and it returns a different result/outcome than before
  • Changed $SP().hasREST(): it will always return TRUE (it's possible to override the value) because REST API is around for a while now and I assume everyone is using at least SP2013 (see issue https://github.com/Aymkdn/SharepointPlus/issues/180)
  • Fixed $SP().isMember() for the url option (see issue https://github.com/Aymkdn/SharepointPlus/issues/175)
  • Removed support for IE10 in the bundle for browsers

v6.1.5

3 years ago

Change Log v6.1.5 (March 5, 2021)

v6.1.4

3 years ago

Change Log v6.1.4 (February 1, 2021)

  • Added $SP().list().removeAttachment()
  • Added $SP().list().getVersions()
  • Added $SP().list().restoreVersion()
  • Changed $SP().list().stopWorkflow() to not use iframe and make it work with NodeJS Server Application
  • Fixed a Sharepoint bug: if a list has the versioning enabled, then add/remove an attachment will created an empty version which could reset the values for the "Multiple Lines of Text" fields with "Append" option – $SP().list().addAttachment() and $SP().list().removeAttachment() will restore the previous version to avoid this buggy behavior
  • Fixed $SP().list().get() with option json:true to return an object for each item instead of an array of keys
  • Fixed $SP().list().getWorkflowID() when there are more than 1 workflow for an item (see https://github.com/Aymkdn/SharepointPlus/issues/162)

v6.1.3

3 years ago

Change Log v6.1.3 (January 8, 2021)

  • Added $SP().getServerTime() to return the server time
  • Added option overwrite to $SP().list().createfile() (see https://github.com/Aymkdn/SharepointPlus/issues/160)
  • Changed a behavior: when $SP().list().get() was called with some outerjoin and if there was a where, then the outerjoin was changed to innerjoin… I don't recall why, but this behavior doesn't seem right so I removed it
  • Fixed merge option with join option for $SP().list().get()
  • Fixed merge option with json option for $SP().list().get()
  • Fixed view option for $SP().list().get() when a WHERE clause is defined in the view's server
  • Optimized how $SP().list().get() deals with on option when the parameters are IDs
  • Updated sharepointplus-loader to support $SP().getServerTime()

v6.1.2

3 years ago

Change Log v6.1.2 (June 2, 2020)

v6.1.1

4 years ago

Change Log v6.1.1 (April 25, 2020)

v6.1.0

4 years ago

Change Log v6.1.0 (April 10, 2020)

  • Added support for short date format ("YYYY-MM-DD") for $SP().toDate()
  • Added $SP().list().hasPermission() to check the permissions of the current user with a list/library
  • Added support for configuration without transpiling (const $SP = require('sharepointplus/dist/');)
  • Added option viewCache to $SP().list().get()
  • Added option to get FedAuth cookie using $SP().auth() (see https://github.com/Aymkdn/SharepointPlus/wiki/Using-the-FedAuth-Cookie)
  • Changed behavior for $SP().getRequestDigest() and lifetime from 24h to 1800secs
  • Fixed a bug in $SP().parse() when too many embedded brackets
  • Fixed a bug in $SP().ajax() when the request digest was incorrect

v6.0.4

4 years ago

Change Log v6.0.4 (January 13, 2020)

  • Fixed $SP().list().get() when using json:true

v6.0.3

4 years ago

Change Log v6.0.3 (December 30, 2019)

  • Fixed $SP().getRequestDigest() when using on Node server
  • $SP().addressbook() was incorrectly named $SP().adressbook()

v6.0.2

4 years ago

Change Log v6.0.2 (December 27, 2019)

  • Additional fix to follow up v6.0.1 release
  • Various tweaks and cleanup