@adonis-agora/filter 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @adonis-agora/filter
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105](https://github.com/DavideCarvalho/adonis-agora-filter/pull/105) [`72ff139`](https://github.com/DavideCarvalho/adonis-agora-filter/commit/72ff139e16c9ac05f326d490a997579ac5fb3273) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Drop Node.js 20 and 22: `engines.node` is now `>=24`. Node 20 reached end-of-life on 2026-04-30, and AdonisJS 7, which these packages require as a peer, needs Node 24 or later (`@adonisjs/core` declares `engines.node >=24.0.0`). The supported lines are the ones Node still maintains that AdonisJS 7 accepts: 24 and 26, both tested in CI.
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # `@adonis-agora/filter`
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@adonis-agora/filter)](https://www.npmjs.com/package/@adonis-agora/filter) [![npm downloads](https://img.shields.io/npm/dm/@adonis-agora/filter)](https://www.npmjs.com/package/@adonis-agora/filter) [![CI](https://github.com/DavideCarvalho/adonis-agora-filter/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/DavideCarvalho/adonis-agora-filter/actions/workflows/ci.yml) [![license](https://img.shields.io/npm/l/@adonis-agora/filter)](https://www.npmjs.com/package/@adonis-agora/filter)
4
+
3
5
  Server-side query filtering, sorting, and pagination for AdonisJS. Parses the
4
6
  Spatie/JSON:API query the `@adonis-agora/filter-client` builder emits, applies it to a
5
7
  Lucid query through a field allow-list, and resolves offset or keyset (cursor)
@@ -1,5 +1,5 @@
1
1
  /** Keep in sync with this package's `version` in package.json. */
2
- export declare const VERSION = "0.10.0";
2
+ export declare const VERSION = "0.11.0";
3
3
  export type { LucidModelLike, LucidRelationLike } from './aggregate.js';
4
4
  export { discoverAggregateSources } from './aggregate.js';
5
5
  export type { AggregateFn, AggregatePath } from './aggregate_path.js';
package/dist/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Keep in sync with this package's `version` in package.json. */
2
- export const VERSION = '0.10.0';
2
+ export const VERSION = '0.11.0';
3
3
  export { discoverAggregateSources } from './aggregate.js';
4
4
  export { parseAggregatePath } from './aggregate_path.js';
5
5
  export { applyCursorFromRequest, applyFilterFromRequest } from './apply_from_request.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonis-agora/filter",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Server-side query filtering/sorting/pagination for AdonisJS — Spatie-style input, a Lucid adapter, and field allow-listing. Part of the Agora ecosystem.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -78,19 +78,19 @@
78
78
  },
79
79
  "devDependencies": {
80
80
  "@adonisjs/assembler": "8.5.2",
81
- "@adonisjs/core": "7.5.2",
81
+ "@adonisjs/core": "7.6.0",
82
82
  "@adonisjs/lucid": "22.4.2",
83
- "@tanstack/intent": "0.4.0",
84
- "@types/luxon": "3.7.5",
85
- "@types/node": "26.6.2",
83
+ "@tanstack/intent": "0.5.5",
84
+ "@types/luxon": "3.7.6",
85
+ "@types/node": "26.6.5",
86
86
  "@types/pg": "8.23.1",
87
87
  "luxon": "3.7.2",
88
- "pg": "8.23.0",
88
+ "pg": "8.23.1",
89
89
  "typescript": "7.0.2",
90
- "vitest": "5.0.2"
90
+ "vitest": "5.0.4"
91
91
  },
92
92
  "engines": {
93
- "node": ">=20.6.0"
93
+ "node": ">=24"
94
94
  },
95
95
  "scripts": {
96
96
  "build": "tsc -p tsconfig.json && pnpm run copy:stubs",