Skip to content

Releases: gunjandatta/sprest

V2 REST API

28 Sep 22:51
b75f06d
Compare
Choose a tag to compare

The api has been updated to Sept 2024 metadata for. Other updates include:

  • Added the v2 rest api endpoint
  • SPConfig will automatically load the core JSOM libraries when used
  • Added the Formatter modern property to the SPConfig
  • Added the Mobile View option to the SPConfig
  • Enhanced the search api query to automatically parse the results and set the properties from the table
  • Enhanced the batch requests to automatically limit to 100 per request
  • Added a refresh digest function to all objects
  • Enhanced the list form component to automatically retry the save if the page timeout error is detected

Major Updates for SPFx & Graph

05 Oct 15:41
a9bb6bf
Compare
Choose a tag to compare

This major release adds support for the Graph API and SharePoint Framework (SPFx). Intellisense and SPTypes enumerations have been added to help support the SharePoint Framework.

Documentation
Graph API
Modern WebParts

New REST EndPoint Added: Web Templates Extensions

14 Mar 16:54
01b0b4d
Compare
Choose a tag to compare

This release adds the WebTemplateExtensions REST endpoint to the library. MS Documentation

  • List Form
    • OData query options updated from filter to all options
    • Added optional lookup field data filter
  • Field Generator
    • Percentage property fixed
    • Added Indexed, AllowDeletion and lookup relationship delete behavior options
  • Enumerators
    • Added CheckInType
  • Mappers
    • Fixed the SP.NavigationNode mapper
    • Updated the REST definitions
    • Added missing functions to the RoleDefinitions
  • XMLHttpRequest
    • Disabled cache for lookup fields
  • Batch Requests
    • Bug fixes related to the batch request
  • SPFx
    • Fix for the context information

Bug Fixes, New Helper Methods, Intelliense Updates

31 May 14:36
8a40153
Compare
Choose a tag to compare

Bug fixes and new helper methods related to the SharePoint Configuration and customizing list forms.

Intellisense has been updated to include missing properties and enumerators.

Helper Updates

28 Mar 16:44
3430ff6
Compare
Choose a tag to compare

SharePoint Configuration

This release has a major update for the SPConfig component. The creation of content types and field references is now working. I had to use JSOM code, since the REST API still isn't working. The only property of a field reference that can't be updated is the "ReadOnly" property.

New Methods

addContentEditorWebPart - A new method that allows you to add a content editor webpart to a specified page.

addScriptEditorWebPart - This method has been moved from the Helper.WebPart class. This release will require updates to existing references:

Helper.WebPart.addWebPartToPage(...) -> Helper.addScriptEditorWebPart(...)

Callout Manager Helper

11 Feb 20:57
beafd25
Compare
Choose a tag to compare

This release adds the Callout Manager helper class, which references the internal CalloutManager SP library.

Updated Intellisense 11/2019

19 Nov 02:23
d11cd7a
Compare
Choose a tag to compare

This release includes minor bug fixes, but mainly focused on the intellisense. The definitions have been updated to match the REST API endpoint as of 11/2019.

Minor Updates

23 Aug 15:43
fe09ccb
Compare
Choose a tag to compare

Updated the intellisense for easier development.

Fixed a bug related to the SPConfiguration tool, related to list fields and content types.

Added a new field configuration type for URL field types. You can now set the type (Link/Image).

New Libs

13 Jun 21:52
b9e92ea
Compare
Choose a tag to compare

This release has many minor bug fixes, and introduces new libraries. The intellisense has been updated to May 2019. The new libraries include:

  • GroupService
  • GroupSiteManager
  • HubSites
  • HubSitesUtility
  • ThemeManager

Method Mapper Updated

07 Feb 17:51
b3de0fb
Compare
Choose a tag to compare

This release continues to automate the intelliense. The previous releases has improved the intelliense, now being generated from the $metadata SharePoint REST endpoint. The last part of the update is to automate the methods mapper internal to the library. This will ensure that future updates to intelliense will be flagged during the update process, to ensure the latest methods are available.

If there are ANY issues, please report them here and they will be fixed w/in 24-48 hours.