This repository has been archived by the owner on Jan 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Breaking Changes
Drew Freyling edited this page Dec 19, 2017
·
41 revisions
We try to keep the number of breaking changes down to an absolute minimum, but sometimes we feel the change is so important that we decide to perform it. Many time these changes will not directly have an effect on users that upgrade their Nancy version, but since they are changes to public types and behaviours, we still list them here in case you should run into issues after an update.
If you find any breaking changes that are not documented here, please let us know!
2.0.0-clinteastwood(View)
- None
-
JsonResponse
now requires aINancyEnvironment
- https://github.com/NancyFx/Nancy/commit/793104fcc7468cacd90c5bdd4077789fd1f04cd0
- Not tracked
1.4.3 (View)
- None
1.4.2 (View)
- None
1.4.1 (View)
- None
1.4.0 (View)
1.3.0 (View)
- Break when status code has been handled
- Tweaked overloads of Dependency and Dependencies
- Content Negotiation in OnError pipeline
1.2.0 (View)
- None
1.1.0 (View)
- None
1.0.0 (View)
- Pass NancyContext to CreateRequestContainer
- Pass NancyContext down to DataAnnotations ValidationAdapters
- Overwrite Content-Type from headers
- Requestscopedtype fix being overwritten
- Moved View/Negotiate to INancyModule
- Renamed metadata module project and nuspec
- Fixed case comparison issue with model binding collections
- Model binding support for fields
- Added new long route constraint and updated the int route constraint to int
0.23.2 (View)
- None
0.23.1 (View)
- Adds a string constructor to MediaRange
- Update MP3 mime type to be IANA standard "audio/mpeg"
- Json empty body behaviour
0.23.0 (View)
- Improved ISO8601 support
- Updated the minetype for javascript
- Maintain QueryWrapper Selector
- Updating Razor to official MS version
- Tracelog refactoring
- AspNetRootSourceProvider -> AspNetRootPathProvider
- Nancy.Url no longer contains a fragment property
0.22.2 (View)
- None
0.22.1 (View)
0.22.0 (View)
- Constraint Score matches Normal Capture Node and picks wrong route.
- Using AllCultures instead of SpecificCultures
- Support for request cancellation in INancyEngine and owin.CallCancelled (redo)
- Change default json serializer to camelcase by default
- Update to AspNet HttpRequestHandler to use Fully Qualified Type Name (include assembly name)
- Changed date serialization
- Respect case-sensitivity setting when parsing form data
- Updated ModelValidationResult and ModelValidationError
- Grouped validation rules per property
- Passing NancyContext to IModelValidator.Validate
- Removed old code marked with ObsoleteAttribute
- Fluent validation improvements
- Data annotations improvements
- Model validation overhaul
- Remove AsJs and AsCss extension in FormatterExtensions
0.21.1 (View)
- None
0.21.0 (View)
0.20.0 (View)
- This is not the release you are looking for
0.18.0 (View)
- [Passing binding context to body deserializers] (https://github.com/NancyFx/Nancy/pull/1133)
- [Adds charset=utf8 to a json response Content-Type] (https://github.com/NancyFx/Nancy/pull/1089)
- [Client certificates are always prompted for with SSL on self host.] (https://github.com/NancyFx/Nancy/issues/1121)
- [Added host configuration to OWIN hosting to control client certificates] (https://github.com/NancyFx/Nancy/pull/1123)
0.17.1 (View)
- None
0.17.0 (View)
- [First class static content] (https://github.com/NancyFx/Nancy/pull/982)
- [New route resolution engine] (https://github.com/NancyFx/Nancy/pull/988)
- [Disable CSRF hook by default] (https://github.com/NancyFx/Nancy/pull/989)
- [Scanning changes] (https://github.com/NancyFx/Nancy/pull/953)
- [Make IUserIdentity immutable] (https://github.com/NancyFx/Nancy/pull/974)
- [Module registration changes] (https://github.com/NancyFx/Nancy/pull/998)
- [Various SDHP improvements] (https://github.com/NancyFx/Nancy/pull/1001)
- [Excluded Nancy assemblies from resource scanning] (https://github.com/NancyFx/Nancy/pull/1004)
0.16.1 (View)
- None
0.16 (View)
- Changed RootPathProvider to return an instance
- Should be able to provide a root path provider instance
- Changed scanning order
- User provided status code handlers aren't automatically discovered
- Caching Changes
- Removed overload of Dependencies that doesn't work
- Nancy module split
0.15.3 (View)
- None
0.15.2 (View)
0.15.1 (View)
0.15 (View)
- Changed discovery of ISerializer
- Nancy.Testing lovin'
- Limit the number of allowed multipart sections
0.14.1 (View)
- None
0.14 (View)
- Change IConvention detection
- Return 404 instread of diag help page in release
- Made the binder overwrite as default
- Renamed IErrorHandler to IStatusHandler
0.13 (View)
- Made ConfigurableNancyModule parameters dynamic
- Re-ordered default view location and added new module path conventions
- ModulePath View Resolution not making sense
- View not found is broken in v0.12.1
- Moved TinyIoc namespace to Nancy.TinyIoc
0.12.1 (View)
0.12 (View)
- Removed NDjango
- Diagnostics should be wired in after IApplicationStartup
- Exclude Nancy.Testing from auto-registration
- Update the Nancy.Testing.Fakes.FakeNancyModule
- Disable Auto Registration in ConfigurableBootstrapper
- Replace HtmlAgilityPack with CsQuery Improvement
- Split IStartup into IApplicationStartup and IApplicationRegistrations
- Reorder the view location conventions Improvement
- Split IStartup registration and initialization into two seperate concerns
0.11 (View)
- Added Nancy context to UserMapper
- Updated HtmlHelpers and UrlHelpers
- Remove version header from NancyEngine (Issue #489)
- Make the NancyContext available everywhere
- Add NancyContext as parameter in IErrorHandler.HandlesStatusCode
0.10 (View)
- Made helpers and url helper interfaces generic
- Improved the RequestHeaders class
- RequestHeaders.AcceptLanguage does not contain a weighed list of languages
- Configurable Bootstrapper Should Disable Error Handling
- View location conventions with module path doesn't work when containing leading /
- Should give better error messages when views not located
- Make date request headers nullable and better invalid date handling
- Tweaked request container logic.
0.9 (View)
- Serializers should be "user specified then default"
- Change TypeConverter signature
- Make ErrorHandler a collection
- Removed url decoding in route matcher
- Basic auth for api
- Per-request application pipelines
0.8.1 (View)
0.8 (View)
- Inject root path into GenericFileResponse
- Case sensitivity options Improvement
- Update HttpStatusCode enum to include additional codes
- Update the BrowserReponse class
- Update IStartup Improvement
- Give the FakeNancyBootstrapper some love
- Bind self host to multiple IP addresses
0.7.1 (View)
- None
0.7 (View)
- Route selection changes
- Cryptography Improvements
- Embedded views throws AmbiguousViewException
- Typed Properties for well-know Http Headers
0.6 (View)
- None
- Introduction
- Exploring the Nancy module
- Routing
- Taking a look at the DynamicDictionary
- Async
- View Engines
- Using Models
- Managing static content
- Authentication
- Lifecycle of a Nancy Application
- Bootstrapper
- Adding a custom FavIcon
- Diagnostics
- Generating a custom error page
- Localization
- SSL Behind Proxy
- Testing your application
- The cryptography helpers
- Validation
- Hosting Nancy with ASP.NET
- Hosting Nancy with WCF
- Hosting Nancy with Azure
- Hosting Nancy with Suave.IO
- Hosting Nancy with OWIN
- Hosting Nancy with Umbraco
- Hosting Nancy with Nginx on Ubuntu
- Hosting Nancy with FastCgi
- Self Hosting Nancy
- Implementing a Host
- Accessing the client certificate when using SSL
- Running Nancy on your Raspberry Pi
- Running Nancy with ASP.NET Core 3.1