facebook/jest
### [`v29.4.1`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2941)
[Compare Source](https://togithub.com/facebook/jest/compare/v29.4.0...v29.4.1)
##### Features
- `[expect, jest-circus, @jest/types]` Implement `numPassingAsserts` of testResults to track the number of passing asserts in a test ([#13795](https://togithub.com/facebook/jest/pull/13795))
- `[jest-core]` Add newlines to JSON output ([#13817](https://togithub.com/facebook/jest/pull/13817))
- `[@jest/reporters]` Automatic log folding in GitHub Actions Reporter ([#13626](https://togithub.com/facebook/jest/pull/13626))
##### Fixes
- `[@jest/expect-utils]` `toMatchObject` diffs should include `Symbol` properties ([#13810](https://togithub.com/facebook/jest/pull/13810))
- `[jest-runtime]` Handle missing `replaceProperty` ([#13823](https://togithub.com/facebook/jest/pull/13823))
- `[@jest/types]` Add partial support for `done` callbacks in typings of `each` ([#13756](https://togithub.com/facebook/jest/pull/13756))
### [`v29.4.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2940)
[Compare Source](https://togithub.com/facebook/jest/compare/v29.3.1...v29.4.0)
##### Features
- `[expect, @jest/expect-utils]` Support custom equality testers ([#13654](https://togithub.com/facebook/jest/pull/13654))
- `[jest-config, jest-worker]` Use `os.availableParallelism` if available to calculate number of workers to spawn ([#13738](https://togithub.com/facebook/jest/pull/13738))
- `[@jest/globals, jest-mock]` Add `jest.replaceProperty()` that replaces property value ([#13496](https://togithub.com/facebook/jest/pull/13496))
- `[jest-haste-map]` ignore Sapling vcs directories (`.sl/`) ([#13674](https://togithub.com/facebook/jest/pull/13674))
- `[jest-resolve]` Support subpath imports ([#13705](https://togithub.com/facebook/jest/pull/13705), [#13723](https://togithub.com/facebook/jest/pull/13723), [#13777](https://togithub.com/facebook/jest/pull/13777))
- `[jest-runtime]` Add `jest.isolateModulesAsync` for scoped module initialization of asynchronous functions ([#13680](https://togithub.com/facebook/jest/pull/13680))
- `[jest-runtime]` Add `jest.isEnvironmentTornDown` function ([#13741](https://togithub.com/facebook/jest/pull/13741))
- `[jest-test-result]` Added `skipped` and `focused` status to `FormattedTestResult` ([#13700](https://togithub.com/facebook/jest/pull/13700))
- `[jest-transform]` Support for asynchronous `createTransformer` ([#13762](https://togithub.com/facebook/jest/pull/13762))
##### Fixes
- `[jest-environment-node]` Fix non-configurable globals ([#13687](https://togithub.com/facebook/jest/pull/13687))
- `[@jest/expect-utils]` `toMatchObject` should handle `Symbol` properties ([#13639](https://togithub.com/facebook/jest/pull/13639))
- `[jest-mock]` Fix `mockReset` and `resetAllMocks` `undefined` return value([#13692](https://togithub.com/facebook/jest/pull/13692))
- `[jest-resolve]` Add global paths to `require.resolve.paths` ([#13633](https://togithub.com/facebook/jest/pull/13633))
- `[jest-resolve]` Correct node core module detection when using `node:` specifiers ([#13806](https://togithub.com/facebook/jest/pull/13806))
- `[jest-runtime]` Support WASM files that import JS resources ([#13608](https://togithub.com/facebook/jest/pull/13608))
- `[jest-runtime]` Use the `scriptTransformer` cache in `jest-runner` ([#13735](https://togithub.com/facebook/jest/pull/13735))
- `[jest-runtime]` Enforce import assertions when importing JSON in ESM ([#12755](https://togithub.com/facebook/jest/pull/12755) & [#13805](https://togithub.com/facebook/jest/pull/13805))
- `[jest-snapshot]` Make sure to import `babel` outside of the sandbox ([#13694](https://togithub.com/facebook/jest/pull/13694))
- `[jest-transform]` Ensure the correct configuration is passed to preprocessors specified multiple times in the `transform` option ([#13770](https://togithub.com/facebook/jest/pull/13770))
##### Chore & Maintenance
- `[@jest/fake-timers]` Update `@sinonjs/fake-timers` ([#13612](https://togithub.com/facebook/jest/pull/13612))
- `[docs]` Improve custom puppeteer example to prevent worker warnings ([#13619](https://togithub.com/facebook/jest/pull/13619))
brianc/node-postgres
### [`v8.9.0`](https://togithub.com/brianc/node-postgres/blob/HEAD/CHANGELOG.md#pg890)
[Compare Source](https://togithub.com/brianc/node-postgres/compare/pg@8.8.0...pg@8.9.0)
- Add support for [stream factory](https://togithub.com/brianc/node-postgres/pull/2898).
- [Better errors](https://togithub.com/brianc/node-postgres/pull/2901) for SASL authentication.
- [Use native crypto module](https://togithub.com/brianc/node-postgres/pull/2815) for SASL authentication.
### [`v8.8.0`](https://togithub.com/brianc/node-postgres/blob/HEAD/CHANGELOG.md#pg880)
[Compare Source](https://togithub.com/brianc/node-postgres/compare/pg@8.7.3...pg@8.8.0)
- Bump minimum required version of [native bindings](https://togithub.com/brianc/node-postgres/pull/2787).
- Catch previously uncatchable errors thrown in [`pool.query`](https://togithub.com/brianc/node-postgres/pull/2569).
- Prevent the pool from blocking the event loop if all clients are [idle](https://togithub.com/brianc/node-postgres/pull/2721) (and `allowExitOnIdle` is enabled).
- Support `lock_timeout` in [client config](https://togithub.com/brianc/node-postgres/pull/2779).
- Fix errors thrown in callbacks from [interfering with cleanup](https://togithub.com/brianc/node-postgres/pull/2753).
##### pg-pool@3.5.0
- Add connection [lifetime limit](https://togithub.com/brianc/node-postgres/pull/2698) config option.
##### pg@8.7.0
- Add optional config to [pool](https://togithub.com/brianc/node-postgres/pull/2568) to allow process to exit if pool is idle.
##### pg-cursor@2.7.0
- Convert to [es6 class](https://togithub.com/brianc/node-postgres/pull/2553)
- Add support for promises [to cursor methods](https://togithub.com/brianc/node-postgres/pull/2554)
##### pg@8.6.0
- Better [SASL](https://togithub.com/brianc/node-postgres/pull/2436) error messages & more validation on bad configuration.
- Export [DatabaseError](https://togithub.com/brianc/node-postgres/pull/2445).
- Add [ParameterDescription](https://togithub.com/brianc/node-postgres/pull/2464) support to protocol parsing.
- Fix typescript [typedefs](https://togithub.com/brianc/node-postgres/pull/2490) with `--isolatedModules`.
##### pg-query-stream@4.0.0
- Library has been [converted](https://togithub.com/brianc/node-postgres/pull/2376) to Typescript. The behavior is identical, but there could be subtle breaking changes due to class names changing or other small inconsistencies introduced by the conversion.
##### pg@8.5.0
- Fix bug forwarding [ssl key](https://togithub.com/brianc/node-postgres/pull/2394).
- Convert pg-query-stream internals to [typescript](https://togithub.com/brianc/node-postgres/pull/2376).
- Performance [improvements](https://togithub.com/brianc/node-postgres/pull/2286).
##### pg@8.4.0
- Switch to optional peer dependencies & remove [semver](https://togithub.com/brianc/node-postgres/commit/a02dfac5ad2e2abf0dc3a9817f953938acdc19b1) package which has been a small thorn in the side of a few users.
- Export `DatabaseError` from [pg-protocol](https://togithub.com/brianc/node-postgres/commit/58258430d52ee446721cc3e6611e26f8bcaa67f5).
- Add support for `sslmode` in the [connection string](https://togithub.com/brianc/node-postgres/commit/6be3b9022f83efc721596cc41165afaa07bfceb0).
##### pg@8.3.0
- Support passing a [string of command line options flags](https://togithub.com/brianc/node-postgres/pull/2216) via the `{ options: string }` field on client/pool config.
##### pg@8.2.0
- Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster. This is the first work to land in an on-going performance improvment initiative I'm working on. Stay tuned as things are set to get much faster still! :rocket:
##### pg-cursor@2.2.0
- Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster.
##### pg-query-stream@3.1.0
- Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster.
##### pg@8.1.0
- Switch to using [monorepo](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-connection-string) version of `pg-connection-string`. This includes better support for SSL argument parsing from connection strings and ensures continuity of support.
- Add `&ssl=no-verify` option to connection string and `PGSSLMODE=no-verify` environment variable support for the pure JS driver. This is equivalent of passing `{ ssl: { rejectUnauthorized: false } }` to the client/pool constructor. The advantage of having support in connection strings and environment variables is it can be "externally" configured via environment variables and CLI arguments much more easily, and should remove the need to directly edit any application code for [the SSL default changes in 8.0](https://node-postgres.com/announcements#2020-02-25). This should make using `pg@8.x` significantly less difficult on environments like Heroku for example.
##### pg-pool@3.2.0
- Same changes to `pg` impact `pg-pool` as they both use the same connection parameter and connection string parsing code for configuring SSL.
##### pg-pool@3.1.0
- Add [maxUses](https://togithub.com/brianc/node-postgres/pull/2157) config option.
##### pg@8.0.0
##### note: for detailed release notes please [check here](https://node-postgres.com/announcements#2020-02-25)
- Remove versions of node older than `6 lts` from the test matrix. `pg>=8.0` may still work on older versions but it is no longer officially supported.
- Change default behavior when not specifying `rejectUnauthorized` with the SSL connection parameters. Previously we defaulted to `rejectUnauthorized: false` when it was not specifically included. We now default to `rejectUnauthorized: true.` Manually specify `{ ssl: { rejectUnauthorized: false } }` for old behavior.
- Change [default database](https://togithub.com/brianc/node-postgres/pull/1679) when not specified to use the `user` config option if available. Previously `process.env.USER` was used.
- Change `pg.Pool` and `pg.Query` to [be](https://togithub.com/brianc/node-postgres/pull/2126) an [es6 class](https://togithub.com/brianc/node-postgres/pull/2063).
- Make `pg.native` non enumerable.
- `notice` messages are [no longer instances](https://togithub.com/brianc/node-postgres/pull/2090) of `Error`.
- Passwords no longer [show up](https://togithub.com/brianc/node-postgres/pull/2070) when instances of clients or pools are logged.
##### pg@7.18.0
- This will likely be the last minor release before pg@8.0.
- This version contains a few bug fixes and adds a deprecation warning for [a pending change in 8.0](https://togithub.com/brianc/node-postgres/issues/2009#issuecomment-579371651) which will flip the default behavior over SSL from `rejectUnauthorized` from `false` to `true` making things more secure in the general use case.
##### pg-query-stream@3.0.0
- [Rewrote stream internals](https://togithub.com/brianc/node-postgres/pull/2051) to better conform to node stream semantics. This should make pg-query-stream much better at respecting [highWaterMark](https://nodejs.org/api/stream.html#stream_new_stream_readable_options) and getting rid of some edge case bugs when using pg-query-stream as an async iterator. Due to the size and nature of this change (effectively a full re-write) it's safest to bump the semver major here, though almost all tests remain untouched and still passing, which brings us to a breaking change to the API....
- Changed `stream.close` to `stream.destroy` which is the [official](https://nodejs.org/api/stream.html#stream_readable_destroy_error) way to terminate a readable stream. This is a **breaking change** if you rely on the `stream.close` method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave).
- Unified the `config.batchSize` and `config.highWaterMark` to both do the same thing: control how many rows are buffered in memory. The `ReadableStream` will manage exactly how many rows are requested from the cursor at a time. This should give better out of the box performance and help with efficient async iteration.
##### pg@7.17.0
- Add support for `idle_in_transaction_session_timeout` [option](https://togithub.com/brianc/node-postgres/pull/2049).
##### 7.16.0
- Add optional, opt-in behavior to test new, [faster query pipeline](https://togithub.com/brianc/node-postgres/pull/2044). This is experimental, and not documented yet. The pipeline changes will grow significantly after the 8.0 release.
##### 7.15.0
- Change repository structure to support lerna & future monorepo [development](https://togithub.com/brianc/node-postgres/pull/2014).
- [Warn about deprecation](https://togithub.com/brianc/node-postgres/pull/2021) for calling constructors without `new`.
##### 7.14.0
- Reverts 7.13.0 as it contained [an accidental breaking change](https://togithub.com/brianc/node-postgres/pull/2010) for self-signed SSL cert verification. 7.14.0 is identical to 7.12.1.
##### 7.13.0
- Add support for [all tls.connect()](https://togithub.com/brianc/node-postgres/pull/1996) options.
##### 7.12.0
- Add support for [async password lookup](https://togithub.com/brianc/node-postgres/pull/1926).
##### 7.11.0
- Add support for [connection_timeout](https://togithub.com/brianc/node-postgres/pull/1847/files#diff-5391bde944956870128be1136e7bc176R63) and [keepalives_idle](https://togithub.com/brianc/node-postgres/pull/1847).
##### 7.10.0
- Add support for [per-query types](https://togithub.com/brianc/node-postgres/pull/1825).
##### 7.9.0
- Add support for [sasl/scram authentication](https://togithub.com/brianc/node-postgres/pull/1835).
##### 7.8.0
- Add support for passing [secureOptions](https://togithub.com/brianc/node-postgres/pull/1804) SSL config.
- Upgrade [pg-types](https://togithub.com/brianc/node-postgres/pull/1806) to 2.0.
##### 7.7.0
- Add support for configurable [query timeout](https://togithub.com/brianc/node-postgres/pull/1760) on a client level.
##### 7.6.0
- Add support for ["bring your own promise"](https://togithub.com/brianc/node-postgres/pull/1518)
##### 7.5.0
- Better [error message](https://togithub.com/brianc/node-postgres/commit/11a4793452d618c53e019416cc886ad38deb1aa7) when passing `null` or `undefined` to `client.query`.
- Better [error handling](https://togithub.com/brianc/node-postgres/pull/1503) on queued queries.
##### 7.4.0
- Add support for [Uint8Array](https://togithub.com/brianc/node-postgres/pull/1448) values.
##### 7.3.0
- Add support for [statement timeout](https://togithub.com/brianc/node-postgres/pull/1436).
##### 7.2.0
- Pinned pg-pool and pg-types to a tighter semver range. This is likely not a noticeable change for you unless you were specifically installing older versions of those libraries for some reason, but making it a minor bump here just in case it could cause any confusion.
##### 7.1.0
##### Enhancements
- [You can now supply both a connection string and additional config options to clients.](https://togithub.com/brianc/node-postgres/pull/1363)
##### 7.0.0
##### Breaking Changes
- Drop support for node < `4.x`.
- Remove `pg.connect` `pg.end` and `pg.cancel` singleton methods.
- `Client#connect(callback)` now returns `undefined`. It used to return an event emitter.
- Upgrade [pg-pool](https://togithub.com/brianc/node-pg-pool) to `2.x`.
- Upgrade [pg-native](https://togithub.com/brianc/node-pg-native) to `2.x`.
- Standardize error message fields between JS and native driver. The only breaking changes were in the native driver as its field names were brought into alignment with the existing JS driver field names.
- Result from multi-statement text queries such as `SELECT 1; SELECT 2;` are now returned as an array of results instead of a single result with 1 array containing rows from both queries.
[Please see here for a migration guide](https://node-postgres.com/guides/upgrading)
##### Enhancements
- Overhauled documentation: .
- Add `Client#connect() => Promise` and `Client#end() => Promise` calls. Promises are now returned from all async methods on clients *if and only if* no callback was supplied to the method.
- Add `connectionTimeoutMillis` to pg-pool.
##### v6.2.0
- Add support for [parsing `replicationStart` messages](https://togithub.com/brianc/node-postgres/pull/1271/files).
##### v6.1.0
- Add optional callback parameter to the pure JavaScript `client.end` method. The native client already supported this.
##### v6.0.0
##### Breaking Changes
- Remove `pg.pools`. There is still a reference kept to the pools created & tracked by `pg.connect` but it has been renamed, is considered private, and should not be used. Accessing this API directly was uncommon and was *supposed* to be private but was incorrectly documented on the wiki. Therefore, it is a breaking change of an (unintentionally) public interface to remove it by renaming it & making it private. Eventually `pg.connect` itself will be deprecated in favor of instantiating pools directly via `new pg.Pool()` so this property should become completely moot at some point. In the mean time...check out the new features...
##### New features
- Replace internal pooling code with [pg-pool](https://togithub.com/brianc/node-pg-pool). This is the first step in eventually deprecating and removing the singleton `pg.connect`. The pg-pool constructor is exported from node-postgres at `require('pg').Pool`. It provides a backwards compatible interface with `pg.connect` as well as a promise based interface & additional niceties.
You can now create an instance of a pool and don't have to rely on the `pg` singleton for anything:
var pg = require('pg')
var pool = new pg.Pool()
// your friendly neighborhood pool interface, without the singleton
pool.connect(function(err, client, done) {
// ...
})
Promise support & other goodness lives now in [pg-pool](https://togithub.com/brianc/node-pg-pool).
**Please** read the readme at [pg-pool](https://togithub.com/brianc/node-pg-pool) for the full api.
- Included support for tcp keep alive. Enable it as follows:
```js
var client = new Client({ keepAlive: true })
```
This should help with backends incorrectly considering idle clients to be dead and prematurely disconnecting them.
##### v5.1.0
- Make the query object returned from `client.query` implement the promise interface. This is the first step towards promisifying more of the node-postgres api.
Example:
```js
var client = new Client()
client.connect()
client.query('SELECT $1::text as name', ['brianc']).then(function (res) {
console.log('hello from', res.rows[0])
client.end()
})
```
##### v5.0.0
##### Breaking Changes
- `require('pg').native` now returns null if the native bindings cannot be found; previously, this threw an exception.
##### New Features
- better error message when passing `undefined` as a query parameter
- support for `defaults.connectionString`
- support for `returnToHead` being passed to [generic pool](https://togithub.com/coopernurse/node-pool)
##### v4.5.0
- Add option to parse JS date objects in query parameters as [UTC](https://togithub.com/brianc/node-postgres/pull/943)
##### v4.4.0
- Warn to `stderr` if a named query exceeds 63 characters which is the max length supported by postgres.
##### v4.3.0
- Unpin `pg-types` semver. Allow it to float against `pg-types@1.x`.
##### v4.2.0
- Support for additional error fields in postgres >= 9.3 if available.
##### v4.1.0
- Allow type parser overrides on a [per-client basis](https://togithub.com/brianc/node-postgres/pull/679)
##### v4.0.0
- Make [native bindings](https://togithub.com/brianc/node-pg-native.git) an optional install with `npm install pg-native`
- No longer surround query result callback with `try/catch` block.
- Remove built in COPY IN / COPY OUT support - better implementations provided by [pg-copy-streams](https://togithub.com/brianc/node-pg-copy-streams.git) and [pg-native](https://togithub.com/brianc/node-pg-native.git)
##### v3.6.0
- Include support for (parsing JSONB)\[https://github.com/brianc/node-pg-types/pull/13](https://togithub.com/brianc/node-pg-types/pull/13)3] (supported in postgres 9.4)
##### v3.5.0
- Include support for parsing boolean arrays
##### v3.4.0
- Include port as connection parameter to [unix sockets](https://togithub.com/brianc/node-postgres/pull/604)
- Better support for odd [date parsing](https://togithub.com/brianc/node-pg-types/pull/8)
##### v3.2.0
- Add support for parsing [date arrays](https://togithub.com/brianc/node-pg-types/pull/3)
- Expose array parsers on [pg.types](https://togithub.com/brianc/node-pg-types/pull/2)
- Allow [pool](https://togithub.com/brianc/node-postgres/pull/591) to be configured
##### v3.1.0
- Add [count of the number of times a client has been checked out from the pool](https://togithub.com/brianc/node-postgres/pull/556)
- Emit `end` from `pg` object [when a pool is drained](https://togithub.com/brianc/node-postgres/pull/571)
##### v3.0.0
##### Breaking changes
- [Parse the DATE PostgreSQL type as local time](https://togithub.com/brianc/node-postgres/pull/514)
After [some discussion](https://togithub.com/brianc/node-postgres/issues/510) it was decided node-postgres was non-compliant in how it was handling DATE results. They were being converted to UTC, but the PostgreSQL documentation specifies they should be returned in the client timezone. This is a breaking change, and if you use the `date` type you might want to examine your code and make sure nothing is impacted.
- [Fix possible numeric precision loss on numeric & int8 arrays](https://togithub.com/brianc/node-postgres/pull/501)
pg@v2.0 included changes to not convert large integers into their JavaScript number representation because of possibility for numeric precision loss. The same types in arrays were not taken into account. This fix applies the same type of type-coercion rules to arrays of those types, so there will be no more possible numeric loss on an array of very large int8s for example. This is a breaking change because now a return type from a query of `int8[]` will contain *string* representations
of the integers. Use your favorite JavaScript bignum module to represent them without precision loss, or punch over the type converter to return the old style arrays again.
- [Fix to input array of dates being improperly converted to utc](https://togithub.com/benesch/node-postgres/commit/c41eedc3e01e5527a3d5c242fa1896f02ef0b261#diff-7172adb1fec2457a2700ed29008a8e0aR108)
Single `date` parameters were properly sent to the PostgreSQL server properly in local time, but an input array of dates was being changed into utc dates. This is a violation of what PostgreSQL expects. Small breaking change, but none-the-less something you should check out if you are inserting an array of dates.
- [Query no longer emits `end` event if it ends due to an error](https://togithub.com/brianc/node-postgres/commit/357b64d70431ec5ca721eb45a63b082c18e6ffa3)
This is a small change to bring the semantics of query more in line with other EventEmitters. The tests all passed after this change, but I suppose it could still be a breaking change in certain use cases. If you are doing clever things with the `end` and `error` events of a query object you might want to check to make sure its still behaving normally, though it is most likely not an issue.
##### New features
- [Supercharge `prepareValue`](https://togithub.com/brianc/node-postgres/pull/555)
The long & short of it is now any object you supply in the list of query values will be inspected for a `.toPostgres` method. If the method is present it will be called and its result used as the raw text value sent to PostgreSQL for that value. This allows the same type of custom type coercion on query parameters as was previously afforded to query result values.
- [Domain aware connection pool](https://togithub.com/brianc/node-postgres/pull/531)
If domains are active node-postgres will honor them and do everything it can to ensure all callbacks are properly fired in the active domain. If you have tried to use domains with node-postgres (or many other modules which pool long lived event emitters) you may have run into an issue where the active domain changes before and after a callback. This has been a longstanding footgun within node-postgres and I am happy to get it fixed.
- [Disconnected clients now removed from pool](https://togithub.com/brianc/node-postgres/pull/543)
Avoids a scenario where your pool could fill up with disconnected & unusable clients.
- [Break type parsing code into separate module](https://togithub.com/brianc/node-postgres/pull/541)
To provide better documentation and a clearer explanation of how to override the query result parsing system we broke the type converters [into their own module](https://togithub.com/brianc/node-pg-types). There is still work around removing the 'global-ness' of the type converters so each query or connection can return types differently, but this is a good first step and allow a lot more obvious way to return int8 results as JavaScript numbers, for example
##### v2.11.0
- Add support for [application_name](https://togithub.com/brianc/node-postgres/pull/497)
##### v2.10.0
- Add support for [the password file](http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html)
##### v2.9.0
- Add better support for [unix domain socket](https://togithub.com/brianc/node-postgres/pull/487) connections
##### v2.8.0
- Add support for parsing JSON\[] and UUID\[] result types
##### v2.7.0
- Use single row mode in native bindings when available \[[@rpedela](https://togithub.com/rpedela)]
- reduces memory consumption when handling row values in 'row' event
- Automatically bind buffer type parameters as binary \[[@eugeneware](https://togithub.com/eugeneware)]
##### v2.6.0
- Respect PGSSLMODE environment variable
##### v2.5.0
- Ability to opt-in to int8 parsing via `pg.defaults.parseInt8 = true`
##### v2.4.0
- Use eval in the result set parser to increase performance
##### v2.3.0
- Remove built-in support for binary Int64 parsing.
*Due to the low usage & required compiled dependency this will be pushed into a 3rd party add-on*
##### v2.2.0
- [Add support for excapeLiteral and escapeIdentifier in both JavaScript and the native bindings](https://togithub.com/brianc/node-postgres/pull/396)
##### v2.1.0
- Add support for SSL connections in JavaScript driver
- this means you can connect to heroku postgres from your local machine without the native bindings!
- [Add field metadata to result object](https://togithub.com/brianc/node-postgres/blob/master/test/integration/client/row-description-on-results-tests.js)
- [Add ability for rows to be returned as arrays instead of objects](https://togithub.com/brianc/node-postgres/blob/master/test/integration/client/results-as-array-tests.js)
##### v2.0.0
- Properly handle various PostgreSQL to JavaScript type conversions to avoid data loss:
PostgreSQL | pg@v2.0 JavaScript | pg@v1.0 JavaScript
--------------------------------|----------------
float4 | number (float) | string
float8 | number (float) | string
int8 | string | number (int)
numeric | string | number (float)
decimal | string | number (float)
For more information see [https://github.com/brianc/node-postgres/pull/353](https://togithub.com/brianc/node-postgres/pull/353)
If you are unhappy with these changes you can always [override the built in type parsing fairly easily](https://togithub.com/brianc/node-pg-parse-float).
##### v1.3.0
- Make client_encoding configurable and optional
##### v1.2.0
- return field metadata on result object: access via result.fields\[i].name/dataTypeID
##### v1.1.0
- built in support for `JSON` data type for PostgreSQL Server @ v9.2.0 or greater
##### v1.0.0
- remove deprecated functionality
- Callback function passed to `pg.connect` now **requires** 3 arguments
- Client#pauseDrain() / Client#resumeDrain removed
- numeric, decimal, and float data types no longer parsed into float before being returned. Will be returned from query results as `String`
##### v0.15.0
- client now emits `end` when disconnected from back-end server
- if client is disconnected in the middle of a query, query receives an error
##### v0.14.0
- add deprecation warnings in prep for v1.0
- fix read/write failures in native module under node v0.9.x
prettier/prettier
### [`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#283)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3)
[diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3)
##### Allow self-closing tags on custom elements ([#14170](https://togithub.com/prettier/prettier/pull/14170) by [@fisker](https://togithub.com/fisker))
See [Angular v15.1.0 release note](https://togithub.com/angular/angular/releases/tag/15.1.0) for details.
```html
// Input
// Prettier 2.8.2
SyntaxError: Only void and foreign elements can be self closed "app-test" (1:1)
> 1 |
| ^^^^^^^^^
2 |
// Prettier 2.8.3
```
### [`v2.8.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#282)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)
[diff](https://togithub.com/prettier/prettier/compare/2.8.1...2.8.2)
##### Don't lowercase link references ([#13155](https://togithub.com/prettier/prettier/pull/13155) by [@DerekNonGeneric](https://togithub.com/DerekNonGeneric) & [@fisker](https://togithub.com/fisker))
```markdown
We now don't strictly follow the release notes format suggested by [Keep a Changelog].
[Keep a Changelog]: https://example.com/
We now don't strictly follow the release notes format suggested by [Keep a Changelog].
[keep a changelog]: https://example.com/
```
##### Preserve self-closing tags ([#13691](https://togithub.com/prettier/prettier/pull/13691) by [@dcyriller](https://togithub.com/dcyriller))
```hbs
{{! Input }}
{{! Prettier 2.8.1 }}
{{! Prettier 2.8.2 }}
```
##### Allow custom "else if"-like blocks with block params ([#13930](https://togithub.com/prettier/prettier/pull/13930) by [@jamescdavis](https://togithub.com/jamescdavis))
[#13507](https://togithub.com/prettier/prettier/issues/13507) added support for custom block keywords used with `else`, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.
```hbs
{{! Input }}
{{#when isAtWork as |work|}}
Ship that
{{work}}!
{{else when isReading as |book|}}
You can finish
{{book}}
eventually...
{{else}}
Go to bed!
{{/when}}
{{! Prettier 2.8.1 }}
{{#when isAtWork as |work|}}
Ship that
{{work}}!
{{else when isReading}}
You can finish
{{book}}
eventually...
{{else}}
Go to bed!
{{/when}}
{{! Prettier 2.8.2 }}
{{#when isAtWork as |work|}}
Ship that
{{work}}!
{{else when isReading as |book|}}
You can finish
{{book}}
eventually...
{{else}}
Go to bed!
{{/when}}
```
##### Preserve empty lines between nested SCSS maps ([#13931](https://togithub.com/prettier/prettier/pull/13931) by [@jneander](https://togithub.com/jneander))
```scss
/* Input */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)
/* Prettier 2.8.1 */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)
/* Prettier 2.8.2 */
$map: (
'one': (
'key': 'value',
),
'two': (
'key': 'value',
),
)
```
##### Fix missing parentheses when an expression statement starts with `let[` ([#14000](https://togithub.com/prettier/prettier/pull/14000), [#14044](https://togithub.com/prettier/prettier/pull/14044) by [@fisker](https://togithub.com/fisker), [@thorn0](https://togithub.com/thorn0))
```jsx
// Input
(let[0] = 2);
// Prettier 2.8.1
let[0] = 2;
// Prettier 2.8.1 (second format)
SyntaxError: Unexpected token (1:5)
> 1 | let[0] = 2;
| ^
2 |
// Prettier 2.8.2
(let)[0] = 2;
```
##### Fix semicolon duplicated at the end of LESS file ([#14007](https://togithub.com/prettier/prettier/pull/14007) by [@mvorisek](https://togithub.com/mvorisek))
```less
// Input
@variable: {
field: something;
};
// Prettier 2.8.1
@variable: {
field: something;
}; ;
// Prettier 2.8.2
@variable: {
field: something;
};
```
##### Fix no space after unary minus when followed by opening parenthesis in LESS ([#14008](https://togithub.com/prettier/prettier/pull/14008) by [@mvorisek](https://togithub.com/mvorisek))
```less
// Input
.unary_minus_single {
margin: -(@a);
}
.unary_minus_multi {
margin: 0 -(@a);
}
.binary_minus {
margin: 0 - (@a);
}
// Prettier 2.8.1
.unary_minus_single {
margin: - (@a);
}
.unary_minus_multi {
margin: 0 - (@a);
}
.binary_minus {
margin: 0 - (@a);
}
// Prettier 2.8.2
.unary_minus_single {
margin: -(@a);
}
.unary_minus_multi {
margin: 0 -(@a);
}
.binary_minus {
margin: 0 - (@a);
}
```
##### Do not change case of property name if inside a variable declaration in LESS ([#14034](https://togithub.com/prettier/prettier/pull/14034) by [@mvorisek](https://togithub.com/mvorisek))
```less
// Input
@var: {
preserveCase: 0;
};
// Prettier 2.8.1
@var: {
preservecase: 0;
};
// Prettier 2.8.2
@var: {
preserveCase: 0;
};
```
##### Fix formatting for auto-accessors with comments ([#14038](https://togithub.com/prettier/prettier/pull/14038) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
class A {
@dec()
// comment
accessor b;
}
// Prettier 2.8.1
class A {
@dec()
accessor // comment
b;
}
// Prettier 2.8.1 (second format)
class A {
@dec()
accessor; // comment
b;
}
// Prettier 2.8.2
class A {
@dec()
// comment
accessor b;
}
```
##### Add parentheses for TSTypeQuery to improve readability ([#14042](https://togithub.com/prettier/prettier/pull/14042) by [@onishi-kohei](https://togithub.com/onishi-kohei))
```tsx
// Input
a as (typeof node.children)[number]
a as (typeof node.children)[]
a as ((typeof node.children)[number])[]
// Prettier 2.8.1
a as typeof node.children[number];
a as typeof node.children[];
a as typeof node.children[number][];
// Prettier 2.8.2
a as (typeof node.children)[number];
a as (typeof node.children)[];
a as (typeof node.children)[number][];
```
##### Fix displacing of comments in default switch case ([#14047](https://togithub.com/prettier/prettier/pull/14047) by [@thorn0](https://togithub.com/thorn0))
It was a regression in Prettier 2.6.0.
```jsx
// Input
switch (state) {
default:
result = state; // no change
break;
}
// Prettier 2.8.1
switch (state) {
default: // no change
result = state;
break;
}
// Prettier 2.8.2
switch (state) {
default:
result = state; // no change
break;
}
```
##### Support type annotations on auto accessors via `babel-ts` ([#14049](https://togithub.com/prettier/prettier/pull/14049) by [@sosukesuzuki](https://togithub.com/sosukesuzuki))
[The bug that `@babel/parser` cannot parse auto accessors with type annotations](https://togithub.com/babel/babel/issues/15205) has been fixed. So we now support it via `babel-ts` parser.
```tsx
class Foo {
accessor prop: number;
}
```
##### Fix formatting of empty type parameters ([#14073](https://togithub.com/prettier/prettier/pull/14073) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
const foo: bar* comment */> = () => baz;
// Prettier 2.8.1
Error: Comment "comment" was not printed. Please report this error!
// Prettier 2.8.2
const foo: bar* comment */> = () => baz;
```
##### Add parentheses to head of `ExpressionStatement` instead of the whole statement ([#14077](https://togithub.com/prettier/prettier/pull/14077) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
({}).toString.call(foo) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo);
// Prettier 2.8.1
({}.toString.call(foo) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo));
// Prettier 2.8.2
({}).toString.call(foo.forEach) === "[object Array]"
? foo.forEach(iterateArray)
: iterateObject(foo);
```
##### Fix comments after directive ([#14081](https://togithub.com/prettier/prettier/pull/14081) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
"use strict" /* comment */;
// Prettier 2.8.1 (with other js parsers except `babel`)
Error: Comment "comment" was not printed. Please report this error!
// Prettier 2.8.2
```
##### Fix formatting for comments inside JSX attribute ([#14082](https://togithub.com/prettier/prettier/pull/14082) with by [@fisker](https://togithub.com/fisker))
```jsx
// Input
function MyFunctionComponent() {
}
// Prettier 2.8.1
Error: Comment "old" was not printed. Please report this error!
// Prettier 2.8.2
function MyFunctionComponent() {
;
}
```
##### Quote numeric keys for json-stringify parser ([#14083](https://togithub.com/prettier/prettier/pull/14083) by [@fisker](https://togithub.com/fisker))
```jsx
// Input
{0: 'value'}
// Prettier 2.8.1
{
0: "value"
}
// Prettier 2.8.2
{
"0": "value"
}
```
##### Fix removing commas from function arguments in maps ([#14089](https://togithub.com/prettier/prettier/pull/14089) by [@sosukesuzuki](https://togithub.com/sosukesuzuki))
```scss
/* Input */
$foo: map-fn(
(
"#{prop}": inner-fn($first, $second),
)
);
/* Prettier 2.8.1 */
$foo: map-fn(("#{prop}": inner-fn($first $second)));
/* Prettier 2.8.2 */
$foo: map-fn(
(
"#{prop}": inner-fn($first, $second),
)
);
```
##### Do not insert space in LESS property access ([#14103](https://togithub.com/prettier/prettier/pull/14103) by [@fisker](https://togithub.com/fisker))
```less
// Input
a {
color: @colors[@white];
}
// Prettier 2.8.1
a {
color: @colors[ @white];
}
// Prettier 2.8.2
```
### [`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#281)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)
[diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1)
##### Fix SCSS map in arguments ([#9184](https://togithub.com/prettier/prettier/pull/9184) by [@agamkrbit](https://togithub.com/agamkrbit))
```scss
// Input
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
// Prettier 2.8.0
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm
")-1})",
),
$display-breakpoints
);
// Prettier 2.8.1
$display-breakpoints: map-deep-merge(
(
"print-only": "only print",
"screen-only": "only screen",
"xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
),
$display-breakpoints
);
```
##### Support auto accessors syntax ([#13919](https://togithub.com/prettier/prettier/pull/13919) by [@sosukesuzuki](https://togithub.com/sosukesuzuki))
Support for [Auto Accessors Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes) landed in TypeScript 4.9.
(Doesn't work well with `babel-ts` parser)
```tsx
class Foo {
accessor foo: number = 3;
}
```
### [`v2.8.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#280)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)
[diff](https://togithub.com/prettier/prettier/compare/2.7.1...2.8.0)
🔗 [Release Notes](https://prettier.io/blog/2022/11/23/2.8.0.html)
### [`v2.7.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#271)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.7.0...2.7.1)
[diff](https://togithub.com/prettier/prettier/compare/2.7.0...2.7.1)
##### Keep useful empty lines in description ([#13013](https://togithub.com/prettier/prettier/pull/13013) by [@chimurai](https://togithub.com/chimurai))
```graphql
```
### [`v2.7.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#Prettier-270)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.6.2...2.7.0)
"""
First line
Second Line
"""
type Person {
name: String
}
facebook/react
### [`v18.2.0`](https://togithub.com/facebook/react/blob/HEAD/CHANGELOG.md#1820-June-14-2022)
[Compare Source](https://togithub.com/facebook/react/compare/v18.1.0...v18.2.0)
##### React DOM
- Provide a component stack as a second argument to `onRecoverableError`. ([@gnoff](https://togithub.com/gnoff) in [#24591](https://togithub.com/facebook/react/pull/24591))
- Fix hydrating into `document` causing a blank page on mismatch. ([@gnoff](https://togithub.com/gnoff) in [#24523](https://togithub.com/facebook/react/pull/24523))
- Fix false positive hydration errors with Suspense. ([@gnoff](https://togithub.com/gnoff) in [#24480](https://togithub.com/facebook/react/pull/24480) and [@acdlite](https://togithub.com/acdlite) in [#24532](https://togithub.com/facebook/react/pull/24532))
- Fix ignored `setState` in Safari when adding an iframe. ([@gaearon](https://togithub.com/gaearon) in [#24459](https://togithub.com/facebook/react/pull/24459))
##### React DOM Server
- Pass information about server errors to the client. ([@salazarm](https://togithub.com/salazarm) and [@gnoff](https://togithub.com/gnoff) in [#24551](https://togithub.com/facebook/react/pull/24551) and [#24591](https://togithub.com/facebook/react/pull/24591))
- Allow to provide a reason when aborting the HTML stream. ([@gnoff](https://togithub.com/gnoff) in [#24680](https://togithub.com/facebook/react/pull/24680))
- Eliminate extraneous text separators in the HTML where possible. ([@gnoff](https://togithub.com/gnoff) in [#24630](https://togithub.com/facebook/react/pull/24630))
- Disallow complex children inside `` elements to match the browser constraints. ([@gnoff](https://togithub.com/gnoff) in [#24679](https://togithub.com/facebook/react/pull/24679))
- Fix buffering in some worker environments by explicitly setting `highWaterMark` to `0`. ([@jplhomer](https://togithub.com/jplhomer) in [#24641](https://togithub.com/facebook/react/pull/24641))
##### Server Components (Experimental)
- Add support for `useId()` inside Server Components. ([@gnoff](https://togithub.com/gnoff) in [#24172](https://togithub.com/facebook/react/pull/24172))
TypeStrong/ts-node
### [`v10.9.1`](https://togithub.com/TypeStrong/ts-node/releases/tag/v10.9.1)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v10.9.0...v10.9.1)
**Fixed**
- Workaround nodejs bug introduced in 18.6.0 ([#1838](https://togithub.com/TypeStrong/ts-node/issues/1838)) [@cspotcode](https://togithub.com/cspotcode)
- Only affects projects on node >=18.6.0 using `--esm`
- Older versions of node and projects without `--esm` are unaffected
https://github.com/TypeStrong/ts-node/milestone/18?closed=1
### [`v10.9.0`](https://togithub.com/TypeStrong/ts-node/releases/tag/v10.9.0)
[Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v10.8.2...v10.9.0)
**Added**
- `--project` accepts path to a directory containing a `tsconfig.json` ([#1829](https://togithub.com/TypeStrong/ts-node/issues/1829), [#1830](https://togithub.com/TypeStrong/ts-node/issues/1830)) [@cspotcode](https://togithub.com/cspotcode)
- previously it required an explicit filename
- Added helpful error message when swc version is too old to support our configuration ([#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode)
- Added `experimentalTsImportSpecifiers` option which allows using voluntary `.ts` file extensions in import specifiers (undocumented except for [API docs](https://typestrong.org/ts-node/api/interfaces/CreateOptions.html#experimentalTsImportSpecifiers)) ([#1815](https://togithub.com/TypeStrong/ts-node/issues/1815)) [@cspotcode](https://togithub.com/cspotcode)
**Fixed**
- Fixed bug where `child_process.fork()` would erroneously execute the parent's entrypoint script, not the intended child script ([#1812](https://togithub.com/TypeStrong/ts-node/issues/1812), [#1814](https://togithub.com/TypeStrong/ts-node/issues/1814)) [@devversion](https://togithub.com/devversion)
- Fixed support for jsx modes `"react-jsx"` and `"react-jsxdev"` in swc transpiler ([#1800](https://togithub.com/TypeStrong/ts-node/issues/1800), [#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode)
- Fixed support for import assertions in swc transpiler ([#1817](https://togithub.com/TypeStrong/ts-node/issues/1817), [#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode)
- Fixed bug where calling `repl.evalCode()` with code not ending in a newline would not update the typechecker accordingly ([#1764](https://togithub.com/TypeStrong/ts-node/issues/1764), [#1824](https://togithub.com/TypeStrong/ts-node/issues/1824)) [@cspotcode](https://togithub.com/cspotcode)
https://github.com/TypeStrong/ts-node/milestone/16?closed=1
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[x] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
29.2.6
->29.4.0
29.3.1
->29.4.1
8.7.3
->8.9.0
2.6.2
->2.8.3
18.1.0
->18.2.0
18.1.0
->18.2.0
10.8.2
->10.9.1
Release Notes
facebook/jest
### [`v29.4.1`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2941) [Compare Source](https://togithub.com/facebook/jest/compare/v29.4.0...v29.4.1) ##### Features - `[expect, jest-circus, @jest/types]` Implement `numPassingAsserts` of testResults to track the number of passing asserts in a test ([#13795](https://togithub.com/facebook/jest/pull/13795)) - `[jest-core]` Add newlines to JSON output ([#13817](https://togithub.com/facebook/jest/pull/13817)) - `[@jest/reporters]` Automatic log folding in GitHub Actions Reporter ([#13626](https://togithub.com/facebook/jest/pull/13626)) ##### Fixes - `[@jest/expect-utils]` `toMatchObject` diffs should include `Symbol` properties ([#13810](https://togithub.com/facebook/jest/pull/13810)) - `[jest-runtime]` Handle missing `replaceProperty` ([#13823](https://togithub.com/facebook/jest/pull/13823)) - `[@jest/types]` Add partial support for `done` callbacks in typings of `each` ([#13756](https://togithub.com/facebook/jest/pull/13756)) ### [`v29.4.0`](https://togithub.com/facebook/jest/blob/HEAD/CHANGELOG.md#2940) [Compare Source](https://togithub.com/facebook/jest/compare/v29.3.1...v29.4.0) ##### Features - `[expect, @jest/expect-utils]` Support custom equality testers ([#13654](https://togithub.com/facebook/jest/pull/13654)) - `[jest-config, jest-worker]` Use `os.availableParallelism` if available to calculate number of workers to spawn ([#13738](https://togithub.com/facebook/jest/pull/13738)) - `[@jest/globals, jest-mock]` Add `jest.replaceProperty()` that replaces property value ([#13496](https://togithub.com/facebook/jest/pull/13496)) - `[jest-haste-map]` ignore Sapling vcs directories (`.sl/`) ([#13674](https://togithub.com/facebook/jest/pull/13674)) - `[jest-resolve]` Support subpath imports ([#13705](https://togithub.com/facebook/jest/pull/13705), [#13723](https://togithub.com/facebook/jest/pull/13723), [#13777](https://togithub.com/facebook/jest/pull/13777)) - `[jest-runtime]` Add `jest.isolateModulesAsync` for scoped module initialization of asynchronous functions ([#13680](https://togithub.com/facebook/jest/pull/13680)) - `[jest-runtime]` Add `jest.isEnvironmentTornDown` function ([#13741](https://togithub.com/facebook/jest/pull/13741)) - `[jest-test-result]` Added `skipped` and `focused` status to `FormattedTestResult` ([#13700](https://togithub.com/facebook/jest/pull/13700)) - `[jest-transform]` Support for asynchronous `createTransformer` ([#13762](https://togithub.com/facebook/jest/pull/13762)) ##### Fixes - `[jest-environment-node]` Fix non-configurable globals ([#13687](https://togithub.com/facebook/jest/pull/13687)) - `[@jest/expect-utils]` `toMatchObject` should handle `Symbol` properties ([#13639](https://togithub.com/facebook/jest/pull/13639)) - `[jest-mock]` Fix `mockReset` and `resetAllMocks` `undefined` return value([#13692](https://togithub.com/facebook/jest/pull/13692)) - `[jest-resolve]` Add global paths to `require.resolve.paths` ([#13633](https://togithub.com/facebook/jest/pull/13633)) - `[jest-resolve]` Correct node core module detection when using `node:` specifiers ([#13806](https://togithub.com/facebook/jest/pull/13806)) - `[jest-runtime]` Support WASM files that import JS resources ([#13608](https://togithub.com/facebook/jest/pull/13608)) - `[jest-runtime]` Use the `scriptTransformer` cache in `jest-runner` ([#13735](https://togithub.com/facebook/jest/pull/13735)) - `[jest-runtime]` Enforce import assertions when importing JSON in ESM ([#12755](https://togithub.com/facebook/jest/pull/12755) & [#13805](https://togithub.com/facebook/jest/pull/13805)) - `[jest-snapshot]` Make sure to import `babel` outside of the sandbox ([#13694](https://togithub.com/facebook/jest/pull/13694)) - `[jest-transform]` Ensure the correct configuration is passed to preprocessors specified multiple times in the `transform` option ([#13770](https://togithub.com/facebook/jest/pull/13770)) ##### Chore & Maintenance - `[@jest/fake-timers]` Update `@sinonjs/fake-timers` ([#13612](https://togithub.com/facebook/jest/pull/13612)) - `[docs]` Improve custom puppeteer example to prevent worker warnings ([#13619](https://togithub.com/facebook/jest/pull/13619))brianc/node-postgres
### [`v8.9.0`](https://togithub.com/brianc/node-postgres/blob/HEAD/CHANGELOG.md#pg890) [Compare Source](https://togithub.com/brianc/node-postgres/compare/pg@8.8.0...pg@8.9.0) - Add support for [stream factory](https://togithub.com/brianc/node-postgres/pull/2898). - [Better errors](https://togithub.com/brianc/node-postgres/pull/2901) for SASL authentication. - [Use native crypto module](https://togithub.com/brianc/node-postgres/pull/2815) for SASL authentication. ### [`v8.8.0`](https://togithub.com/brianc/node-postgres/blob/HEAD/CHANGELOG.md#pg880) [Compare Source](https://togithub.com/brianc/node-postgres/compare/pg@8.7.3...pg@8.8.0) - Bump minimum required version of [native bindings](https://togithub.com/brianc/node-postgres/pull/2787). - Catch previously uncatchable errors thrown in [`pool.query`](https://togithub.com/brianc/node-postgres/pull/2569). - Prevent the pool from blocking the event loop if all clients are [idle](https://togithub.com/brianc/node-postgres/pull/2721) (and `allowExitOnIdle` is enabled). - Support `lock_timeout` in [client config](https://togithub.com/brianc/node-postgres/pull/2779). - Fix errors thrown in callbacks from [interfering with cleanup](https://togithub.com/brianc/node-postgres/pull/2753). ##### pg-pool@3.5.0 - Add connection [lifetime limit](https://togithub.com/brianc/node-postgres/pull/2698) config option. ##### pg@8.7.0 - Add optional config to [pool](https://togithub.com/brianc/node-postgres/pull/2568) to allow process to exit if pool is idle. ##### pg-cursor@2.7.0 - Convert to [es6 class](https://togithub.com/brianc/node-postgres/pull/2553) - Add support for promises [to cursor methods](https://togithub.com/brianc/node-postgres/pull/2554) ##### pg@8.6.0 - Better [SASL](https://togithub.com/brianc/node-postgres/pull/2436) error messages & more validation on bad configuration. - Export [DatabaseError](https://togithub.com/brianc/node-postgres/pull/2445). - Add [ParameterDescription](https://togithub.com/brianc/node-postgres/pull/2464) support to protocol parsing. - Fix typescript [typedefs](https://togithub.com/brianc/node-postgres/pull/2490) with `--isolatedModules`. ##### pg-query-stream@4.0.0 - Library has been [converted](https://togithub.com/brianc/node-postgres/pull/2376) to Typescript. The behavior is identical, but there could be subtle breaking changes due to class names changing or other small inconsistencies introduced by the conversion. ##### pg@8.5.0 - Fix bug forwarding [ssl key](https://togithub.com/brianc/node-postgres/pull/2394). - Convert pg-query-stream internals to [typescript](https://togithub.com/brianc/node-postgres/pull/2376). - Performance [improvements](https://togithub.com/brianc/node-postgres/pull/2286). ##### pg@8.4.0 - Switch to optional peer dependencies & remove [semver](https://togithub.com/brianc/node-postgres/commit/a02dfac5ad2e2abf0dc3a9817f953938acdc19b1) package which has been a small thorn in the side of a few users. - Export `DatabaseError` from [pg-protocol](https://togithub.com/brianc/node-postgres/commit/58258430d52ee446721cc3e6611e26f8bcaa67f5). - Add support for `sslmode` in the [connection string](https://togithub.com/brianc/node-postgres/commit/6be3b9022f83efc721596cc41165afaa07bfceb0). ##### pg@8.3.0 - Support passing a [string of command line options flags](https://togithub.com/brianc/node-postgres/pull/2216) via the `{ options: string }` field on client/pool config. ##### pg@8.2.0 - Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster. This is the first work to land in an on-going performance improvment initiative I'm working on. Stay tuned as things are set to get much faster still! :rocket: ##### pg-cursor@2.2.0 - Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster. ##### pg-query-stream@3.1.0 - Switch internal protocol parser & serializer to [pg-protocol](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-protocol). The change is backwards compatible but results in a significant performance improvement across the board, with some queries as much as 50% faster. ##### pg@8.1.0 - Switch to using [monorepo](https://togithub.com/brianc/node-postgres/tree/master/packages/pg-connection-string) version of `pg-connection-string`. This includes better support for SSL argument parsing from connection strings and ensures continuity of support. - Add `&ssl=no-verify` option to connection string and `PGSSLMODE=no-verify` environment variable support for the pure JS driver. This is equivalent of passing `{ ssl: { rejectUnauthorized: false } }` to the client/pool constructor. The advantage of having support in connection strings and environment variables is it can be "externally" configured via environment variables and CLI arguments much more easily, and should remove the need to directly edit any application code for [the SSL default changes in 8.0](https://node-postgres.com/announcements#2020-02-25). This should make using `pg@8.x` significantly less difficult on environments like Heroku for example. ##### pg-pool@3.2.0 - Same changes to `pg` impact `pg-pool` as they both use the same connection parameter and connection string parsing code for configuring SSL. ##### pg-pool@3.1.0 - Add [maxUses](https://togithub.com/brianc/node-postgres/pull/2157) config option. ##### pg@8.0.0 ##### note: for detailed release notes please [check here](https://node-postgres.com/announcements#2020-02-25) - Remove versions of node older than `6 lts` from the test matrix. `pg>=8.0` may still work on older versions but it is no longer officially supported. - Change default behavior when not specifying `rejectUnauthorized` with the SSL connection parameters. Previously we defaulted to `rejectUnauthorized: false` when it was not specifically included. We now default to `rejectUnauthorized: true.` Manually specify `{ ssl: { rejectUnauthorized: false } }` for old behavior. - Change [default database](https://togithub.com/brianc/node-postgres/pull/1679) when not specified to use the `user` config option if available. Previously `process.env.USER` was used. - Change `pg.Pool` and `pg.Query` to [be](https://togithub.com/brianc/node-postgres/pull/2126) an [es6 class](https://togithub.com/brianc/node-postgres/pull/2063). - Make `pg.native` non enumerable. - `notice` messages are [no longer instances](https://togithub.com/brianc/node-postgres/pull/2090) of `Error`. - Passwords no longer [show up](https://togithub.com/brianc/node-postgres/pull/2070) when instances of clients or pools are logged. ##### pg@7.18.0 - This will likely be the last minor release before pg@8.0. - This version contains a few bug fixes and adds a deprecation warning for [a pending change in 8.0](https://togithub.com/brianc/node-postgres/issues/2009#issuecomment-579371651) which will flip the default behavior over SSL from `rejectUnauthorized` from `false` to `true` making things more secure in the general use case. ##### pg-query-stream@3.0.0 - [Rewrote stream internals](https://togithub.com/brianc/node-postgres/pull/2051) to better conform to node stream semantics. This should make pg-query-stream much better at respecting [highWaterMark](https://nodejs.org/api/stream.html#stream_new_stream_readable_options) and getting rid of some edge case bugs when using pg-query-stream as an async iterator. Due to the size and nature of this change (effectively a full re-write) it's safest to bump the semver major here, though almost all tests remain untouched and still passing, which brings us to a breaking change to the API.... - Changed `stream.close` to `stream.destroy` which is the [official](https://nodejs.org/api/stream.html#stream_readable_destroy_error) way to terminate a readable stream. This is a **breaking change** if you rely on the `stream.close` method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave). - Unified the `config.batchSize` and `config.highWaterMark` to both do the same thing: control how many rows are buffered in memory. The `ReadableStream` will manage exactly how many rows are requested from the cursor at a time. This should give better out of the box performance and help with efficient async iteration. ##### pg@7.17.0 - Add support for `idle_in_transaction_session_timeout` [option](https://togithub.com/brianc/node-postgres/pull/2049). ##### 7.16.0 - Add optional, opt-in behavior to test new, [faster query pipeline](https://togithub.com/brianc/node-postgres/pull/2044). This is experimental, and not documented yet. The pipeline changes will grow significantly after the 8.0 release. ##### 7.15.0 - Change repository structure to support lerna & future monorepo [development](https://togithub.com/brianc/node-postgres/pull/2014). - [Warn about deprecation](https://togithub.com/brianc/node-postgres/pull/2021) for calling constructors without `new`. ##### 7.14.0 - Reverts 7.13.0 as it contained [an accidental breaking change](https://togithub.com/brianc/node-postgres/pull/2010) for self-signed SSL cert verification. 7.14.0 is identical to 7.12.1. ##### 7.13.0 - Add support for [all tls.connect()](https://togithub.com/brianc/node-postgres/pull/1996) options. ##### 7.12.0 - Add support for [async password lookup](https://togithub.com/brianc/node-postgres/pull/1926). ##### 7.11.0 - Add support for [connection_timeout](https://togithub.com/brianc/node-postgres/pull/1847/files#diff-5391bde944956870128be1136e7bc176R63) and [keepalives_idle](https://togithub.com/brianc/node-postgres/pull/1847). ##### 7.10.0 - Add support for [per-query types](https://togithub.com/brianc/node-postgres/pull/1825). ##### 7.9.0 - Add support for [sasl/scram authentication](https://togithub.com/brianc/node-postgres/pull/1835). ##### 7.8.0 - Add support for passing [secureOptions](https://togithub.com/brianc/node-postgres/pull/1804) SSL config. - Upgrade [pg-types](https://togithub.com/brianc/node-postgres/pull/1806) to 2.0. ##### 7.7.0 - Add support for configurable [query timeout](https://togithub.com/brianc/node-postgres/pull/1760) on a client level. ##### 7.6.0 - Add support for ["bring your own promise"](https://togithub.com/brianc/node-postgres/pull/1518) ##### 7.5.0 - Better [error message](https://togithub.com/brianc/node-postgres/commit/11a4793452d618c53e019416cc886ad38deb1aa7) when passing `null` or `undefined` to `client.query`. - Better [error handling](https://togithub.com/brianc/node-postgres/pull/1503) on queued queries. ##### 7.4.0 - Add support for [Uint8Array](https://togithub.com/brianc/node-postgres/pull/1448) values. ##### 7.3.0 - Add support for [statement timeout](https://togithub.com/brianc/node-postgres/pull/1436). ##### 7.2.0 - Pinned pg-pool and pg-types to a tighter semver range. This is likely not a noticeable change for you unless you were specifically installing older versions of those libraries for some reason, but making it a minor bump here just in case it could cause any confusion. ##### 7.1.0 ##### Enhancements - [You can now supply both a connection string and additional config options to clients.](https://togithub.com/brianc/node-postgres/pull/1363) ##### 7.0.0 ##### Breaking Changes - Drop support for node < `4.x`. - Remove `pg.connect` `pg.end` and `pg.cancel` singleton methods. - `Client#connect(callback)` now returns `undefined`. It used to return an event emitter. - Upgrade [pg-pool](https://togithub.com/brianc/node-pg-pool) to `2.x`. - Upgrade [pg-native](https://togithub.com/brianc/node-pg-native) to `2.x`. - Standardize error message fields between JS and native driver. The only breaking changes were in the native driver as its field names were brought into alignment with the existing JS driver field names. - Result from multi-statement text queries such as `SELECT 1; SELECT 2;` are now returned as an array of results instead of a single result with 1 array containing rows from both queries. [Please see here for a migration guide](https://node-postgres.com/guides/upgrading) ##### Enhancements - Overhauled documentation:prettier/prettier
### [`v2.8.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#283) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) [diff](https://togithub.com/prettier/prettier/compare/2.8.2...2.8.3) ##### Allow self-closing tags on custom elements ([#14170](https://togithub.com/prettier/prettier/pull/14170) by [@fisker](https://togithub.com/fisker)) See [Angular v15.1.0 release note](https://togithub.com/angular/angular/releases/tag/15.1.0) for details. ```html // Inputfacebook/react
### [`v18.2.0`](https://togithub.com/facebook/react/blob/HEAD/CHANGELOG.md#1820-June-14-2022) [Compare Source](https://togithub.com/facebook/react/compare/v18.1.0...v18.2.0) ##### React DOM - Provide a component stack as a second argument to `onRecoverableError`. ([@gnoff](https://togithub.com/gnoff) in [#24591](https://togithub.com/facebook/react/pull/24591)) - Fix hydrating into `document` causing a blank page on mismatch. ([@gnoff](https://togithub.com/gnoff) in [#24523](https://togithub.com/facebook/react/pull/24523)) - Fix false positive hydration errors with Suspense. ([@gnoff](https://togithub.com/gnoff) in [#24480](https://togithub.com/facebook/react/pull/24480) and [@acdlite](https://togithub.com/acdlite) in [#24532](https://togithub.com/facebook/react/pull/24532)) - Fix ignored `setState` in Safari when adding an iframe. ([@gaearon](https://togithub.com/gaearon) in [#24459](https://togithub.com/facebook/react/pull/24459)) ##### React DOM Server - Pass information about server errors to the client. ([@salazarm](https://togithub.com/salazarm) and [@gnoff](https://togithub.com/gnoff) in [#24551](https://togithub.com/facebook/react/pull/24551) and [#24591](https://togithub.com/facebook/react/pull/24591)) - Allow to provide a reason when aborting the HTML stream. ([@gnoff](https://togithub.com/gnoff) in [#24680](https://togithub.com/facebook/react/pull/24680)) - Eliminate extraneous text separators in the HTML where possible. ([@gnoff](https://togithub.com/gnoff) in [#24630](https://togithub.com/facebook/react/pull/24630)) - Disallow complex children inside `TypeStrong/ts-node
### [`v10.9.1`](https://togithub.com/TypeStrong/ts-node/releases/tag/v10.9.1) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v10.9.0...v10.9.1) **Fixed** - Workaround nodejs bug introduced in 18.6.0 ([#1838](https://togithub.com/TypeStrong/ts-node/issues/1838)) [@cspotcode](https://togithub.com/cspotcode) - Only affects projects on node >=18.6.0 using `--esm` - Older versions of node and projects without `--esm` are unaffected https://github.com/TypeStrong/ts-node/milestone/18?closed=1 ### [`v10.9.0`](https://togithub.com/TypeStrong/ts-node/releases/tag/v10.9.0) [Compare Source](https://togithub.com/TypeStrong/ts-node/compare/v10.8.2...v10.9.0) **Added** - `--project` accepts path to a directory containing a `tsconfig.json` ([#1829](https://togithub.com/TypeStrong/ts-node/issues/1829), [#1830](https://togithub.com/TypeStrong/ts-node/issues/1830)) [@cspotcode](https://togithub.com/cspotcode) - previously it required an explicit filename - Added helpful error message when swc version is too old to support our configuration ([#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode) - Added `experimentalTsImportSpecifiers` option which allows using voluntary `.ts` file extensions in import specifiers (undocumented except for [API docs](https://typestrong.org/ts-node/api/interfaces/CreateOptions.html#experimentalTsImportSpecifiers)) ([#1815](https://togithub.com/TypeStrong/ts-node/issues/1815)) [@cspotcode](https://togithub.com/cspotcode) **Fixed** - Fixed bug where `child_process.fork()` would erroneously execute the parent's entrypoint script, not the intended child script ([#1812](https://togithub.com/TypeStrong/ts-node/issues/1812), [#1814](https://togithub.com/TypeStrong/ts-node/issues/1814)) [@devversion](https://togithub.com/devversion) - Fixed support for jsx modes `"react-jsx"` and `"react-jsxdev"` in swc transpiler ([#1800](https://togithub.com/TypeStrong/ts-node/issues/1800), [#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode) - Fixed support for import assertions in swc transpiler ([#1817](https://togithub.com/TypeStrong/ts-node/issues/1817), [#1802](https://togithub.com/TypeStrong/ts-node/issues/1802)) [@cspotcode](https://togithub.com/cspotcode) - Fixed bug where calling `repl.evalCode()` with code not ending in a newline would not update the typechecker accordingly ([#1764](https://togithub.com/TypeStrong/ts-node/issues/1764), [#1824](https://togithub.com/TypeStrong/ts-node/issues/1824)) [@cspotcode](https://togithub.com/cspotcode) https://github.com/TypeStrong/ts-node/milestone/16?closed=1Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.