Skip to content

Releases: oleg-shilo/cs-script.npp

Release v1.7.29.0

11 Mar 07:24
Compare
Choose a tag to compare

Release v1.7.29.0

The API workaround is not backwards compatible due to the technical limitations of Notepad++ plugin distribution model. Thus CS-Script enables/disables the workaround depending on the detected version of Notepad++. Meaning that the user experience is seamless, all versions of Notepad++ prior v8.3.0 disable the workaround, while v8.3.1 and higher enable it.

Please be aware that Notepad++ team does not coordinate their releases with the plugin authors so you may find that the future Notepad++ releases may become broken, thus if you see a specific future version of Notepad++ is crashing when you try to use CS-Script, please report it and a hotfix will become available very quickly.

You can always overwrite the auto-enabling API workaround algorithm by setting environment variable

  • CSSCRIPT_NPP_NEW_NPP_API= "true" - new API enabled
  • CSSCRIPT_NPP_NEW_NPP_API= "false" - new API disabled
  • CSSCRIPT_NPP_NEW_NPP_API=<not set> - new API will be enabled if Npp is v8.3.1 and higherd

Huge thank you to rdipardo for the investigation and the actual solution.

Note: this release has been tested on Notepad++ v8.2.1 and v8.3.1


Changes

v1.7.29

  • Added transparent switching to the new NPP API depending on the version: v8.2.1<->v8.3.0 (triggered by #64 and #65)
    Note: the trigger has been changed from v8.3.1 to v8.3.0 due to the N++ team decision to declare v8.3.0 as a current critical release.

v1.7.28
The major feature of this release is the workaround breaking API changes introduced in at least v8.3.1 of Notepad++.

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added logging syntaxer internal errors to the plugin log dir.

Release v1.7.28.0

23 Feb 10:38
Compare
Choose a tag to compare

The major feature of this release is the workaround breaking API changes introduced in at least v8.3.1 of Notepad++.

The API workaround is not backwards compatible due to the technical limitations of Notepad++ plugin distribution model. Thus CS-Script enables/disables the workaround depending on the detected version of Notepad++. Meaning that the user experience is seamless, all versions of Notepad++ prior v8.3.1 disable the workaround, while v8.3.1 and higher enable it.

Please be aware that Notepad++ team does not coordinate their releases with the plugin authors so you may find that the future Notepad++ releases may become broken, thus if you see a specific future version of Notepad++ is crashing when you try to use CS-Script, please report it and a hotfix will become available very quickly.

You can always overwrite the auto-enabling API workaround algorithm by setting environment variable

  • CSSCRIPT_NPP_NEW_NPP_API= "true" - new API enabled
  • CSSCRIPT_NPP_NEW_NPP_API= "false" - new API disabled
  • CSSCRIPT_NPP_NEW_NPP_API=<not set> - new API will be enabled if Npp is v8.3.1 and higherd

Huge thank you to rdipardo for the investigation and the actual solution.

Note: this release has been tested on Notepad++ v8.2.1 and v8.3.1


Changes

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added transparent switching to the new NPP API depending on the version: v8.2.1<->v8.3.1 (triggered by #64 and #65)
  • Added logging syntaxer internal errors to the plugin log dir.

Release 1.7.27.0

19 Feb 10:13
Compare
Choose a tag to compare
Release 1.7.27.0 Pre-release
Pre-release

This release is only compatible with Notepad++ v8.3.1 and higher.

Huge thank you to rdipardo for the investigation and the actual solution.

  • Patched NppPluginNet: CharacterRange.cpMin and CharacterRange.cpMax changed from int to IntPtr
    This addresses the problems triggered by this the third-party component (NppPluginNet):
    • Issue #64: Creating a new script crashes latest 64-bit Notepad++ release
    • Issue #65: Intermittent crashes (and the culprit is CS-Script)
  • Added logging syntaxer internal errors to the plugin log dir.

Release v1.7.26.0

25 Sep 04:42
Compare
Choose a tag to compare

v1.7.25-26

  • Fixed problem (inflicted by Scintilla update) with suggestion list not being updated on character removing
  • Added integration with .NET 5 edition of CS-Script.
    The script engine needs to be enabled from the settings dialog (see "Enable .NET 5/Core integration")
  • The process's TLS protocol is set to v1.2 to address "Check for updates" failures

To install/update this paste https://github.com/oleg-shilo/cs-script.npp/releases/download/v1.7.26/CSScriptNpp.1.7.26.0.x64.zip in the update source location field.
And then press "Update" button:

image

Release v1.7.25.1

18 Sep 11:56
Compare
Choose a tag to compare

v1.7.25

  • Added integration with .NET 5 edition of CS-Script.
    The script engine needs to be enabled from settings dialog (see "Enable .NET 5/Core integration")

v1.7.25.1

  • The process's TLS protocol is set to v1.2 to address "Check for updates" failures

To install/update this paste https://github.com/oleg-shilo/cs-script.npp/releases/download/1.7.25.1/CSScriptNpp.1.7.25.1.x64.zip in the update source location field.
And then press "Update" button:

image

Release v1.7.25.0

17 Sep 11:30
Compare
Choose a tag to compare
  • Added integration with .NET 5 edition of CS-Script.
    The script engine needs to be enabled from the settings dialog (see "Enable .NET 5/Core integration")

To install/update this paste https://github.com/oleg-shilo/cs-script.npp/releases/download/v1.7.25/CSScriptNpp.1.7.25.0.x64.zip in the update source location field.
And then press "Update" button:
image

Release v1.7.24

24 Nov 13:36
Compare
Choose a tag to compare
  • Updated deployment algorithm to handle another set of breaking changes in Notepad++ v7.6 hosting model (PluginAdmin compatible).
  • Fixed script startup problem with '|' character in the DefaultRefAssemblies value.

Release v1.7.22

07 Nov 11:25
Compare
Choose a tag to compare
Release v1.7.22 Pre-release
Pre-release

Release v1.7.21-22

  • Updated deployment algorithm to handle breaking changes in Notepad++ v7.5.9 hosting model (PluginAdmin compatible).
  • Updater.exe is extended to support deployment by double-clicking it from the uncompressed distro folder.

Release v1.7.21

05 Nov 12:54
Compare
Choose a tag to compare
Release v1.7.21 Pre-release
Pre-release
  • Updated deployment algorithm to handle breaking changes in Notepad++ v7.5.9 hosting model (PluginAdmin compatible).

Release v1.7.20.0

25 Oct 14:13
Compare
Choose a tag to compare
  • Updated deployment algorithm to handle breaking changes in Notepad++ v7.5.9 hosting model.