Skip to content

Releases: lijunle/Nancy.AttributeRouting

v0.5.6

21 Aug 17:59
Compare
Choose a tag to compare
- Add type provider to let user control which types should be registe…

v0.5.5

16 Aug 14:31
Compare
Choose a tag to compare
Update to C# 6.0

v0.5.4

09 Jun 16:31
Compare
Choose a tag to compare

Fix the bug that it fails to locate view in subfolder without ViewPrefix attribute.

v0.5.3

09 Jun 13:37
Compare
Choose a tag to compare

Breaking change: Do not throw AmbiguousMatchException when multiple implementation for an interface, just return the first implementation. This is the default behavior inside TinyIoC.

v0.5.2

08 Jun 20:07
Compare
Choose a tag to compare
  1. Breaking change: Routing interfaces with routing attributes are registered as multi-instance (lifetime per request). This makes the routing interface behavior same as routing class.
  2. Add security attributes. They are just wrapper for Nancy.Security.SecurityHooks.

v0.5.1

07 Jun 17:00
Compare
Choose a tag to compare

Fix cache thread safe issue.

v0.5.0

07 Jun 13:51
Compare
Choose a tag to compare
  1. Breaking change: Remove prefix type overload on RoutePrefix and ViewPrefix attribute
  2. Breaking change: Add RouteInherit to inherit routing information from another type
  3. Breaking change: Before attribute does not following base class chain, turn to follow RouteInherit chain.
  4. Breaking changes: Throw exception when multiple BeforeAttribute is decorated on same method/class/interface
  5. Interface is fully supported from bottom up. Its functionalities are covered by lots of test cases.
  6. Optimize the prefix lookup performance.

v0.4.1

07 Jun 08:01
Compare
Choose a tag to compare

Add interface routing support.

v0.4.0

06 Jun 16:54
Compare
Choose a tag to compare
  1. Breaking change: Class inherit information will not be leverage to generate route prefix or view prefix. Prefix must explicitly declare on RoutePrefix attribute or ViewPrefix attribute.
  2. Breaking change: Request parameters will not pass to constructor any more. Use constructor for DI only, use method for real business logic, it is good to try-catch exception here.
  3. Routing initialization move to registration phrase.
  4. Throwing more specified exception when getting into trouble.

v0.3.3

24 May 12:38
Compare
Choose a tag to compare

Fix the bug that when resolved path not exactly match constructed path, before attribute not triggered.