Releases: gunjandatta/sprest
V2 REST API
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
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
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
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
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
This release adds the Callout Manager helper class, which references the internal CalloutManager SP library.
Updated Intellisense 11/2019
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
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
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
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.