Skip to content

Commit

Permalink
deprecated liquid, updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Apr 21, 2024
1 parent e0d32dd commit 9ff16a6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ Go to the `v1` branch to see the changelog of Lume 1.
### Changed
- For better predictability, the `_cache` folder is generated in the root folder, instead of `src` folder.

### Deprecated
- `liquid` plugin. It never worked fine with `search.pages()` [#600].

### Fixed
- Updated dependencies: `unocss`.
- Updated dependencies: `unocss`, `liquid`, `postcss-nesting`.

## [2.1.4] - 2024-04-17
### Added
Expand Down Expand Up @@ -355,6 +358,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
[#591]: https://github.com/lumeland/lume/issues/591
[#598]: https://github.com/lumeland/lume/issues/598
[#599]: https://github.com/lumeland/lume/issues/599
[#600]: https://github.com/lumeland/lume/issues/600

[2.2.0]: https://github.com/lumeland/lume/compare/v2.1.4...HEAD
[2.1.4]: https://github.com/lumeland/lume/compare/v2.1.3...v2.1.4
Expand Down
6 changes: 3 additions & 3 deletions deps/liquid.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export * from "npm:[email protected].0";
export * from "npm:[email protected].1";

export type { LiquidOptions, Template } from "npm:[email protected].0";
export type { LiquidOptions, Template } from "npm:[email protected].1";
export type {
TagClass,
TagImplOptions,
} from "npm:[email protected].0/dist/template";
} from "npm:[email protected].1/dist/template";
2 changes: 1 addition & 1 deletion deps/postcss.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as postcss } from "npm:[email protected]";
export { default as postcssImport } from "npm:[email protected]";
export { default as postcssNesting } from "npm:[email protected].1";
export { default as postcssNesting } from "npm:[email protected].2";
export { default as autoprefixer } from "npm:[email protected]";
5 changes: 4 additions & 1 deletion plugins/liquid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ export class LiquidEngine implements Engine {
}
}

/** Register the plugin to add support for Liquid files */
/**
* Register the plugin to add support for Liquid files
* @deprecated Use Vento or Nunjucks instead (see https://github.com/lumeland/lume/issues/600)
*/
export default function (userOptions?: Options) {
return function (site: Site) {
const options = merge(
Expand Down

0 comments on commit 9ff16a6

Please sign in to comment.