Sha256: 604d9b2d82aa0e5373c882e03d5fd5f6451a70ddc35bef575decb6e62d0964d4

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

# CHANGELOG

## Version 0.3.0 - 2024-11-19

- Add `Content#relative_path` which returns a file's relative path within its collection.

## Version 0.2.0 - 2024-10-13

- Add support for a content instance knowing its own `#slug` - its extension-less relative path within its collection:

  ```ruby
  Page = Decant.define(dir: 'content', ext: 'md')

  page = Page.find('features/slugs')
  page.path.expand_path # => "/Users/dave/my-website/content/features/slugs.md"
  page.slug             # => "features/slugs"
  ```
- `Collection` is no immutable and can no longer be changed after initialisation.

## Version 0.1.0 - 2024-08-11

- Initial release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decant-0.3.0 CHANGELOG.md