Skip to content

2sxc 16.03 with enhanced Typed mode

Choose a tag to compare

@iJungleboy iJungleboy released this 21 Aug 08:02
· 2901 commits to master since this release
22882ab

This massively improves v16.02 with the typed mode and is slowly finalizing all work.

Important Breaking Change (for new Typed code only)

Read the breaking changes in typed code in v16.03 blog post.
Note that we

  • Base classes were renamed because of confusing ...Pro suffix. RazorPro is now RazorTyped, ApiPro is ApiTyped and CodePro is CodeTyped #3147
  • Now by default, all access to a property like .String("SomeName") will throw an error in required mode if the field doesn't exist #3138
  • The .Parents(...) was enhanced to require named parameters (see blog post) #3139

Enhancements

  1. Typed: Massively enhanced and reduced the possibility of writing code which doesn't do anything
  2. Oqtane: Better error when Oqtane in installed without sufficient DB permissions #3128 / #3131
  3. Image Resizer: Upgrade to dnn-imageflow 1.2.1 #3130
  4. Image Resizer: New Square resize settings #3134
  5. Typed: ITypedItem now has a new .Picture(...) method making the code nicer #3135
  6. Image Resizer: ImageService can now also handle IFile objects and get the metadata automatically #3140
  7. Typed: ITypedItems can now be mocked #3141 to create alternate data in code when no data exists
  8. Typed: New methods ContainsKey(...), Keys(...) #3142
  9. Typed: New methods IsEmpty(...) and `IsNotEmpty(...) #3144
  10. Typed: method .String(..., scrubHtml) now also accepts a string containing tags to remove #3146
  11. Typed: If an error occurs, much more information is provided as to how to fix #3143 #3145
  12. Web Farm Cache: Updated for v16.02+ (enterprise customers only)
  13. Page Parameters: now support ITyped so you can use MyPage.Parameters.Int("id") and similar
  14. Typed Json: now also supports paths, so you can use Kit.Json.ToTyped(jsonString).Int("Root.Child.Id")
  15. Typed Json: now also strict using propsRequired by default
  16. Typed: the property .Dyn now only exists on ITypedItem (entity-based) and not on other wrappers

Bugfixes

  1. turnOn failed on AJAX reloads during editing #3127
  2. Oqtane: Bugfix importing App Assets #3129
  3. Web Farm Cache: Fix issue which occured on license uploads
  4. Licenses: fix issue with multiple licenses / names resulting in an unlicensed message

Other / Internal

  1. Code cleanup with warnings new EF-Core #3132
  2. EF Core QuerySplittingBehavior #3133
  3. Newtonsoft internal version in DNN Manifest now matches 13.0.3