csv-parse breaking changes
Updated December 4, 2026
On this page
Latest version 7.0.3, released September 25, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 6.2.0 to 7.0.3: 19 breaking changes in 2 versions.
- From 5.0.0 to 7.0.3: 128 breaking changes in 4 versions.
csv-parse 7.0.3 breaking changes
- Removed
OptionDelimiterAuto
OptionDelimiterAuto was removed in csv-parse 7.0.3 npmjs.com - Signature changed
ColumnOption
Was type ColumnOption<K = string> = | K | undefined | null | false | {name: K}; now type ColumnOption<K = string> = K | undefined | null | false | {name: K}. npmjs.com - Signature changed
Options.columns
Was columns?: | OptionsNormalized["columns"] | ((record: T) => ColumnOption<T extends string[] ? string : T extends unknown ? string : keyof T>[]); now columns?: | OptionsNormalized<T, U>["columns"] | ((record: string[]) =>... npmjs.com - Signature changed
Options.skip_records_with_empty_values
Was skip_records_with_empty_values?: | OptionsNormalized["skip_records_with_empty_values"] | null; now skip_records_with_empty_values?: OptionsNormalized["skip_records_with_empty_values"] | null. npmjs.com - Signature changed
Options.skipRecordsWithEmptyValues
Was skipRecordsWithEmptyValues?: | OptionsNormalized["skip_records_with_empty_values"] | null; now skipRecordsWithEmptyValues?: OptionsNormalized["skip_records_with_empty_values"] | null. npmjs.com - Signature changed
OptionsNormalized.cast_first_line_to_header
Was cast_first_line_to_header?: (record: T) => ColumnOption<T extends string[] ? string : T extends unknown ? string : keyof T>[]; now cast_first_line_to_header?: (record: string[]) => ColumnOption<ColumnKey<U>>[]. npmjs.com - Signature changed
OptionsNormalized.columns
Was columns: | boolean | ColumnOption<T extends string[] ? string : T extends unknown ? string : keyof T>[]; now columns: boolean | ColumnOption<ColumnKey<U>>[]. npmjs.com - Signature changed
OptionsNormalized.delimiter_auto
Was delimiter_auto: OptionDelimiterAuto; now delimiter_auto: ScoringFunctionOptions. npmjs.com - Signature changed
OptionsWithColumns
Was type OptionsWithColumns<T, U = T> = Omit<Options<T, U>, "columns"> & {columns: Exclude<Options["columns"], undefined | false>;}; now type OptionsWithColumns<T, U = T> = Omit<Options<T, U>, "columns"> & {columns... npmjs.com - Signature changed
OptionsWithColumns.columns
Was columns: Exclude<Options["columns"], undefined | false>; now columns: Exclude<Options<NoInferColumnRecord<T>, NoInferColumnRecord<U>>["columns"], undefined | false>. npmjs.com - Signature changed
OptionsWithColumns.skip_records_with_empty_values
Was skip_records_with_empty_values?: | OptionsNormalized["skip_records_with_empty_values"] | null; now skip_records_with_empty_values?: OptionsNormalized["skip_records_with_empty_values"] | null. npmjs.com - Signature changed
OptionsWithColumns.skipRecordsWithEmptyValues
Was skipRecordsWithEmptyValues?: | OptionsNormalized["skip_records_with_empty_values"] | null; now skipRecordsWithEmptyValues?: OptionsNormalized["skip_records_with_empty_values"] | null. npmjs.com
csv-parse 7.0.0 breaking changes
- Removed
cast_date
Support for cast_date was removed in 7.0.0. Code that relies on it must be changed. github.com - Renamed
group_columns_by_name
The group_columns_by_name option was renamed in 7.0.0. Update code that passes the old name. github.com - Renamed
RECORD_DONT_MATCH_COLUMNS_LENGTH
RECORD_DONT_MATCH_COLUMNS_LENGTH was renamed in 7.0.0. Update code that references the old name. github.com - Renamed
RECORD_INCONSISTENT_FIELDS_LENGTH
RECORD_INCONSISTENT_FIELDS_LENGTH was renamed in 7.0.0. Update code that references the old name. github.com - Renamed
relax
The relax option was renamed to relax_quotes in 7.0.0. Update code that passes relax. github.com - Renamed
skip_records_with_empty_values
The skip_records_with_empty_values option was renamed in 7.0.0. Update code that passes the old name. github.com - Renamed
skip_records_with_error
The skip_records_with_error option was renamed in 7.0.0. Update code that passes the old name. github.com
csv-parse 6.2.0 breaking changes
- Removed
Info.columns
Info.columns was removed in csv-parse 6.2.0 npmjs.com - Signature changed
browser/esm/sync:parse
Was function parse<T = unknown>(input: Buffer | string | Uint8Array, options: OptionsWithColumns<T>): T[]; now function parse<T = unknown, U = T>(input: Buffer | string | Uint8Array, options: OptionsWithColumns<T, U>): T[]. npmjs.com - Signature changed
Callback
Was type Callback<T = string[]> = (err: CsvError | undefined, records: T[], info?: Info) => void; now type Callback<T = string[]> = (err: CsvError | undefined, records: T[], info?: InfoCallback) => void. npmjs.com - Signature changed
CastingContext
Was interface CastingContext; now interface CastingContext extends InfoField. npmjs.com - Signature changed
CastingDateFunction
Was type CastingDateFunction = (value: string, context: CastingContext) => Date; now type CastingDateFunction = (value: string, context: InfoField) => Date. npmjs.com - Signature changed
CastingFunction
Was type CastingFunction = (value: string, context: CastingContext) => unknown; now type CastingFunction = (value: string, context: InfoField) => unknown. npmjs.com - Signature changed
CsvError.__index
Was [key: string]: any; now [key: string]: unknown. npmjs.com - Signature changed
Options
Was interface Options<T = string[]>; now interface Options<T = string[], U = T>. npmjs.com - Signature changed
Options.bom
Was bom?: boolean; now bom?: OptionsNormalized["bom"]. npmjs.com - Signature changed
Options.cast
Was cast?: boolean | CastingFunction; now cast?: OptionsNormalized["cast"]. npmjs.com
And 49 more in this version. Sign up to see every change
csv-parse 6.0.0 breaking changes
- Renamed
group_columns_by_name
The group_columns_by_name option was renamed in this release. Code that passes the old name must switch to the new name in the release notes. github.com - Renamed
RECORD_DONT_MATCH_COLUMNS_LENGTH
The RECORD_DONT_MATCH_COLUMNS_LENGTH export was renamed in this release. Code that imports or compares against the old name must be updated. github.com - Renamed
RECORD_INCONSISTENT_FIELDS_LENGTH
The RECORD_INCONSISTENT_FIELDS_LENGTH export was renamed in this release. Code that imports or compares against the old name must be updated. github.com - Renamed
relax
The relax option was renamed to relax_quotes. Code that passes relax must switch to relax_quotes. github.com - Signature changed
browser/esm/sync:parse
Was function parse(input: Buffer | string, options?: Options): any; now function parse(input: Buffer | string | Uint8Array): string[][] function parse(input: Buffer | string | Uint8Array, options: Options): string[][] function parse<T =... npmjs.com - Signature changed
Callback
Was type Callback = (err: CsvError | undefined, records: any | undefined, info: Info) => void; now type Callback<T = string[]> = (err: CsvError | undefined, records: T[], info?: Info) => void. npmjs.com - Signature changed
CastingFunction
Was type CastingFunction = (value: string, context: CastingContext) => any; now type CastingFunction = (value: string, context: CastingContext) => unknown. npmjs.com - Signature changed
ColumnOption
Was type ColumnOption = string | undefined | null | false | {name: string}; now type ColumnOption<K = string> = | K | undefined | null | false | {name: K}. npmjs.com - Signature changed
CsvError.constructor
Was constructor(code: CsvErrorCode, message: string | string[], options?: Options, ...contexts: any[]); now constructor(code: CsvErrorCode, message: string | string[], options?: OptionsNormalized, ...contexts: unknown[]). npmjs.com - Signature changed
CsvErrorCode
Was type CsvErrorCode = 'CSV_INVALID_OPTION_BOM' | 'CSV_INVALID_OPTION_CAST' | 'CSV_INVALID_OPTION_CAST_DATE' | 'CSV_INVALID_OPTION_COLUMNS' | 'CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME' | 'CSV_INVALID_OPTION_COMMENT' |... npmjs.com
And 40 more in this version. Sign up to see every change
csv-parse 5.0.0 breaking changes
- Removed
default
default was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.columns_duplicates_to_array
Options.columns_duplicates_to_array was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.columnsDuplicatesToArray
Options.columnsDuplicatesToArray was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.relax
Options.relax was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.skip_lines_with_empty_values
Options.skip_lines_with_empty_values was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.skip_lines_with_error
Options.skip_lines_with_error was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.skipLinesWithEmptyValues
Options.skipLinesWithEmptyValues was removed in csv-parse 5.0.0 npmjs.com - Removed
Options.skipLinesWithError
Options.skipLinesWithError was removed in csv-parse 5.0.0 npmjs.com - Signature changed
Callback
Was type Callback = (err: Error | undefined, records: any | undefined, info: Info) => void; now type Callback = (err: CsvError | undefined, records: any | undefined, info: Info) => void. npmjs.com - Signature changed
CsvErrorCode
Was type CsvErrorCode = 'CSV_INVALID_OPTION_BOM' | 'CSV_INVALID_OPTION_CAST' | 'CSV_INVALID_OPTION_CAST_DATE' | 'CSV_INVALID_OPTION_COLUMNS' | 'CSV_INVALID_OPTION_COLUMNS_DUPLICATES_TO_ARRAY' | 'CSV_INVALID_OPTION_COMMENT' |... npmjs.com
And 1 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.