-
Notifications
You must be signed in to change notification settings - Fork 149
Comparing changes
Open a pull request
base repository: neo4j/neo4j-javascript-driver
base: 5.0
head repository: neo4j/neo4j-javascript-driver
compare: 4.2
- 15 commits
- 189 files changed
- 3 contributors
Commits on Dec 1, 2020
-
Supporting browser, integration and stress tests on testkit (#642)
Teskit doesn't run Neo4j on the localhost and with the same credentials of boltkit, but it exposes the host and credentials as env variables. So all this configuration being loaded to karma on the config files, parsed in `shared-neo4j` with fallback to the process env (case it's running the usual integration test) and to the default boltkit values. All the integration tests were changed to use the values from the shareNeo4j object. Disabled tests: * IPV6 tests are skipped on the testkit because of the lack of support for this * TLS tests are disabled since it's already tested on the testkit suite * Tests which depends on the enterprise edition of Neo4j is running only on this scenario
Configuration menu - View commit details
-
Copy full SHA for 5bb6d4b - Browse repository at this point
Copy the full SHA 5bb6d4bView commit details
Commits on Dec 14, 2020
-
teskit: Fine tunning stress tests to run in testkit
Fix the way the url is generated during the stress test enabling to use configurations came from the test environment. Skipping the non-cluster-safe stress test commands to avoid unstable behaviours and flaky tests.
Configuration menu - View commit details
-
Copy full SHA for f539b97 - Browse repository at this point
Copy the full SHA f539b97View commit details
Commits on Dec 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2eb06f9 - Browse repository at this point
Copy the full SHA 2eb06f9View commit details -
test: Improve the test timeout definition
The timeout was being defined using the jasmine global variable and it was causing some flakyness in the tests.
Configuration menu - View commit details
-
Copy full SHA for 3d43e2e - Browse repository at this point
Copy the full SHA 3d43e2eView commit details
Commits on Dec 17, 2020
-
Make the stress test more reliable
Avoid session.run usage Treat the session.close() exception in the command. Check the number of commands run
Configuration menu - View commit details
-
Copy full SHA for c719102 - Browse repository at this point
Copy the full SHA c719102View commit details
Commits on Dec 23, 2020
-
Providing protocol version in Result get by Transaction.run
The result summary was not filled with the protocol version because the transactions were creating the Result object with a empty connection holder. Since the Result releases the connection from holder when it completes, the original holder could not be passed to it. The ReadOnlyConnectionHolder provides a safe way to pass the holder forward without let the consumer initialize, close or release the connection by simulating this methods without do the action and delegating part of the requests to the original ConnectionHolder. These changes also made shared-neo4j cluster friendly.
Configuration menu - View commit details
-
Copy full SHA for 14ea911 - Browse repository at this point
Copy the full SHA 14ea911View commit details
Commits on Jan 15, 2021
-
Disable secure connection warning when the window.protocol is not ava…
…ilable (#664) The window.location is not available in the WebWorkers contexts and because of the driver keeps wrongly warning about a misconfiguration. If the information location protocol is not available, the driver should not warning.
Configuration menu - View commit details
-
Copy full SHA for 2cf69fe - Browse repository at this point
Copy the full SHA 2cf69feView commit details -
Add type-safety to Record class
This commit adds ability to create type-safe Record entities by assigning type to Record's value. The implementation is based on adding type parameters to types, interfaces, and classes. It is implemented however in a backwards-compatible manner, so that opting in to type safety is optional. Examples: // before (unsafe) const record = new Record(['name'], ['Alice']) record.get('neam') // no errors record.toObject().neam[0] // run-time (late) error // after (safe) const record = new Record<Person>(['name'], ['Alice']) record.get('neam') // Error: does not exist record.toObject().neam[0] // design-time (early) error
Configuration menu - View commit details
-
Copy full SHA for 5617f28 - Browse repository at this point
Copy the full SHA 5617f28View commit details
Commits on Jan 22, 2021
-
Run stress tests out of Jasmine (#667)
The goal of this change is improve the stability of the stress test avoiding unexpected timeouts. This change also provide a way to configure the stress-test to run for a defined time period, it's particular interesting for when it's running in test-kit in cluster mode simulating the change on the cluster composition.
Configuration menu - View commit details
-
Copy full SHA for 96e43ea - Browse repository at this point
Copy the full SHA 96e43eaView commit details
Commits on Jan 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e8d0b4c - Browse repository at this point
Copy the full SHA e8d0b4cView commit details
Commits on Jan 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bd42d93 - Browse repository at this point
Copy the full SHA bd42d93View commit details
Commits on Mar 1, 2021
-
Fix connection close by server treatment by WebSocket channels (#684)
The lack of set channel._open to false when the onclose event is triggered was causing the channel be broken without the other parts of the driver notice. In tbis way, a next iteration trying to get the broken connection will succeded in the try and run the query will result in a eternal pending promise. Mark the channel as closed enable the pool to discard and create a new connection if it needed.
Configuration menu - View commit details
-
Copy full SHA for ca903ce - Browse repository at this point
Copy the full SHA ca903ceView commit details
Commits on May 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f35bec4 - Browse repository at this point
Copy the full SHA f35bec4View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 36050dc - Browse repository at this point
Copy the full SHA 36050dcView commit details
Commits on Jun 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6b82b1d - Browse repository at this point
Copy the full SHA 6b82b1dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 5.0...4.2