Skip to content

Upgrade Miscellany context to version 1.0.1 #1002

Description

@evanp

There is a new version of the miscellany context, 1.0.1. It fixes a bug when re-compacting documents that don't include a type on the boolean terms (manuallyAcceptsFollowers, sensitive).

You can see an example here. The "sensitive" term is re-compacted as "as:sensitive":

https://json-ld.org/playground/next/#json-ld=%7B%22%40context%22%3A%5B%22https%3A%2F%2Fwww.w3.org%2Fns%2Factivitystreams%22%2C%7B%22sensitive%22%3A%22as%3Asensitive%22%7D%5D%2C%22sensitive%22%3Atrue%7D&context=%7B%22%40context%22%3A%5B%22https%3A%2F%2Fwww.w3.org%2Fns%2Factivitystreams%22%2C%22https%3A%2F%2Fpurl.archive.org%2Fmiscellany%2F1.0.0%22%5D%7D&startTab=tab-compacted

The corrected context does not show the same problem; the "sensitive" term is just "sensitive":

https://json-ld.org/playground/next/#json-ld=%7B%22%40context%22%3A%5B%22https%3A%2F%2Fwww.w3.org%2Fns%2Factivitystreams%22%2C%7B%22sensitive%22%3A%22as%3Asensitive%22%7D%5D%2C%22sensitive%22%3Atrue%7D&context=%7B%22%40context%22%3A%5B%22https%3A%2F%2Fwww.w3.org%2Fns%2Factivitystreams%22%2C%22https%3A%2F%2Fpurl.archive.org%2Fmiscellany%2F1.0.0%22%5D%7D&startTab=tab-compacted

It is very frustrating that even when we want to make very stable, normal things, we sometimes have to make small changes. I apologize for the problem.

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions