Skip to content

Prepare release 1.8.1 #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release History

## 1.8.1

Security fixes:

> An issue in all published versions of the NPM package ip allows an attacker to execute arbitrary code and
> obtain sensitive information via the isPublic() function. This can lead to potential Server-Side Request
> Forgery (SSRF) attacks. The core issue is the function's failure to accurately distinguish between
> public and private IP addresses.

## 1.8.0

### Highlights
Expand Down
30 changes: 15 additions & 15 deletions lib/DBSQLOperation/index.ts → lib/DBSQLOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import IOperation, {
FinishedOptions,
GetSchemaOptions,
WaitUntilReadyOptions,
} from '../contracts/IOperation';
} from './contracts/IOperation';
import {
TGetOperationStatusResp,
TOperationHandle,
Expand All @@ -14,20 +14,20 @@ import {
TSparkRowSetType,
TCloseOperationResp,
TOperationState,
} from '../../thrift/TCLIService_types';
import Status from '../dto/Status';
import { LogLevel } from '../contracts/IDBSQLLogger';
import OperationStateError, { OperationStateErrorCode } from '../errors/OperationStateError';
import IResultsProvider from '../result/IResultsProvider';
import RowSetProvider from '../result/RowSetProvider';
import JsonResultHandler from '../result/JsonResultHandler';
import ArrowResultHandler from '../result/ArrowResultHandler';
import CloudFetchResultHandler from '../result/CloudFetchResultHandler';
import ArrowResultConverter from '../result/ArrowResultConverter';
import ResultSlicer from '../result/ResultSlicer';
import { definedOrError } from '../utils';
import HiveDriverError from '../errors/HiveDriverError';
import IClientContext from '../contracts/IClientContext';
} from '../thrift/TCLIService_types';
import Status from './dto/Status';
import { LogLevel } from './contracts/IDBSQLLogger';
import OperationStateError, { OperationStateErrorCode } from './errors/OperationStateError';
import IResultsProvider from './result/IResultsProvider';
import RowSetProvider from './result/RowSetProvider';
import JsonResultHandler from './result/JsonResultHandler';
import ArrowResultHandler from './result/ArrowResultHandler';
import CloudFetchResultHandler from './result/CloudFetchResultHandler';
import ArrowResultConverter from './result/ArrowResultConverter';
import ResultSlicer from './result/ResultSlicer';
import { definedOrError } from './utils';
import HiveDriverError from './errors/HiveDriverError';
import IClientContext from './contracts/IClientContext';

const defaultMaxRows = 100000;

Expand Down
97 changes: 58 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databricks/sql",
"version": "1.8.0",
"version": "1.8.1",
"description": "Driver for connection to Databricks SQL via Thrift API.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down