All Versions
386
Latest Version
Avg Release Cycle
3 days
Latest Release
187 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v6.4.0 Changes
December 05, 2022๐ Features:
- switch to pnpm for Serenity and feature projects (Serene / StartSharp still use npm)
- also use state store for script type registry
- allow mocking Q.debounce function in corelib for testing purposes
- use jquery event bindings in SleekGrid where possible for better compatibility with legacy plugins
- make sure interface checks via Q.isAssignableFrom etc. succeed by checking via __typeName even if the same interface is bundled into multiple scripts
- abstracted SixLabors.ImageSharp dependency via new IImageProcessor interface, that might allow replacing that library with another in the future
- ThumbnailGenerator class is now obsolete, use it via DI by IImageProcessor interface
- abstracted upload processor via IUploadProcessor interface
- UploadProcessor is now obsolete, inject and use IUploadProcessor interface via DI
- abstracted upload file and image validation with new IUploadValidator interface.
- introduced IUploadOptions interface and UploadOptions class for keeping default upload options and using in FilePage
- reorganized upload editor attributes through new abstract class BaseUploadEditorAttribute
- image validation is now only performed for the extensions specified in ImageExtensions which is ".gif;.jpg;.jpeg;.png;" by default
- default extension black list can now be modified via ExtensionBlackList property of upload editor attributes
- added UploadIntent property to upload editor attributes, which is a string that is passed to the upload editors and as a query string back to FilePage during temporary upload. This can be used to customize default thumbnail size, validations etc. in upload method based on intent.
- [BREAKING CHANGE] IUploadStorage.CopyFrom and IUploadStorage.WriteFile methods accept OverwriteOption enum instead of bool? autoRename flag which was confusing
- introduced full set of undelete handler related types and behaviors
- completed XML documentation for Serenity.Services and Serenity.Web
- switched to typescript modules also in Serene
- update bootstrap, bootstrap-icons and jquery.
- updated sleekgrid to 1.4.4
- jquery is now at Serenity.Assets/jquery/jquery.js instead of Serenity.Assets/Scripts/jquery-3.5.1.js, you should update your includes in appsettings.bundles.json
- updated movie tutorial for typescript modules
- updated serenity docs like introduction, di, configuration, authentication, localization, caching for latest serenity version
- updated serenity docs api reference to include descriptions for all serenity libs
๐ Bugfixes:
- fix row selection mixin select all button state not updated for some cases
- corelib/slick had an embedded corelib/q copy because of esbuild configuration issue
- initially generated modular ServiceTyping by sergen contained invalid method URLs with Administration/User
- sleekgrid: auto column hints plugin were not working properly because of jquery event binding difference
- sleekgrid: fix rtl mode scroll column rendering
- sleekgrid: old column filter row headers are not deleted before creating new ones
-
v6.3.6 Changes
November 15, 2022๐ Bugfixes:
- null for ImportClause in TSTypeLister
-
v6.3.5 Changes
November 15, 2022๐ Bugfixes:
- better detection for formatters type in clienttypes transformation
-
v6.3.4 Changes
November 15, 2022๐ Features:
- add option to disable module re-exports (or indexes) for servertypings transform in sergen.json under ServerTypings/ModuleReExports
-
v6.3.3 Changes
November 14, 2022๐ Features:
- change TOptions generic argument for Widget to default to any
-
v6.3.2 Changes
November 14, 2022๐ Bugfixes:
- fix group totals is not displayed
-
v6.3.1 Changes
November 08, 2022๐ Bugfixes:
- possible null reference exception in sergen when combination types used as interfaces
-
v6.3.0 Changes
November 06, 2022๐ Features:
- ported all common features projects to ES modules, including Serenity.Extensions, Serenity.Demo.BasicSamples, Serenity.Demo.Northwind
- ported all pro features projects to ES modules, including Serenity.Pro.Extensions, Serenity.Demo.AdvancedSamples, Serenity.Pro.Meeting etc. [StartSharp]
- moved CSHTML views for feature packages to
/Areas/ProjectName
and code files to/Modules
instead of/ProjectName/
- added simplified IFileSystem base interface which removes dependency to System.IO.Abstractions, but it can still be used in tests
- upload behavior refinements, remove hard coded dependency to editor attributes and use interfaces instead
- allow upload attributes other than ImageUploadEditor / MultipleImageUploadEditor to be also handled by upload behaviors by implementing some interfaces
- renamed MultipleImageUploadEditor to MultipleFileUploadEditor, ImageUploadBehavior to FileUploadBehavior
- testable disk upload storage via IDiskUploadFileSystem abstraction. it can also be used to create a custom disk upload storage.
- ported several tests including local texts, globalfilter written in .NET framework for Serenity.Core
- use LookupEditorBaseAttribute / ServiceLookupEditorBaseAttribute for editors defined in modules as well
- replace const enums with normal enums to comply with isolatedModules option
- export Formatter interface from @serenity-is/corelib in additional to @serenity-is/corelib/slick
- enable tsbuild clear plugin by default only when splitting is true. it is still possible to enable it by specifying clean: true
- delete only .js / .js.map files when clean plugin is enabled for tsbuild
- don't use const enum for es modules service method exports, but use const object instead
- better handling for enum types in es modules
- better handling for Razor SDK projects that use ProjectName dir instead of Modules folder
- improve imports for external module types in code / source generators
- moved ui overrides to serenity corelib from pro.extensions
- create new buttons-inner divs when a toolbar has separator, instead of creating a separator div
- specify full names for more classes including QuickSearchInput, TemplatedDialog etc.
- Areas/ProjectName is also scanned by MVC generator for views / strip view parts
- set buttontext as icon font only for < jquery ui 1.12.1 as 1.13x does not allow html in button text
- reuse editor type finding for external libs as long as their namespace match with project name. this improves type discovery for modules, as typescript does not preserve decorators in .d.ts files. make sure your namespaces match the project name, e.g. an editor with key 'MyLib.MySome.MyEditor' should be exported from a 'MyLib.MySome' project (mylib.mysome npm package) with 'MyEditor' classname.
- extends support for tsconfig.json in source / code generator
- better determination of module name in TSModuleResolver for node_modules packages
- also restore dist/index.js for project references to node_modules in addition to dist/index.ts
- auto fake import enums in form.ts / columns.ts if possible, to avoid errors when such types are in a different module
- add ResolveWithHash to HtmlScriptExtensions so it can be used to avoid caching issues while importing module page scripts under esm/..
- instead of removing a property from the form.ts when the editor type can't be discovered, assume it as a widget so it can be understood something is wrong and "as any" etc can be used to reference the form field in such cases
- adapt email client css for BS5 theme [StartSharp]
๐ Bugfixes:
- output directory for Razor SDK projects should use ProjectName dir instead of Modules
- fix RowSelectionModel plugin export
- fix executeOnceWhenVisible alias in corelib typings
- fix GlobFilter regex based matching for
Modules/**/*
style patterns - fix TSFileLister does not work exactly like tsconfig for patterns, as TypeScript considers all patterns to start at root unlike gitignore patterns
- fix deepClone does not work properly with Date and several other types of objects (used https://github.com/angus-c/just)
- also check for "None" in addition to "none" or other cases for module / namespace detection
- fix email client script error [StartSharp]
-
v6.2.9 Changes
October 22, 2022๐ Features:
- add tests for es module editor option generation
- don't generate row type if it has ScriptSkip attribute, even if it is referenced by something else.
- don't generate row / other type members if it has scriptskip or ignore attribute
- use export for nested permission key namespaces
-
v6.2.8 Changes
October 22, 2022๐ Bugfixes:
- fix options for editors defined in es modules not generated in client types