Fix ValidationPackageIndex.IdentityEquals
not respecting semver suffixes
- Add
SemVer
type model for a full semantic version representation including PreRelease and Build metadata with parsing and formatting functions - Improve functions for getting semantic version (strings) from
ValidationPackageMetadata
andValidationPackageIndex
types based on newSemVer
type - Unify capitalization in Domain create functions
Add BinaryContent
module to unify package content handling across downstream libraries
Add PackageContentHash
module to unify package hash calculation across downstream libraries
Add CQCHookEndpoint
field to ValidationPackageMetadata
Add support for in-package frontmatter bindings. Enables re-use of the frontmatter inside the package code
- Fix content hash being dependent on line endings (now, all content is normalized to \n before hashing)
- Fix code duplication in create functions for
ValidationPackageIndex
- Unify
create
functions for Domain types
fix preview index download url
- Refactor and expose parsing & convenience functions:
- Frontmatter
- containsFrontmatter
- tryExtractFromString
- extractFromString
- ValidationPackageMetadata
- tryExtractFromString
- extractFromString
- tryExtractFromScript
- extractFromScript
- Frontmatter
all frontmatter/metadata extraction functions will replace line endings with "\n", as YamlDotNet will replace any line endings with new line when presented the string anyways.
that way, the extracted frontmatter/metadata (especially field values, which caused problems due to YamlDotNet's default behavior) will be consistent across different platforms.
- Add
getPreviewIndex
function that downloads the currently released preview index from the github release.
- Replace line endings when parsing frontmatter
- Add create function to Author and OntologyAnnotation (#27)
- Add qol Domain functions (#26)
- Initial release for AVPR API v1