Skip to content

Latest commit

 

History

History
2753 lines (2013 loc) · 124 KB

CHANGELOG.md

File metadata and controls

2753 lines (2013 loc) · 124 KB

3.12.3 (2020-02-22)

Features:

  • if null value handling is set to include, row converter should also serialize null fields
  • define JsonSettings.StrictIncludeNulls and JsonSettings.TolerantIncludeNulls which serializes null values, and checks them on deserialization. JSON class methods also has an additional includeNulls (default = false) to be able to use these settings.
  • added NavigationPermissionAttribute which takes precedence over ReadPermissionAttribute on a row to determine permission for page and navigation item of the row.
  • add AsSqlValue method which calls AsObject by default to Field object. this will be useful for fields which has a different storage type then their value type, e.g. JsonField
  • added JsonField type. it has no attributes that controls serialization options like nulls so such options must be set through Field.Settings property if required for now.
  • don't show an error if xhr status is abort
  • added async source support to Select2Editor
  • added async option to use getLookupAsync to lookup editor
  • added ServiceLookupEditor type
  • don't use type delay for initial load, hide select2 spinner while waiting for type delay
  • add async option to lookupeditor which makes it work like a service lookup editor
  • added FieldReadPermissionAttribute which determines the default permission required to read fields of a row, optionally excluding [LookupInclude] and Id/Name fields. This will make it easier to use a ServiceLookupEditor with a row, for example by setting [ReadPermission("Northwind:Lookups")], [FieldReadPermission("Northwind:General", ApplyToLookups = false)], [NavigationPermission("Northwind:General")], so only users with Northwind.General can see the page and read all the fields through the list service / grid, while a user with Northwind.Lookups permission can call List service but can only read ID + Name + LookupInclude fields through it.
  • adding missing field HeaderHtmlUrl to IHtmlToPdfOptions
  • include pdb file for serenity.web for source link debug support
  • ensure connection is open for better compatibility with mvc version in dapper interface

Bugfixes:

  • fix Q.getLookupAsync not actually working async
  • avoid double initSelection by setting select2-change-triggered
  • fix layout timer registration cleanup
  • title text should be read from child with .title-text class
  • avoid exception while determining url when a controller has multiple action methods with same name

3.12.2 (2020-01-11)

Bugfixes:

  • DataGrid.updateInterface might fail if grid has no toolbar
  • make sure quick filters bar can still be created within a fake toolbar div, even when grid has no toolbar

3.12.1 (2020-01-11)

Bugfixes:

  • revert updates to System.Threading.Tasks.Extensions and System.Runtime.CompilerServices.Unsafe in Sergen (NET45)

3.12.0 (2020-01-08)

Bugfixes:

  • fix embedded resource issue with new sergen tool

3.11.0 (2020-01-08)

Features:

  • introduce sergen as a global/local dotnet tool as DotNetCliToolReference can't be used with .NET Core 3+ (remove DotNetCliToolReference from CSPROJ, run "dotnet new tool-manifest" in CSPROJ dir, followed by "dotnet tool install sergen", then "dotnet tool restore" and use "dotnet sergen" as before)

3.10.1 (2020-01-08)

Bugfixes:

  • compatibility issue with dotnet sergen

3.10.0 (2020-01-08)

Features:

  • support for .NET Core / ASP.NET Core 3.1 (you'll need Visual Studio 2019 as .NET Core 3 SDK is not supported in VS 2017 or older versions.)
  • selectable ability like checkbox selection for radio (#4777)

Bugfixes:

  • make sure required field validation server side also runs for non-string fields
  • only validate idField if it is actually assigned in saverequesthandler

3.9.14 (2019-12-23)

Features:

  • Int64Field should serialize big values into strings just like JsonSafeInt64Converter to avoid loss of precision due to javascript JSON deserialization
  • call ValidatePermissions in DeleteRequestHandler just before ValidateRequest, so that Request can be accessible there, closes #4785

Bugfixes:

  • latest changes for permissions in Dialog.scriban and Grid.scriban had syntax errors.

3.9.13 (2019-12-10)

Features:

  • generate TS code for types with NestedPermissionKeys attribute
  • added ScriptSkip attribute to optionally skip code generation for some types and service methods
  • converted quick filter bar into a separate component, so that it can be used without a data grid
  • added ability for toolbar buttons to control their own visibility and disabled states through updateInterface handler if a visible/disabled option as a function is set
  • added readOnly property and reated interface methods to datagrid, updateInterface calls toolbar.updateInterface for new toolbutton disabled/visible methods
  • added getInsertPermission method to EntityGrid, transfer readOnly property to opened dialogs if any
  • implemented readOnly property for entity dialog
  • added useViewMode method which when true opens entity dialog in view mode initially and shows an edit button
  • added getInsertPermission, getUpdatePermission, getDeletePermission methods which controls button visibility to EntityDialog
  • added EditorUtils.setContainerReadOnly method which is used by entity dialog to make all form editors readonly in readonly/view modes
  • server typings generator generates row permissions in Row.ts
  • use permissions in grid/dialog/row typings generated by sergen

Bugfixes:

  • jquery ui tabsshow event is now tabsactivate

3.9.12 (2019-11-12)

Features:

  • add support for NOT "!" and Parenthesis "()" to LogicOperatorPermissionService
  • activated thumbnail generation in .NET Core using System.Drawing.Common, make sure to run "sudo apt install libc6-dev " and "sudo apt install libgdiplus" if using Linux
  • update TypeScript to 3.6.4, this is now the recommended version

Bugfixes:

  • use occurred instead of occured in error messages
  • fileSizeDisplay inconsistency
  • file upload editor, maxsize only works for images
  • wait cursor not removed after columnpicker quick search
  • datagrid.itemAt should return an object of TItem type, not any.

3.9.11 (2019-08-26)

Features:

  • removing mono.cecil from tooling, please take latest CodeGenerationHelpers.ttinclude from Serene/StartSharp that doesn't require Cecil reference
  • add option to show checkboxes only in some rows for GridRowSelectionMixin

Bugfixes:

  • fix bug with clearing slick event handlers
  • fix property grid item orders might get messed up, if tabs and categories are in mixed order, e.g. same category name used in a tab, but separate locations

3.9.10 (2019-07-30)

Features:

  • introduce EntityGridDialog which is a mixture of an EntityGrid and EntityDialog, than allows editing records in a side panel on grid [StartSharp]
  • complete missing XML docs for Serenity.Data
  • change error message to suggest IgnoreName instead of NotMapped for skipping property name check with CheckNames
  • update packages in node based sergen cli
  • added a toggle method to Serenity.TabsExtensions

Bugfixes:

  • if user changed CustomTemplates via the config UI, it was not used properly in sergen until restart
  • handle issue with template registration when a project directory has a Modules parent directory in full path
  • [IMPORTANT!] fluentmigrator output might reveal connection string in exception message when migrations fail. please set CustomErrors=RemoteOnly in your web.config, and ASPNETCORE_ENVIRONMENT to PRODUCTION for .NET Core. Also apply changes in SiteInitialization.DataMigrations.cs and DataMigrations.cs.

3.9.9 (2019-05-24)

Features:

  • SqlSettings.DefaultCommandTimeout global setting to set command timeouts, and connection.SetCommandTimeout extension method to set timeout for a connection (only works with WrappedConnection)
  • made set of criteria operator constants available in script side as Serenity.Criteria.Operator
  • complete missing XML documentation for Serenity.Core

3.9.8 (2019-04-16)

Bugfixes:

  • sergen nuget package missing System.Threading.Tasks.Extensions.dll used by scriban 2.0

3.9.7 (2019-04-15)

Features:

  • update to asp.net core 2.2, make sure you install 2.2 sdk for your Visual Studio version (SDK 2.2.106 for VS 2017, SDK 2.2.203 for VS 2019 as of writing), updated many packages including Newtonsoft.Json, FakeItEasy, Microsoft.AspNet.Mvc
  • add better error handling when a property has [LeftJoin] or [InnerJoin] attribute but no [ForeignKey] attribute.

3.9.6 (2019-04-05)

Features:

  • added annotation type support, which allows separating undesired dependencies, like UI related attributes from row properties into a annotation class.
  • added AutoColumnWidthMixin which auto sizes grid columns based on content width [StartSharp]
  • improve responsive layout algorithm for data grids in mobile devices
  • recommended method to ignore checking a property name when form/columns class has a BasedOnRow(CheckNames = true) is now [IgnoreName], not [NotMapped] attribute, though old one still works for compability.

3.9.5 (2019-03-27)

Features:

  • handle toastr invalid path casing

3.9.4 (2019-03-27)

Bugfixes:

  • fix syntax error in DotnetCorePathFinder

3.9.3 (2019-03-27)

Features:

  • better handling for nuget locations in linux / mac

3.9.2 (2019-03-27)

Features:

  • skip packages without id for dotnet sergen restore, e.g. Microsoft.AspNetCore.App

3.9.1 (2019-03-27)

Features:

  • check runtimeconfig.dev.json for nuget folders (attempting to fix linux / mac transform issue)

3.9.0 (2019-03-15)

Features:

  • added basic attributes to support plugin architecture (work in progress...)
  • [Breaking Change] Serenity.Web NuGet package no longer contains / has reference to Serenity script, css and image files, so you need to manually install Serenity.Scripts NuGet package in your project after updating. Also update Serenity.Web.Assets package. If using AspNetCore add reference to Serenity.Web.Assets and Serenity.Web.Scripts packages in CSPROJ file next to Serenity.Web reference.

Bugfixes:

  • StackExchange.Exceptional delete, protect etc. actions wasn't working in ASP.NET Core properly due to AntiForgery system [StartSharp]

3.8.7 (2019-02-27)

Features:

  • update bootstrap dependency to 3.4.1

3.8.6 (2019-02-09)

Features:

  • modern flat design for grids, dialogs and toolbars [StartSharp]
  • when there are items without a tab, instead of showing an empty tab caption, create those property items before the tab (thanks @dfaruque)
  • ability to register data scripts using classes like lookup scripts
  • row field value name indexed get access should also look field by property name and also in dictionary data if available
  • made target optional for PropertyGrid.save and it returns the new/passed target object. added value property to PropertyGrid.

3.8.5 (2019-01-03)

Bugfixes:

  • ensure not-mapped fields that are populated by MasterDetailRelation or LinkingSetRelation are only loaded if explicitly included (e.g. column is visible) for ListRequestHandler and loaded in default Details mode for RetrieveRequestHandler

3.8.4 (2019-01-02)

Bugfixes:

  • fix inplace add script error in lookup editor

3.8.3 (2018-12-29)

Features:

  • added idle (session) timeout feature and related sample [StartSharp]
  • implemented impersonate as (login as) functionality in users page [StartSharp]
  • backported two factor authentication sample to .NET core [StartSharp]
  • added from address setting for mailing in .NET core version [StartSharp]
  • added selectedItem getter in SelectEditor (thanks @dfaruque)
  • changed protection level of clearItems, addItem and addOption in lookup editor to public (thanks @dfaruque)
  • ability to specify location of button separator (thanks @Jin)
  • added GridRadioSelectionMixin (thanks @Jin)
  • moved most of lookup editor code like cascading, filtering etc. into select2editor base class so that they can be reused in custom editors
  • enum editor supports multiple option

Bugfixes:

  • fix ui look of datetimeeditor (thanks @adam feng)
  • fix fonts folder casing issue in linux
  • fixed OracleSchemaProvider based on pull request by @kilroyFR
  • hotkeyContext of tool button definition is ignored (thanks @hannesb)

3.8.2 (2018-12-04)

Features:

  • skip enum members that has Ignore attribute in ServerTypingsGenerator
  • trigger change handler when now button is clicked in date/time editor
  • trigger change event of TimeEditor hour input when minute changes

Bugfixes:

  • set minutes section readonly when time editor is readonly
  • hide delete buttons on images when MultipleImageUploadEditor is readonly
  • fix typo on unsubscribe viewOnDataChanged of SlickGrid

3.8.1 (2018-11-03)

Bugfixes:

  • resolve package downgrade issue with System.Data.SqlClient

3.8.0 (2018-11-03)

Features:

  • updated to .net core 2.1, updated many packages
  • when a field can't be loaded from database using getFromReader, show the name of the field and row type so that developer can understand which field has an invalid type
  • added local text generation ability (optional) to server typings so that local texts can be accessed with completion and compile time checking. currently only processes row field texts and nested local texts.
  • serenity guide is now hosted at https://serenity.is/docs
  • added readonly option to CheckTreeEditor and subclasses like CheckLookupEditor
  • improve UniversalAssemblyResolver so that more packages can be located / loaded by sergen
  • divide InBrace function of CodeWriter to StartBrace and EndBrace functions so blocks can be manually opened and closed

Bugfixes:

  • if allowNegatives is true and minValue / maxValue is not specified, minValue is set to 999999999999.99 instead of -999999999999.99 in decimal editor
  • only switch to main tab if current tab is being made disabled
  • add / to handler paths to make them only available at root, see serenity-is#4017

3.7.7 (2018-09-15)

Features:

  • enabled StackExchange.Exceptional (e.g. exception logging) in ASP.NET Core version [StartSharp]
  • added docs for migrating Serene project to StartSharp inplace / to a new project [StartSharp]
  • added sample daily background task that generates PDF from a report and sends it by e-mail [StartSharp]
  • better handling when header filters mixin is working client side with formatted column text instead of underlying value [StartSharp]
  • add cke_dialog class to allow header filter search input work under dialogs [StartSharp]
  • use timeout give cascaded dropdowns a chance to update / clear themselves, also fixes quick filter clear problem
  • updated Scriban to 1.2.3
  • implemented IReadOnly in RadioButtonEditor (thanks @dfaruque)
  • made ApplyDefaultValues return row for chaining, added unassignedOnly option to the method
  • modified css classes used for OneThirdWidthAttribute, QuarterWidthAttribute, ThreeQuarterWidthAttribute and TwoThirdWidthAttribute so that they stay around 250-350 pixels in worst case. might be a breaking change for your existing layouts.
  • added JustThis option to form layout attributes like HalfWidth etc, so that you won't have to cancel form widths to just set width for one item
  • added JustThis option to LabelWidthAttribute just like FormWidthAttribute
  • added VariantField which should correspond to sql_variant (sergen doesn't auto use it yet)
  • stop auto numeric from raising errors when an out of range value set manually, only fix value on tab out if some action performed to change value
  • added AllowNegatives property to IntegerEditor and DecimalEditor, which alongside AllowNegativesByDefault static property controls ability to edit negative values in editors when MinValue is not explicitly set
  • added widthset to PropertyItem which determines if an explicit width value is assigned to property in columns.cs etc.
  • split part that loads persisted settings when settings = null in DataGrid.restoreSettings into its own function, getPersistedSettings

Bugfixes:

  • if there was an exception, shouldn't commit transaction but dispose (rollback) it in .net core service endpoints
  • resolve issue that fields with a space inside name can't be removed from grouping [StartSharp]
  • check value of [ReadOnly(false)] attribute before setting item as read only
  • ResetLabelWidth attribute shouldn't require a value
  • gray out now button in DateTimeEditor when readonly
  • handle issue with extra whitespaces in generated Row.cs after scriban update
  • fix typo for tabbingDirections in slick.grid.js (thanks @globtech1)
  • delete .orig file in DeleteFileAndRelated as well (thanks @globtech1)

3.7.6 (2018-07-10)

Features:

  • updated Serenity.Web.Assets package

3.7.5 (2018-07-10)

Features:

  • added drag & drop grouping mixin and related sample [StartSharp]
  • added customizable summaries mixin and related sample [StartSharp]
  • group headers and summary footers uses column formatter if available
  • ignore when one or more of requested distinct fields are not allowed and instead of raising exception return null to gracefully handle issue

Bugfixes:

  • handle ckeditor warning about upload plugin

3.7.4 (2018-07-05)

Features:

  • introduced AllowHideAttribute which when set on a property to false, doesn't let that column to be hidden in column picker dialog
  • added collapseAll() and expandAll() to TreeGridMixin.ts, thanks @dfaruque
  • Bengali translation, thanks @dfaruque
  • remove quick filter if user doesn't have permission to column
  • advanced filter should only show columns that user has read permission to (thanks @kilroyFR)
  • renamed ColumnFiltersMixin to HeaderFiltersMixin [StartSharp]
  • better positioning for header filter popup [StartSharp]
  • added ability to check for roles like permissions with Role:RoleKey if role has a key set (a new field added to Roles table) [StartSharp]
  • fix SqlErrorStore error logging in non sql server type database servers

Bugfixes:

  • fix typos in [DefaultHandler] implementation for Save and Delete handlers
  • avoid duplicate key exception while adding implict permissions in UserPermissionService
  • fix some ClientTypes conditional files left behind even if related features are not selected

3.7.3 (2018-06-28)

Features:

  • updated Serenity.Web.Assets package

3.7.2 (2018-06-28)

Features:

  • added ability to select distinct fields to ListRequest and its handler by using DistinctFields which works similar to Sort property
  • excel style column filtering grid mixin and related sample [StartSharp]
  • call init async on widget if the widget is async as well

Bugfixes:

  • removed BW operator from StringFiltering (thanks @marcobisio)
  • added missing return statement that causes switch on advanced filter contains to fall back to startsWith operator (thanks @edwardch)
  • replaced default keyPrefix with config.KeyPrefix in RedisDistributedCache (thanks @MungoWang)
  • handle null reference exception gracefully when row type doesn't have a nested fields type
  • .net core memory cache raises an exception if timespan is less than zero (#3514)

3.7.1 (2018-05-16)

Bugfixes:

  • fix sergen generating empty files due to a change in template engine (scriban) we use

3.7.0 (2018-05-14)

Features:

  • support for UNION including INTERSECT, EXCEPT and/or ALL (where DB support is available) to SqlQuery using .Union method
  • added ability to determine Name field by using new [NameProperty] attribute instead of INameRow interface if name field is of non-string type
  • introduced [DefaultHandler] attribute, which when placed on a service handler, e.g. ListRequestHandler, SaveHandler etc, allows behaviors like MasterDetailRelationBehavior, LinkingSetRelationBehavior, UpdatableExtensionBehavior etc to use your custom handlers (MySaveHandler etc.) instead of generic ones for that row type. This allows logic in your custom handlers to be reused for related records, e.g. detail rows for MasterDetailRelation without having to write a behavior.
  • added [DataAuditLog] attribute which allows simple audit logging for change operations to any entity (StartSharp)
  • set filename field after upload so that audit logging can take the final value
  • data audit log viewer sample (StartSharp)
  • split master details grid sample (StartSharp)
  • add MigrationAttribute to enforce migration versioning
  • switched to SourceLink from GitLink
  • removed .Net45.csproj versions for some Serenity libraries like Core, Data, Entity, Services...
  • updated all packages including AspNetCore, AspNet.Mvc, Newtonsoft.Json, Nuglify, Selenium, CKEditor etc.
  • use double right arrow character for organization dropdown (StartSharp)
  • added documentation about upgrading from Serene to StartSharp, inplace or by migration (StartSharp)
  • handle *.ts *.cs includes for ServerTypings / ClientTypes to get less merge conflicts on .csproj files
  • added debounce function
  • got rid of .Net45.csproj files for Serenity.Core, Serenity.Data, Serenity.Data.Entity, Serenity.Services and Serenity.Caching packages, switched to SourceLink

Bugfixes:

  • resolve intellisense issue on project creation (StartSharp)
  • presencefield bug on updatable extension (thanks @marcobisio)
  • fix missing element in Recaptcha Widget Editor (thanks @edson)
  • fix typo in closequote for sql2000dialect (thanks @hannesb)
  • FastReflection should try to skip visibility checks

3.6.0 (2018-03-31)

Features:

  • changes to widget for React integration (currently StartSharp only), you'll need to add @types/react to your package.json even if you'll not use React at all
  • include react scripts in Serenity.Web.Assets
  • full featured e-mail client (IMAP) sample written with React and MailKit (StartSharp)
  • rewrote CardViewMixin with React (StartSharp)
  • introduced Serenity.Pro.Scripts nuget package which makes it possible to update StartSharp scripts. It contains UI, App and EmailClient scripts now.
  • allow viewing / editing with inplace button even if the lookup editor itself is readonly
  • use inline source maps for better script debugging experience with corelib
  • add helpers required for spread operator
  • grouping helper in corelib
  • ability to do replacements in ScriptBundles.json, e.g. replace development version of some script with prod using web.config setting Replacements
  • improve typing of widget class, make editor discovery more tolerant even if type doesn't have a registerEditor attribute
  • don't try to minimize files ending in min.js when script bundling is on
  • deprecating Saltaralle, no longer Serenity.Script package

Bugfixes:

  • fix some slickgrid compability issues in chrome related to jquery changes
  • fix return type declarations of some script data functions

3.5.5 (2018-02-20)

Bugfixes:

  • null reference exception during servertypings generation of types with generic parameters

3.5.4 (2018-02-19)

Features:

  • add reference to Serenity.Web.Tooling package so that it auto updates as well
  • [Breaking Change] need to replace "externalType.Interfaces.Add(intf.FullName)" with "externalType.Interfaces.Add(intf.InterfaceType.FullName)" in CodeGenerationHelpers.ttinclude
  • MasterKeyField option to use another field as master key in master row, thanks @hannesb

3.5.3 (2018-02-19)

Bugfixes:

  • resolve possible problem with loadScriptAsync
  • [InstrinicProperty] in legacy script form import generator is causing issues

3.5.2 (2018-02-18)

Bugfixes:

  • fix Row.scriban sergen template

3.5.1 (2018-02-18)

Bugfixes:

  • add missing Mono.Cecil.dll

3.5.0 (2018-02-18)

Features:

  • rewrote servertypings generator using mono.cecil to reduce assembly loading errors on .net core sergen transform
  • added CheckLookupEditor which is similar to lookup editor with multiple option but uses checkboxes instead
  • updated AspNetCore, jQuery, Redis, Couchbase, Nuglify, Dapper and some other packages
  • added module attribute that will be used to auto determine local text prefix and lookup script keys
  • [LookupScript] attribute can now be used without specifying a lookup key. In that case lookup key will be auto generated from row module / name and / or class namespace.
  • no need to set localTextPrefix as it will now be determined by RowIdentifier, e.g. module identifier dot row type name without row suffix
  • added IIsDeletedRow which works similar to IIsActiveDeletedRow but as a Boolean fields
  • added IgnoreDeleted option to UniqueConstraintAttribute and UniqueAttribute to skip soft deleted records on check
  • added CheckNames option to BasedOnRowAttribute so that property name matching with row can be validated optionally to ensure valid / exact case matching property names. can turn check off on a property by adding [NotMapped]
  • ability to skip minification for specific files using NoMinimize option in ScriptBundling settings
  • added ResolvePath function to ContentHashCache resolve virtual paths to absolute or cdn urls when enabled
  • seek to page 1 after a change in filters / sort orders / quick filter in slick grid
  • more descriptive error message when lookup script is not found
  • try to give more info when lookup script fails to load due to permissions or another exception
  • error handler to show runtime errors in browser console as toast on localhost / 127.0.0.1
  • make sure there is only one type with a lookup key, raise an error otherwise to warn user
  • overflow hidden to prevent double scrollbars in iframedialog
  • removing responsive() attribute from dialog template as its should be default now in all except legacy apps
  • validate cache on commit even if row doesn't have TwoLevelCachedAttribute, so that attribute is not required anymore
  • added ForceCascadeDelete option to LinkingSetRelationAttribute and MasterDetailRelationAttribute that forces deletion of sub records even if master row uses soft delete
  • removing old ResponsiveDialog and MultiColumnResponsiveDialog samples as we now have a different way to handle them. removed responsiveDialog decorators as it is no longer needed. [Serene]
  • added CheckNames = true to all BasedOnRow attributes so that property / field name matching can be validated [Serene]
  • increase upload request limits to 50mb [Serene]
  • make sure colorbox scale properly for very large images [Serene]
  • finalize agenda and decision tabs in meeting module [StartSharp]
  • include ckeditor in pages where required to improve first time startup time [StartSharp]
  • use tablename and module attributes for all rows, move external lookups to Lookups namespace instead of Scripts, remove explicit lookup keys from all lookups as it can be auto generated now. [StartSharp]

Bugfixes:

  • possible race condition in css / script bundling at first startup
  • fix quick search input property/method reference, closes #3248
  • check-box vertical alignment issue
  • fix northwind employee symbols [Serene]
  • fix missing navigation icons [Serene]

3.4.4 (2018-01-30)

Bugfixes:

  • fix issue with formatter displayFormat option not working after TS port, and a few other options in other editor / formatters

3.4.3 (2018-01-28)

Features:

  • implemented sorting and text search functionality in DataExplorer sample [StartSharp]

Bugfixes:

  • fix email and image upload editor value properties are readonly in TS typings
  • added new EmailAddressEditor with one input for e-mail editing (unlike EmailEditor)
  • fix MinuteFormatter returns empty text

3.4.2 (2018-01-26)

Bugfixes:

  • fix possible script registration issue with enum types

3.4.1 (2018-01-26)

Bugfixes:

  • use categories default was changed during TypeScript port
  • persist sort order wasn't working

3.4.0 (2018-01-24)

Features:

  • 4 new themes: Azure, Azure Light, Cosmos, Cosmos Light [StartSharp]
  • ported all code left in Saltaralle (12K+ lines) to TypeScript
  • Optimized ServerTypings generation so that it produces a MyProject.Web.js file that is up to %50 less in minified size.
  • [BREAKING CHANGE] used const enum feature in TypeScript 2.4 to generate field names in ServerTypings Row.ts. Replace "var fld = SomeRow.Fields" with "import fld = SomeRow.Fields" and move that line to just under "namespace" declaration.
  • don't validate CSRF token when user is not logged in or cookie token is null (e.g. json service client)
  • changed icon for alert dialog (thanks @Jin)
  • added descending property in DateYearEditorAttribute (thanks @dfaruque)

Bugfixes:

  • fix enum field cast error
  • CompareValue() of field types based on list/array returns wrong value (#3156, thanks @hannesb)

3.3.15 (2018-01-04)

Bugfixes:

  • missing closing double quote in site.less for new module generated by sergen

3.3.14 (2017-12-27)

Features:

  • prevent reloading grid while loading persisted quick search
  • validate permission on ReportRegistry.GetReport method to secure execution
  • message dialog style changes for modern look
  • made inplace add functionality compatible with multiple lookup editor. when multiple editing items works by double clicking on labels.
  • give a hint about field name when cast exception occurs on a field asobject method (thanks @dfaruque)
  • serins npm package (serin for startsharp)

Bugfixes:

  • took care of unnecessary loops on distinct lookup registration
  • should put quotes around guid values in sql debug text
  • fix search for previously loaded CKEditor script
  • preprocessor directive to determine site.less folder in new sergen was wrong, so site.module.less was created in wrong directory
  • RadioButtonEditor missing options in constructor in Editors.ts
  • renamed getEntityIsActiveField (older name) in d.ts to getIsActiveProperty (current name), thanks @ tky753
  • set property item as localizable only if Localizable attribute value is true
  • fix sqlite connection string database location invalid due to a change in Microsoft.Data.Sqlite
  • fix hint and title options are mixed in ExcelExportHelper.ts [Serene]
  • show pdf in new window not working on some browsers [Serene]
  • fix exception while adding implicit permissions [Serene]

3.3.13 (2017-11-23)

Features:

  • added DateOnly option to DateTimeField, which means field has date value only (it only affects json serialization / deserialization not get/set value), DateTimeKind.Unspecified means a DateTime field with Time portion that shouldn't apply any timezone conversions (this might be breaking change if you relied on DateTimeKind.Unspecified means date only), DateTimeKind.Local means server should apply it to its local time zone (as before), DateTimeKind.Utc means store and retrieve as utc (as before). Added tests, property grid changes, and a useUtc option to DateTimeEditor that should be true when DateTimeKind.Local or DateTimeKind.Utc is used.
  • create log file with FileShare.Read flag in FileLogger

3.3.12 (2017-11-21)

Features:

  • introduce FormWidthAttribute which works similar to FormCssClass attribute before, but targeted only at bootstrap grid classes. FormCssClassAttribute is still usable but intended for other cases, like offset, and custom field css classes
  • ability to add break point, e.g. wrap to next row before this field for bootstrap grid fields, using one of line-break-xs, line-break-sm, line-break-md, line-break-lg attributes
  • added Q.attrEncode which should be used instead of Q.htmlEncode for attribute values, if you are using Q.htmlEncode in any formatter to generate attribute value, please replace it with attrEncode as quotes can be a problem

Bugfixes:

  • fix utc datetime deserialization issue due to DateTimeOffset
  • added missing date time picker sprites image

3.3.11 (2017-11-15)

Features:

  • added getdisplaytextfor and getcriteriafor to filter store
  • autocomplete lookup editor should add item on init selection
  • make quick filter loadState, saveState, displayText methods available in TypeScript
  • improve fallback template logic

3.3.10 (2017-11-11)

Features:

  • added wizard dialog widget and related order wizard sample [StartSharp]
  • added UntilNext option to LabelWidthAttribute and FormCssClassAttribute (e.g. HalfWidth etc) so that it applies to all following properties until another one of same kind is used
  • port BooleanEditor, MaskedEditor, StringEditor, TextAreaEditor, TimeEditor classes to TypeScript from Saltaralle
  • ability to save quick filter display text
  • ability to save quick search text and field
  • accept unicode letters as valid sql identifiers
  • use Pascalize instead of Capitalize while generating module name from connection key
  • added some new attribute derived from FormCssClassAttribute for bootstrap grid system form (thanks @estrusco)
  • ability to use a fallback template if can't find expected default one in templated widget

Bugfixes:

  • fix slick grid column header has border on hover inside dialog
  • replace ".Entities." with "." in ScriptDtoGenerator (for saltaralle)
  • fix RadioButtonEditor not able to clear checks on setting value

3.3.9 (2017-11-04)

Bugfixes:

  • fix constructor of DistinctValuesEditorAttribute

3.3.8 (2017-11-04)

Features:

  • added DistinctValuesScript, DistinctValuesEditorAttribute and related logic to automatically define distinct lookup scripts on fields
  • extract UploadedFile into public class to be able to use in other methods
  • move up getDialogTitle method from PropertyDialog to TemplatedDialog
  • cleanup serenity.jqueryui.less duplicates

Bugfixes:

  • fix service typing generation for legacy result type endpoints
  • fix included deleted toggle background position
  • report dialog broken after panel feature
  • remove selectmenu and bring back shake effect as quicksearch is still using it

3.3.7 (2017-11-01)

Features:

  • give more descriptive error, and show error notification in addition to exception when dialog type is not found
  • also show a notification when enum type is not found as users generally don't check console for errors
  • more descriptive error and notification when widget can't be found on an element
  • add missing methods like tryFirst, single etc. in Q.cs

Bugfixes:

  • CKEditor fail when initialized /destroyed in an invisible element / dialog / panel.

3.3.6 (2017-10-30)

Features:

  • use font awesome icons for dialog titlebar buttons, merge aristo.css into serenity.css, change titlebar styling
  • cleanup dialogExtendQ
  • dont swallow exceptions in ScriptBundleManager

3.3.5 (2017-10-25)

Features:

  • introduce explicity included bundles , e.g. ones with "/" in their names and has to be included explicity, using @Html.ScriptBundle or @Html.StyleBundle, which allows using different sets of bundles for different parts of sites.
  • set customer in new order dialog to selected customer in quick filter of order grid [Serene]

Bugfixes:

  • fix RouteDialog call in initEntityDialog method should use itemType passed in parameters

3.3.4 (2017-10-14)

Features:

  • easy to configure cdn support (experimental, in use at serenity.is/demo)
  • allow cdns to cache dynamic scripts for anonymous access
  • check bundled script rights also when checkRights() on concatenated script is called
  • increase scriban template loop limits as some users has tables with many columns (300+)
  • added LocalTextScript method to HtmlScriptExtensions that works well with CDNs
  • fix typo in image upload validation error and show file size in KBs/MBs
  • localize select all button in check tree editor

Bugfixes:

  • custom template path option is not used in .net desktop serene

3.3.3 (2017-10-23)

Features:

  • dont auto focus first element on mobile device, as it shows keyboard
  • prevent jquery ui dialog from focusing an input in mobile devices
  • removing embedded touch punch from cropzoom.js as it was causing dialog back button in android browsers to not work. better to exclude cropzoom.js from layouthead.cshtml completely in your project unless you use it specially.
  • resolve possible memory leak in jquery ui remove event / cleanData method due to HtmlElementCollection enumeration
  • remove layout events when full height grid div is removed
  • removed fastclick.js as it is no longer useful in mobile devices [Serene]
  • don't spin logo in mobile devices [Serene]
  • hide some quick filters in order / customer screens for xs devices using hidden-xs bootstrap class [Serene]
  • specify TypeScriptToolsVersion in web.csproj as VS2017 asks for it on template project creation anyway [Serene]

Bugfixes:

  • fix HostingEnvironment.MapPath in ASP.NET Core / IIS when app is hosted under a virtual subdirectory, fixes script bundling
  • add back spacing line between foreign row fields in generated code
  • call select2 destroy on base select2 editor, not lookupeditorbase
  • check view is not null before calling populate in initialPopulate
  • destroy mouse trap instance on toolbar destroy to prevent memory leaks

3.3.2 (2017-10-22)

Bugfixes:

  • select2 sprites broken in high res devices

3.3.1 (2017-10-21)

Features:

  • release new assets package (3.3.1)

3.3.0 (2017-10-21)

Features:

  • we now have an embedded css minifier / bundler similar to script bundler. CSS bundler can override URLs in bundled CSS files to absolute paths. it is now possible to include other dynamic scripts in script bundles using dynamic:https://ScriptName syntax, e.g. dynamic:https://Lookup.Northwind.Product.
  • use new css bundling and dynamic script bundling features to improve page load times dramatically and decrease number of loaded resources like scripts, css etc when bundling is enabled [Serene]
  • login now has a slim layout page, embedded css and javascript so that Serene.Web.js and site.css, and some other scripts that are not required in login page are not loaded [Serene]
  • use font awesome instead of simple line icons in navigation to remove dependency on simple line icons [Serene]
  • allow overriding separator in ConcatenatedScript
  • allow returning css from dynjs handler / middleware, separate legacy BundleCssHandler to its own file
  • use font awesome icons in column picker instead of simple line icons
  • slimmer version of jquery ui is default now. it doesn't contain extra effects, tooltips, spinner, accordion, jQuery 1.7 support
  • font open sans data uri version that only contains Normal version, which will be used by default in Serene
  • use browser Promise if available, fallback to jQuery.Deferred or RSVP. RSVP is no longer required.
  • convert most used toolbar buttons, pager buttons, back buttons, dialog close button, quick search icon, select2, date picker and filter panel images to data uris image to data uris
  • improve submodule.targets file to auto include serenity projects and remove DLLs if projects exists

Bugfixes:

  • fix dynamic script middleware gzip support check

3.2.2 (2017-10-18)

Features:

  • added openDialogsAsPanel option (which is null by default, e.g. auto) to data grids that allows overriding panel / dialog opening mode per grid.
  • added openDialogAsPanel option to lookup editor (null = auto by default)

Bugfixes:

  • bring back default options populated by sergen on first run (.net framework version)

3.2.1 (2017-10-18)

Features:

  • restore hash in login page returnURL (e.g. returnUrl=Northwind/Customer/Edit#12) [Serene]

Bugfixes:

  • panel is not closed when browser back button pressed
  • build error in Serene due to TypeScript.MsBuild package on build servers

3.2.0 (2017-10-17)

Features:

  • using dialogs as full page panel support, which also works fine with grids, applied it in Northwind Customer and Order dialogs
  • better responsive handling in x-small devices
  • [BREAKING CHANGE] panels are hidden by default, so you need to .removeClass('hidden') after appending panel element to a container. see EntityDialogAsPanel sample Index.cshtml

3.1.1 (2017-10-16)

Bugfixes:

  • fix null reference exception on t4 transform
  • Skip Take With Order By clause used correct syntax for OracleDialect

3.1.0 (2017-10-16)

Features:

  • support CSRF (cross site request forgery) protection in Serenity pages / services. it is highly recommended to apply changes in latest Serene commit to your existing project to enable CSRF protection!
  • .net core sergen no longer has dependency to serenity.web, thus asp.net core, so it is now much slimmer and 10 times faster to load
  • improved .net core build / dotnet sergen transform time significantly (20x) if input files (.ts) didn't change by employing caching in TSTypeLister.
  • t4 transform files in .net framework version is also much faster (caching + change control), see latest commit
  • t4 transform doesn't modify files if only line endings changed, solves a problem with git due to line ending transformation (files was looking like changed after T4 transform)
  • servertypings t4 transform doesn't invoke tsc if none of files changed
  • typescript compiler is only invoked when an input file changes which improves build time significantly, see changes in Serene.csproj
  • using Microsoft.TypeScript.MsBuild package instead of Node based TSC in Serene AspNetCore (usually 2x faster)
  • less compiler is only invoked when an input file changes which improves build time significantly, see changes in Serene.csproj
  • use scriban template engine for sergen
  • it is now possible to override templates sergen uses by setting "CustomTemplates" option to a directory with .scriban templates. if there is a template with same name (e.g. Row.scriban) in that directory sergen uses that, otherwise uses default embedded one.
  • sergen provides option to generate custom files by setting CustomGenerate option in configuration file. this is a dictionary of template file => output file format ({0} class name, {1} Module, {2} class path, {3} typings path)
  • it is possible to show / editor custom settings (boolean/string) by adding them to CustomSettings dictionary in sergen configuration file. these settings are available as {{CustomSettings.SettingKey}} in scriban templates.
  • added "mvct" command to sergen that does mvc / clienttypes at once. used this option for pre build script instead of two calls to dotnet-sergen.
  • removed rowwithregion, lookup generate options etc as they are now possible with custom generate option and custom settings
  • sergen no longer generates code for Saltaralle. script project option is removed. use an older sergen version if you still generate code for saltaralle.
  • put each field on separate line for easier merge in ServerTypings generated files (for easier merge in git)
  • support quick filter persist / restore (thanks @marcobisio, pull request #1455)
  • add FullTextContains quick search type (simple version of pull request #2200 that only support quick search with contains for performance reasons, thanks @marcobisio)

3.0.8 (2017-10-11)

Features:

  • made it possible to use bootstrap col-md-6, col-sm-4 etc. to layout form fields.
  • added attribute FormCssClassAttribute for applying custom sizes.
  • use HalfWidthAttribute, OneThirdWidthAttribute, QuarterWidth etc. for quick field sizing
  • added ImplicitPermissionAttribute and related auto permission granting system which is a much better alternative to LogicOperatorPermissionService. e.g. when a user / role has Northwind:Modify permission, it should also automatically have Northwind:View and Northwind:General permissions
  • in addition to resizing canvas, also invalidate grid on resize, fixes some display issues on windows 7 pcs
  • added missing class declaration for IStringValue to .d.ts
  • more descriptive error message for "Can't find {0} enum type!"
  • more descriptive error message for "{0} field on {1} is read before assigned a value!"

3.0.7 (2017-10-07)

Features:

  • add Tab attribute to forms that works similar to Category attribute but works with bootstrap tabs. can be combined with categories.

3.0.6 (2017-10-02)

Features:

  • added autoComplete option to LookupEditor, which allows creating new items by user typed text
  • sampled autoComplete with Northwind Customer's country / city editing [Serene]

3.0.5 (2017-09-06)

Features:

  • allow overriding dialect for SqlInsert and SqlUpdate like SqlQuery does

Bugfixes:

  • fix culture identifiers in .net core version UserCultureProvider and don't crash if a culture is not found in the system [Serene]
  • fix upload problem in linux due to case sensitivity
  • set readonly flag of ckeditor instance after instance is ready

3.0.4 (2017-09-05)

Bugfixes:

  • try to resolve problem with dotnet sergen restore in linux due to case sensitivity and nuget lowercasing package ids

3.0.3 (2017-09-04)

Features:

  • dotnet sergen servertypings can try to find output DLL itself so assemblies option in sergen.json can be removed for normal workflows
  • dotnet sergen servertypings uses release output dll if its date is newer than debug output dll

3.0.2 (2017-09-04)

Features:

  • rowregistry can support multiple rows per ConnectionKey / TableName pair

3.0.1 (2017-09-04)

Bugfixes:

  • fix dotnet sergen failing with assembly load error

3.0.0 (2017-09-03)

Features:

  • upgraded to .NET Core 2.0 / AspNetCore 2.0
  • ability to use full .net framework with Serene AspNetCore version (wait for guide)
  • typescript 2.4 is now recommended version
  • make sure dotnet-sergen can load assembly and list types properly before trying to generate server typings
  • added tablename as attribute on Row for RowWithRegion (thanks @dfaruque)
  • raise forbidresult from PageAuthorizeAttribute when user doesn't have permission but logged in
  • make display order and IDisplayOrderRow work with rows of non-integer ID columns
  • handle service exceptions in asp.net core service endpoints similar to mvc ones

Bugfixes:

  • fix unused select overload (thanks @TomaszKustra)

2.10.3 (2017-08-17)

Features:

  • experimental functionality to use a Serenity editor as a Vue component using special element
  • date/datetime editor year range option default to -100:+50 instead of -10:+10 (better for birth date etc.)
  • router use history.back() only when dialog is closed by x button or escape key

2.10.2 (2017-08-12)

Features:

  • option to use original file name as uploaded file name with a {4} format parameter in FileNameFormat. it auto adds file (1).docx etc if there is already a file with same name on disk

Bugfixes:

  • resolve problem if router can't use history.back(), e.g. history is empty somehow

2.10.1 (2017-08-10)

Features:

  • added option to ignore enum members (thanks @Estrusco)

Bugfixes:

  • resolve problem with Firefox / hash based router while editing items in detail editors. You may add Q.Router.enabled = false in ScriptInitialization.ts if still having issues or wan't to disable this "feature".
  • findElementWithRelativeId missing # (thanks @Estrusco)

2.10.0 (2017-07-23)

Features:

  • updated all packages, including Newtonsoft.Json, Nuglify, AspNetCore, StackExchange.Redis

2.9.32 (2017-07-23)

Features:

  • better handling of return url when forms auth login url is absolute
  • try to restore previous hash if non-routed dialog opened

Bugfixes:

  • fix issues with dotnet-sergen and non-matching assembly versions

2.9.31 (2017-07-18)

Bugfixes:

  • router didn't attach to hashchange at start

2.9.30 (2017-07-18)

Features:

  • use shorter hash fragments for not properly routed dialogs
  • added option to disable router (add "Q.Router.enabled = false" in ScriptInitialization.ts)
  • when time dropdown changes trigger a change event for date input in DateTimeEditor

Bugfixes:

  • set file size correctly when uploaded file is not an image
  • skip assemblies that doesn't like to list types

2.9.29 (2017-07-17)

Bugfixes:

  • resolve routing problem when a dialog is closed and another opened right away

2.9.28 (2017-07-16)

Features:

  • basic hash based router for handling back button in mobile / desktop (primarily for modal dialogs). it can also handle forward button / bookmarking if implemented properly by routing targets.

2.9.27 (2017-07-13)

Features:

  • pass item class from attribute in navigation items

2.9.26 (2017-07-13)

Features:

  • ability to add css class to navigation items
  • wrapped headers in grid sample [Serene]

2.9.25 (2017-07-06)

Features:

  • made back button in mobile mode a bit bigger to make it easier to click in small touch devices, closes #1800
  • updated spanish translations (thanks @gustavo)
  • triggerDataChange overload that accepts a jQuery object is renamed to triggerDataChanged
  • exit gracefully when assembly DLL file is not found for sergen transform Bugfixes:
  • inplace add lowercases typed text in new item dialog
  • jquery ui button noconflict .d.ts typing change warning
  • resolve possible null reference exception in GlobFilter

2.9.24 (2017-05-14)

Bugfixes:

  • possible filtering problem with DateTimeOffset deserialization in JSON.NET and date/time fields

2.9.23 (2017-05-09)

Features:

  • added NestedPermissionKeys attribute that works kinda similar to NestedLocalTexts attribute for permission key registration

2.9.22 (2017-05-07)

Features:

  • allow specifying an external lookup type on rows in LookupScriptAttribute constructor, or a generic type through LookupType property, simplifies multi tenancy
  • added .gitignore compatible high performance GlobFilter class
  • introduce mail settings and pickup directory functionality in .net core version

Bugfixes:

  • code generator for .net core should look for sergen.json instead of project.json
  • when an appsetting key is not available, null reference exception occurs
  • template helper can't find views in .net core version
  • fix typo in signup (thanks @Febriantos) [Serene]

2.9.21 (2017-03-26)

Features:

  • run tsc directly, not through npm, to avoid weird error log with npm
  • ScriptInitialization.ts reference to LanguageList
  • toastr 2.1.33 has getContainer method, so removing one in Serenity, update toastr typings version in your packages.json to ^2.1.33
  • don't show "undefined" when a XHR connection error occurs. try to be more descriptive but it will be limited as there is no possibility to get exact error.
  • return to avoid kestrel header errors in .net core when browser requests .map files which doesn't exist from DynamicScriptMiddleware

2.9.20 (2017-03-19)

Features:

  • allow setting CKEditor readonly option after widget initialization

Bugfixes:

  • script bundling settings are not read in .net core version
  • don't crash on t4 transform when a class has no namespace

2.9.19 (2017-03-16)

Bugfixes:

  • fix .net core version file name casing issues in linux

2.9.18 (2017-03-16)

Bugfixes:

  • backport prefix determination algorithm to sergen net45 version

2.9.17 (2017-03-13)

Features:

  • Visual Studio 2017 support (.NET Core version no longer works on Visual Studio 2015 sorry because of project.json to csproj change. you need to use VS Code or upgrade to VS2017)
  • obsoleted jsrender (will later replace with Vue)
  • added language cookie to cookies sent to pdf renderer [Serene]

2.9.9 (2017-03-02)

Features:

  • use TypeScript compiler from npm. Visual Studio still uses its own extension for intellisense and compile on save, so make sure your version matches.

Bugfixes:

  • try fix nuget sergen path issue by moving back it to tools folder from tools/net45

2.9.8 (2017-02-17)

Bugfixes:

  • fix issue with stored proc (e.g. sqlite pragma foreign_key_list) returning empty resultset with 0 fields, dapper is raising multi map error. backporting fix from Dapper itself.

2.9.7 (2017-02-17)

Bugfixes:

  • resolve bug caused by TypeScript __extends helper copying all static members including __metadata which shouldn't be as Saltaralle type system depends on it being a unique array. this is revealed by panel decorator getting applied to base class as well.

2.9.6 (2017-02-15)

Features:

  • obsoleted linq.js (e.g. Saltaralle.Linq). if you still have saltaralle code that depends on linq.js, add it to your layouthead.cshtml manually, e.g. @Html.Script("~/Scripts/Saltaralle/linq.js")

2.9.5 (2017-02-14)

Features:

  • sergen .net core / node version tolerates whitespace in paths and other arguments
  • russian texts update (thanks @Сергей Соболев)

Bugfixes:

  • handle issue with servertypings.tt and datetimeoffset/bytearray field types

2.9.4 (2017-01-04)

Features:

  • allow spaces in dotnet-sergen arguments (requires updating npm sergen too, e.g. npm update -g sergen)

2.9.3 (2017-01-31)

Features:

  • allow using .ts.html suffix in addition to .Template.html to let Visual Studio group a template under its related component, e.g. SomeDialog.ts => SomeDialog.ts.html
  • add module template prefix to template key automatically (might be a breaking change if you relied on exact file name)

Bugfixes:

  • fix group declaration on group import for slickgrid.d.ts

2.9.2 (2017-01-31)

Features:

  • backport schema providers in sergen .net core version to .net framework version
  • use Serene.Web for .NET core project template, instead of longer Serene.AspNetCore name
  • fill in (CascadeField, CascadeValue) and (FilterField, FilterValue) in InitNewEntity method of LookupEditorBase, e.g. InplaceAdd
  • sergen generates code for mvc, clienttypes before build, and servertypings post build in asp.net core version (project.json)

2.9.1 (2017-01-29)

Features:

  • new [Origin] attribute to auto set Expression, DisplayName, Size and Scale attributes from the originating row for view fields.
  • allow specifying a [ForeignKey] by using a row type that has a [TableName] attribute. ID field can also be automatically determined if row has a property with [Identity] attribute, or a single property with [PrimaryKey] attribute. Implementing IIdField doesn't help ID field detection.
  • for script bundling, replace MsieJsEngine + UglifyJS with Nuglify which is based on MS Ajax Minifier, faster and effective resource wise.
  • put semicolon between ConcatenatedScript parts to avoid javascript errors with certain minified files
  • allowClear param in enum editor (thanks @Estrusco)

2.9.0 (2017-01-25)

Features:

  • Sergen for .NET Core now works with Firebird, MySql, Postgres, Sqlite in addition to SqlServer.
  • New schema provider system in Sergen to query database metadata
  • Made FirebirdDialect quoting compatible with with FluentMigrator one

Bugfixes:

  • use this.uniqueName while binding to layout, to resolve script errors after widget is destroyed, and use it to unbind on destroy
  • fix report dialog not showing parameters (thanks @Scott)

2.8.11 (2017-01-21)

Features:

  • Serin uses latest VSIX template from VSGallery instead of embedding a template in itself [Serene]
  • Serin replaces connection strings to use Sqlite in OSX / Linux [Serene]
  • Serene ASP.NET Core version now works with Sqlite (no code generation support yet) [Serene]
  • Serene ASP.NET Core comes with Sqlite factory preconfigured
  • Serene uses MsSqlLocalDB instance in Windows by default [Serene]
  • increased speed of Sqlite migrations for Northwind dramatically

Bugfixes:

  • resolved problem with .NET Core and Sqlite with reader.GetBytes() as Microsoft.Data.Sqlite doesn't support it
  • fixed Serenity.FluentMigrator and Sqlite compability problem about case sensitivity

2.8.10 (2017-01-20)

Bugfixes:

  • resolve delete error on localization behavior

2.8.9 (2017-01-20)

  • simplified data localization with a behavior
  • localizations are integrated into saverequest and retrieveresponse for easier implementation
  • add language / culture switching support to ASP.NET Core version [Serene]

2.8.8 (2017-01-18)

Features:

  • resolve regression bug with script bundling

2.8.7 (2017-01-17)

Features:

  • develop npm sergen package to workaround dotnet cli tool bug about readline/readkey

2.8.6 (2017-01-15)

Bugfixes:

  • implement console readline hint without using console width or setcursorposition

2.8.5 (2017-01-15)

Bugfixes:

  • remove test check in sergen cli

2.8.4 (2017-01-15)

Bugfixes:

  • can't use auto completion in sergen thanks to cli bug

2.8.3 (2017-01-14)

Bugfixes:

  • resolve problem with dotnet-sergen self assemblies

2.8.2 (2017-01-14)

Features:

  • lazy load connection string provider factory

Bugfixes:

  • resolve problem with dotnet-sergen can't load FluentMigrator assembly

2.8.1 (2017-01-13)

Features:

  • Serene now runs on ASP.NET Core / .NET Core (Beta)
  • allow specifying expressions for a field based on connection dialect type, for example [Expression("CONCAT(A, B)"), Expression("A || B", Dialect = "Sqlite")], match with longest dialect name wins
  • [DisplayName] and [InstanceName] used Title instead of Tablename in generated row.cs (thanks @dfaruque)

2.8.0 (2017-01-10)

Features:

  • Serenity NuGet packages now contains netstandard1.6 targets (e.g. .NET Core support)
  • new command line code generator (dotnet-sergen) for .NET cli
  • criteria.exists overload that accepts a sqlquery
  • ability to add a quickfilter separator line on columns or manually
  • option to add a css class to a quick filter, e.g. something like visible-lg to make it visible only on large devices
  • boolean quick filter takes display texts from filtering options
  • moving /modules/common/imports to /imports and /modules/common/migrations to /migrations [Serene] by default
  • switched to NPM for TypeScript typings (.d.ts) files, see upgrade guide in GitHub

Bugfixes:

  • don't use prefix if a field name is equal to prefix length in sergen

2.7.2 (2016-12-25)

Bugfixes:

  • release assets package containing slickgrid mac fix

2.7.1 (2016-12-25)

Features:

  • remove direct checks on ISqlDialect type and use new ISqlDialect.ServerType and ISqlDialect.NeedsBoolWorkaround properties, which also resolves problems with custom Oracle dialect
  • OracleDialect like search is now case insensitive by default

Bugfixes:

  • fix slickgrid mousewheel bug occuring on mac / chrome (thanks @mkoval-ua)

2.7.0 (2016-12-22)

Features:

  • ConnectionKeyAttribute can now accept a type, e.g. a row type, to get its value from that source type, instead of explicitly listing the connection key string.
  • PageAuthorizeAttribute can now accept a source type, e.g. a row type that gets ReadPermission attribute from, instead of hardcoding the permission
  • ServiceAuthorizeAttribute and its new subclasses, AuthorizeCreateAttribute and AuthorizeUpdateAttribute and AuthorizeDeleteAttribute can now get a source type parameter, e.g. a row type where they'll read relevant permissions from source type, instead of hard coding the permission. Their permission determination algorithms closely matches relevant handlers.
  • RowLookupScript lookups inheritance chain for ReadPermissionAttribute
  • Request handler looks in inheritance chain for permission attributes, and save/delete handlers should also look for readpermissionattribute
  • added HeaderCssClass attribute

Bugfixes:

2.6.10 (2016-12-12)

Bugfixes:

  • fix date required even if not

2.6.9 (2016-12-12)

Bugfixes:

  • fix code generator views

2.6.8 (2016-12-11)

Features:

  • when no category is specified for any of items, don't show default category name, even if useCategories is true, but create category div for CSS compability
  • added inplaceaddpermission to lookup editor
  • disable inplace add functionality if select2 editor is readonly
  • call dialog arrange method on resize and active tab change
  • add "d": date only, "g": dd/MM/yyyy HH:mm (culture specific dmy order), "G": dd/MM/yyyy HH:mm:ss (culture specific dmy order), "s": yyyy-MM-ddTHH:mm:ss, "u": yyyy-MM-ddTHH:mm:ss.fffZ format specifiers for Q.formatDate function
  • Q.formatDate can now accept an iso date/time string or normal date string in addition to a Date object
  • Q.parseDate can also parse iso date/time values
  • feature selection wizard while creating a new application with Serene template. you can now optionally exclude Northwind, Meeting, Organization, Samples etc. [Serene]
  • added attendee editor to meeting UI [Serene]

2.6.7 (2016-12-09)

Bugfixes:

  • fix datetimeoffset conversion bug affecting json deserialization

2.6.6 (2016-12-09)

Bugfixes:

  • fix typescript services transform error when node is null somehow
  • update typescript services used for t4 transforms to 2.0.6
  • possible problem with asyncPostProcessCleanup when a column is removed

2.6.5 (2016-12-08)

Features:

  • code generator single & multiple tabs merged into a new datagrid based interface
  • added DateTimeOffset field type
  • added ByteArray field type for small binary column types like timestamp, varbinary(8) etc.
  • add minbuffer (number of buffered rows on top and bottom), and renderAllCells (render all cells in row, including non visible ones, helps with inline editing tab order) options to slick.grid
  • give a more informational error message about "query affected N rows while 1 expected"
  • added IReadOnly class to TypeScript defs
  • add optional AdminLTE style for login and signup pages (thanks @DucThanhNguyen) [Serene]
  • default timeout of 90 secs for running migrations [Serene]
  • sample for dynamic navigation items (thanks @DucThanhNguyen) [Serene]

Bugfixes:

  • delete button in multiple image upload editor gets lost for long file names
  • fix android keyboard hiding when search on menu is clicked
  • oracle sequences should now work (Oracle users, please report)
  • datetimeeditor fails on empty string

2.6.4 (2016-11-26)

Features:

  • updated font-awesome to 4.7.0
  • updated simple line icons to 2.4.0
  • LinkingSetRelation and MasterDetailRelation shouldn't delete detail records when master is IIsActiveDeletedRow
  • local text key fallback registry (thanks @DucThanhNguyen)

Bugfixes:

  • filter panel incorrect paren handling when a paren comes right after a line without paren
  • missing closing paren at end for filter panel display text

2.6.3 (2016-11-26)

Features:

  • make capture log work without integer ID
  • handle double slashes as single slash in navigation items
  • auto create intermediate menus on secondary or more levels for navigation items
  • auto created navigation items now has min display order of their children
  • add FullPath property to NavigationItem which can be used to get localized captions for navigation items. see change in LeftNavigation.cshtml
  • it's now possible to custom handle filters by overriding ApplyFieldEqualityFilter in ListRequestHandler
  • equality filter multiple values with IN filtering are now supported natively by ListRequestHandler
  • ability to custom handle and ignore an equality filter in ListRequestHandler by behaviors
  • LinkingSetRelationBehavior handles equality filters by default. set HandleEqualityFilter to false for manual handling.
  • don't allow sorting for fields with NotMapped or Sortable(false) attribute
  • set sortable false for fields with NotMapped attribute
  • don't allow filtering on NotMapped fields
  • fix some mistakes in Vietnamese translation (thanks @DucThanhNguyen)
  • add ReportHelper.execute method and related sample in OrderGrid for invoice printing [Serene]
  • move forward 18 years 6 months in Northwind order dates with a migration (sql server only) [Serene]
  • add quick filter to Representatives in customer grid which is handled by LinkingSetRelation [Serene]

2.6.2 (2016-11-19)

Features:

  • added tree grid drag & drop sample (thanks @dallemann for sponsoring this sample) [Serene]
  • added entity dialog as panel sample [Serene]
  • added vietnamese language and translation (thanks @DucThanhNguyen)
  • added ability to inject dynamic navigation items through INavigationItemSource interface (thanks @DucThanhNguyen)
  • include field level permission keys in permission dialog

Bugfixes:

  • entity dialog load fails when onSuccess parameter is null

2.6.1 (2016-11-15)

Features:

  • ability to use original ID column with GridEditorBase instead of "__id"

Bugfixes:

  • if an item is just readonly in property grid, it should still be serialized
  • fix tree grid mixin doesn't work when toggle column has no formatter

2.6.0 (2016-11-12)

Features:

  • implemented field level permissions, just add one or more of ReadPermission, ModifyPermission, InsertPermission, UpdatePermission attributes to properties in a row.
  • added LogicOperatorPermissionService that allows using & (and), | (or) operators in permission checks, e.g. ReadPermission("A&B|C")
  • ListField, RowField, RowListField types has NotMapped flag by default so no need to add [NotMapped] attribute explicitly
  • ListField also supports value comparison just like RowListField
  • added setSelectedKeys method to GridRowSelectionMixin (thanks @estrusco)
  • added other form in tab with one toolbar sample (thanks @estrusco) [Serene]
  • added a report page for Northwind, more report samples are on the way [Serene]

2.5.9 (2016-11-07)

Features:

  • expand category when related link is clicked

Bugfixes:

  • fields in collapsed categories could be focused

2.5.8 (2016-11-06)

Features:

  • TreeGridMixin for tree view like grid functionality
  • added Collapsible attribute, for collapsible categories in forms (thanks @marcobisio)
  • added selectKeys method to GridRowSelectionMixin (so no need to access $items directly)
  • added Tree Grid sample [Serene]
  • filter sample for showing orders containing a specific products in details [Serene]

Bugfixes:

  • don't show pdf button in new order dialog [Serene]
  • use connection.InsertAndGetID with row, instead of SqlInsert to avoid errors in postgresql and similar

2.5.7 (2016-11-04)

Features:

  • added innerjoin attribute (thanks @marcobisio)
  • added tabextesnsions.selectTab helper (thanks @estrusco)

Bugfixes:

  • fix includecolumns parameter in data grid doesn't get cleared when columns are made hidden
  • fix category filtering in report repository

2.5.6 (2016-10-30)

Bugfixes:

  • avoid multiple populate on quick filter initialization. it was due to usage of change event and async initialization

2.5.5 (2016-10-29)

Features:

  • integrated StackExchange.Exceptional [Serene]
  • added validation to another form in tab sample [Serene]
  • added inline action buttons sample [Serene]

Bugfixes:

  • column picker dialog changing height while dragging
  • fix dashboard link doesn't get active if url doesn't end with '/'

2.5.4 (2016-10-28)

Bugfixes:

  • fix paging LIMIT OFFSET statement for MySql dialect

2.5.3 (2016-10-24)

Bugfixes:

  • resolve problem with IE11 and slickgrid layout, that is caused by height() returning non-integer values in jQuery v3, which leads to stack overflows

2.5.2 (2016-10-23)

Bugfixes:

  • fix jquery.event.drag.min.js causing problem when bundling is enabled

2.5.1 (2016-10-22)

Features:

  • upgraded to TypeScript 2.0
  • fix look of ui dialog buttons after jQuery UI update
  • added date time quick filtering option
  • better handling when date entered in a quick filter is invalid

2.5.0 (2016-10-21)

Features:

  • updated bootstrap from 3.3.6 to 3.3.7
  • updated CouchbaseNetClient from 1.3.10 to 2.3.8
  • updated FakeItEasy, from 1.25.3.0 to 2.3.1
  • updated jQuery from 2.2.3 to 3.1.1
  • updated jQuery.TypeScript.DefinitelyTyped from 3.0.5 to 3.1.2
  • updated jQuery UI from 1.11.4 to 1.12.1
  • updated jqueryui.TypeScript.DefinitelyTyped from 1.4.6 to 1.5.1
  • updated jquery.validation from 1.14.0 to 1.15.1
  • updated jquery.validation.TypeScript.DefinitelyTyped from 0.4.3 to 0.4.5
  • updated MsieJavascriptEngine from 1.7.0 to 2.0.0
  • updated Newtonsoft.Json from 8.0.3 to 9.0.1
  • updated qunit.TypeScript.DefinitelyTyped from 0.3.3 to 0.3.5
  • updated RazorGenerator.Templating from 2.3.11 to 2.4.7
  • updated Selenium.WebDriver from 2.48.2 to 3.0.0
  • updated sortablejs.TypeScript.DefinitelyTyped from 0.1.7 to 0.1.8
  • updated StackExchange.Redis from 1.0.488 to 1.1.608
  • updated System.Data.SqlLocalDb from 1.14.0 to 1.15.0
  • updated toastr.TypeScript.DefinitelyTyped from 0.3.0 to 0.3.1
  • removed jquery.event.drag 2.2 package and embedded version 2.3 (from 6pac/SlickGrid) in Serene.Web.Assets as it is compatible with jQuery v3
  • added data-field attribute to input fields in product grid (@wldkrd1) [Serene]
  • added showing another form in tab sample [Serene]
  • removed VS 15 (which is vNext, not 2015) from supported list as it was preventing upload in VSGallery [Serene]

2.4.13 (2016-10-14)

Features:

  • added FilterField / FilterValue to UpdatableExtensionAttribute for extension tables that might have a constant value in addition to key matching, e.g. an address extension table with CustomerID / AddressType field
  • added FilterField/FilterValue option to MasterDetailRelation and LinkingSetRelation, which works just like UpdatableRelation
  • make sure bracket differences don't affect field matching process in UpdatableExtensionBehavior, by removing brackets before expression comparison
  • made ClientSide flag/attribute obsolete as it was causing confusion, use NotMapped instead

Bugfixes:

  • fix look of static text block sample in IE11 [Serene]

2.4.12 (2016-10-13)

Features:

  • added updatable extension attribute and related behavior for 1 to 1 extension tables
  • added Static Text Block sample [Serene]
  • handle IndexCompare for RowListField type
  • added RowField type

Bugfixes:

  • fix reference to Q.ErrorHandling.showServiceError in Saltaralle code

2.4.11 (2016-10-06)

Features:

  • increase checkbox column width for row selection mixin by 1 due to ie11 text overflow issue
  • make source and disabled optional in Select2Item interface
  • rename addItem method in Select2Editor that takes two strings to addOption to avoid confusion
  • added enabling row selection sample [Serene]
  • added user image to user table and navigation (thanks @edson)

2.4.10 (2016-09-16)

Features:

  • added quick filter for boolean fields
  • made dateRangeQuickFilter method public in DataGrid so it can be customized simpler in StoredProcedureGrid sample
  • update bootstrap-slider and fix clash with jquery slider
  • add missing cascadeFrom property to declaration of LookupEditorBase in TypeScript

2.4.9 (2016-09-14)

Features:

2.4.8 (2016-09-13)

Bugfixes:

  • increase version of Serenity.Web.Assets and publish as SlickGrid is released through its nuget package

2.4.7 (2016-09-13)

Features:

  • add optional async post render cleanup support to slickgrid. this opens way to use Serenity widgets in slickgrid, though experimental.
  • if async post render delay or async post cleanup delay is less than zero, work synchronously.

Bugfixes:

  • shouldn't set ID field to null on insert in LinkingSetRelation, as some users has GUID primary keys without Insertable(false) on them

2.4.6 (2016-09-11)

Bugfixes:

  • if replace fields in fileNameFormat of upload editors are foreign / calculated, they might not be available in create. handle this case by reloading row from database before setting file name.

2.4.5 (2016-09-10)

Features:

  • dialog types specified in LookupEditor attribute can now be found with or without Dialog suffix
  • can specify lookup cache expiration in LookupScriptAttributes with Expiration attribute in seconds
  • fix generated dialog code for maximizable option
  • added stored procedure grid sample (thanks @mrajalko) [Serene]
  • deleted css applies to entire slick grid row (thanks @wldkrd1)

2.4.4 (2016-08-18)

Features:

  • option to generate lookup script and related lookup editor attributes in sergen (thanks @rolembergfilho)
  • resolve problem with msiejavascriptengine in win10 anniversary update
  • add quotes to support spaces in uploaded file names
  • added a 3rd option to file name format in upload editors to reference current date/time, e.g. {3:yyyyMMdd}
  • ability to reference field values in file name formats of upload editors using |SomeField|

Bugfixes:

  • call notLoggedInHandler only if received error code is NotLoggedIn

2.4.3 (2016-08-08)

Features:

  • make option name pascal case even if option is not originating from TS in ClientTypesGenerator
  • turned on xml docs for Serenity.Core and Serenity.Data on request, others assemblies will follow

Bugfixes:

  • close button was showing close text in a recent jQuery ui version
  • Q.toId not working properly with negative IDs
  • calling SlickRemoteView.updateItems between beginUpdate / endUpdate might cause problems in some cases
  • resolve issues with SSDeclarations.ts in some complex legacy projects

2.4.2 (2016-07-29)

Features:

  • added sample for searchable Visual Studio Gallery questions and answers in Serene, which also acts as a sample for using non-SQL data sources with Serenity
  • fix look of login panel in IE11 (need to not use flexbox for propertygrid, fieldset and form that is not under a dialog)

Bugfixes:

  • add missing Serenity.Web.Assets package with rtl slick.grid.min.js

2.4.1 (2016-07-29)

Features:

  • serene and slickgrid now has RTL support (thanks @misafer)

2.4.0 (2016-07-27)

Features:

  • try to resolve issues with lessc file as some users report nuget doesn't copy it under tools folder

2.3.7 (2016-07-21)

Features:

  • added populate linked data sample [Serene]
  • added serial auto numbering sample [Serene]
  • added product excel import sample [Serene]

Bugfixes:

  • fix column ordering not restored properly from persistance
  • use sheet name and table style specified properly in excel generator (thanks @Estrusco)

2.3.6 (2016-07-20)

Bugfixes:

  • fix error in client side criteria value conversion

2.3.5 (2016-07-20)

Features:

  • use an older version of VSSDK.ComponentModelHost to keep compability with VS 2012 & 2013
  • try to convert criteria values received from client side to field type, to avoid errors in some db engines like Oracle for dates, and get better performance for indexed fields

2.3.4 (2016-07-19)

Bugfixes:

  • fix usage of ROWNUM for Oracle paging queries

2.3.3 (2016-07-18)

Features:

  • rename EditorUtils.setReadOnly to setReadonly for overload that takes jQuery parameter
  • added readonly dialog sample [Serene]

Bugfixes:

  • fix paging for Oracle queries

2.3.2 (2016-07-15)

Features:

  • make RetrieveRequest interface members optional in TypeScript
  • added get id of inserted record sample [Serene]
  • added dialog boxes sample [Serene]
  • auto replace 'f' with '0' for excel date/time display formats
  • changed login design using vegas plugin (thanks @jsbUSMBC)
  • made login page responsive [Serene]

2.3.1 (2016-07-13)

Features:

  • Serene template size gets down to 2.5MB from 21MB+, by excluding NuGet packages from VSIX
  • static assets and code generation tools in Serenity.Web and Serenity.CodeGenerator NuGet packages are moved into new Serenity.Web.Assets and Serenity.Web.Tooling packages, which are separately versioned from other Serenity packages to reduce download sizes.
  • converted Flot, iCheck and some other parts in Serene to NuGet references
  • disable tslint by adding an empty tslint.json
  • added removing add button sample [Serene]

2.2.8 (2016-07-09)

Features:

  • added RadioButtonEditor (thanks @Estrusco)
  • made RadioButtonEditor work with enums and lookups
  • optional GridEditor and GridEditorDialog generation in sergen (thanks @dfaruque)
  • added initial values for quick filters sample [Serene]

2.2.7 (2016-07-07)

Bugfixes:

  • CascadeField property of LookupEditorBase is not converted to an ES5 property

2.2.6 (2016-07-07)

Bugfixes:

  • fix issue with Recaptcha due to their change in response and json deserialization by using tolerant mode

2.2.5 (2016-07-04)

Features:

  • ability to generate code for multiple tables at once in sergen (thanks @dfaruque)
  • ability to choose which files to generate in sergen. e.g. row, endpoint, grid, page... (thanks @dfaruque)

2.2.4 (2016-07-02)

Bugfixes:

  • SaveHandler was updating two times in some cases
  • dropdown filter text is lost in filter bar after editing second time

2.2.3 (2016-06-11)

Features:

  • search for subdirectories when adding translation json files from a directory
  • added pt-BR translations (thanks @rolemberfilho)
  • split site texts for Northwind / Samples to separate directories [Serene]

Bugfixes:

  • fix datagrid title can't be set if its not null

2.2.2 (2016-06-06)

Features:

  • added OracleDialect(thanks @dfaruque)
  • Serene and Northwind now works with Oracle [Serene]
  • alternative row generation with RowFieldsSurroundWithRegion config option in Sergen for those who likes regions (by @dfaruque)

Bugfixes:

  • resolve automatic trimming problem for NotNull fields

2.2.1 (2016-05-28)

Features:

  • add ListField as an alias for CustomClassField<List>. ListField also acts like RowListField when cloning rows, so it clones the list itself.

Bugfixes:

  • options defined as property for formatters or editors written in TypeScript couldn't be set
  • invalid cast error for Time fields, due to a bug in ADO.NET that converts parameter type to DateTime when you set it to Time!

2.2.0 (2016-05-21)

Features:

  • linking set behavior can now load list of selected items in a list request, so it is possible to show them in a grid column, or use it with in combination with a master detail scenario
  • showed representative names in customer grid
  • master detail relation can now work with non integer keys
  • multi level master detail is now possible
  • columnselection and includecolumns can be overridden for master detail relation
  • conditional row formatting sample [Serene]

2.1.9 (2016-05-19)

Features:

  • sergen generates files with UTF-8 preamble (BOM) again. BOM was lost after TFS integration work, though files was still UTF-8.

2.1.8 (2016-05-18)

Bugfixes:

  • dialog translation save was broken after a TS conversion

2.1.7 (2016-05-17)

Features:

  • sergen generates StreamField for timestamp / rowversion columns, not Int64
  • translate image upload editor errors
  • show row selection column as [x] in column picker dialog
  • don't display row selection column in pdf output [Serene]

2.1.6 (2016-05-16)

Bugfixes:

  • addValidationRule stopped working after 2.1.3 due to a typo in conversion of CustomValidation.cs to TypeScript

2.1.5 (2016-05-15)

Features:

  • we now have a cute, responsive column picker that works also with touch devices
  • integrate sortable.js (https://github.com/RubaXa/Sortable) for column picker
  • ability to persist / restore grid settings like visible columns, column widths, sort order, advanced filter (quick filter can't be persisted yet) to local storage, session storage, database or any medium you like. thanks to Mark (@c9482) for sponsoring this feature. how-to is coming.
  • compile TypeScript files on project build (in addition to compile on save) of Serene.Web, using tsc.exe as a build step, but reporting TypeScript errors as warnings to avoid potential problems with T4 files [Serene]
  • Q.centerDialog to center an auto height dialog after open
  • [BREAKING CHANGE] removed Q.arrayClone helper function as Array.slice does the same thing. replace "Q.arrayClone(this.view.getItems())" with "this.view.getItems().slice()" in GridEditorBase.ts
  • fixed some flexbox height issues with IE11
  • port Widget, TemplatedWidget and TemplatedDialog to TypeScript
  • [BREAKING CHANGE] Widget.create method had to be changed to a more TypeScript compatible signature. Please take TranslationGrid.ts createToolbarExtensions method source from latest Serene

2.1.4 (2016-05-13)

Bugfixes:

  • include enums that are not referenced in rows, but only columns/forms in ServerTypings.tt / ServerImports.tt
  • fix CustomerDialog not opening due to script error in CustomerOrdersGrid [Serene]

2.1.3 (2016-05-12)

Features:

  • made refresh button in grids without text to save space
  • update TypeScript typings to latest versions
  • added Q.Config.responsiveDialogs parameter to enable responsive for all dialogs without need to add responsive decorator
  • added separator option to ToolButton, to put a separator line between groups
  • add missing MsieJavascriptEngine reference to Serenity.Web.nuspec
  • Serenity.Externals.js and Serenity.Externals.Slick.js is merged into Serenity.CoreLib.js
  • made Note dialog responsive [Serene]
  • invoke TSC (TypeScript compiler) after generating files with ServerTypings.tt

2.1.2 (2016-05-11)

Features:

  • quote file names while calling Kdiff3 and TF.exe to prevent problems with whitespaces
  • made code generated by sergen more compatible with ones generated by .tt files

2.1.1 (2016-05-10)

Features:

  • Sergen will try to locate TSC and execute it after generating TypeScript code to avoid script errors
  • if script project doesn't exist switch to TypeScript generation by default and don't try to generate Saltaralle code

2.1.0 (2016-05-09)

Features:

  • Serene no longer comes with Serene.Script project. It's TypeScript only. Developer Guide needs to be updated.
  • your existing code written in Saltaralle should continue to work. Please report any issues at GitHub repository.
  • all Serene code is ported to TypeScript
  • start obsoleting mscorlib.js and linq.js to lower dependencies and library size. can't remove yet as Serenity.Script.UI depends on it.
  • linq like first, tryFirst, single etc. extensions in Q
  • removed unused jlayout and metisMenu plugins
  • IE8 is no longer supported as now we are targeting ES5 (jQuery 2.0 that we used for long time didn't support it anyway)
  • make use of Object.defineProperty to make properties like value etc. feel more natural in TypeScript
  • added EnumType option to EnumEditor, usable instead of EnumKey
  • ability to define quick filters on columns at server side
  • quick filters support multiple selection option
  • added sortable attribute for controlling column sortability at server side
  • multiple and or helpers for client side criteria building
  • remove unused xss validation method
  • root namespaces doesn't need export keyword to be available in ClientTypes.tt etc.
  • HtmlBasicContentEditor in Serene moved to Serenity.Script.UI as HtmlNoteContentEditor
  • ClientTypes.tt and ServerTypings.tt works with/without Saltaralle libraries
  • all Serene dialogs will use responsive layout, e.g. flexbox by default (requires IE10+, can be turned off)
  • Serene products inline editing sample has dropdowns in category and supplier columns

Bugfixes:

  • error about restoreCssFromHiddenInit method in Mac/Safari

2.0.13 (2016-05-01)

Features:

  • updated Spanish translations (thanks @ArsenioInojosa)
  • update dialogExtendQ.min.js as old one didn't use translations
  • embed uglifyjs and use it with ScriptBundleManager
  • added scripts/site/ScriptBundles.json to enable script bundling / minification with a simple web.config setting (see how to in Serenity Developer Guide) [Serene]

2.0.12 (2016-04-30)

Features:

  • added some linq like helpers to Q for TypeScript, toGrouping (similar toLookup), any and count
  • added integer editor tests and resolve integer editor allows decimals
  • made most interface members optional in TypeScript defs
  • allow using font-awesome, simple line etc. font icons in toolbuttons via new icon property
  • better look and margins for toolbuttons when wrapped
  • getWidget and tryGetWidget extensions on jQuery.fn for easier access from TypeScript
  • include json2.min.js in T4 templates for users that have IE8
  • rewrote PermissionCheckEditor in TypeScript [Serene]
  • rewrote RolePermissionDialog and UserPermissionDialog in TypeScript [Serene]
  • extensive tests with QUnit for User, Role and Language dialogs [Serene]
  • added favicon.ico [Serene]

Bugfixes:

  • handle TFS and site.less append problem with sergen
  • fix tfpath location search (thanks @wldkrd1)

2.0.11 (2016-04-18)

Features:

  • added italian translations and language option (thanks @Estrusco)
  • added porteguese translations and language option (thanks @fernandocarvalho)
  • updated Newtonsoft.Json to 8.0.30
  • updated jQuery to 2.2.3
  • updated jQuery typings to 3.0.5
  • updated jQuery UI typings to 1.4.6
  • updated Toastr typings to 0.3.01

Bugfixes:

  • fix loop condition in TF location search (thanks @wldkrd1)

2.0.10 (2016-04-17)

Features:

  • added chinese (simplified) zh-CN translations and language option (thanks @billyxing)
  • ported language dialog, language grid and translation grid to TypeScript
  • use 24 hour filename format in grid to pdf output files
  • experimental TFS integration in Sergen using tf.exe. set TFSIntegration to true in CodeGenerator.config

2.0.9 (2016-04-15)

Features:

  • remove useless npm files from Serenity.CodeGenerator

2.0.8 (2016-04-15)

Features:

  • better generated output in ssdeclarations.d.ts for exported namespaces

2.0.7 (2016-04-14)

Features:

  • included jsPDF and jsPDF autoTable plugin [Serene]
  • pdf export samples in Order, Product and Customer grids [Serene]
  • removed fastclick.min.js as it was reportedly causing some problems in IE 11 [Serene]

2.0.6 (2016-04-12)

Bugfixes:

  • fix equality filter captions showing ID captions after recent change

2.0.5 (2016-04-11)

Features:

  • ported UserDialog and UserGrid to TypeScript [Serene]
  • started writing isolated script tests for Serene interface [Serene]
  • equality filter title can be overridden
  • changes to support better TypeScript interop
  • use method overriding instead of decorators, as TypeScript can't order types properly in combined file

Bugfixes:

  • generated ts row was causing error in sergen for join fields
  • groups wasn't updated properly in PermissionCheckEditor after slickgrid update [Serene]

2.0.4 (2016-04-08)

Features:

  • add displayformat, urlformat and target properties to UrlFormatter
  • don't use colon string definition for export declare const strings in typescript declarations

Bugfixes:

  • fix possible null reference error for nodes without heritage clauses in typescript typings generator

2.0.3 (2016-04-08)

Bugfixes:

  • fix null reference error with TextAreaEditorOptions

2.0.2 (2016-04-07)

Features:

  • add group collapse, expand and comparer methods

Bugfixes:

  • fix problems with SlickGrid grouping in 2.0

2.0.1 (2016-04-07)

Bugfixes:

  • fix TypeScript dialog generated code

2.0.0 (2016-04-07)

Features:

  • Serenity now has TypeScript support, make sure you install TypeScript 1.8. Serene and migration guide coming soon...

1.9.28 (2016-04-05)

Bugfixes:

  • resolve bug with json deserialization of guid fields

1.9.27 (2016-03-31)

Bugfixes:

  • error in InsertUpdateLogBehavior was still intact

1.9.26 (2016-03-29)

Features:

  • added DisplayProperty and UrlProperty attributes to UrlFormatter (thanks @wldkrd1)

Bugfixes:

  • error in InsertUpdateLogBehavior when ID fields are not of integer type

1.9.25 (2016-03-19)

Features:

  • short circuit AND (&&) and OR (||) operator overloads can now be used while building criteria objects (thanks @wldkrd1)
  • select2 version in nuget package is forced to be 3.5.1 as some users updated it to 4+ by mistake and had errors

Bugfixes:

  • because of [InstrinsicProperty] attribute on SlickRemoteView.Row property, Saltarelle was ignoring [InlineCode] attribute on get method
  • forgot to add grouping and summaries sample to navigation [Serene]

1.9.24 (2016-03-14)

Bugfixes:

  • include slickgrid css and images under content folder

1.9.23 (2016-03-14)

Bugfixes:

  • slick.grid.css wasn't included in nuget file
  • getItemMetadata and getItemCssClass didn't work properly after update

1.9.22 (2016-03-14)

Bugfixes:

  • included SlickGrid scripts in serenity.web nuget package and removed dependency to SlickGrid package as these scripts are now customized.

1.9.21 (2016-03-14)

Bugfixes:

  • resolved problems with SlickGrid affecting permission dialogs after recent merges with 6pac and x-slickgrid

1.9.20 (2016-03-13)

Features:

  • rewrote slick remote view in typescript
  • port extra features from x-slickgrid fork (https://github.com/ddomingues/X-SlickGrid)
  • [BREAKING CHANGE] EntityDialog.EntityId is now of type object (instead of long). As Serenity already supports non integer ID values server side, this was required. If you have code depending on EntityId being a long in dialog, you may use ToInt32() or ToInt64() extensions.
  • more tests for expression attribute mapping
  • experimental grouping and summaries feature (works client side only, no server support so don't use with paging)
  • experimental frozen columns and rows feature
  • grouping and summaries in grid sample [Serene]

Bugfixes:

  • if a field has an expression like CONCAT('a', 'b') it should also have Calculated flag

1.9.19 (2016-03-11)

Features:

  • added mapping for sql text field to StringField in sergen.
  • upload editors and upload behaviors should now work on tables with string/guid ID columns.

Bugfixes:

  • convert.changetype doesn't work with guids, so tables with Guid ID columns had problems.

1.9.18 (2016-03-08)

Features:

  • added PageWidth and PageHeight options to HtmlToPdfConvertOptions and add comments to all options
  • added grid filtered by criteria sample [Serene]
  • added default values in new entity dialog sample [Serene]
  • added filtered lookup in detail dialog sample [Serene]

Bugfixes:

  • readonly selector was invalid in DateEditor, leading to script error while typing
  • can't set min value to negative for DecimalEditor when field has Size attribute
  • Permission keys used with only PageAuthorize attribute wasn't shown in permission dialog [Serene]

1.9.17 (2016-02-27)

Features:

  • added DefaultNotifyOptions to set default toastr options for Q.Notify methods
  • Q.Notify methods now gets optional title and toastr options parameters
  • use "Module-" prefix for generated dialog css if available
  • better handling for DataGrid.AddDateRangeFilter for date/time fields.
  • sergen no longer tries to determine IsActive field or IsActiveProperty. you may still add related interfaces to row manually.
  • more flex box tuning for grids in dialog tabs and date/time editor
  • lookup editor filter by multiple values sample [Serene]

Bugfixes

  • fixed dialect issue with DateTime2 and AddParamWithValue (thanks @brettbeard)

1.9.16 (2016-02-24)

Features:

  • fine tune flex styles for multi column ability
  • multi column responsive dialog sample [Serene]
  • language and theme selection cookies has 365 days expiration [Serene]
  • added cloneable dialog sample [Serene]

1.9.15 (2016-02-24)

Features:

  • better responsive handling when window resized

Bugfixes

  • toId returns partial value thanks to parseInt for invalid values like '3.5.4'
  • code generator doesn't remove foreign fields determined in config file on row generation

1.9.14 (2016-02-24)

Features:

  • responsive flex box based dialog feature (experimental)

1.9.13 (2016-02-19)

Features:

  • [BREAKING CHANGE] IReport.GetData() returns object instead of IEnumerable. Replace "public IEnumerable GetData()" with "public object GetData()" in DynamicDataReport.cs. Also use cast to (IEnumerable) in ReportRepository.cs or copy latest source from Serene.
  • more options for HtmlToPdfConverter
  • wkhtmltopdf based reporting system (requires wkhtmltopdf.exe under ~/App_Data/Reporting directory)
  • order details (invoice) sample in order dialog [Serene]
  • cancellable bulk action sample [Serene]
  • working with view without ID sample [Serene]
  • multi column resizable dialog (form) sample [Serene]

1.9.12 (2016-02-19)

Features:

  • datetime2 support
  • minvalue, maxvalue and sqlminmax options in date/datetime editors
  • deletedby and deletedate fields are cleaned on undelete

Bugfixes:

  • uploaded files should be deleted when record is deleted and row is not IIsActiveDeletedRow or IDeleteLogRow

1.9.11 (2016-02-14)

Features:

  • delete auditing also works for IActiveDeletedRow.
  • for delete auditing IUpdateLogRow is used if IDeleteLogRow is not available
  • data localization samples for product and category dialogs [Serene]
  • pending changes (close without save) confirmation sample for customer dialog [Serene]
  • chart in a dialog sample [Serene]

Bugfixes:

  • mscorlib.js wasn't included in nuget for 1.9.10 somehow

1.9.10 (2016-02-10)

Features:

  • criteria has operator overloads for enums, so no longer need cast to int
  • use nvarchar(4000) for parameter size, if string is shorter than 4000 (idea from dapper) for better query optimization
  • replace bracket references in query.DebugText
  • use embedded mscorlib in Serenity.Web, as one in saltarelle nuget package has compability problem with Edge browser
  • updated ckeditor package to include all languages available
  • use html lang attribute to determine ckeditor language
  • added FileDownloadFormatter to display download link for files uploaded with File/ImageUploadEditor (single only)
  • Serenity has a brand new logo!

Bugfixes:

  • argument out of range error when signed up users try to login [Serene]

1.9.9 (2016-02-09)

Features:

  • replaced FontAwesome package with embedded v4.5.0 version, please uninstall FontAwesome package from Serene
  • included ionicons to Serenity.Web

1.9.8 (2016-02-09)

Features:

  • localize restore and maximize buttons
  • replace Node in sergen with 32 bit version
  • use Visible attribute also for forms
  • add HideOnlnsert and HideOnUpdate attributes that controls field visibility in forms based on edit mode
  • binary criteria puts paranthesis always so no longer need ~ operator in most cases
  • labelFor option for checkbox editor to make them checkable by clicking on label optionally
  • removed readonly from field declarations as some users report problems with asp.net medium trust hosting
  • added comments to PermissionKeys class as most users had confusion with it [Serene]

Bugfixes:

  • fix required validation error with HtmlContentEditor when editing an existing record
  • fix connection assignment in RowValidationContext (unused property)
  • error when oncriteria is null for outer apply and Fields.As("x") used
  • script side HasPermission method should return true for "admin" user for any permission [Serene]

1.9.7 (2016-01-28)

Bugfixes:

  • make OriginalNameProperty in single file upload editors work again

1.9.6 (2016-01-27)

Features:

  • added german translations (thanks to Toni Riegler)
  • add now button to DateTimeEditor
  • change default step minutes to 5 from 30 in DateTimeEditor
  • pressing space sets value to now in DateTimeEditor and DateEditor

1.9.5 (2016-01-22)

Bugfixes:

  • fix nuspec to include extensionless lessc compiler file

1.9.4 (2016-01-22)

Bugfixes:

  • fix cast error with Select2 editor when value is not string

1.9.3 (2016-01-21)

Features:

  • add multiple selection option to LookupEditor
  • LinkingSetRelationAttribute and related behavior to store multiple selection items in linking table
  • make selected quick search field info public in QuickSearchInput

1.9.2 (2016-01-19)

Features:

  • update script package versions in nuspec
  • set JsonEncodeValue to true by default for MultipleFileUploadEditor
  • added UrlFormatter
  • use ViewData to avoid hidden RuntimeBinderExceptions.
  • update typescript defs
  • divide ListRequestHandler.ApplyContainsText into submethods to make it easier to override per field logic

Bugfixes:

  • fix DateTimeEditor readonly state
  • fix DateTimeEditor width in form styles

1.9.1 (2016-01-15)

Features:

  • use lessc from lib folder if available, as bin folder might be ignored in tfs/git

1.9.0 (2016-01-14)

Features:

  • updated jquery to 2.2.0, xunit to 2.1.0, RazorGenerator.Templating to 2.3.11, Selenium.WebDriver to 2.48.2, StackExchange.Redis to 1.0.488, Newtonsoft.Json to 8.0.2

1.8.23 (2016-01-13)

Features:

  • add missing toastr options

Bugfixes:

  • check only transaction is not null for dbcommand after assigning

1.8.22 (2016-01-12)

Features:

  • safety check to ensure that once a connection is opened, it won't auto open again
  • allow viewing / downloading non-image files in ImageUploadEditor

Bugfixes:

  • FileUploadEditor didn't allow non-image files

1.8.21 (2016-01-12)

Bugfixes:

  • rename await to awai in mscorlib.js from saltarelle, as it is a future reserved word for ES6, and creates problems with Edge

1.8.20 (2016-01-07)

Features:

  • list views in code generator along with tables. it can't determine id field, so you should manually set it in code.

1.8.19 (2016-01-06)

Features:

  • ability to set script side culture settings (date format etc.) using server side culture through script element with id #ScriptCulture.
  • support for tables with string/guid id columns (limited)

Bugfixes:

  • set back check tree editor min-height to 150px

1.8.18 (2015-12-31)

Features:

  • added sign up sample [Serene]

Bugfixes:

  • fix file upload control look after theme change
  • change Notes permission to Northwind:General from Administration [Serene]

1.8.17 (2015-12-28)

Bugfixes:

  • fix identity insert problem with mysql and use connection dialect in more places to avoid such errors

1.8.16 (2015-12-28)

Features:

  • moved JsonRowConverter attribute to base Row class, so no need to specify it in every row subclass
  • added warning to rebuild solution after generating code in sergen
  • added TimeSpan field type matching Sql Server time data type

1.8.15 (2015-12-26)

Features:

  • add DialogTitle property to set dialog title explicitly
  • add notes editor, notes behavior and tab to Customer dialog [Serene]

Bugfixes:

  • fix quick search css when there is a fields dropdown
  • MappedIdField should be set if it is different than id field name in localized row

1.8.14 (2015-12-19)

Features:

  • add mousetrap import
  • tool buttons can have hotkeys
  • if mousetrap is included, entity dialogs has alt+s (save), alt+a (apply changes), alt+x (delete) shortcuts when form tab is active.

1.8.13 (2015-12-18)

Features:

  • added MySql dialect
  • code generator works with MySql
  • sample template supports MySql [Serene]

1.8.12 (2015-12-17)

Features:

  • added Throttler class, to throttle logins, logging etc.
  • added LDAP / Active Directory authentication samples [Serene]

1.8.11 (2015-12-16)

Features:

  • use titleize to set default table indentifier in sergen
  • int16 (short) types sets maximum value to 32767 properly
  • user translations are saved under ~/App_Data/texts instead of ~/scripts/site/texts to avoid permission errors [Serene]

Bugfixes:

  • clone mode should handled by dialog itself as some records might have negative IDs.
  • fix error with firebird primary keys in sergen
  • set column size properly for firebird string columns in sergen

1.8.9 (2015-12-15)

Features:

  • sergen can generate code for firebird databases (no schema support yet)
  • made top row of numbers in dashboard populate from database (cached), made more info buttons go to relevant pages [Serene]

Bugfixes:

  • when table schema is null generated row code has syntax error for foreign keys, regression bug from 1.8.5
  • sort indicator in grids was showing wrong direction

1.8.8 (2015-12-14)

Features:

  • better error message when Kdiff3 couldn't be located by sergen.exe.
  • use a large buffer for hashing
  • ability to set per connection dialect with an application setting (ConnectionSettings key)
  • show a warning explaining why migrations are skipped, and how to enable them [Serene]
  • include site.css in web project to avoid errors on publish [Serene]

Bugfixes:

  • fix firebird dialect FIRST keyword naming and positioning

1.8.7 (2015-12-12)

Features:

  • add ISqlDialect.QuoteIdentifier method and always quote column aliases with it as they might be reserved words

1.8.6 (2015-12-12)

Bugfixes:

  • fix assembly load error causing sergen.exe fail to launch

1.8.5 (2015-12-12)

Features:

  • [BREAKING CHANGE] changed enum based dialect support with interface based dialect system. remove SqlSettings.CurrentDialect line from SiteInitialization or replace it with SqlSettings.DefaultDialect = SqlServer2012Dialect.Instance.
  • new PostgreSQL dialect and code generator support.
  • serene and northwind sample now works with PostgreSQL out of the box. see how to guide.
  • automatic bracket with dialect specific identifier quote replacement
  • [BREAKING CHANGE] fields are selected with their property name if available, for better compability with Dapper. shouldn't cause a problem if you didn't depend on prior funtionality where field name was used.
  • made capture log handler also log old rows, this resolves possible misidentified update attribution to a user, in case a record is changed directly from database before.
  • added Google Recaptcha widget and helpers
  • removed sqlite package from code generator. if you need sqlite or another provider support, register it in sergen.config.

1.8.4 (2015-12-01)

Features:

  • added excel export samples to product, customer and order grids [Serene]

1.8.3 (2015-11-30)

Features:

  • auto join with aliased fields and their view fields
  • cloned query has same parent as source query, so they share params
  • undo fields with expressions be read only by default (was causing problems with backwards compability)
  • remove alias with fields as noone uses or should use it anymore
  • set ui-front to z-index 1100 instead of overriding z-index of AdminLTE divs [Serene]

Bugfixes:

  • fix required attribute in form not overriding one defined in row
  • fix update / insert permission attributes ignored, if specified explicitly along with modify permission
  • fix error 505 and login page links [Serene]

1.8.2 (2015-11-28)

  • it is now much easier to create cascaded editors using new CascadeFrom (editor ID), CascadeField (matching field) and CascadeValue (matching value) properties. Just set CascadeFrom and/or CascadeField properties.
  • lookup editors can also be filtered using new FilterField and FilterValue properties, without need to define a new editor type.
  • made permission and other user information like username available from client side, optionally [Serene]

1.8.1 (2015-11-28)

Features:

  • update slimscroll, pace and simple line icons

1.8.0 (2015-11-28)

Features:

  • allow comparison against empty value with StringFiltering, you can search for empty strings (not null) in filter dialog now
  • better handling of FilteringIdField determination for textual fields with complex expressions
  • [BREAKING CHANGE] cleanup serenity less files, less dependency on jQuery UI css (aristo.css), might cause minor problems, see upgrade info in Serenity guide
  • Q$Externals methods are moved under Q but Q$Externals is still an alias to Q, so no breaking changes expected
  • multi level navigation support (up to 10 levels)
  • use shorter namespace for types from other modules for T4 generated code
  • handle type namespaces properly if T4 generated service endpoint uses types from other modules / namespaces
  • integrate free AdminLTE theme [Serene]
  • add AdminLTE sample pages [Serene]
  • develop a MVC.tt file to generate strongly typed view locations (similar but much simpler than T4MVC)

Bugfixes:

  • IDateTimeProvider to fix Appveyor tests failing sometimes on time related tests

1.7.0 (2015-11-20)

Features:

  • added PropertyPanel and TemplatedPanel similar to PropertyDialog and TemplatedDialog (no need to use Panel attribute)
  • change password page [Serene]
  • forgot password and reset password page [Serene]
  • template can now detect Sql LocalDB 2014 (VS2015) and set connection strings automatically [Serene]

Bugfixes:

  • fix validator hints not showing after typescript conversion

1.6.8 (2015-11-16)

Features:

  • added grid row selection mixin

1.6.7 (2015-11-16)

Bugfixes:

  • fix critical regression bug in TemplatedWidget.GetTemplateName method, please update if you rare using 1.6.4, 1.6.5 or 1.6.6!

1.6.6 (2015-11-15)

Features:

  • converted file and image upload to behaviors that can be used in a row field
  • ability to generate multiple thumb sizes
  • better symbol for binary files in upload editors

1.6.5 (2015-11-15)

Features:

  • don't raise on criteria join (and, or, xor) if one of criteria is null, assume empty
  • SetEquality extension for list request
  • SetEquality helper in DataGrid

1.6.4 (2015-11-14)

Features:

  • date range quick filtering
  • ability to register a permission key with RegisterPermissionKeyAttribute to be shown in permissions dialog [SERENE]
  • use a better datepicker trigger image

1.6.3 (2015-11-09)

Features:

  • implement behavior (mixin) functionality for service request handlers (list/retrieve/save/delete)
  • extract capturelog, auditlog, insert/update log, unique constraint checks as behaviors
  • MasterDetailRelationAttribute and MasterDetailRelationRelationBehavior
  • if a field is auto created and has a foreign / calculated expression, it shouldn't be updatable / insertable by default
  • SingleField field type
  • ability to revoke a permission which is granted to roles from users [SERENE]
  • use tree mode for permission editing and display effective permission [SERENE]

Bugfixes:

  • order tab in customer dialog was showing all orders in new customer mode [SERENE]

1.6.2 (2015-10-31)

Features:

  • code generator determines root namespace and script/web project locations at first run for Serene projects
  • added a welcome page to Serene template

1.6.1 (2015-10-29)

Features:

  • code generator will remove ID suffix when generating DisplayName attribute for foreign key fields.
  • [BREAKING CHANGE] title for foreign ID fields are no longer determined by their TextualField. you may have to edit ID fields DisplayName attributes if you did depend on this feature. it was generally causing confusion when a developer changes ID field display name but it is not reflected in the form.

1.6.0 (2015-10-29)

Features:

  • when a toast shown inside a dialog, then dialog closed right away, toast is moved to next dialog or body instead of getting lost
  • a compacter imported format for service endpoints in client side
  • code generator now produces code that is compatible (same location/contents) with T4 templates, so no need to remove that partial leftover class from XGrid.cs
  • code generator sets TextualField attribute for foreign keys
  • code generator also generates script side service and form objects
  • better error message if a row type is used with a LookupEditorAttribute, but it doesn't have a LookupScript

1.5.9 (2015-10-21)

Bugfixes:

  • FormContext.tt was failing after recent PropertyItemHelper changes
  • fix typo in serenity.texts.tr.json

1.5.8 (2015-10-20)

  • PropertyItemHelper is now extensible
  • 30% compacter property item scripts
  • localize server side validation texts in DataValidation

Bugfixes:

  • fix client side Select2 validation error by downgrading to 3.5.1
  • fix qunit.js not found sometimes while running tests

1.5.7 (2015-10-14)

Features:

  • CascadedWidgetLink to make it easier to implement cascaded select editors
  • determine quick filter title using local texts automatically
  • decimal field better conversion handling
  • sample for order and detail (in-memory) editing and updating within a unit of work (transaction) [Serene]
  • provide tabbed interface to edit orders in customer dialog [Serene]
  • country / city cascaded editors and filtering sample [Serene]
  • better Sql LocalDB error handling [Serene]

Bugfixes:

  • fix validation message hint not showing after recent jquery.validate update

1.5.6 (2015-10-08)

Features:

Bugfixes:

  • fix typo in ScriptDtoGenerator that resolves lookup script reference generation for outside-row lookup scripts

1.5.5 (2015-09-25)

Features:

  • generate script code form enum members in form / column definitions, even if they are not used in any row
  • add integrated inplace item add / edit ability to LookupEditor

1.5.4 (2015-09-24)

Features:

  • changed columns namespace to App.Module.Columns
  • updated razor generator
  • textarea font size changed to make it consistent with other editors in Serene
  • disable browser link feature in Visual Studio for Serene

1.5.3 (2015-09-14)

Features:

  • updated nuget packages
  • visual studio 2015 support
  • if all localized fields are null, delete localization row
  • introduced quick filters bar
  • quick search input no result animation
  • sqlconnections.newfor
  • dictionary get default extension
  • ability to get database name from connection string
  • bracket database reference replacer that replaces [DB^] style references with catalog names before sql execution

1.5.2 (2015-07-27)

Features:

  • support specifying a static ILocalCache and IDistributedCache provider where cache performance is critical (only use in non unit test environment)

1.5.1 (2015-07-27)

Features:

  • allow ordering by row fields even if field is not used in query of ListRequestHandler.
  • cache db script hash in dboverrides for even more performance in database tests
  • faster database copying in database tests
  • number formatter default format is "0.##."
  • form generator handles different namespaces better than before
  • allow filtering of navigation items in NavigationHelper
  • downgrade select2 3.5.2 to 3.5.1 as 3.5.2 had problems with jQuery validate plugin
  • quicksearchinput type delay default is now 500 ms (instead of 250 ms)
  • no ui blocking for select2ajaxeditor
  • make sure MultipleImageUploadEditor works properly

Bugfixes:

  • number formatter shows empty string for non-numeric values.
  • filter panel's not equal operator wasn't encoded properly

1.5.0 (2015-06-21)

Features:

  • better filter handling detection for textual fields that are connected to an ID field
  • sort filter fields by localized title
  • provide column formatters ability to initialize themselves and related column if required, and set referenced columns
  • added TreeOrdering helper
  • use closest anchor for edit link if target doesn't have the class (fixes problem when a anchor has inner elements)
  • use ServiceEndpoint base url from route attributes if GetServiceUrl is not specified for ScriptEndpointGenerator
  • add members to IDataGrid interface to access grid, view, element and filter store objects
  • put database schema name in brackets for generated code
  • date input automatic formatting for DMY cultures.
  • date editor two digit year parsing
  • debug text for SqlUpdate, SqlInsert, and SqlDelete like SqlSelect already had.
  • single / multiple field unique validation on save handler level with UniqueConstraint and Unique attributes.
  • date time editor minvalue and maxvalue is set by default according to SQL server rules
  • add url option for PostToServiceOptions
  • better handling for non-row fields in GetFromReader. their values can be read from DictionaryData.
  • StringHelper.Join method to put separator between two strings if only both is non empty or null.
  • DateTimeKind attribute to set date type on datetime fields.
  • Checkbox readonly background in forms
  • q.deepclone / q.deepextend methods that doesn't merge arrays (unlike jquery extend)
  • get required attribute from row first if available
  • allow non-integer CultureId fields for localization rows
  • introduce IIsActiveDeletedRow. IIsActiveRow doesn't have deleted state (-1) now
  • IDeleteLogRow for row types that store deleting user id and date.
  • refresh button no text (hint only) option
  • generate form key in form scripts
  • add css class with full type name to widgets too (solves problem when two modules has same widget type)
  • allow editing multiple localization in one screen
  • allow editing localizations before inserting row
  • redirect to login page with denied flag, so login page can know difference between unauthenticated and permission denied requests
  • show last jQuery selector in error console log if can't find widget on element in GetWidget
  • dispose dialog if LoadByIdAndOpenDialog fails
  • use jquery ui dialogs own close button, as dialogExtend one was causing problems in tests and mobile.
  • execute-search trigger for quick search input (to avoid delays in tests)

Bugfixes:

  • code generator preserves source table field order as it was before
  • select editor empty option text fix
  • make sure toastr is shown only on visible dialogs
  • fix error handling for grid data source

1.4.14 (2015-04-14)

Features:

  • paging optimization for select2 ajax editor (no need to get total record count)
  • ability to generate formatter types server side, just like editor types
  • define key constant for imported editor and formatter types
  • define baseurl and method urls for service endpoint and method imports
  • isnan extension for double and double?
  • isvalid property for decimal editor
  • date / datetimeeditor ValueAsDate property
  • phone editor auto formatting, extension support
  • filter panel validation messages are hint only now
  • scriptdtogenerator creates reference to row lookup data and id, name, local text prefix properties

1.4.13 (2015-04-07)

Features:

  • fix datetimeditor time list when tohour is not specified

1.4.12 (2015-04-06)

Features:

  • add interval support to datetimeeditor

1.4.11 (2015-03-28)

Features:

  • add flush support to SqlLogger
  • add Redis caching library using StackExchange.Redis
  • sql case now supports field objects in when or value
  • minimumresultforsearch option for select2 is now zero by default
  • generic dbtestcontext objects
  • connection key and database alias for dbscript can be specified with attributes
  • connection count and list extensions without any criteria or query parameter
  • impersonating authorization service and transient granting permission service

1.4.10 (2015-02-27)

Features:

  • ListRequestHandler uses SortOrder attributes on row for GetNativeSort if available, name field otherwise
  • ScriptDtoGenerator, ScriptEndPointGenerator, ScriptFormGenerator constructors accepts multiple assemblies
  • Column attribute is listed after DisplayName attribute by code generator to prevent user errors
  • [BREAKING CHANGE] Renamed HiddenAttribute to IgnoreAttribute and InvisibleAttribute to HiddenAttribute to prevent confusion

Bugfixes:

  • unable to deserialize enumeration fields due to Enum.IsDefined type incompability error

1.4.9 (2015-02-19)

Features:

  • abstracted logging functions, added SqlLogger class to Serenity.Data
  • ability to expire cached databased and end transaction scope in database tests if data is modified in another thread / application
  • updated Newtonsoft.Json to 6.0.8, jQuery to 2.1.3, FakeItEasy to 1.25.1
  • use 32 bit Node instead of 64 for those who need to work on 32 bit windows
  • added TimeFormatter

Bugfixes:

  • fix problem with SQL 2012 dialect when skip > 0 and take = 0

1.4.8 (2015-02-09)

Features:

  • allow object values in Permission attributes instead of string to be able to use Enums, Integers.
  • added TimeEditor
  • updated Newtonsoft.Json to 6.0.8, jQuery to 2.1.3, FakeItEasy to 1.25.1

Bugfixes:

  • filter panel dialog was showing multiple times sometimes

1.4.7 (2015-01-16)

Features:

  • EmailEditor better copy paste
  • added FileBrowserBrowseUrl for CKEditorOptions
  • added Visible and Invisible attributes for columns
  • TryGetWidget and GetWidget works with non-widget types (e.g. interface or base class)
  • include schema name in generated table names and foreign keys
  • hidecheckbox option for CheckListBox items

Bugfixes:

  • Readonly implementation for EmailEditor
  • DateTime editor CSS width fixed
  • fix editor filtering options
  • fix filter panel restore problem with parenthesis, and/or

1.4.6 (2014-12-11)

Features:

  • allow specifying target for navigation links
  • added false and true criteria constants
  • build targets files for those who use serenity as a submodule

Bugfixes:

  • regression bug in 1.4.1 that causes cache invalidation to fail for lookups / dynamic scripts

1.4.5 (2014-11-28)

Features:

  • Fields can be used directly like criteria objects in queries e.g. p.Id == k.ProductId
  • In criterias doesn't use parameters for longer than 10 numeric values
  • ConstantCriteria object for values that shouldn't be converted to parameters in generated SQL
  • WithNoLock moved to extensions class
  • Flexify, Maximizable, Resizable attributes for dialog classes
  • Default order for grids are now empty to let service side decide on the initial sort order
  • [BREAKING CHANGE] Rename Field._ property to Field.Criteria as it felt unnatural.

1.4.4 (2014-11-23)

Features:

  • Enabled image uploads and added sample to Products form in Serene

1.4.3 (2014-11-23)

Features:

  • new documentation site with indexs on left (generated with gitbook)
  • introduce IAlias interface, that is implemented by Alias and RowFieldsBase
  • add ability to replace t0 aliases with something else for RowFieldsBase objects by .As("x") method (only table fields)
  • AliasName property in RowFieldsBase
  • better naming for all capital and dashed field names in serenity code generator
  • safety checks in GetFromReader method to ensure a field from another row is not used to load entity values
  • sqlquery select with field can specify alternate column name
  • criteria objects can be created from fields with _ shortcut (e.g. UserRow.Fields.UserId._ > 5 instead of new Criteria(UserRow.Fields.Personel.UserId) > 5)
  • added better handling for Criteria.In and Criteria.NotIn when an IEnumerable or array is passed
  • overload for Sql.Coalesce that uses parameters and supports criteria, field and query objects

1.4.2 (2014-11-19)

Features:

  • updated bootstrap to 3.3.0, jQuery.UI to 1.11.2, FakeItEasy to 1.25.0, toastr to 2.1.0
  • allow specifying default sort order for datagrid columns on server / client side (SortOrder attribute, use negative values for descending sort)
  • add theme selection option to Serene (only a light theme for now)

Bugfixes:

  • fix double html encoding with EditLinks (& was shown as &).
  • fix script form generator output when full editor namespace is used
  • ServiceAuthorizeAttribute now returns 400 as HTML status code
  • null reference exception when related id field for a foreign field can't be determined in PropertyItemHelper
  • fix typo in authorization error message for DbLookupScript (it is gonna be obsolete, avoid using it)

1.4.1 (2014-11-13)

Features:

  • added Date and Enumeration filterings
  • added jQuery UI datepicker localization
  • JsonLocalTextRegistration and NestedLocalTextRegistration tests
  • refactored dynamic scripts
  • it is now possible to define a remote data script on a MVC action
  • indentation option for Json.StringifyIndented
  • added roles, role permissions, user permissions tables and interface to Serene sample application

Bugfixes:

  • Filter panel effective filter text is English now

1.4.0 (2014-11-08)

Features:

  • introduced FilterPanel widget, for advanced customizable filtering with grouping, and/or, lookup editors etc. Add [Filterable] attribute to your grid class to enable.
  • TemplateBundle to send templates to client side on page load by including it as a script
  • ColumnsBundle to send column metadata to client side on page load by including it as a script
  • FormsBundle to send column metadata to client side on page load by including it as a script
  • Widget templates no longer loaded asynchronously (it caused more problems than performance bonuses, use TemplateBundle if needed)
  • LookupEditor is not async, use AsyncLookupEditor if required
  • CodeGenerator doesn't produce Grid / Dialog as IAsyncInit by default
  • added LocalText tests, and documentation
  • updated Newtonsoft.JSON to 6.0.6, phantomJS to 1.9.7, select2 to 3.5.1

1.3.8 (2014-11-04)

Bugfixes:

  • fix edit link problem when grid is not async and columns loaded from server side
  • button noconflict fix

1.3.7 (2014-11-04)

Features:

  • Basic Application Sample is now Serene in its own repository
  • Serene uses FluentMigrator package to create and upgrade sample database
  • SqlConnections.GetConnectionString returns ConnectionStringInfo object instead of Tuple

1.3.6 (2014-11-01)

Features:

  • basic application has a language dropdown and preferred language can be changed using it (no need to play with browser settings or web.config)
  • basic application has an interface to localize all texts in any defined language (stores files in ~/scripts/site/texts/user.texts.{languageID}.json)
  • added spanish translations for serenity and basic application sample (google translate)
  • added optional LanguageID and Prefix properties to NestedLocalTextsAttribute.
  • use simple sorted dictionary format for localization json files instead of hierarchical (easier to manage and merge)
  • defined and used InitializedLocalText class for NestedLocalTextRegistration and EntityLocalTexts classes to avoid duplicate or invalid registrations when their Initialize methods called twice.
  • translated filter panel texts to english
  • [BREAKING CHANGE] moved NestedLocalTextRegistration.AddFromScripts To JsonLocalTextRegistration.AddFromJsonFiles
  • [BREAKING CHANGE] ILocalTextRegistry.TryGet now takes a language ID parameter (was using CultureInfo.CurrentUICulture.Name before)

Bugfixes:

  • Set enum key attribute for CustomFieldType enumeration

1.3.5 (2014-10-30)

Features:

  • make form categories sorted by their item order in form definition (no need for CategoryOrder anymore)
  • ability to localize form category titles (e.g. Forms.Northwind.Customer.Categories.General)
  • [BREAKING CHANGE] LocalTextRegistry.SetLanguageParent is changed to SetLanguageFallback
  • make LocalText.Empty read only

1.3.4 (2014-10-29)

Bugfixes:

  • Make FormatterType constructor public
  • Promise.Then method should return a Promise without value

1.3.3 (2014-10-28)

Bugfixes:

  • fix default location of select2.js in CommonIncludes

1.3.2 (2014-10-28)

Features:

  • CommonIncludes class for easier script/css includes
  • support {version} variable in script include statements (e.g. jquery-{version}).
  • editors can be referenced with full namespace from server side (e.g. Serenity.StringEditor). EditorTypes.tt now uses full namespace to avoid confusion.
  • embed bootstrap / jquery ui button conflict resolution to Serenity.Externals.js
  • added tests and xml doc comments for service locator, configuration, authorization, caching features.
  • TwoLevelCache now has a Get overload that takes only one expiration instead of two.
  • [BREAKING CHANGE] moved ILocalTextRegistry interface to Serenity.Abstraction for consistency
  • [BREAKING CHANGE] renamed ApplicationConfigurationRepository to AppSettingsJsonConfigRepository and moved it to Serenity.Data (from Serenity.Web)
  • [BREAKING CHANGE] removed unused DevelopmentSettings and used ASP.NET settings like compilation debug=true, customErrors etc.
  • [BREAKING CHANGE] Distributed.Set now takes a TimeSpan instead of DateTime, for consistency with LocalCache class.

Bugfixes:

  • fixed an interop problem with glimpse for service endpoints (ServiceModelBinder should be registered)
  • PropertyGrid is no longer an async initialized widget. It will be async widget's own responsibility to attach to another async widget.
  • EntityConnectionExtension First and Single methods no longer require an entity with IIdRow interface.

1.3.1 (2014-10-14)

Bugfixes:

  • dialog fills page correctly when maximized (breaking change in jQuery UI 1.11)
  • make select editor non-abstract. required for enums to work

1.3.0 (2014-10-09)

Features:

  • add ability to define grid columns server side (just like form definitions)
  • extensible column formatter objects (string, number, enum, date etc.)
  • reduce number of attributes and repetitive code required in service endpoints (JsonFilter, Result, etc) through new ServiceEndpoint base class.
  • new EnumKey attribute for enum types so same enum names in different namespaces doesn't get mixed
  • async versions versions of Q.GetLookup, Q.GetForm etc.
  • include promise library for async operations (make sure your LayoutHead.cshtml contains ~/Scripts/rsvp.js before jQuery)
  • widgets that do async initialization. TemplatedWidget, EntityDialog, DataGrid etc. supports this new system. to provide backward compability, this feature is only enabled by adding IAsyncInit interface to a widget class.
  • allow criteria objects to be used on client side too (with some limitations to prevent SQL injections etc.)
  • list requests can now specify filtering through client side criteria
  • generate field names with entity classes in ServiceContracts.tt
  • merge ServiceContracts.tt and ServiceEndpoints.tt (refer to Serene sample to update your own ServiceContracts.tt file)
  • upgrade to Saltarelle Compiler 2.6.0
  • upgrade to jQuery UI 1.11.1, jQuery Validation 1.13, FontAwesome 4.2, Bootstrap 3.2

Bugfixes:

  • enum editors use integer keys instead of string keys
  • fix slick grid column sort indicators in firefox