diff --git a/CHANGELOG.md b/CHANGELOG.md index b3ff61a8..2371fa0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## [1.12.0 - 2024-08-08] + +See 1.11.x Pre-Release + +#### Added +- Code lens for references, abstract/interface implementations, trait usages, method overrides, method parent. Code lenses are disabled by default and can be enabled by setting the `intelephense.codeLens.references.enable`, `intelephense.codeLens.implementations.enable`, `intelephense.codeLens.usages.enable`, `intelephense.codeLens.overrides.enable`, `intelephense.codeLens.parent.enable` settings to `true` respectively. **[Premium](https://intelephense.com)** +- Find all references for `__construct`. +- Object shape property hover. + +#### Changed +- Built in array function stubs now have templated definitions. +- Improved DOMNodeList::getIterator stub + +#### Fixed +- Comparing class-string in conditional return yielding incorrect type when subject is subtype of test type. +- No type inference and false undefined property when accessing property of intersection type with object shape component. +- `@internal` annotation missing description in hover. + ## [1.11.8 - 2024-08-01] **Pre-Release** #### Fixed diff --git a/README.md b/README.md index 95710e93..89252623 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Intelephense is a high performance PHP language server packed full of essential * Syntax tree driven **smart select** to intelligently expand/shrink selection. [PREMIUM](https://intelephense.com) * Helpful **code actions** to import symbols, add PHPDoc, and implement all abstract methods. [PREMIUM](https://intelephense.com) * Concise **type hierarchy**. Easily view and navigate to subtypes and supertypes. [PREMIUM](https://intelephense.com) +* Insightful **code lens** that shows references, abstract and interface implementations, trait usages, method parent and overrides. [PREMIUM](https://intelephense.com) ## Licence Purchase a licence at https://intelephense.com to access PREMIUM features. Licence keys grant a single user access to all current and future premium features on multiple devices _forever_. Licence keys must be activated (automatically) via https before use. Features not marked as PREMIUM are free and always will be free. diff --git a/package-lock.json b/package-lock.json index 0eb602ec..949888d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "vscode-intelephense-client", - "version": "1.11.8", + "version": "1.12.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscode-intelephense-client", - "version": "1.11.8", + "version": "1.12.0", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "fs-extra": "~11.2.0", - "intelephense": "1.11.8", + "intelephense": "1.12.0", "semver": "~7.6.2", "vscode-languageclient": "9.0.1" }, @@ -1964,9 +1964,9 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" }, "node_modules/intelephense": { - "version": "1.11.8", - "resolved": "https://registry.npmjs.org/intelephense/-/intelephense-1.11.8.tgz", - "integrity": "sha512-EPmfUfMHFrou/SEBrckZHiKHMOtLd3M+skkJyVLUGIWX8a5/b7/+Rb92aNo9OzgjhFU1R2lt3UumvpiKyrdPew==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/intelephense/-/intelephense-1.12.0.tgz", + "integrity": "sha512-Bgh8yBn3WYUDymJTtg+2I/eblksJncHKKgom9iPX0jdDoo9mnEooYubRESbMLQ/fG/96PHmY/s2BZhzNNsPYtg==", "dependencies": { "@bmewburn/js-beautify": "1.15.2", "@bmewburn/vscode-html-languageserver": "1.11.0", diff --git a/package.json b/package.json index 9c405758..84c55bb0 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "sponsor": { "url": "https://intelephense.com" }, - "version": "1.11.8", + "version": "1.12.0", "publisher": "bmewburn", "engines": { "vscode": "^1.82.0" @@ -856,7 +856,7 @@ }, "dependencies": { "fs-extra": "~11.2.0", - "intelephense": "1.11.8", + "intelephense": "1.12.0", "semver": "~7.6.2", "vscode-languageclient": "9.0.1" }, diff --git a/src/extension.ts b/src/extension.ts index da3d6384..b42d3980 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -22,7 +22,7 @@ import { createMiddleware, IntelephenseMiddleware } from './middleware'; import * as fs from 'fs-extra'; const PHP_LANGUAGE_ID = 'php'; -const VERSION = '1.11.8'; +const VERSION = '1.12.0'; const INDEXING_STARTED_NOTIFICATION = new NotificationType('indexingStarted'); const INDEXING_ENDED_NOTIFICATION = new NotificationType('indexingEnded'); const CANCEL_INDEXING_REQUEST = new RequestType('cancelIndexing');