Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: neo4j/neo4j-javascript-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5.0
Choose a base ref
...
head repository: neo4j/neo4j-javascript-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.2
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 189 files changed
  • 3 contributors

Commits on Dec 1, 2020

  1. 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
    bigmontz authored Dec 1, 2020
    Copy the full SHA
    5bb6d4b View commit details

Commits on Dec 14, 2020

  1. 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.
    bigmontz authored Dec 14, 2020
    Copy the full SHA
    f539b97 View commit details

Commits on Dec 15, 2020

  1. Copy the full SHA
    2eb06f9 View commit details
  2. 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.
    bigmontz committed Dec 15, 2020
    Copy the full SHA
    3d43e2e View commit details

Commits on Dec 17, 2020

  1. Make the stress test more reliable

     Avoid session.run usage
     Treat the session.close() exception in the command.
     Check the number of commands run
    bigmontz authored Dec 17, 2020
    Copy the full SHA
    c719102 View commit details

Commits on Dec 23, 2020

  1. 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.
    bigmontz authored Dec 23, 2020
    Copy the full SHA
    14ea911 View commit details

Commits on Jan 15, 2021

  1. 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.
    bigmontz authored Jan 15, 2021
    Copy the full SHA
    2cf69fe View commit details
  2. 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
    parzhitsky authored and bigmontz committed Jan 15, 2021
    Copy the full SHA
    5617f28 View commit details

Commits on Jan 22, 2021

  1. 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.
    bigmontz authored Jan 22, 2021
    Copy the full SHA
    96e43ea View commit details

Commits on Jan 27, 2021

  1. Copy the full SHA
    e8d0b4c View commit details

Commits on Jan 28, 2021

  1. Copy the full SHA
    bd42d93 View commit details

Commits on Mar 1, 2021

  1. 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.
    bigmontz committed Mar 1, 2021
    Copy the full SHA
    ca903ce View commit details

Commits on May 26, 2021

  1. Copy the full SHA
    f35bec4 View commit details

Commits on Jun 7, 2021

  1. Copy the full SHA
    36050dc View commit details

Commits on Jun 10, 2021

  1. Copy the full SHA
    6b82b1d View 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