Skip to content

Releases: Roboroads/laravel-tinker

v3.0.0

19 Jun 09:32

Choose a tag to compare

⚠️ Breaking changes

  • Your old tinker consoles are still available on the file system. You can find them in the ${idea.config.path}/laravel-tinker directory. Your tinker consoles will not be automatically migrated to the new location, because the new location is per-project. You can copy them manually to the new location, or just create new tinker consoles.
    Where is my idea.config.path?

Added

  • Added file type, *.tinker.php. This will allow you to put scripts anywhere in your project and give them custom names.
    • This has resolved [#393] indirectly as well.
    • This also has solved the confusing 3v4l.org run button above the console.
  • Added per-project configuration option as to where to store the tinker consoles the plugin creates.
  • The output windows now automatically opens/closes when switching to/away from a tinker console. (Thanks @KamikX!)
  • Added a "clear console" action. (Thanks @KamikX!)

Changed

  • [#330] Tinker consoles are now saved within the project, so you have per-project tinker consoles.
  • [#364] Changed Laravel project detection to use the existence of venctor/laravel/framework/conposer.json instead of checking in the composer.json file for the laravel/framework package.

Fixed

  • [#392] Moved tinker actions to the BGT, removing the EDT error.
  • New tinker consoles now always start with the <?php tag.
  • Fixed the OpenNewConsoleWithSelectionAction using the current editors VirtualFile (Thanks @KamikX!)

Removed

  • Laravel Tinker Console from the "Scratches and Consoles" menu.
    ⚠️ BREAKING CHANGE: Your old tinker consoles are still available on the file system. You can find them in the ${idea.config.path}/laravel-tinker directory. Your tinker consoles will not be automatically migrated to the new location, because the new location is per-project. You can copy them manually to the new location, or just create new tinker consoles.
    Where is my idea.config.path?

Miscellaneous

  • Updated dependencies to their latest versions, including the migration to Intellij Platform v2.

v2.7.3

19 Jun 15:35

Choose a tag to compare

Fixed

  • [#349] Fixed a compatibility issue with PHP 7.0 (Laravel 5.5) and older versions of PsySH.
  • [#306] Put all laravel functionality behind a check to see if the project is a laravel project, making the plugin also
    work with plain PsySH without laravel or tinker installed.

v2.7.2

17 Jun 17:53

Choose a tag to compare

Fixed

  • [#255][#280] Fixed by windows destroyed characters in a
    different way

v2.7.1

17 Jun 15:19

Choose a tag to compare

Miscellaneous

  • Reverted the fix for windows users where Cyrillic and Arabic characters would be lost in encoding conversions.
    • Sorry to these users, I'm still waiting response from JetBrains to properly fix this issue. The workaround I implemented for 2.7 brings more issues than it fixes.

v2.7.0

09 Apr 16:55

Choose a tag to compare

BREAKING

  • Your tinker plugin settings might reset after the update - sorry for that :)

Fixed

  • Swapped out deprecated StringEscapeUtils.
  • Fixed ModalityState deprecation warning.
  • [#316] Fixed ActionUpdateThread deprecation.
  • [#312] Fixed app settings storage conflict with another plugin.
  • [#255][#280] Fixed (worked around) characters not present in
    windows-1252 charset being displayed weirdly on windows machines.
  • Fixed deprecation warnings coming from the Migrations.

Miscellaneous

  • Updated all dependencies to their latest versions.
  • Fixed a typo in feature request template. (Thanks @igorsantos07!)
  • Changed minimal version to 2024.1, deprecating the plugin for older versions of IDEs.

v2.6.1

08 May 15:02

Choose a tag to compare

Fixed

  • [#252] Cast exception when running on an SSH interpreter
  • [#253] Remove unneeded withPtty: true from process handler

v2.6.0

16 Apr 21:44

Choose a tag to compare

Added

  • Added new castProcessResult tinker caster. (Thanks @emargareten!)
  • ANSI Parser for the output window within the Kotlin part of the plugin.
  • Meta tag to set charset to UTF8 in toolwindow HTML.

Changed

  • Now using the ToolWindow without use of a .form file, which was not supported in combination with Kotlin (even though it always had worked in the past).

Removed

  • Reverted to the pre-2.5 tinker_run.php, since the new method didn't work in all cases.

Miscellaneous

  • Pulled missed changes from the Intellij platform plugin template.

v2.5.1

14 Dec 21:50

Choose a tag to compare

Added

  • [#220] Add context menu action in tinker consoles to run the console.
  • Replace JB run icon with a green tinker run icon.
  • [#223] Editor font size is now used as font size for the tinker console.

v2.5.0

13 Dec 22:57

Choose a tag to compare

Added

  • [#190] Add way to customize vendor path. (Thanks @bobisdacool1!)
    • Also fixed the bug from this PR where it crashed if you didn't configure anything.
  • [#171] Add ANSI mode parsing (instead of regex-replace-guessing in the output window)

Changed

  • Due to demand: added more ways to support this plugin, like Ko-Fi and sharing options.
    • Adding these ways to a rotation for the support message every 10 executions.
    • Adding these ways to FUNDING.yml.
    • Generalize "Patereon" to "Support" in the code.

Removed

  • Rexeg-replace-guessing in the output window, replaced with ANSI mode parsing.
  • [#217] Removed the deprecated ProjectManagerListener.projectOpened event. Didn't replace it with a postStartupActivity because it apparently works without just fine.

Fixed

  • [#212] Whisper tags now get parsed to a span with text color set to gray.
  • "INFO" being left after execution because of Laravel's new error parsing in the console.

Miscellaneous

  • Updated dependencies (Thanks @dependabot!)
  • Removed some now unused code due to removing of ProjectManagerListener.projectOpened event.

v2.4.0

01 Aug 17:11

Choose a tag to compare

Added

  • [#169] Option to call app termination after running code.

Fixed

  • [#178] Process exiting before full output is available.