Skip to content

Commit

Permalink
chore(release): 3.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# [3.0.0](v2.5.6...v3.0.0) (2022-08-08)

### Bug Fixes

* `unified` and `unist` missing, breaking ci ([6b4dbab](6b4dbab))
* change screenshot link to raw github ([9d65364](9d65364))
* correct typings + coercition for ast prop ([69766fd](69766fd))

### Features

* major rehaul w. type safety, guards + errors ([4dd0dad](4dd0dad))

### BREAKING CHANGES

* - `Root` and `YAML from `types/mdast`
- `isNode` from `yaml`
- `vfile.message` instead of pushing to `vfile.messages`
- parse YAML once and use `toJS()`
- `vFile` `cwd` instead of `process.cwd()`

Guards / Errors for:

- JSON Schema not found (wrong path)
- JSON Schema malformed
- YAML Schema parsing error
- YAML Frontmatter parsing error (doesn't seems to occur anyway)

Also, splitting functions a bit, adding some explanations and ideas.

Thanks a lot @remcohaszing 👏
  • Loading branch information
semantic-release-bot committed Aug 8, 2022
1 parent 6b4dbab commit c8bb288
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# [3.0.0](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/compare/v2.5.6...v3.0.0) (2022-08-08)


### Bug Fixes

* `unified` and `unist` missing, breaking ci ([6b4dbab](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/commit/6b4dbabaa104023b42e2f7dd1be9e23db58db6b2))
* change screenshot link to raw github ([9d65364](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/commit/9d65364acec56c5f787fd870e2178537abf5c0ff))
* correct typings + coercition for ast prop ([69766fd](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/commit/69766fd7849e7f3ff6ab53fac17ad1cb382e68ef))


### Features

* major rehaul w. type safety, guards + errors ([4dd0dad](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/commit/4dd0dadca808a1affac2605d061447feb8c6ee86))


### BREAKING CHANGES

* - `Root` and `YAML from `types/mdast`
- `isNode` from `yaml`
- `vfile.message` instead of pushing to `vfile.messages`
- parse YAML once and use `toJS()`
- `vFile` `cwd` instead of `process.cwd()`

Guards / Errors for:

- JSON Schema not found (wrong path)
- JSON Schema malformed
- YAML Schema parsing error
- YAML Frontmatter parsing error (doesn't seems to occur anyway)

Also, splitting functions a bit, adding some explanations and ideas.

Thanks a lot @remcohaszing 👏

## [2.5.6](https://github.com/JulianCataldo/remark-lint-frontmatter-schema/compare/v2.5.5...v2.5.6) (2022-08-08)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@julian_cataldo/remark-lint-frontmatter-schema",
"version": "2.5.6",
"version": "3.0.0",
"description": "Validate Markdown frontmatter YAML against an associated JSON schema — remark-lint rule plugin",
"type": "module",
"source": "./index.ts",
Expand Down

0 comments on commit c8bb288

Please sign in to comment.