This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
Releases: gitbrent/SpRestLib
Releases · gitbrent/SpRestLib
Version 1.9.0
Added
- New
file
API method:checkin()
(gitbrent) - New
file
API method:checkout()
(gitbrent) - New
file
API method:delete()
(gitbrent) - New
file
API method:recycle()
(gitbrent) - New
folder
API method:add()
(gitbrent) - New
folder
API method:delete()
(gitbrent) - New
folder
API method:recycle()
(gitbrent) - New
folder
API method:upload()
#18 (ra6hi9) - New
options()
method: replacesbaseUrl()
andnodeConfig()
methods (gitbrent)
Changed
- Typescript: Modified declaration file #37 (kelvinbell)
- Allow single UserProfile property to be queried #38 (YakQin)
- The
rest()
method now includes the page's__REQUESTDIGEST
value for POST types with custom headers that did not already include a value forX-RequestDigest
Removed
DEPRECATED baseUrl()
and nodeConfig
methods - use the new options()
method instead.
Version 1.8.0
Implemented Enhancements:
- New File Methods:
get()
,info()
,perms()
#20 (ra6hi9)(YakQin)(gitbrent) - New Folder Methods:
files()
,folders()
,info()
,perms()
#20 (ra6hi9)(YakQin)(gitbrent) - Added Typescript Definitions #24 (Wireliner)
- Added two new properties to
list().cols()
method:choiceValues
andallowFillInChoices
- Added "browser" field to
package.json
to improve library integration
Fixed Bugs:
Version 1.7.0
Implemented Enhancements:
- Renamed
getItems()
list method toitems()
. - Modify user() method option names to be case insensitive #17 (gitbrent)
- Get members of a specific group given its name #19 (ra6hi9)
Fixed Bugs:
- Added
catch()
to core REST method call to properly handle failed queries - Updated Node detection to be more accurate and work with Angular, etc. (aka:"ERROR in ./node_modules/sprestlib/dist/sprestlib.js") #23 (azmatzuberi)
Version 1.6.0
Implemented Enhancements:
- Add support for SP User Profile API #14 (ra6hi9)
- Removed jQuery methods from sprestlib.js - there are now ZERO library dependencies!
- Add async/await example #16 (wmertens)
- Removed all ES6 code from
sprestlib-demo.html
(it is IE11 compatible now!), plus moved deps to CDN from local files. - Improved error messages/feedback
Fixed Bugs:
- Fixed two issues with CRUD operations via Node.js
- Fixed a few minor issues with parsing no results in certain scenarios, etc.
Version 1.5.0
Implemented Enhancements:
- Form binding/population spun off into separate
sprestlib-ui.js
library - Created a separate demo page for
sprestlib-ui.js
library - Added new dist file (minified library):
sprestlib.min.js
Fixed Bugs:
Version 1.4.0
Implemented Enhancements:
- Add paging/skip/next ability to getItems() #4 (Wireliner)
- Error in list(listname).create(data) #5 (Wireliner)
- Add new option for auth DigestToken #6 (Wireliner)
- Add new 'guid' option to list() #7 (YakQin)
- Add new 'baseUrl' option to user() #8 (YakQin)
- Add new 'nodeEnabled' option for Angular/etc #9 (ra6hi9)
Version 1.3.0
Implemented Enhancements:
- BREAKING CHANGE:
list().baseUrl()
removed! (new:baseUrl
param tolist()
) - BREAKING CHANGE:
version()
method removed! (new:sprLib.version
property) .list()
now accepts an object in addition to listname (string)- Added new
metadata
option tolist().getItems()
andrest()
methods - Added new Site methods:
site()
- returns info, perms, users, groups, subsites, etc.
Version 1.2.1
Version 1.2.0
Version 1.1.0
Fixed Bugs:
- Fixed bug in error messages introduced in last release
- Fixed error handling in Node.js
- Fixed return of empty array for null Person/lookup fields