Skip to content

Releases: stevan-borus/ts-referer-parser

v1.1.0

02 Apr 14:32

Choose a tag to compare

New Features

  • AI/Chatbot detection — New chatbot medium category with 23 sources:
    ChatGPT, Claude, Perplexity, Google Gemini, Microsoft Copilot, DeepSeek, Grok, Phind, Mistral/Le Chat, Poe, Character.AI, Meta AI, Baidu AI, ChatGLM, Qwen, HuggingChat, Pi, and more

  • Expanded social media coverage — Mastodon (11 instances), Discord, plus x.com for Twitter, bsky.app for Bluesky, additional TikTok/Facebook/Reddit subdomains

Database Updates

Updated from Snowplow referer-parser and Matomo searchengine-and-social-list.

Category Before After
chatbot 0 23 sources
social 87 92 sources
search 236 237 sources
email 38 47 sources
paid 45 45 sources
Total domains 2,424 2,528

v1.0.9

02 Apr 13:31

Choose a tag to compare

Bug Fixes

  • Fixed package exportsmain field pointed to non-existent dist/index.js; now correctly maps to dist/index.cjs with full conditional exports for ESM/CJS (#3)
  • Fixed README — API docs incorrectly showed parse() as async with await; updated to reflect synchronous API
  • Fixed .npmignore — referenced old tsup.config.ts instead of tsdown.config.ts

Maintenance

  • Added @changesets/cli for versioning and release notes
  • Updated biome schema version to 2.4.10

Dependencies

Package From To
@biomejs/biome 2.4.5 2.4.10
tsdown 0.20.3 0.21.7
typescript 5.9.3 6.0.2
vite 7.3.1 8.0.3
vitest 4.0.18 4.1.2

v1.0.8

02 Apr 13:18

Choose a tag to compare

Changes

  • Migrate build tool from tsup to tsdown
  • Make parse() synchronous (no longer returns a Promise)
  • Fix Rollup CVE-2026-27606
  • Bump all dependencies

Breaking Changes

  • parse() now returns Referer directly instead of Promise<Referer>. Remove any await calls.

v1.0.6

02 Apr 13:17

Choose a tag to compare

Changes

  • Bump dependencies

v1.0.5

02 Apr 13:17

Choose a tag to compare

Changes

  • Security dependency updates

v1.0.4

02 Apr 13:17

Choose a tag to compare

Changes

  • Bump nanoid from 3.3.7 to 3.3.8 (security fix)
  • Bump dependencies
  • Update README and license info

v1.0.3

02 Apr 13:17

Choose a tag to compare

Changes

  • Rename package to ts-referer-parser

v1.0.2

02 Apr 13:17

Choose a tag to compare

Changes

  • Fix TypeScript type definitions
  • Update PR checks workflow
  • Add usage documentation

v1.0.1

02 Apr 13:17

Choose a tag to compare

Changes

  • Bundle referer database locally instead of fetching from remote URL (#1)
  • Improved test coverage

v1.0.0

02 Apr 13:17

Choose a tag to compare

Initial Release

  • Referer parser library for TypeScript/JavaScript
  • Supports search engines, social media platforms, and email providers
  • Handles internal referrals and direct traffic detection