@cubejs-backend/jdbc-driver 0.35.48 → 0.35.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +22 -7
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -11,20 +11,37 @@ JDBC driver.
11
11
 
12
12
  ## Support
13
13
 
14
- This package is **community supported** and should be used at your own risk.
14
+ This package is **community supported** and should be used at your own risk.
15
15
 
16
- While the Cube Dev team is happy to review and accept future community contributions, we don't have active plans for further development. This includes bug fixes unless they affect different parts of Cube.js. **We're looking for maintainers for this package.** If you'd like to become a maintainer, please contact us in Cube.js Slack.
16
+ While the Cube Dev team is happy to review and accept future community contributions, we don't have active plans for
17
+ further development. This includes bug fixes unless they affect different parts of Cube.js. **We're looking for
18
+ maintainers for this package.** If you'd like to become a maintainer, please contact us in Cube.js Slack.
17
19
 
18
20
  ## Java installation
19
21
 
20
22
  ### macOS
21
23
 
22
24
  ```sh
23
- brew install openjdk@8
24
- sudo ln -sfn /usr/local/opt/openjdk@8/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-8.jdk
25
+ brew install openjdk
26
+ # At the moment of writing, openjdk 22.0.1 is the latest and proven to work on Intel/M1 Mac's
27
+ # Follow the brew suggested advice at the end of installation:
28
+ # For the system Java wrappers to find this JDK, symlink it with
29
+ sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
30
+
31
+ # Ensure that newly installed jdk is visible
32
+ /usr/libexec/java_home -V
33
+ # You should see installed jdk among others, something like this:
34
+ Matching Java Virtual Machines (3):
35
+ 22.0.1 (x86_64) "Homebrew" - "OpenJDK 22.0.1" /usr/local/Cellar/openjdk/22.0.1/libexec/openjdk.jdk/Contents/Home
36
+ 1.8.0_40 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
37
+
38
+ # Set JAVA_HOME environment variable before running yarn in the Cube repo
39
+ export JAVA_HOME=`/usr/libexec/java_home -v 22.0.1`
25
40
  ```
26
41
 
27
- If this doesn't work, please run commands from `$ brew info openjdk@8`.
42
+ **Note:** It's important to set `JAVA_HOME` prior to running `yarn/npm install` in Cube repo as Java Bridge npm package
43
+ uses is to locate JAVA and caches it internally. In case you already run package installation you have to rebuild
44
+ all native packages or just delete `node_modules` and run `yarn` again.
28
45
 
29
46
  ### Debian, Ubuntu, etc.
30
47
 
@@ -46,8 +63,6 @@ If you have Chocolatey packet manager:
46
63
  choco install openjdk
47
64
  ```
48
65
 
49
- Or download it from
50
-
51
66
  ## License
52
67
 
53
68
  Cube.js JDBC Database Driver is [Apache 2.0 licensed](./LICENSE).
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cubejs-backend/jdbc-driver",
3
3
  "description": "Cube.js JDBC database driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "0.35.48",
5
+ "version": "0.35.62",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.git",
@@ -25,7 +25,7 @@
25
25
  "index.js"
26
26
  ],
27
27
  "dependencies": {
28
- "@cubejs-backend/base-driver": "^0.35.48",
28
+ "@cubejs-backend/base-driver": "^0.35.62",
29
29
  "generic-pool": "^3.1.7",
30
30
  "node-java-maven": "^0.1.2",
31
31
  "sqlstring": "^2.3.0"
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@cubejs-backend/linter": "^0.35.0",
46
- "@cubejs-backend/shared": "^0.35.43",
46
+ "@cubejs-backend/shared": "^0.35.62",
47
47
  "@types/generic-pool": "^3.1.9",
48
48
  "@types/node": "^16",
49
49
  "@types/sqlstring": "^2.3.0",
50
50
  "typescript": "~5.2.2"
51
51
  },
52
- "gitHead": "d3192f0f896058736da95d473f6c37238f8cc963"
52
+ "gitHead": "149eb01a0457e9173e94bbb2709f1736f1b501fd"
53
53
  }