Skip to content

Commit

Permalink
moved the code of search plugin to the core
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed May 11, 2023
1 parent eceeb42 commit 3591305
Show file tree
Hide file tree
Showing 10 changed files with 531 additions and 445 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project try to adheres to [Semantic Versioning](https://semver.org/),
but not always is possible (due the use of unstable features from Deno).
Any BREAKING CHANGE between minor versions will be documented here in upper case.

## [Unreleased]
### Added
- New `site.searcher` property with a instance of `Searcher` class.
It's used by plugins like `search`, `nav`, `sitemap` and `feed`.
(Previouly, each plugin had it's own instance).

## [1.17.3] - 2023-05-10
### Fixed
- The `lume/` import is not correctly generated with `lume init`.
Expand Down Expand Up @@ -2229,6 +2235,7 @@ The first version.
[#418]: https://github.com/lumeland/lume/issues/418
[#419]: https://github.com/lumeland/lume/issues/419

[Unreleased]: https://github.com/lumeland/lume/compare/v1.17.3...HEAD
[1.17.3]: https://github.com/lumeland/lume/compare/v1.17.2...v1.17.3
[1.17.2]: https://github.com/lumeland/lume/compare/v1.17.1...v1.17.2
[1.17.1]: https://github.com/lumeland/lume/compare/v1.17.0...v1.17.1
Expand Down
2 changes: 2 additions & 0 deletions core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import type { default as Scripts, ScriptOrFunction } from "./core/scripts.ts";

import type { default as FS, Entry, Loader } from "./core/fs.ts";
import type Logger from "./core/logger.ts";
import type Searcher from "./core/searcher.ts";
import type Writer from "./core/writer.ts";
import type IncludesLoader from "./core/includes_loader.ts";
import type DataLoader from "./core/data_loader.ts";
Expand Down Expand Up @@ -133,6 +134,7 @@ export type {
Scopes,
ScriptOrFunction,
Scripts,
Searcher,
Server,
ServerEvent,
ServerEventType,
Expand Down
Loading

0 comments on commit 3591305

Please sign in to comment.