This changelog tracks features and fixes of jskos PHP library.
- Align with JSKOS specification 0.4.5
- Update dependencies. Require PHP 7.2
- Make constructors non-strict by default
- Add Registry type URI
- Normalize JSON serialization of LanguageMaps (#12)
- Fix method Set->findURI to actually return an index
- Add optional types parameter to jsonLDSerialize
- Add support of Item field location
- Add helper method Resource::guessClassFromTypes
- Include default type URI for resources
- Fix method LanguageMapOfLists->contains
- Add unit tests
- Rename method jsonSerializeRoot to jsonLDSerialize
- Remove ConceptType
- Move Page to package jskos-http
- Add missing Item field editorialNote
- Rename method findMember to contains and make public
- Move Service and Server to module jskos-http
- Remove API documentation with Doxygen
- Remove implicit json_decode
- Rename Object to Resource
- Move Client to module of its own
- Fix initialization of non-closed sets
- Remove json_decode
- Ensure Sets and Listings don't contain duplicate values
- Move startDate, endDate, relatedDate, and location from Concept to Item
- Add new JSKOS Object Access, used in Concept Schemes, Registries, and Concordances
- Fix Registry license field
- Add data types LanguageMapOfStrings and LanguageMapOfLists
- Extent Sets and List with map and implode
- Require PHP 7
- Enforce autoloading
- Add JSKOS Sets and Lists
- Add strict field validation
- Add ConfiguredService helper class
- Add Access-Control-Allow-Origin header in JSKOS Server
- Align with JSKOS 0.1.2: fields extend, location, license
- Add URISpaceService
- Improve preprocessing of request by Server before it is passed to Service
- Fix Acess-Control-Expose-Headers header
-
Conform to PSR-2 coding style and ensure conformance via test
-
New static method primaryTypes for automatically setting JSKOS 'type' field.
-
Server now uses a PSR-3 logger interface If package psr/log is not loaded, Server defines a minimal subset of PSR-3.
-
Several other extensions to Server.