Skip to content

feat: Remove qs dependency#3659

Merged
daffl merged 3 commits intov6from
v6-remove-qs
Feb 18, 2026
Merged

feat: Remove qs dependency#3659
daffl merged 3 commits intov6from
v6-remove-qs

Conversation

@daffl
Copy link
Member

@daffl daffl commented Feb 18, 2026

This pull request replaces the qs module with modern UrlSearchParams query parsing. To use qs or one of the modern replacements the following can be done:

Server — queryParser

  import qs from 'qs'                                                                                                    
  import { createHandler, queryParser, bodyParser, errorHandler } from 'feathers'  

  const handler = createHandler(app, [
    errorHandler(),
    queryParser(qs.parse),
    bodyParser()
  ])

Client — fetchClient

  import qs from 'qs'
  import { fetchClient } from 'feathers/client'

  app.configure(fetchClient(fetch, {
    baseUrl: 'http://localhost:3030',
    stringify: qs.stringify
  }))

@daffl
Copy link
Member Author

daffl commented Feb 18, 2026

With #3658 this makes v6 core completely dependency free.

@daffl daffl merged commit 2e787a8 into v6 Feb 18, 2026
4 checks passed
@daffl daffl deleted the v6-remove-qs branch February 18, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants