|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 | 4 |
|
| 5 | +## [2.1.1](https://github.com/mongodb-js/kerberos/compare/v2.2.1...v2.1.1) (2024-12-10) |
| 6 | + |
| 7 | + |
| 8 | +### ⚠ BREAKING CHANGES |
| 9 | + |
| 10 | +* **NODE-3848:** update dependencies ([#142](https://github.com/mongodb-js/kerberos/issues/142)) |
| 11 | +* **NODE-3472:** convert to Node-API ([#137](https://github.com/mongodb-js/kerberos/issues/137)) |
| 12 | + |
| 13 | +### Features |
| 14 | + |
| 15 | +* **async-worker:** introduce a `KerberosWorker` using lambdas ([1239ef7](https://github.com/mongodb-js/kerberos/commit/1239ef750581a00fd089f6c8ae3074ccb33f1e65)) |
| 16 | +* **checkPassword:** add implementation for checking krb5 passwords ([60f476e](https://github.com/mongodb-js/kerberos/commit/60f476e80d0c0c95c51b771e59ca1af4fba19a8b)) |
| 17 | +* **clean:** provide implementations for the clean methods ([77a77ce](https://github.com/mongodb-js/kerberos/commit/77a77ce10928a080e9a92628d71b135fa8174c0e)) |
| 18 | +* **client:** add final wrap/unwrap api endpoints ([016222f](https://github.com/mongodb-js/kerberos/commit/016222f466de5e2454b8affdb3f6d9b08d588bde)) |
| 19 | +* **client:** add implementation for client wrap/unwrap to win32 ([994604c](https://github.com/mongodb-js/kerberos/commit/994604cf3432deed883fc0859cbdd986aea655dd)) |
| 20 | +* **gss:** add `new` methods for constructing state tracking types ([274cad6](https://github.com/mongodb-js/kerberos/commit/274cad676649e98155edd398a8f40ffccc40b64d)) |
| 21 | +* **jsdoc2md:** add jsdoc2md support, and README template ([60e1ee5](https://github.com/mongodb-js/kerberos/commit/60e1ee5adab74563e4b289dc07e043d91a646306)) |
| 22 | +* **kerberos:** add getters to check for context completeness ([6a9a01d](https://github.com/mongodb-js/kerberos/commit/6a9a01dde33bfb327fa3b46f432b32729e20c04a)) |
| 23 | +* **kerberos:** implement client/server init, move to worker file ([1c857ea](https://github.com/mongodb-js/kerberos/commit/1c857eae0ae72f75ec952b34bb8b0e3740767388)) |
| 24 | +* **kerberos:** return value for `step` is the challenge response ([e153d24](https://github.com/mongodb-js/kerberos/commit/e153d240ff1a47dac2e39499d487bc1e4e6b11bf)) |
| 25 | +* **NODE-3472:** convert to Node-API ([#137](https://github.com/mongodb-js/kerberos/issues/137)) ([f9481a4](https://github.com/mongodb-js/kerberos/commit/f9481a42877c604f8aac961536fc5674ce8baa6c)) |
| 26 | +* **NODE-5505:** add compiler warnings and cast lengths ([#158](https://github.com/mongodb-js/kerberos/issues/158)) ([1e73b98](https://github.com/mongodb-js/kerberos/commit/1e73b98340d244e7c409afa6d293be43ed89080b)) |
| 27 | +* **NODE-5746:** allow runtime linking against system kerberos library ([#165](https://github.com/mongodb-js/kerberos/issues/165)) ([ce2feb3](https://github.com/mongodb-js/kerberos/commit/ce2feb3fa100b8bb3fdff502f6444ab331619108)) |
| 28 | +* **NODE-6333:** Allow callers to specify the 'protect' flag ([#198](https://github.com/mongodb-js/kerberos/issues/198)) ([515f4bf](https://github.com/mongodb-js/kerberos/commit/515f4bfa9ed2f98be2670143d34b2e1356eb7089)) |
| 29 | +* **package:** export the package version ([5be618f](https://github.com/mongodb-js/kerberos/commit/5be618fbadac269ae0e8cd4ef4fcc78f98ada151)) |
| 30 | +* **promises:** allow to access all API by promise or callback ([3b77430](https://github.com/mongodb-js/kerberos/commit/3b774306779a6c84f9d6ccf5da7a46d96ccec58e)) |
| 31 | +* **serverPrincipalDetails:** add server pricipal details method ([385fcd1](https://github.com/mongodb-js/kerberos/commit/385fcd1f55c86d75bb9f27f0d1c9840c7b2de6df)) |
| 32 | +* **src:** begin to develop the new version of the module in `src` ([f45da50](https://github.com/mongodb-js/kerberos/commit/f45da50ae4c745ff223eee5b517a9a5e10f5b125)) |
| 33 | +* **sspi:** introduce client initialization for SSPI ([6a40301](https://github.com/mongodb-js/kerberos/commit/6a403014ec4b83e9730e17527a222b483a3c648e)) |
| 34 | +* **sspi:** provide implementation for `initializeClient` ([5943f1c](https://github.com/mongodb-js/kerberos/commit/5943f1c368c8dd3f3bd1fc096e784684304e3089)) |
| 35 | +* **step:** implement client and server step methods ([5a4327c](https://github.com/mongodb-js/kerberos/commit/5a4327c17a98a4b4c07866868ba5fd3c02674336)) |
| 36 | + |
| 37 | + |
| 38 | +### Bug Fixes |
| 39 | + |
| 40 | +* add support for node 12 ([ae6755d](https://github.com/mongodb-js/kerberos/commit/ae6755db6b1ab7256afd7c33f2051fcb74ea1060)) |
| 41 | +* **auth-process:** only send username/password if provided ([334ca9c](https://github.com/mongodb-js/kerberos/commit/334ca9c6d4ae32f8bbd76efc5981dc7b37be2ce6)) |
| 42 | +* **auth-process:** use canonicalized hostname in client init ([b1802d1](https://github.com/mongodb-js/kerberos/commit/b1802d143b0de3a8f535a1c9c57de14285fe3ae6)) |
| 43 | +* **build:** make addon buildable as static library ([#119](https://github.com/mongodb-js/kerberos/issues/119)) ([786e7d8](https://github.com/mongodb-js/kerberos/commit/786e7d83672ad5ff2718c9a440dbd180f8e7b24a)) |
| 44 | +* **check-password:** correctly validate parameters, fix test ([b772dde](https://github.com/mongodb-js/kerberos/commit/b772dded06234aca89a9554ecb1c7967725da109)) |
| 45 | +* **common:** ensure nan is being included everywhere appropriately ([7bddb24](https://github.com/mongodb-js/kerberos/commit/7bddb2406e51e58566a7127135496c2097f02788)) |
| 46 | +* **context:** add `NewInstance` methods, and make getters safer ([fd4b852](https://github.com/mongodb-js/kerberos/commit/fd4b85227c20ab301b5cb6f1266748c6ed75d9d1)) |
| 47 | +* **define-operation:** ensure optional parameters are considered ([cee7b83](https://github.com/mongodb-js/kerberos/commit/cee7b830f2aafc27a9ca1242d49ec89ba4b86003)) |
| 48 | +* **gss:** fix issue with memory corruption ([ff4167e](https://github.com/mongodb-js/kerberos/commit/ff4167e115831b96a27b50dc2dc6bbb14c0d0b49)) |
| 49 | +* **kerberos:** provide default gss flags ([b365934](https://github.com/mongodb-js/kerberos/commit/b365934676b802fb0b1ce0b7017be87640c1066e)) |
| 50 | +* **legacy:** support legacy import expectations ([615b23f](https://github.com/mongodb-js/kerberos/commit/615b23f0365313e819529fab6f647791e740b42b)) |
| 51 | +* **MONGOSH-1808:** only build universal macos binaries when creating loadable_library ([#186](https://github.com/mongodb-js/kerberos/issues/186)) ([ec3ab7a](https://github.com/mongodb-js/kerberos/commit/ec3ab7a34ea2de587c4a19cb8aad760e793564fc)) |
| 52 | +* **NODE-2129:** fix sporadic AcquireCredentialsHandle error ([#133](https://github.com/mongodb-js/kerberos/issues/133)) ([adf8346](https://github.com/mongodb-js/kerberos/commit/adf834665d7b927778669c1197d53d6f4ed6e797)) |
| 53 | +* **NODE-3350:** do not export Init function symbol ([#130](https://github.com/mongodb-js/kerberos/issues/130)) ([acdd746](https://github.com/mongodb-js/kerberos/commit/acdd7466c131494e9a2ca36eb9ad64ecda2d1366)) |
| 54 | +* **NODE-3982:** only pass username to SSPI if password is set ([#141](https://github.com/mongodb-js/kerberos/issues/141)) ([2d307a3](https://github.com/mongodb-js/kerberos/commit/2d307a3131e546d046b865e6c1d0a256f7612e0d)) |
| 55 | +* **NODE-4297:** bump prebuild install to 7.1.1 ([#145](https://github.com/mongodb-js/kerberos/issues/145)) ([142842f](https://github.com/mongodb-js/kerberos/commit/142842fae048e873caac5c83fda43c6b5b45280e)) |
| 56 | +* **NODE-5600:** use ubuntu 18 to build and publish ([#162](https://github.com/mongodb-js/kerberos/issues/162)) ([c02db0e](https://github.com/mongodb-js/kerberos/commit/c02db0e1f1a9618bb705782771535feb162d1923)) |
| 57 | +* **NODE-6108:** allow building from source on latest Node.js 20.x ([#172](https://github.com/mongodb-js/kerberos/issues/172)) ([c1f7aca](https://github.com/mongodb-js/kerberos/commit/c1f7acafb211d1b449086433578495d4ae0b869f)) |
| 58 | +* **NODE-6253:** use runtime linking against system kerberos libraries by default ([#188](https://github.com/mongodb-js/kerberos/issues/188)) ([04044d2](https://github.com/mongodb-js/kerberos/commit/04044d2814ad1d01e77f1ce87f26b03d86692cf2)) |
| 59 | +* **NODE-6265:** add Spectre Mitigation and CFG ([#190](https://github.com/mongodb-js/kerberos/issues/190)) ([54b9799](https://github.com/mongodb-js/kerberos/commit/54b97991deaaa04e87e4f3704b0dfcdcdd098a4b)) |
| 60 | +* **NODE-6320:** macos runtime linking name conflict with SSL ([#193](https://github.com/mongodb-js/kerberos/issues/193)) ([d382b56](https://github.com/mongodb-js/kerberos/commit/d382b56f2e55dab25a003c416925ba2967761a72)) |
| 61 | +* **NODE-6592:** remove dependency on `bindings` ([#220](https://github.com/mongodb-js/kerberos/issues/220)) ([b07a5d2](https://github.com/mongodb-js/kerberos/commit/b07a5d21a219a06303d7be9ad9577d2ffe3aa7c4)) |
| 62 | +* release versioning ([#184](https://github.com/mongodb-js/kerberos/issues/184)) ([a39dfcb](https://github.com/mongodb-js/kerberos/commit/a39dfcb35819ea83642505788e75d91e7f527ca3)) |
| 63 | +* **response:** ensure null or client/server response is returned ([083518f](https://github.com/mongodb-js/kerberos/commit/083518f96bfcddad15dffc123e79d89f6ec07554)) |
| 64 | +* **server:** use the correct internal method name for server init ([8c8dd35](https://github.com/mongodb-js/kerberos/commit/8c8dd3522ac682f0e0a8e618c66378b1a5bd9fb1)) |
| 65 | +* **sspi:** correct invalid null checks for user data ([163bdb9](https://github.com/mongodb-js/kerberos/commit/163bdb92e392755eb87286881fbb282420207f26)) |
| 66 | +* **sspi:** only add password and domain if they are provided ([bc48814](https://github.com/mongodb-js/kerberos/commit/bc488146d9e24501c643a9c8a57f6bfe04f3a373)) |
| 67 | +* temporarily roll back node-abi until lgeiger/node-abi/[#90](https://github.com/mongodb-js/kerberos/issues/90) is resolved ([880ae2e](https://github.com/mongodb-js/kerberos/commit/880ae2eee6a8fe565ab627717d1d81ae85896abf)) |
| 68 | +* **this:** use the correct reference to `this` for object unwrapping ([1acfb20](https://github.com/mongodb-js/kerberos/commit/1acfb20dd7aa5bb771a0dfbdeac2223afacf2164)) |
| 69 | +* **unique_ptr:** ensure we include <memory> where required ([e3d9afb](https://github.com/mongodb-js/kerberos/commit/e3d9afb3730bcd6d8161c5486a03180d9fa6eda1)) |
| 70 | +* **validation:** identify invalid types for non terminal optionals ([a5b98b6](https://github.com/mongodb-js/kerberos/commit/a5b98b61726e7a0dbc0609ef06d79d6445973683)) |
| 71 | +* **warnings:** set clang compiler pragmas only when clang is detected ([048479d](https://github.com/mongodb-js/kerberos/commit/048479d8c0bbd3f9ef63dbcdfac6e9ff02147b3b)) |
| 72 | +* **win32:** `windows` -> `win32` in bindings.gyp ([0221c06](https://github.com/mongodb-js/kerberos/commit/0221c065c000e1457f28c8b868fb207582a807cb)) |
| 73 | +* **win32:** cleanup client state in addon destructor ([5394561](https://github.com/mongodb-js/kerberos/commit/53945614d556f5af42e8483af03127602f98eb19)) |
| 74 | +* **win32:** initialize with a domain, if one is provided ([309ba61](https://github.com/mongodb-js/kerberos/commit/309ba6178e7b667a99ec50186bd8424101f54d40)) |
| 75 | + |
| 76 | + |
| 77 | +### Miscellaneous Chores |
| 78 | + |
| 79 | +* **main:** release 2.1.1 [skip-ci] ([#187](https://github.com/mongodb-js/kerberos/issues/187)) ([c2acb18](https://github.com/mongodb-js/kerberos/commit/c2acb189837296303b4cfe84de9c55475edf96d8)) |
| 80 | +* **NODE-3848:** update dependencies ([#142](https://github.com/mongodb-js/kerberos/issues/142)) ([8c06728](https://github.com/mongodb-js/kerberos/commit/8c067286add33a2b56aeaf10e41f0409c5fe1d5b)) |
| 81 | + |
5 | 82 | ## [2.2.1](https://github.com/mongodb-js/kerberos/compare/v2.2.0...v2.2.1) (2024-12-03)
|
6 | 83 |
|
7 | 84 |
|
|
0 commit comments