- Update solid-web-client to 0.2.0
- Use newest rdflib v0.13.0
getProfile()
now handles 30x redirects- Fix response.url and Content-Type handling in
solid-web-client
- Misc. fixes and refactoring
- Massive refactoring, extracting authentication, permissions and web client
into standalone repositories
(
solid-auth-tls
,solid-web-client
,solid-permissions
andsolid-namespace
) - (breaking change) Deprecated
solid.web.getParsedGraph()
. Usesolid.web.get().then(response => { return response.parsedGraph() })
instead. - Added
profile.registerApp()
functionality (adds an app entry to the App Registry), andprofile.appsForType()
(queries for app registry entries for a given type).
- Added
initTypeRegistry()
andinitAppRegistry()
functionality - (breaking change) distribute two bundles as minified UMD modules. One
includes
rdflib
in the bundle, and one does not. Clients using the bundles without a module bundler (e.g. referencing the library in<script>
tags) should use the globalSolidClient
object. - Fix
require('solid-client')
for client apps using a CommonJS module loader.
- Refactored WebID discovery
- Added
profile.find()
andprofile.findAll()
helper methods - Added profile fields
name
andimg
(parsed from graph automatically)
- Implemented ACL/permission API support,
getPermission()
etc.
- Only package necessary files
- Document release process
- Distribute bundled lib as UMD module
- Added WebID discovery
- Expand
response.isContainer()
to also countBasicContainer
link rel type (in addition toContainer
)
- Add
response.parsedGraph()
convenience method (for use withweb.get()
)
- Merge the
web.list()
functionality intoweb.get()
. That is, if the result of aget()
call is a Container, return an instance ofSolidContainer
(as ifweb.list()
was called instead). - Give a Deprecation warning on usage of
.list()
- Add an
isContainer()
helper method toSolidResponse
andSolidContainer
. - Give a Deprecation warning when
web.list()
is used. - (breaking change)
response.type
is now response.types
(plural), since Solid/LDP resources can have multiple types (for example, a Container is of typehttp://www.w3.org/ns/ldp#Container
andhttp://www.w3.org/ns/ldp#BasicContainer
both). - Implemented
web.createContainer()
convenience method.
- Make
withCredentials
XHR parameter optional withweb.get()
(and other web requests). This is set by default, but can be suppressed with options. Usage:solid.web.get(url, { noCredentials = true })
- Implement
profile.unregisterType()
- (breaking change) Changed signature of
profile.registerType()
to use a booleanisListed
instead of string 'listed'/'unlisted'
- Fixed
web.patch()
-related issue that was blockingprofile.registerType()
- Updated the
profile.loadTypeRegistry()
semantics to match the latest Data Discovery / Type Registry proposal. - (breaking change) Renamed type index related properties and methods to
match the proposal -- for example,
typeIndexListed
instead oftypeIndexPublic
. - Implemented
profile.registerType()
- Add a convenience method
solid.currentUser()
. See the README Authentication section.
- (breaking change) Changed Preferences semantics -- a profile is allowed
only one Preferences object. Removed
profile.preferences()
helper method. Usage is now:profile.preferences.uri
(string uri) andprofile.preferences.graph
(parsed preferences graph, once profile is loaded) - (breaking change) Removed
profile.inbox()
helper method. Usage is now:profile.inbox.uri
(string uri) andprofile.inbox.graph
(parsed Inbox graph, once it's loaded). Note: the Inbox is not automatically loaded and parsed ongetProfile()
. - (breaking change) Changed
profile.typeIndexPublic
andprofile.typeIndexPrivate
semantics -- they are each now write-once (like the preferences and inbox), instead of a list. Usage is now:profile.typeIndexPrivate.uri
and.graph
, andprofile.typeIndexPublic.uri
and.graph
. - (breaking change) Removed
profile.typeIndexes()
method,typeIndexes
is now just an object property. New usage:profile.typeIndexes
- (breaking change) Removed
profile.storage()
method, root storage is now just an object property. New usage:profile.storage
- Added
profile.hasStorage()
convenience method -- returns true if the profile has a link to root storage.
- (possibly breaking change (if you were using the Vocab object))
Switch to
npm-ns
based Namespace object forlib/vocab.js
. Now usage is:vocab.foaf('name')
instead ofrdf.sym(Vocab.FOAF.name)
.
- Misc bug fixes for loading extended profile logic (issues PR #54 and PR #55)
- Added convenience methods to load and query the Type Registry Index resources (see PR #44)
- Fixed preferences semantics -- now part of the
profile.relatedProfiles
, and auto-loaded ongetProfile()
- Removed option to ignore extended profiles in
getProfile()
(not needed) - Now exporting the main methods at the top module level, so that client code
doesn't have to go through
Solid.identity
orSolid.auth
. Non-breaking change -- the old methods will still work. New usage:Solid.login()
andSolid.signup()
Solid.getProfile()
- Implemented
solid.web.list()
container listing method. - Added
SolidContainer
andSolidResource
classes
- Added a
SolidProfile.response
property (contains the originalSolidResponse
instance from which the profile was parsed).
- Extract profile logic to its own class
- (breaking change)
Solid.identity.getProfile()
now returns aSolidProfile
instance instead of a parsed graph. (The parsed graph can still be accessed atprofile.parsedGraph
). getProfile()
now usesSolid.web.get()
instead of RDFLib's Fetcher- Apps can now load the extended profile (sameAs, seeAlso, etc) asynchronously,
using
Solid.identity.loadExtendedProfile()
- Add
profile.inbox()
,.storage()
,.preferences()
convenience methods
- (breaking change) Removed
Solid.identity.getWorkspaces
(no longer relevant) andgetWritableProfiles
(duplicate code togetProfile
) - Added TravisCI integration
- Add
Solid.web.options()
method - Add support to
webUtil.parseAllowedMethods()
forAccess-Control-Allow-Methods
headers
- (breaking change) Rename export module name from
solid.js
tosolid
. Now usage is:var Solid = require('solid')
- (breaking change) Rename rdflib-based
get()
togetParsedGraph()
, extract it to./web-rdflib.js
- (breaking change)
response.exists
is nowresponse.exists()
- Extract XMLHttpRequest to its own module,
lib/xhr.js
- Exclude
xhr2
from browserify build (since it's not needed in browser) - Exclude
rdflib
from browserify build, explicitly - Extract common XMLHttpRequest logic to
solidRequest()
- Use XMLHttpRequest Level 2 semantics (
onload
instead ofonreadystatechange
) since they have been merged into XMLHttpRequest standard, and supported by all browsers - Add a
config.js
(for things like proxy url, timeout, etc) - Extract
web.js
/parseResponseMeta()
tosolid-response.js
/SolidResponse
- Created
lib/vocab.js
to do rdflib-agnostic namespacing - Refactored
lib/auth.js
, moved defaults toconfig.js
- Refactored
lib/identity.js
/getProfile()
- Converted to JS Standard coding format
- (breaking change) Converted structure to use Node.js require() and Browserify
- Incorporating latest changes
- removed acl.js until it's ready
- Changed style of function definition
- Update order or params for post()
- Updated example
- Improved docs
- Improved docs
- Sync with gh-pages
- Fixed typos; improved text
- Incorporating latest changes
- Added getWritableProfiles() function; improvements to getProfile()
- Added .editable property to meta object
- Incorporating latest changes
- Added withCredentials flag to head()
- Removed debugging
- Added patch support
- Merge pull request #1 from solid/nicola-patch-1
- Adding highlighting to javascript examples
- Incorporating latest changes
- Automatically commit the dist file
- Added websocket to the meta object
- Removed empty line
- Switched to --follow-tags
- Added push.sh