Skip to content

Releases: csf-dev/ZPT-Sharp

v1.0.5

19 Feb 19:44

Choose a tag to compare

This is a single issue release, fixing one high-priority bug.

Changelog

  • #234 - Fix the behaviour of inserting 'CDATA' into HTML documents (EG: inline JavaScript/CSS)
    • In v1.0.4 this went out with the opposite/incorrect behaviour. The structure keyword should not be needed to write inline script or CSS - indeed the very opposite should be the case.

v1.0.4

18 Feb 16:55

Choose a tag to compare

This is a backwards-compatible bugfix release, which addresses four recently-discovered problems.

Changelog

  • #228 - Upgrade the build process to support msbuild on Mono/Linux
  • #232 - Two issues related to the use of HTML Agility Pack. This was at first thought to be one issue but turned out to be two separate things. Both are fixed.
    • A crash bug when writing unconventional (non-ANSI) characters to a ZPT-Sharp document
    • Writing JavaScript or CSS could produce garbage output
  • #218 - Add configuration file transformations for the log4net logging project
  • #217 - Package and release the log4net logging project for NuGet
    ** It was an oversight that this was not released previously

v1.0.3

11 Nov 15:54

Choose a tag to compare

This is a backwards-compatible bugfix release. It addresses a single issue found in the load: expression evaluator plugin.

Changelog

These are the changes between v1.0.2 and v1.0.3 (there is only one):

Bugfixes

  • Fix #230 - Load expressions which reuse the same METAL macro fail on the second and subsequent macro usage

v1.0.2

11 Nov 12:46

Choose a tag to compare

This is a backwards-compatible bugfix release, addressing a single showstopper issue.

Changelog

These are the changes between v1.0.1 and v1.0.2 (there is only one):

Bugfixes

  • #227 - Crash in RenderingContext.CopyTo method

v1.0.1

10 Nov 20:55

Choose a tag to compare

This is a backwards-compatible bugfix release over v1.0.0.

Changelog

These are the changes between v1.0.0 and v1.0.1:

Bug fixes

  • Issue #222 - Fix error reporting for ASP.NET MVC ViewEngine
  • Issue #226 - Fix crash when duplicate METAL macros are found
    • There have been times found in which ZPT-Sharp crashes when there are no duplicate macros
    • This includes improving the exception raised when there really are duplicate macros (indicate which ones are duplicated)
  • Issue #225 - Fix a crash due to constructor visibility in the 'unknown source info' class

v1.0.0

19 Mar 22:28

Choose a tag to compare

This marks the first stable release.

Changelog

These are the changes between v0.9.3 and v1.0.0.

Breaking changes

  • A potentially breaking change has come about due to the resolution of issue #221. In order to 'fix' the HTML Agility Pack's rendering of HTML <form> and <option> elements, its HtmlNode.ElementsFlags dictionary is manipulated by the static constructor of the ZptHtmlDocument type. Thus, if you are using ZPT-Sharp as an API, and you are using the HAP document plugin - beware that static functionality (shared across the whole App Domain) is modified by ZPT-Sharp. This may have impact upon your own app if it makes its own use of the HAP libraries.

Functionality

v0.9.3-rc4

21 Feb 20:37

Choose a tag to compare

v0.9.3-rc4 Pre-release
Pre-release

This marks Release Candidate 4.
Release Candidate 3: v0.9.2 was short-lived and should be ignored.

Changelog

These are the changes between v0.9.1 and v0.9.3.

Bug fixes

  • Resolve #214 - NuGet configuration sections added/removed by installation/uninstallation of packages were not functioning as intended.
  • Resolve #215 - CSharp expressions do not compile correctly on Windows/.NET
  • Resolve #216 - Unit test failure on Windows/.NET
  • Trivial removal of redundant and unused source file in CSharp expression plugin
  • Trivial rework of HelloWorld project to use standard project references instead of NuGet packages
    • Whilst this no longer demonstrates the solution when installed via NuGet, it does make it a self-contained startable project within the overall solution.
    • Also fix some configuration mistakes in the HelloWorld project
  • Trivial improvements to NuGet publishing helper script

v0.9.1-rc2

14 Feb 20:37

Choose a tag to compare

v0.9.1-rc2 Pre-release
Pre-release

This marks Release Candidate 2.

Changelog

These are the changes between v0.9.0 and v0.9.1.

Bug fixes

  • A fatal error was introduced into the NuGet packages for all of the plugin assemblies. This prevented installation via NuGet. This related to issue #197 - in which the fix for that was not completely performed.

v0.9.0-rc1

12 Feb 18:50

Choose a tag to compare

v0.9.0-rc1 Pre-release
Pre-release

This marks Release Candidate 1.

Changelog

These are the changes between v0.8.1 and v0.9.0.

Breaking changes

Each of these changes is non-backwards compatible. If an existing app has been written against an earlier beta of ZPT-Sharp, then it will need to be updated in order to upgrade to this release.

  • Per issue #197 - the configuration attribute for specifying plugin assemblies has changed from Path to Name. Any existing configuration files must be updated.
  • Per issue #213 - the API for getting collections of macros has changed slightly. The return type of IZptDocument.GetMacros is now an instance of a new type: IMetalMacroContainer.
  • Per issue #210 - the ZIP file downloads for a release have been reduced down to only a single file. This contains everything, as well as a new README which summarises how to perform a manual installation. The other ZIP files (MVC, API & ZPTBuilder) will no longer be provided.

Bug fixes

These bug-fixes are deemed backwards-compatible. They should have no negative impact upon upgrading existing apps written against an earlier version.

  • Issue #199 - CSharp expressions always recompiled and never used from cache, causing performance degradation
  • Issue #201 - The MVC integration NuGet version requirement has been relaxed from MVC v5.2.3 to v5.2.0.
  • Some missing NuGet dependencies have been added. The following project are affected:
    • The MVC integration
    • The ZptBuilder.exe application
    • CSharp expressions
    • String expressions

Improvements

These improvements/new features are deemed backwards-compatible. Whilst they alter the functionality of ZPT-Sharp, they do not materially change the existing functionality, nor do they have impact upon upgrades of apps written against an earlier version.

  • Per issue #198, the referenced versions of the following referenced assemblies has been upgraded.
    • CSF.Reflection
    • CSF.Cli.Parameters
    • CSF.Configuration
    • CSF.IniDocuments
  • A new build script has been introduced for building with Linux/Mono.
  • New functionality has been introduced to copy one IRenderingContext to an IModelValueContainer
  • New functionality has been introduced to create a new IZptDocument from a single IZptElement. In essence this copies the element to a new source document instance and returns that document.
  • Per issue #58 - a new "Hello World" tutorial project has been created, along with a web page which takes a user through it.
  • Various improvements to the documentation website.
  • Per issue #202 - A new expression evaluator is available for load: TALES expressions

v0.8.1-beta

08 Jan 17:11

Choose a tag to compare

v0.8.1-beta Pre-release
Pre-release

This is a bugfix release over v0.8.0-beta prior to publishing the NuGet packages. It addresses the following:

  • Various issues discovered with the ZPT-Sharp NuGet packages which blocked their release.
  • Improvements to the way in which assemblies are loaded, including:
    • Plugin assemblies
    • Assemblies referenced by CSharp expressions

NuGet release

As of this release forwards, packages are now available via the NuGet package manager. See the documentation website for a list of the various packages available.