Skip to content

Commit 64ce394

Browse files
committed
Release 23.8
1 parent 263510d commit 64ce394

File tree

28 files changed

+4853
-116
lines changed

28 files changed

+4853
-116
lines changed

README.md

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,23 @@ The following sections describe how to use the Typescript declarations with your
2626

2727
### All-In-One Installation (recommended)
2828

29-
You can install all relevant module declarations including the declarations of all global symbols (`Polyglot`, `console`, `session`, `soda`, `oracledb`, `OracleNumber`, etc.) in one bundle. You can conveniently install `mle-js` using Node Package Manager (NPM) or a comparable tool.
30-
31-
Once the declarations have been downloaded and configured you can use them in your Typescript project using the `<reference>` tag as shown:
32-
33-
```typescript
34-
/// <reference types="mle-js" />
35-
36-
/* more Typescript code ... */
29+
You can install all relevant module declarations including the declarations of all global symbols (`Polyglot`, `console`, `session`, `soda`, `oracledb`, `OracleNumber`, etc.) in one bundle named `@types/mle-js` by using Node Package Manager (NPM) or a comparable tool:
30+
```sh
31+
npm install --saveDev "https://github.com/oracle-samples/mle-modules#main"
3732
```
3833

39-
Provided your project's `tsconfig.json` has been configured correctly you should immediately see a benefit when writing server-side JavaScript code.
40-
4134
### Installing Individual Modules
4235

4336
If you only need declarations of a particular module, you may also install declarations individually:
4437

4538
```sh
46-
npm install mle-js-oracledb
47-
npm install mle-js-bindings
48-
npm install mle-js-plsqltypes
49-
npm install mle-js-fetch
50-
npm install mle-encode-base64
51-
npm install mle-js-encodings
52-
npm install mle-js-plsql-ffi
39+
npm --saveDev install mle-js-oracledb
40+
npm --saveDev install mle-js-bindings
41+
npm --saveDev install mle-js-plsqltypes
42+
npm --saveDev install mle-js-fetch
43+
npm --saveDev install mle-encode-base64
44+
npm --saveDev install mle-js-encodings
45+
npm --saveDev install mle-js-plsql-ffi
5346
```
5447

5548
## Documentation
@@ -117,7 +110,7 @@ The following table shows which version of module documentation and declarations
117110

118111
| Oracle Database | Declarations | Documentation |
119112
| ---------------- | ------------ | ------------- |
120-
| 23ai | [[email protected]][mle-js-types-237] for Oracle 23.7 <br/> [[email protected]][mle-js-types-236] for Oracle 23.6 <br/> [[email protected]][mle-js-types-235] for Oracle 23.5 <br/> [[email protected]][mle-js-types-234] for Oracle 23.4 <br/> [[email protected]][mle-js-types-233] for Oracle 23.3 <br/> [[email protected]][mle-js-types-232] for Oracle 23.2 - Free | **[mle-js (23ai)][mle-js]** <br/> [mle-js-oracledb (23ai)][mle-js-oracledb] <br/> [mle-js-bindings (23ai)][mle-js-bindings] <br/> [mle-js-plsqltypes (23ai)][mle-js-plsqltypes] <br/> [mle-js-fetch (23ai)][mle-js-fetch] <br/> [mle-encode-base64 (23ai)][mle-encode-base64]|
113+
| 23ai | [@types/mle-js@23.8.0][mle-js-types-238] for Oracle 23.8 <br/> [mle-js@23.7.0][mle-js-types-237] for Oracle 23.7 <br/> [[email protected]][mle-js-types-236] for Oracle 23.6 <br/> [[email protected]][mle-js-types-235] for Oracle 23.5 <br/> [[email protected]][mle-js-types-234] for Oracle 23.4 <br/> [[email protected]][mle-js-types-233] for Oracle 23.3 <br/> [[email protected]][mle-js-types-232] for Oracle 23.2 - Free | **[mle-js (23ai)][mle-js]** <br/> [mle-js-oracledb (23ai)][mle-js-oracledb] <br/> [mle-js-bindings (23ai)][mle-js-bindings] <br/> [mle-js-plsqltypes (23ai)][mle-js-plsqltypes] <br/> [mle-js-fetch (23ai)][mle-js-fetch] <br/> [mle-encode-base64 (23ai)][mle-encode-base64] <br/> [mle-js-encodings (23ai)][mle-js-encodings] <br/> [mle-js-plsql-ffi (23ai)][mle-js-plsql-ffi]|
121114
| 21c | [[email protected]][mle-js-types-213] | [mle-js-oracledb (21c)][mle-js-oracledb-21c] <br/> [mle-js-bindings (21c)][mle-js-bindings-21c] <br/> [mle-js-plsqltypes (21c)][mle-js-plsqltypes-21c] |
122115

123116
## Examples
@@ -129,8 +122,6 @@ This section describes how to use the Typescript declarations with MLE/JavaScrip
129122
Using the Typescript declarations you can create an MLE module as follows.
130123

131124
```typescript
132-
/// <reference types="mle-js" />
133-
134125
interface ISessionMetaData {
135126
username: string;
136127
oracleVersion: string;
@@ -239,6 +230,9 @@ If you plan to use database-side JavaScript at a larger scale, we highly recomme
239230

240231
## Changelog
241232

233+
- **Oracle 23.8**
234+
- The all-in-one bundle package is now available also under the `@types` scope as `@types/mle-js` through installation directly from GitHub.
235+
- Added testing for TypeScript declarations and fixed a number of type bugs and inconsistencies.
242236
- **Oracle 23.7**
243237
- MLE Foreign Function Interface (FFI) for calling PL/SQL functionality directly from JavaScript:
244238
[mle-js-plsql-ffi](https://oracle-samples.github.io/mle-modules/docs/mle-js-plsql-ffi/23ai/)
@@ -304,6 +298,7 @@ Released under the Universal Permissive License v1.0 as shown at <https://oss.or
304298
[mle-js-oracledb-21c]: https://oracle-samples.github.io/mle-modules/docs/mle-js-oracledb/21c "mle-js-oracledb 21c"
305299
[mle-js-bindings-21c]: https://oracle-samples.github.io/mle-modules/docs/mle-js-bindings/21c "mle-js-bindings 21c"
306300
[mle-js-plsqltypes-21c]: https://oracle-samples.github.io/mle-modules/docs/mle-js-plsqltypes/21c "mle-js-plsqltypes 21c"
301+
[mle-js-types-238]: https://www.npmjs.com/package/mle-js/v/23.8.0 "[email protected]"
307302
[mle-js-types-237]: https://www.npmjs.com/package/mle-js/v/23.7.0 "[email protected]"
308303
[mle-js-types-236]: https://www.npmjs.com/package/mle-js/v/23.6.0 "[email protected]"
309304
[mle-js-types-235]: https://www.npmjs.com/package/mle-js/v/23.5.0 "[email protected]"

declarations/mle-encode-base64/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2023, 2025, Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

declarations/mle-encode-base64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "MLE functions to work with base64 encoded data",
44
"types": "mle-encode-base64.d.ts",
55
"author": "Oracle",
6-
"version": "23.7.0",
6+
"version": "23.8.0",
77
"license": "UPL-1.0",
88
"homepage": "https://oracle-samples.github.io/mle-modules",
99
"repository": {

declarations/mle-js-bindings/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2017, 2025, Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

declarations/mle-js-bindings/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "MLE Bindings for Oracle Database DBMS_MLE",
44
"types": "mle-js-bindings.d.ts",
55
"author": "Oracle",
6-
"version": "23.7.0",
6+
"version": "23.8.0",
77
"license": "UPL-1.0",
88
"homepage": "https://oracle-samples.github.io/mle-modules",
99
"repository": {

declarations/mle-js-encodings/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2023, 2025, Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

declarations/mle-js-encodings/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "MLE text encoding API",
44
"types": "index.d.ts",
55
"author": "Oracle",
6-
"version": "23.7.0",
6+
"version": "23.8.0",
77
"license": "UPL-1.0",
88
"homepage": "https://oracle-samples.github.io/mle-modules",
99
"repository": {

declarations/mle-js-fetch/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2022, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2022, 2025, Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

declarations/mle-js-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "MLE Fetch API polyfill",
44
"types": "index.d.ts",
55
"author": "Oracle",
6-
"version": "23.7.0",
6+
"version": "23.8.0",
77
"license": "UPL-1.0",
88
"homepage": "https://oracle-samples.github.io/mle-modules",
99
"repository": {

declarations/mle-js-oracledb/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2017, 2025, Oracle and/or its affiliates.
22

33
The Universal Permissive License (UPL), Version 1.0
44

0 commit comments

Comments
 (0)