Skip to content

Releases: gunjandatta/sprest

Utility Library

23 Dec 21:10
87e261e
Compare
Choose a tag to compare

This release removes the "Email" library and adds the "Utility" library. The "Email" library was just one of the available methods available from the SP.Utilities.Utility REST api. The IntelliSense has been updated to support the new library.

Application Lifecycle Management (ALM)

09 Dec 20:18
edbaf40
Compare
Choose a tag to compare

This release adds the Application Lifecycle Management (ALM) api to the library. The web object contains a new property "TenantAppCatalog", which allows you to interact with the tenant app catalog.

Refer to the wiki for additional information of this new feature.

Completed Code Reorganization

03 Dec 17:42
2793246
Compare
Choose a tag to compare

This release contains all changes to the reorganization of the base class. This will help moving forward to grow the library by adding to the "mapper" or "lib" folders.

  • "lib" -> A 1-to-1 relationship to an available object and the SharePoint/Office 365 REST API endpoint.
  • "mapper" -> The available methods and properties for the library endpoint.

Note - The Dependencies class has been moved to the Helper module.

Code Reorganization

02 Dec 23:36
fdd4114
Compare
Choose a tag to compare

This version contains the latest code reorganization which may break existing code. Please report any issues and they will be fixed w/in 24-48 hours.

Intellisense Updates

02 Dec 16:43
3d0d1a7
Compare
Choose a tag to compare

This release includes minor bug fixes when coding in the App Web. The major code changes have been around reorganizing the files to make better sense and remove redundancies. This was well needed, since it was unclear of how everything coming together. No code changes to the logic/functionality have been made, so this shouldn't break existing solutions.

REST Batch Operations

30 Oct 00:20
857bf86
Compare
Choose a tag to compare

This release adds the ability to execute batch operations against the SharePoint REST API. A new "batch" method has been added to the base object, with the following input parameters:

  • batch() - Creates a new batch request
  • batch(callback) - Optional callback method for the request
  • batch(appendFl) - Option to append the request to the current batch

This feature is currently available in SharePoint Online, and may be added to On-Premise environments in the future.

Credit @jpalo for requesting this new feature.

Search

11 Oct 00:49
Compare
Choose a tag to compare

This release has major fixes for the search class.

Credit to @ndelacour for looking into this.

Added es6-Promise

13 Sep 04:02
Compare
Choose a tag to compare

Added a "then" method to the base class to return an es6-promise. Updated the intellisense to return the appropriate object.

$REST Object Update

08 Sep 04:36
Compare
Choose a tag to compare

The $REST object has been updated to no longer require you to create an instance of the object.

Old: (new $REST.Web()).Lists("Site Assets")

New: $REST.Web().Lists("Site Assets")

Credit to @jrmint for requesting this.

NodeJS Support

04 Sep 16:50
Compare
Choose a tag to compare

Fixed a bug related to the new request info method. It wasn't returning the correct information.
Added a new field interface for managed metadata fields.