You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Available through [https://repo.typedb.com](https://cloudsmith.io/~typedb/repos/public-release/packages/detail/maven/typedb-driver/3.4.0/a=noarch;xg=com.typedb/)
18
+
Available through [https://repo.typedb.com](https://cloudsmith.io/~typedb/repos/public-release/packages/detail/maven/typedb-driver/3.4.4/a=noarch;xg=com.typedb/)
-**Introduce file-based database export and import**
51
-
Introduce interfaces to export databases into schema definition and data files and to import databases using these files. Database import supports files exported from both TypeDB 2.x and TypeDB 3.x.
52
-
53
-
Both operations are blocking and may take a significant amount of time to execute for large databases. Use parallel connections to continue operating with the server and its other databases.
60
+
61
+
-**Typescript HTTP driver**
62
+
63
+
Add a relatively slim typescript driver based on our HTTP API, adapted from code used for this purpose in `typedb-studio`.
64
+
65
+
This driver is published to `npm` under the name `typedb-driver-http` through the same process as the old `nodejs` driver.
Additionally, `QueryConstraints`, `QueryVertices` in query structure; and `DriverParams` in connection are used as sub-categories (that is, `DriverParams`, `DriverParamsBasic`, and `DriverParamsTranslated` are all grouped under `DriverParams`).
-**Handle "Unexpected response type for remote procedure call: Close" on query stream opening**
93
-
Fix a rare `InternalError` returned by mistake when a client sends a query request while the transaction is being closed. Now, an expected "The transaction is closed and no further operation is allowed." error is returned instead.
94
-
95
-
Additionally, wait for specific transaction responses in `rollback`, `commit`, and `query` to solidify the protocol and ensure that the server acts as expected.
96
-
97
-
90
+
98
91
99
92
## Code Refactors
100
93
101
94
102
95
## Other Improvements
103
-
104
-
-**Update zlib dependency**
105
-
Support build on Apple Clang 17+ by updating dependencies (details: https://github.com/typedb/typedb-dependencies/pull/577).
96
+
-**Enforce explicit https addresses for TLS connections**
97
+
Drivers return explicit error messages when connection addresses and TLS options are mismatched. TLS connections require addresses to have `https`. Non-TLS connections require addresses not to have `https`.
98
+
99
+
100
+
-**Enable TLS by default in Python**
101
+
102
+
We want to enable a secure-by-default setting in TypeDB Drivers. In Java and Rust, `DriverOptions` have to be explicitly set, and there are no defaults. However, Python features a disabled TLS default. While this is compatible with TypeDB CE, it's an insecure default & not compatible with TypeDB Cloud without explicitly enabling it.
103
+
104
+
Instead, we set the default to TLS being __enabled__ in Python. This means when using an insecure, plaintext connection the user must explicitly set it, and is more likely to become aware of the plaintext communication.
105
+
106
+
107
+
-**Ensure PNPM config in CI matches config locally**
108
+
109
+
We add an `.npmrc` file to ensure the PNPM config in local machines and CI match so that installation succeeds in CI.
106
110
107
111
112
+
-**Install PNPM deps in CI release pipeline**
113
+
114
+
The release pipeline in CI now correctly installs PNPM dependencies for the HTTP TS driver.
115
+
116
+
117
+
-**Make the HTTP TypeScript driver dual-module (CJS+ESM)**
118
+
119
+
The HTTP TypeScript driver is now dual-module, offering both CommonJS and ES Module support.
120
+
121
+
122
+
-**Set HTTP Typescript driver dependencies as dev dependencies**
123
+
124
+
We set all dependencies of the Typescript HTTP driver as dev dependencies, as they aren't required at runtime.
125
+
126
+
127
+
-**Rename docs antora module**
128
+
129
+
We rename the docs antora module used to host the generated driver references from `api-ref` to `external-typedb-driver`, to support refactoring in the typedb docs repository.
130
+
131
+
-**Revert the HTTP driver to a CommonJS package**
132
+
133
+
We convert `typedb-driver-http` back into using `commonjs`. This allows us to also revert `import`/`export` syntax to not require file extensions.
134
+
135
+
136
+
-**Correct the package and tsconfig for HTTP driver**
137
+
138
+
We fix issues in `package.json` that prevented `typedb-driver-http` from being used correctly
139
+
140
+
141
+
-**Fix CircleCI release configuration for HTTP driver**
142
+
143
+
We fix a typo that made the CircleCI release configuration invalid.
144
+
145
+
146
+
-**Use release version of typedb server artifact**
0 commit comments