Skip to content

Commit

Permalink
Version Packages (#203)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 14, 2024
1 parent cab837b commit 11cb7ce
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 44 deletions.
17 changes: 0 additions & 17 deletions .changeset/fast-impalas-wink.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-rivers-kiss.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-ducks-hunt.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/plenty-ants-move.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-dogs-join.md

This file was deleted.

35 changes: 35 additions & 0 deletions packages/renoun/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# renoun

## 6.0.0

### Major Changes

- 0e6279a: Removes the deprecated `collection` function.

### Breaking Changes

The `collection` function has been removed. You can now use the `Collection` class directly to create a collection:

```tsx
import { Collection } from 'renoun/collections'

const posts = new Collection({
filePattern: 'posts/*.mdx',
})
```

### Minor Changes

- ebdfb16: Adds `getFileSystemPath` method to `FileSystemSource` and `ExportSource` to allow getting types for a file in `APIReference`.
- 489960a: Adds the ability to specify the set of languages loaded for syntax highlighting using the `languages` field in the `renoun.json` configuration file. This allows you to reduce the bundle size by only loading the languages you need:

```json
{
"languages": ["sh", "ts", "tsx"]
}
```

- ed8fb6a: Adds support for formatting the `CodeBlock` component source text using `prettier` if it is available to the workspace.

### Patch Changes

- cab837b: Fixes issue with trying to format dynamic imports added to collections from CLI causing issues with linters. Now, formatting will only occur if the workspace has access to `prettier`.

## 5.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/renoun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "renoun",
"version": "5.5.0",
"version": "6.0.0",
"description": "The Content & Documentation SDK for React",
"author": "Travis Arnold",
"license": "AGPL-3.0-or-later",
Expand Down

0 comments on commit 11cb7ce

Please sign in to comment.