Skip to content

Conversation

@glennblock
Copy link
Contributor

@glennblock glennblock commented Jan 21, 2017

Get it via svm or Chocolatey! Homebrew PR pending.

Special thanks to: @BlackFrog1, @gregoryyoung, @aarondandy, and @rickardp for their contributions to this release.

This Release

This is the first release in a while for scriptcs. It includes some great new features such as Pretty Printing, Support for NuGet credentials, enrichment to the execution environment and more!

For API users (hosting or other programmatic usage), there is one major change, the removal of members exposing Common.Logging types (#1189) from the public API. These were deprecated in version 0.15.0. As a result, the ScriptCs.Core NuGet package no longer takes a dependency on the Common.Logging package.

Breaking API Changes

High impact: Common.Logging types have been removed from the scriptcs public API.

Medium impact: The ScriptCs.Core NuGet package no longer takes a dependency on the Common.Logging package. If you are using Common.Logging for other purposes, after upgrading your project to ScriptCs.Core 0.17.0 you should check to see if NuGet has removed Common.Logging. If so, you will have to reinstall it yourself.

Low impact:

Affects hosters / module authors only

  • The IConsole interface has a new Width parameter.
  • The IScriptEnvironment interface has new members AddCustomPrinter<T>), Print<T>(), ScriptPath, LoadedScripts, ScriptAssembly, and Initialize().
  • The FileParserContext and FilePreProcessResult classes have a new member: ScriptPath

Issue Details

New Features

![screen shot 2017-02-11 at 10 46 24 pm] (https://cloud.githubusercontent.com/assets/141124/22864844/8de41d34-f10d-11e6-9f9a-5091f5a42812.png)

Fixes

lukebuehler and others added 30 commits May 9, 2015 16:48
A bunch of fixes for Roslyn engine (0.16.1 hotfix)
load assembly into AppDomain in CSharpPersistentEngine
made Namespaces collection immutable and relevant methods virtual #1040
* Fixes #1172 and #1173

* Fix case
* Adding brew build script

* Removing whitespace
* #1143: Char literals does not take escape sequences into account

* #1143: Added unit test for problem and added a fix to not break another unit test that is checking that broken input is to be accepted
Sending Common.Logging to oblivion!
filipw and others added 29 commits January 9, 2017 18:54
Adding unit tests for ScriptInfo
Refactoring ScriptEnvironment to use IScriptInfo directly
Adding Env.ScriptAssembly
Forcing ScriptAssembly to be set when a script first runs, this way l…
Changing DarkRed to Red, fix for #1198
Word wrap the Repl Command description in the Help Command
Fixing tests I broke and slight refactoring
Adds support for single line comments at the top of a file before dir…
Fixes handling of relative paths. Fix for #1193
Updating to Nuget.Core 2.14.0
Removing automatically showing usage
Fixing unit test to not expect args
@jrusbatch jrusbatch merged commit 9423e56 into master Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants