Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.x changes and more #74

Merged
merged 76 commits into from
Nov 16, 2023
Merged

3.x changes and more #74

merged 76 commits into from
Nov 16, 2023

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    f31fe71 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Add inputFormat option.

    - Add `inputFormat` option.
    - Use "application/n-quads" for a N-Quads string that will be parsed.
    - Omit option for a JSON dataset or legacy dataset.
    - This can simplify a common case of using the internal parser to
      generate a dataset.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    f8b3dad View commit details
    Browse the repository at this point in the history
  2. Add inputFormat tests.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    4277bee View commit details
    Browse the repository at this point in the history
  3. Add canonicalIdMap test.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    b179ea7 View commit details
    Browse the repository at this point in the history
  4. Adjust doc.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    ef9f9d7 View commit details
    Browse the repository at this point in the history
  5. Update test name.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    5fe9328 View commit details
    Browse the repository at this point in the history
  6. Fix quoting style.

    Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
    davidlehn and dlongley committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    2a93336 View commit details
    Browse the repository at this point in the history
  7. Fix typo.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    94dd4f9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    23240e4 View commit details
    Browse the repository at this point in the history
  9. Update changelog.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    4cb8485 View commit details
    Browse the repository at this point in the history
  10. Revert inputFormat change.

    The `inputFormat` change can break callers that mistakenly pass in an
    incorrect `inputFormat`. jsonld.js was doing this. Backing this out for
    now and it will be added to a future major version release.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    0c3118a View commit details
    Browse the repository at this point in the history
  11. Update changelog.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    9398a29 View commit details
    Browse the repository at this point in the history
  12. Release 3.4.0.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    dfc581f View commit details
    Browse the repository at this point in the history
  13. Start 3.4.1-0.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    c38a58f View commit details
    Browse the repository at this point in the history
  14. Update action versions.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    dcec36e View commit details
    Browse the repository at this point in the history
  15. Update node test verisons.

    - Add testing on Node.js 20.x.
    - Run tools on 20.x.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    8f4854c View commit details
    Browse the repository at this point in the history
  16. Restore inputFormat change.

    This reverts commit 0c3118a.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    21d4121 View commit details
    Browse the repository at this point in the history
  17. Fix changelog.

    - Move restored `inputFormat` text to the latest version.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    00b0ffe View commit details
    Browse the repository at this point in the history
  18. Revert to nsolid@0.0.0.

    - Fixes Node.js 20.x issues.
    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    5c75499 View commit details
    Browse the repository at this point in the history
  19. Enable misc tests.

    davidlehn committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    453dad7 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    20e68a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    abdcb51 View commit details
    Browse the repository at this point in the history
  3. Fix throw style.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    8f1e48c View commit details
    Browse the repository at this point in the history
  4. Throw on unknown test type.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    0005994 View commit details
    Browse the repository at this point in the history
  5. Update dependencies.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    d5ba6ea View commit details
    Browse the repository at this point in the history
  6. Add eslint jsdoc support.

    - Add eslint jsdoc support.
    - Fix lint issues.
    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    767b2dc View commit details
    Browse the repository at this point in the history
  7. Change "URDNA2015" to "RDFC-1.0" to match spec.

    **BREAKING**: Change "URDNA2015" to "RDFC-1.0" to match latest spec
    changes. Use of "URDNA2015" as a named algorithm option is now
    deprecated and will cause a warning.
    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    1ddbfb3 View commit details
    Browse the repository at this point in the history
  8. Imrpove URDNA2015 support.

    - Add docs.
    - Add Algorithm Support docs.
    - Add URDNA2015 Migration docs.
    - Add migration tools:
      - Undocumented "rejectURDNA2015" API option to not allow URDNA2015.
        - Allows concerned code to explicitly fail in potential edge cases.
      - Global "RDF_CANONIZE_TRACE_URDNA2015" to trace URDNA2015 use.
        - Allows developers to find deep usage of URDNA2015 more easily.
      - These may exist as long as the URDNA2015 alias support exists. Both
        are not expected to have security implications.
    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    7d24e1a View commit details
    Browse the repository at this point in the history
  9. Update changelog and docs.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    788e0f5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b9110a1 View commit details
    Browse the repository at this point in the history
  11. Update to latest rdf-canon N-Quads canonical form.

    **BREAKING**: Use latest rdf-canon N-Quads canonical form. This can
    change the canonical output! There is an expanded set of control
    characters that are escaped as an `ECHAR` or `UCHAR` instead of using a
    native representation.
    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    639eb20 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d78fdc3 View commit details
    Browse the repository at this point in the history
  13. Optimize N-Quads escape replacement.

    - Use a pre-computed map of replacement values.
    - Performance difference depends on the number of replacements. The
      rdf-canon escaping test showed up to 15% improvement.
    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    b9a38c7 View commit details
    Browse the repository at this point in the history
  14. Fix changelog typos.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    47b3297 View commit details
    Browse the repository at this point in the history
  15. Fix lint issues.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    e4f57bc View commit details
    Browse the repository at this point in the history
  16. Fix test name.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    20e1e37 View commit details
    Browse the repository at this point in the history
  17. Fix trace mode typo.

    davidlehn committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    7ea0b02 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Remove support for legacy dataset format.

    Breaking change to remove the deprecated legacy dataset format.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    620466c View commit details
    Browse the repository at this point in the history
  2. Update URL to https.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    729109c View commit details
    Browse the repository at this point in the history
  3. Add complexity control.

    - Async: Add `signal` option for an `AbortSignal`.
    - Sync: Add `timeout` option for common timeout use case.
    - Add docs.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    bcb94e0 View commit details
    Browse the repository at this point in the history
  4. Add missing option doc.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3b2f353 View commit details
    Browse the repository at this point in the history
  5. Update 4.7 code to match spec.

    - Reordering and renumbering, no functional change.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    4d04cf9 View commit details
    Browse the repository at this point in the history
  6. Fix typo.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    492950a View commit details
    Browse the repository at this point in the history
  7. Cleanups.

    - Flatten hot-path function argument.
    - Match async/sync code formatting for easier comparison.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    ba09d1f View commit details
    Browse the repository at this point in the history
  8. Fix test datasets.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    f2b7471 View commit details
    Browse the repository at this point in the history
  9. Update test runner.

    - Support `rdfc:RDFC10NegativeEvalTest`.
    - Support `rdfc:RDFC10MapTest`.
    - Cleanups.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    181782d View commit details
    Browse the repository at this point in the history
  10. Remove internal _: prefix from BlankNodes.

    **BREAKING**: Change dataset handling of `BlankNodes` to match the
    [RDF/JS: Data model specification](https://rdf.js.org/data-model-spec/).
    The `_:` prefix is no longer used in the `BlankNode` `value` field. This
    should improve compatibility with other RDF/JS tooling but may cause
    compatibility issues with existing code. The previous behavior is
    historical and may predate the RDF/JS spec.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    032b4eb View commit details
    Browse the repository at this point in the history
  11. Add complexity tests.

    - Add large graph creation utilities.
    - Add timeout test.
    - Add maxDeepIteration test.
    - Add developer playground for large graph tests.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    1ecc176 View commit details
    Browse the repository at this point in the history
  12. Support hash algorithm option.

    - Add `messageDigestAlgorithm` option to API.
    - Add support for SHA-256, SHA-384, and SHA-512 name variations to
      `MessageDigests`.
    - Updates tests to handle `hashAlgorithm` option if present.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    2029bf4 View commit details
    Browse the repository at this point in the history
  13. Check output format parameter.

    **BREAKING**: Check output `format` parameter. Must be omitted, falsey,
    or "application/n-quads".
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5dddfd5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1199841 View commit details
    Browse the repository at this point in the history
  15. Add API parameter tests.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    d7735b9 View commit details
    Browse the repository at this point in the history
  16. Update examples.

    - Remove advanced "useNative" example.
    - Add common N-Quads input example.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    00535fe View commit details
    Browse the repository at this point in the history
  17. Update complexity controls.

    - Add `maxWorkFactor` to calculate `maxDeepIterations` based on
      non-unique blank nodes. Default to `1`.
    - If `maxDeepIterations` is >= 0 then use it explicitly.
    - Remove default timeout signal.
    - Add docs.
    - Add tests.
    - Update async and sync versions.
    - Update tests to handle `computationalComplexity` test paramter and map
      it to `maxWorkFactor` adjustments.
    - Improve negative test handling.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    0f0866b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b1815d6 View commit details
    Browse the repository at this point in the history
  19. Support generalized RDF N-Quads serialization.

    Add support for generalized RDF `BlankNode` predicate during N-Quads
    serialization.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    5f16971 View commit details
    Browse the repository at this point in the history
  20. Cleanups and fix typos.

    Co-authored-by: Dave Longley <dlongley@digitalbazaar.com>
    davidlehn and dlongley committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    efb97cc View commit details
    Browse the repository at this point in the history
  21. Update changelog.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    2c74677 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    69bccd4 View commit details
    Browse the repository at this point in the history
  23. Fix typo.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    54c7578 View commit details
    Browse the repository at this point in the history
  24. Test and coverage updates.

    - Fix maxWorkFactor === 0 use case.
    - Improve error if N-Quads input not a string.
    - Fix calls without options.
    - Test error messages to ensure correct errors are thrown.
    - Remove default options not needed for testing.
    - Add various tests for complexity controls, edge cases, and coverage.
    - Add simple duplicate quads test.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    a8b9536 View commit details
    Browse the repository at this point in the history
  25. Internal rename from URDNA2015 to RDFC10.

    - Rename `URDNA2015.js` to `RDFC10.js`.
    - Rename 'URDNA2015` class to `RDFC10`.
    - Rename `URDNA2015Sync.js` to `RDFC10Sync.js`.
    - Rename 'URDNA2015Sync` class to `RDFC10Sync`.
    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    8e19406 View commit details
    Browse the repository at this point in the history
  26. Fix package description.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    beabb51 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    dff263d View commit details
    Browse the repository at this point in the history
  28. Add React Native support and instructions.

    - Add package.json section.
    - Add instructions.
    dmitrizagidulin authored and davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    489c6ba View commit details
    Browse the repository at this point in the history
  29. Rephrase polyfill instructions.

    dmitrizagidulin authored and davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    98082a4 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    79ba207 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    c583247 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    d65b18a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    934544c View commit details
    Browse the repository at this point in the history
  34. Update dependencies.

    davidlehn committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    25a9fd7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Remove debugging.

    davidlehn committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    cf3643c View commit details
    Browse the repository at this point in the history
  2. Add tests.

    - Add simple invalid N-Quads test.
    - Start of IRI escaping test.
    davidlehn committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    758d29c View commit details
    Browse the repository at this point in the history
  3. Add EARL_OFFICIAL env var.

    When set to truthy string will setup tests that are run for official
    test result reports.
    davidlehn committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    a01c5ae View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Update dependencies.

    davidlehn committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    5a0de35 View commit details
    Browse the repository at this point in the history
  2. Cleanup changelog.

    davidlehn committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    c998bc7 View commit details
    Browse the repository at this point in the history