Skip to content

Releases: RDFLib/prez-ui

v3.7.0

22 Nov 01:04
a9ba28a
Compare
Choose a tag to compare

What's Changed

  • Labels refactor, resource routes & testing frameworks by @jamiefeiss in #116
    • CatPrez now displays resources in a paginated manner

Full Changelog: v3.6.0...v3.7.0

v3.6.0

05 Oct 04:30
61772f6
Compare
Choose a tag to compare

What's Changed

Features

  • Add rdfs:label for all values associated with a predicate label in the profile by @edmondchuc in #99

    • This fixes the issue where labels returned for certain resources are using a label other than rdfs:label, and those other predicate labels are defined in the profile of the item's base class.
  • Search page refactor by @jamiefeiss in #110

    • The search page now uses the new search implementation outlined in RDFLib/prez#149.
    • Users can filter by a base class, containers, and can provide custom inbound & outbound filters.
  • Spatial search requests refactor by @jamiefeiss in #101

    • Updates CatPrezMapSearch.vue & SpacePrezMapSearch.vue to use the new API request composables.
    • Any SPARQL queries that can be replaced by API calls have been replaced, such as getting the list of catalogs, datasets & feature collections. Some of the data structures have been updated, as well as the remaining SPARQL queries, but the functionality of both components remain unchanged. The Pinia stores used for requests are no longer needed, and can be removed.
  • API request refactor by @jamiefeiss in #100

    • This PR refactors the fetch request composables to use async/await instead of callback functions. Error handling has also been improved, and api.ts now contains four composables to use:

      • useGetRequest(): Does a generic GET request using the fetch API. This is designed to be used for any non-Prez API & non-SPARQL GET requests if needed.
      • useApiRequest(): Does a GET request to the Prez API. Profiles are automatically parsed from the Link headers, and it expects a text/anot+turtle response. This is the composable pretty much every page uses to talk to the Prez API.
      • useConcurrentApiRequests(): Basically a parallel version of useApiRequest(), where you provide an array of URLs. In response you get an array of responses that contain the data and profiles for each individual request.
      • useSparqlRequest(): Does a SPARQL GET request (not specific to the Prez API). The composable will automatically determine if the response will be JSON or text/turtle based on the query.
        The AltView.vue component has been removed as it's not being used as it has been replaced with ProfilesTable.vue.
  • Updated /object endpoint functionality by @jamiefeiss in #78

    • The /object endpoint now redirects to the appropriate page if one prez:link is found. If multiple exist, the links are listed on the page for the user to choose from.

Fixes

  • Fix package.json build task failing on windows by @edmondchuc in #92
  • Label language priority order by @jamiefeiss in #105
    • Labels are now set in order of language priority in the following order:

      • @en
      • @en-* (e.g. @en-us, @en-gb, etc.)
      • no language tag
      • Other language tags
  • Fix display of xsd:double values by @edmondchuc in #107
    • This is really an issue in RDFLib where all literal values with the datatype xsd:double are encoded in scientific notation regardless of the size of the number.

Example: 5.41e+02 = 541

  • Alternate profiles page fix by @jamiefeiss in #109
    • This fixes the blank Alternate Profiles page, which was an error caused by the frontend requesting the full path containing _profile=altr-ext:alt-profile. This doesn't return data required by the breadcrumbs. Now the frontend removes _profile=altr-ext:alt-profile in order to get title from the data for the breadcrumbs.
    • The currently used profile now displays "current" on the right nav instead of "default". Ordering of the profiles is now consistent, sorting alphabetically first and Alternates Profile at the bottom.
    • The mediatype quick links on the right nav now go to the API URL directly.

Full Changelog: v3.5.1...v3.6.0

v3.5.1

18 Aug 03:55
f7c486d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.5.0...v3.5.1

v3.5.0

10 Aug 01:13
908006d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.4.0...v3.5.0

v3.4.0

03 Aug 05:10
be83b2a
Compare
Choose a tag to compare

What's Changed

NOTE: This version of Prez UI requires Prez v3.4.0 due to the above change to the vocabulary API.

Full Changelog: v3.3.0...v3.4.0

v3.3.0

14 Jul 03:16
50d1bb6
Compare
Choose a tag to compare

What's Changed

  • Implemented labels for objects, bnodes & types in PropTable by @jamiefeiss in #80
  • Renamed qname() function, other small refactors by @jamiefeiss in #81
  • Minor fix to search page by @jamiefeiss in #82
  • Removed the option to select from multiple SPARQL endpoints by @jamiefeiss in #83

Full Changelog: v3.2.3...v3.3.0

v3.2.3

29 Jun 03:52
9daa5cb
Compare
Choose a tag to compare

What's Changed

  • Restyled catalog & spatial search by @jamiefeiss in #69
  • Updated SPARQL list queries in spatial search to use single SPARQL Prez endpoint by @jamiefeiss in #77
  • Security audit, review and update of node dependencies by @edmondchuc in #79

Full Changelog: v3.2.2...v3.2.3

v3.2.2

08 Jun 04:32
f7204dc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.1...v3.2.2

v3.2.1

06 Jun 02:30
ed9cfca
Compare
Choose a tag to compare
Merge pull request #67 from RDFLib/feature/horizontal-nav-fix

Horizontal navbar

v3.2.0

01 Jun 04:08
be8271e
Compare
Choose a tag to compare

What's Changed

  • Resource tabular list & sortable table rework by @jamiefeiss in #61
    • Shows sortable table view for objects such as dcat:Resource

Full Changelog: v3.1.0...v3.2.0