Skip to content
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

Update dependency tedious to v15 #16

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
tedious ^2.0.0 -> ^15.0.0 age adoption passing confidence

Release Notes

tediousjs/tedious

v15.1.2

Compare Source

Bug Fixes

v15.1.1

Compare Source

Bug Fixes

v15.1.0

Compare Source

Features

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

chore
  • drop support for Node.js 12 (121f3a5)
Features
  • change default value for trustServerCertificate option to false (04ebc29)
  • remove domain option for azure-active-directory-password authentication (85a2b89)
  • remove default value for clientId option of azure-active-directory-password authentication (8885e1f)
BREAKING CHANGES
  • The domain option was replaced by the tenantId option.
  • Using the azure-active-directory-password
    authentication type now requires specifying the clientId option of an
    Azure Application. The application has to have public client flows
    enabled and has to have user_impersonation permissions for Azure SQL
    Database. The user account that is being used also has to be assigned
    to the application, and has to grant consent (either explicitly or via
    admin consent).
  • The default value for the trustServerCertificate option
    changed from true to false.
  • tedious no longer supports Node.js 12.x.

v14.7.0

Compare Source

Features
  • support NTLM authentication on Node.js 17+ out of the box (#​1451) (318aacc)

v14.6.1

Compare Source

Bug Fixes

v14.6.0

Compare Source

Features
  • fail ntlm auth gracefully when md4 hashing is not available (#​1400) (57a50d4)

v14.5.0

Compare Source

Features
  • return aggregate errors (d8575b2)

v14.4.0

Compare Source

Features
  • add azure-active-directory-default as an authentication option (13ee60f)

v14.3.0

Compare Source

Features
  • rename domain to tenantId when using azure ad password (2150a9c)

v14.2.0

Compare Source

Features
  • allow specifying the clientId when using azure-active-directory-password auth (95e98a1)

v14.1.0

Compare Source

Features
  • deprecate default value for trustServerCertificate (ea7f990)

v14.0.0

Compare Source

Code Refactoring
  • convert ConnectionError and RequestError to proper classes (3e489b4)
Features
  • char/nchar/varchar/nvarchar/text/ntext/uniqueidentifier values no longer support automatic type coercion (d486a31)
  • remove addRow and getRowStream from BulkLoad (ca8afd3)
  • remove sspichallenge event on Connection (f76518b)
BREAKING CHANGES
  • char/nchar/varchar/nvarchar/text/ntext/uniqueidentifier values no longer support automatic type coercion, but instead require values to be strings.
  • Constructing a ConnectionError or RequestError now requires to using the new keyword.
  • This removes the addRow and getRowStream methods from BulkLoad instances. You can pass an Iterable (e.g. an Array or Generator) or AsyncIterable (e.g. stream.Readable or AsyncGenerator) with the row data instead.
  • This removes the sspichallenge event on Connection.

v13.2.0

Compare Source

Features
  • deprecate automatic type coercion from objects to strings (6ff0e1e)
  • deprecate calling ConnectionError or RequestError constructors without new keyword (888cde1)

v13.1.0

Compare Source

Features
  • deprecate BulkLoad.addRow and BulkLoad.getRowStream (91c7701)
  • deprecate the sspichallenge event (aa0f790)

v13.0.5

Compare Source

Bug Fixes
  • prevent bulkload values from being validated twice (4017c39)

v13.0.4

Compare Source

Bug Fixes
  • do not specify handle as an output parameter when calling sp_execute/sp_unprepare (fe4bc69)

v13.0.3

Compare Source

Bug Fixes
  • prevent Object prototype pollution to affect rows or column metadata objects (e112237)

v13.0.2

Compare Source

Bug Fixes
  • do not modify objects passed to Request.addOutputParameter or Request.addParameter (f1acd07)

v13.0.1

Compare Source

Bug Fixes
  • correctly handle encoding of varchar/char values in TVP parameters (63e2747)

v13.0.0

Compare Source

Features
BREAKING CHANGES
  • This introduces breaking changes as it replaces the previously used adal-node package for Azure authentication with the new @azure/identity package. Because of difference in these two libraries we had to remove support for the msiEndpoint option of
    the azure-active-directory-msi-vm authentication method, and the msiEndpoint and msiSecret options of the azure-active-directory-msi-app-service authentication option.

    There could also be other changes in authentication behavior, so be careful when upgrading if you're using one of the Azure specific authentication methods.

v12.3.0

Compare Source

Features
  • deprecate azure authentication options that will be removed (596e575)

v12.2.0

Compare Source

Features

v12.1.0

Compare Source

Bug Fixes
  • improve collation parsing (b8cfb08)
Features
  • encode varchar, char and text values based on the current database collation (0dce3e3)
  • track the current database collation on the connection (d27a7e0)
  • write collation for nvarchar, nchar, ntext , varchar, char and text data types (b1db199)

v12.0.0

Compare Source

Features
  • drop support for Node.js 10.x (6bd814c)
  • remove validateBulkLoadParameters connection option (fbe3aeb)
  • target Node.js 12.x when performing code transpilation (738ac75)
BREAKING CHANGES
  • This removes the validateBulkLoadParameters connection option and always enables validation of bulk load values.
  • Going forward, tedious will only support Node.js v12 or newer.

v11.8.0

Compare Source

Features
  • support ntext data type in bulk loads and regular requests (4a10ccb)
  • support text and image data type in bulk loads (573426f)

v11.7.0

Compare Source

Features
  • add missing collation codepage information (d93a7b5)

v11.6.1

Compare Source

Bug Fixes
  • fix handling of textsize connection option (ebe75f1)

v11.6.0

Compare Source

Features

v11.5.0

Compare Source

Features
  • drop dependency on readable-stream (52ee816)

v11.4.2

Compare Source

Bug Fixes
  • only destroy with error when in streaming mode (584d748)

v11.4.1

Compare Source

Bug Fixes
  • unpipe payload streams on cancel or error (f195526)

v11.4.0

Compare Source

Features
  • include the client version in PRELOGIN packets (521ef9e)

v11.3.1

Compare Source

Bug Fixes
  • revert support for exotic table and column names in bulk loads (993e519)
Reverts
  • revert support for exotic table and column names in bulk loads (18bc6d8)

v11.3.0

Compare Source

Features
  • allow using objects in addition to arrays for streaming bulk loads (b3a213e)

v11.2.0

Compare Source

Features
  • add order option to BulkLoad (b7041bb)

v11.1.1

Compare Source

Bug Fixes
  • support exotic table and column names in bulkloads (a67c0ad)

v11.1.0

Compare Source

Features
  • deprecate validateBulkLoadParameters option (fc6e07e)

v11.0.10

Compare Source

Bug Fixes
  • use normalized values for bulk loads (4eddda1)

v11.0.9

Compare Source

Bug Fixes
  • cut off instance names from rerouting information (a95d574)

v11.0.8

Compare Source

Bug Fixes
  • procedure validate errors not being caught (dd8bb94)

v11.0.7

Compare Source

Bug Fixes
  • fix maximum call stack errors when parsing query results (6925123)

v11.0.6

Compare Source

Bug Fixes
  • cleanup cancel handlers from bulk load (eaf297f)
  • do not set a cancellation timer if request is cancelled before it is fully sent off (37f9084)
  • restore cancellation of long running requests (4ec403d)

v11.0.5

Compare Source

Bug Fixes
  • clean up cancel event handlers to prevent memory leak (775b239)

v11.0.4

Compare Source

Bug Fixes
  • varchar & varbinary to use exact length in type_info (46972ef)

v11.0.3

Compare Source

Bug Fixes
  • leave no dangling sockets on connect timeout (4104691)

v11.0.2

Compare Source

Bug Fixes
  • make BulkLoad.setTimeout actually cancel the request after the given timeout (4fe6fb9)

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

chore
  • drop support for Node.js 6.x and 8.x (714f9e2)
BREAKING CHANGES
  • tedious no longer supports Node.js 6.x and 8.x.

v10.0.0

Compare Source

Features
  • change validateBulkLoadParameters default to true (5497b14)
  • no longer connect automatically when calling new Connection (16b10bf)
BREAKING CHANGES
  • Creating a new Connection instance will no longer establish a connection to the server automatically. Please use the new connect helper function or call the .connect method on the newly created Connection object instead.
  • This changes the default value of the validateBulkLoadParameters option from false to true. If you don't explicitly specify a value for this option, you might run into unexpected validation errors when loading data via BulkLoad. Set this to false explicitly to restore existing behavior, or true for proper parameter validation (recommended).

v9.2.3

Compare Source

Bug Fixes
  • improve azure authentication performance (ac56c34)

v9.2.2

Compare Source

Bug Fixes
  • add domain option for AAD username & pass (769bc97)

v9.2.1

Compare Source

Bug Fixes
  • connect callback could miss err argument (3477f58)

v9.2.0

Compare Source

Features
  • allow validating bulk load parameters (bb176fd)

v9.1.1

Compare Source

Bug Fixes
  • correctly handle invalid packet headers (20fb765)

v9.1.0

Compare Source

Features
  • add options.workstationId (9e75346)

v9.0.1

Compare Source

Bug Fixes
  • improve UniqueIdentifier data type validation (820dd23)

v9.0.0

Compare Source

Features
  • change default value of trustServerCertificate (afd4027)
BREAKING CHANGES
  • This changes the default value from true to false. This might lead to encrypted connections not being established if the server's certificate can not be validated against the default list of CAs.

You can either explicitly set trustServerCertificate to true (not recommended, as it disables certificate validation) or specify a custom CA list via the cryptoCredentialsDetails connection option.

v8.3.1

Compare Source

Bug Fixes
  • use proper servername for TLS after redirect (81cb31c)

v8.3.0

Compare Source

Features
  • deprecate automatically establishing a connection (79f2747)

v8.2.0

Compare Source

Features
  • deprecate trustServerCertificate default being true (1231e09)

v8.1.1

Compare Source

Bug Fixes
  • validate isolation level (325ee0f)

v8.1.0

Compare Source

Features
  • improve performance for large requests (6b1d2e4)

v8.0.1

Compare Source

Bug Fixes
  • properly cancel requests in BUILDING_CLIENT_REQUEST state (62ff4a1)

v8.0.0

Compare Source

Bug Fixes
  • change date calculation to be independent of timezones and offsets (46bde1e)
BREAKING CHANGES
  • This should cause the values to be written to the
    database to be more in line of what is expected, but can be different
    for some edge cases.

v7.0.0

Compare Source

Features
  • change enableArithAbort default to true (76ea92a)
BREAKING CHANGES
  • Changing the ARITHABORT setting changes how
    arithmetic, overflow, divide-by-zero, or domain errors are handled, and
    whether transactions that encounter these error conditions are rolled
    back or whether execution continues on.

v6.7.1

Compare Source

Bug Fixes

v6.7.0

Compare Source

Features
  • deprecate default value for enableArithAbort being false (fb9ed64)

v6.6.6

Compare Source

Bug Fixes
  • allow setting enableConcatNullYieldsNull to false (ec85b09)

v6.6.5

Compare Source

Bug Fixes
  • convert values using Number instead of parseInt (c4c8f4b)

v6.6.4

Compare Source

Bug Fixes
  • allow using string values for date related parameters (81a114f)

v6.6.3

Compare Source

Bug Fixes
  • fix error message if isolationLevel is not a number (a0e4714)

v6.6.2

Compare Source

Bug Fixes
  • no longer rely on removed data-type props (aa281be)

v6.6.1

Compare Source

Bug Fixes
  • datetime max millisecond issue (b246b56)

v6.6.0

Compare Source

Features
  • add AAD Service Principal Secret authorization method (d351c43)

v6.5.0

Compare Source

Features
  • use jsbi for reading and writing int64 and uint64 values (1a740aa)

v6.4.0

Compare Source

Features
  • allow returning lowercase GUIDs (e720d1a)

v6.3.0

Compare Source

Features
  • add MSI authentication support for Azure SQL databases (7721dac)

v6.2.1

Compare Source

Bug Fixes
  • fix TLS issues on Node.js 12.4 and newer (69968f9)

v6.2.0

Compare Source

Features
  • unblock JS event loop when process large TVP (d949dd8)

v6.1.2

Compare Source

Bug Fixes
  • do not reassign currentMessage if it's not undefined (826f6a0)
  • only unassign currentMessage after fully processing it (3ba0b21)

v6.1.1

Compare Source

Bug Fixes

v6.1.0

Compare Source

Features
  • azure active directory access token authentication (28aa637)

v6.0.1

Compare Source

Bug Fixes
  • Pausing a request should now correctly stop memory growth again (0fb90f3)

v6.0.0

Compare Source

Bug Fixes
  • remove support for deprecated authentication options (e8fe4ff)
Features
  • enable connection encryption by default (70ffe4a)
  • remove deprecated parameter types (b67b66f)
BREAKING CHANGES
  • This removes support for the deprecated userName, password and
    domain authentication options. Please switch to the new
    authentication property instead.

  • This removes the following, long deprecated parameter types:

    • Null
    • IntN
    • BitN
    • FloatN
    • MoneyN
    • DecimalN
    • NumericN
    • DateN
    • DateTimeOffsetN
    • DateTime2N
    • TimeN
    • UniqueIdentifierN
  • If no encrypt setting was specified before, tedious would fall back
    to not using any encryption by default. This changes the default to
    encrypt connections unless encrypt is explicitly set to false.

    This should work without issues with most SQL Server setups, but might
    cause connections to fail if encryption between tedious and SQL Server
    can not be established.

v5.0.3

Compare Source

Bug Fixes
  • when cancelling a bulk load, emit an error event on the row stream (491315e)

v5.0.2

Compare Source

Bug Fixes
  • clear the ntlm packet after sending an ntlm response (18ea5fa)

v5.0.1

Compare Source

Bug Fixes
  • transition states before calling request callbacks (3f5f669)

v5.0.0

Compare Source

Bug Fixes
  • discard any incoming data for canceled requests (78da7f7)
  • forward socket errors to current request in SENT_ATTENTION state (5ce37e5)
  • re-use cancel functionality for request timeouts (919ab7f)
Features
  • add cancel timer (74682a4)
  • add request level cancellation methods (4cb93f4)
  • allow BulkRequests to be canceled (f78d745)
BREAKING CHANGES
  • Timed out requests will no longer receive any data.
  • Canceled requests will no longer receive any data.

v4.2.0

Compare Source

Features

v4.1.3

Compare Source

Bug Fixes
  • correct callback of token stream parser transform (09fa151)

v4.1.2

Compare Source

Bug Fixes
  • add rerouting event to fedauth login (f395132)

v4.1.1

Compare Source

Bug Fixes
  • fix compatibility with Node.js 11.x (072ac93)

v4.1.0

Compare Source

Features
  • add azure active directory authentication support (83bf922)

v4.0.4

Compare Source

Bug Fixes
  • fix connecting via ntlm authentication (fb1673a)

v4.0.3

Compare Source

Bug Fixes
  • stop OpenSSL from inserting empty fragments (7b04e1c)

v4.0.2

Compare Source

Bug Fixes
  • fix null handling for 2 other config options (e728aba)

v4.0.1

Compare Source

Bug Fixes
  • actually store domain setting when authentication type is ntlm (db0e2e0)
  • also be strict about the config argument (36d6c58)
  • fix handling of config.authentication.type (4eceb48)

v4.0.0

Compare Source

Features
  • add a new config.authentication option (6170d19)
  • stricter connection config checks (4e21ae0)
BREAKING CHANGES
  • This drops support for previousl deprecated
    configuration values and types, and makes the checks a lot stricter than
    before.

Many configuration options no longer accept null values and instead
rely on values being present or undefined instead.

In other cases, configuration options that previously e.g. accepted
string values and automatically converted them to numbers now only
accept actual numbers.

Some options explicitly allow null values to be passed in and take
that as a hint to use whatever is configured on the SQL Server instead.

v3.0.1

Compare Source

Bug Fixes
  • allow socketError under state LOGGED_IN_SENDING_INITIAL_SQL (488d0a2)

v3.0.0

Compare Source

chore
BREAKING CHANGES
  • Drop support for Node.js v4.x
  • From this point onward, tedious can no longer be used
    with Node.js v4.x. Please upgrade to a newer Node.js version or use an
    older version of tedious.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@egandro egandro closed this Dec 30, 2022
@egandro egandro closed this Dec 30, 2022
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.

1 participant