来了来了

5.07.00 Dec 9 2018
 
        Important notes (changes that may break existing code)
        ======================================================
 
        * Renamed misspelled TkbmMWInfTNRG64 to TkbmMWInfTRNG64 and ditto for 32 bit.
 
        New stuff
        =========
 
        - Added support for 10.3 Rio.
        - Added properties AutoConvertString:boolean and PrefixedZeroesIsString:boolean to
          TkbmMWONFormat. AutoConvertString controls if the streamer/conversion should
          attempt conversion of string values to native values (default true).
          PrefixedZeroesIsString determines if an all numeric string value with
          prefixed zeroes (eg. 0001 or 00.001) should be considered a string or a
          numeric value (default) upon auto conversion of string values.
        - Added AssignTo to TkbmMWONFormat.
        - Added ClearDateTimeFormatStrings method to TkbmMWONFormat as an easy way
          to clear out already defined date/time format strings.
        - Added DateTime function to TkbmMWONFormat. Returns TDateTime of a TkbmMWDateTime value,
          honoring the settings of property DateTimeStyle. Hence returns UTC or Local date/time
          according to setting.
        - Added HintedValueType to TkbmMWONCustomObject. Is used specially by ON native descendants
          to prefer a specific type upon auto conversion. When setting a value specifically
          using AsInt32 f.ex. the hinted type will also be set to int 32.
        - Added FindParent and FindParentObject to TkbmMWONCustomObject.
        - Added properties IsNumeric, IsString, IsDateTime, IsBoolean to TkbmMWONNative.
        - Added TryAsFmtInt32, TryAsFmtInt64, TryAsFmtVariant, GetAsFmtVariant, SetAsFmtVariant,
          methods to TkbmMWONNative, TkbmMWONObject and TkbmMWONArray. They will use the
          given TkbmMWONFormat instance settings for formatting/parsing the prvided data.
          Basically the Object Notration framework is now very aware about custom formatting if needed.
        - Added SaveToStream and LoadFromStream to TkbmMWBSONMarshal, TkbmMWJSONMarshal, TkbmMWYAMLMarshal.
        - Added SaveToUTF16Stream and LoadFromUTF16Stream to TkbmMWJSONMarshal and TkbmMWYAMLMarshal.
        - Added unit kbmMWConfigONStreamer. Its classes descends from YAML classes and its purpose is
          to allow for configuration interception in various Settings attributes (attributes that takes
          a string containing the settings in a simplified YAML/JSON format). That includes
          kbmMW_Rest, kbmMW_Auth and many others.
        - Added additional hardware based random generator support in unit kbmMWCPUTRNG.
          It contains TkbmMWCPURand32, TkbmMWCPURand64 which both use the CPU's pseudo random generator
          if it exists, and TkbmMWCPUTRNG32 and TkbmMWCPUTRNG64 which both use the CPU's true random noise
          generator if the CPU supports it (Intel/AMD only).
        - Significantly updated TkbmMWCustomMetaData to support a large number of formatter and extractor methods.
        - Updated TkbmMWCustomSQLRewriter to support RewriteUpsert.
        - Added DefaultMetadata property to TkbmMWCustomSQLRewriter. It returns the metadata component that will
          be used if no other metadata instance has been defined for it.
        - Added SchemaName to TkbmMWCustomPooledDataset and TkbmMWCustomResolverTable, and SchemaNameQuote, SchemaNameCase,
          SchemaNameBrackets, QuoteSchemaName to TkbmMWCustomSQLMetaData and in general
          significantly improved support for parsing schema named prefixed values.
        - Improved support for charset in HTTP smart services. By defining
        - Added TkbmMWDateTimeParseOptions to TkbmMWDateTime. The options are used with Parse... and Try...
          methods to instruct how the parsing of date and time strings should be.
          If mwdtpoAllowSimple is not specified ISO8601 times must contain all parts.
          If mwdtpoAllowPartial is not specified ISO8601 and RFC1123 will not allow
            additional information after the date time value.
          if mwdtpoToLocalTZ is specified, it will automatically convert the date/time timezone
            to local timezone. Else the specific timezone given will be used.
        - Added support for %D1 (1 or 2 digit day), %H1 (1 or 2 digit hour), %Z1 (1, 2 or 3 digit
          msecs) which affects value to string conversion.
        - Added TkbmMWPlatformMarshal.Bytes2Stream and TkbmMWDigest128 to kbmMWGlobal.
        - Added kbmMWConditionallyQuoteString, kbmMWSafeIdentifier, kbmMWOccurrences functions
          to kbmMWGlobal.
        - Added support for HTTPSys transports returning RemoteLocation property.
        - Significantly updated HTTP key/value/options handlers in kbmMWHTTPUtils.
        - Added NullOnEmptyString:boolean, Indent:integer, Pretty:boolean to TkbmMWJSONStreamer
          to allow streaming in pretty format.
        - Added OnParseError event to TkbmMWJSONStreamer which is triggered upon a parse error.
        - Added Split(const ACount:integer) Linq method to kbmMWLinq.
        - Added SetFormat to TkbmMWLinq to control format settings for conversion scenarios.
        - Added VALUES syntax to TkbmMWMemSQL. Syntax:
          SELECT * FROM VALUES(xxxx)
          where xxxx is a CSV formatted string, with fields comma separated (,) and
          records semicolon separated (;). kbmMW will autodetect field types based on
          the data.
        - Added a number of SQL functions to TkbmMWMemSQL which can be used in the SQL statement:
          LOCALDATETIMETOISO8601(datetime), ISO8601ToLocalDateTime(string),
          UTCDateTimeToISO8601(datetime), ISO8601ToUTCDateTime(string),
          FormatUTCDateTime([fmt,]datetime), ParseUTCDateTime([fmt,]string)
          FormatLocalDateTime([fmt,]datetime), ParseLocalDateTime([fmt,],string)
          The optional fmt value is a string following the TkbmMWDateTime format strings.
          Eg. '%Y3-%M-%D %H:%N:%S'
        - Added support for marshalling and demarshalling  TTypeKind.tkInt64 and TTypeKind.tkWChar
          in kbmMWObjectMarshal.
        - Added TkbmMemtableWithDefinition which directly descends from TkbmMemTable, but has the
          [kbmMW_Dataset([mwdsfIncludeDefinitions])] to easily force marshalling and demarshalling
          to include dataset definitions (fielddefs etc). Found in kbmMWONMarshal.pas.
        - Added support for automatic marshalling/demarshalling of TkbmMemTable.
        - Added multiple additional query operators to ORM:
          TkbmMWORMQueryOperator = (mwoqoNone,mwoqoIsNull,mwoqoIsNotNull,
            mwoqoEQ,mwoqoLT,mwoqoGT,mwoqoLTEQ,mwoqoGTEQ,mwoqoNEQ,mwoqoLIKE,
            mwoqoEQorNull,mwoqoLTorNull,mwoqoGTorNull,mwoqoLTEQorNull,
            mwoqoGTEQorNull,mwoqoNEQorNull,mwoqoLIKEorNull );
        - Added new source code generator functions to ORM:
          function GenerateDelphiClass(const AValue:TClass;..):string
          function GenerateDelphiClass(const ATable:TkbmMWORMTable;...):string;
          procedure GenerateDelphiClass(const AValue:TClass; var...)
          procedure GenerateDelphiClass(const ATable:TkbmMWORMTable; var...)
          They can be used for generating a Delphi class source for a database table.
          The generated class can be compiled into programs for nromal ORM access.
          Typically used in combination with SurfaceDynamicTable that describes a non ORM
          table for the ORM.
        - Added ImportDBSchema application which can connect to any FireDAC enabled database
          and import a complete schema for the database or specific tables in it and
          generate matching ORM classes.
        - Added support for UPSERT SQL statement which works like an UPDATE or INSERT
          combined statement. If the UPDATE succeeds, no INSERT is made otherwis
          records are INSERTed.
        - Added options to TkbmMWORM.RewriteStatement which controls if the given statement
          should be rewritten to native SQL or to kbmMW SQL.
        - Added support for CRON (Unix type scheduling) strings in kbmMWScheduler.
          kbmMW supports an extra enhanced mode where seconds and years also can
          be specified.
        - Added GroupedAs and Group to IkbmMWScheduledEvent which makes it possible to group
          various events under same name, making it easier to enable or disable
          specific groups of events.
        - Added WithInternalTag and InternalTag to IkbmMWScheduledEvent which allows
          setting a type of tag value within for example arrays of events to
          be fullfilled to forward a value from one event to the next in a chain of events.
        - Added UnScheduleGroup, DeactivateGroup, ActivateGroup methods to TkbmMWScheduler.
        - Added InAMoment methods to TkbmMWScheduler which are perfect for running
          GUI related code asynchronously.
        - Added support for default value in kbmMW_Arg attribute.
          If a smart method is called and the argument is missing, the default value will be used.
        - Added support for ftLargeInt in kbmMWSQLite adapter.
        - Officially announcing new TkbmMWTCPServerTransport which is a very high performance
          transport supporting a very high number of concurrent connections.
          It has been tested primarely on Windows but may support other platforms which it
          will be tested for at a later stage.
 
       Changes/minor additions
        =======================
 
        - Updated AMQP client connection to make ChannelMax and FrameMax properties
          writable.
        - Changed AMQP LastHeartBeat and similar from using ticks to TkbmMWTiming (usecs).
        - Updated several DB adapters that contains a specialized metadata component
          to publish several already existing properties.
        - Updated all Object Notation based streamer classes (JSON,BSON,MessageClass,YAML) to
          support overriding produced ON array, ON object and ON native instances with
          specialized ones, by descending and overriding:
           class function GetNativeClass:TkbmMWONNativeClass;
           class function GetObjectClass:TkbmMWONObjectClass;
           class function GetArrayClass:TkbmMWONArrayClass;
        - Changed FireDAC adapter to not use FireDAC's features for API_MetaList, and instead
          use kbmMW's default rewriter features. Reason is that kbmMW provides more details.
        - Further enhanced TkbmMWRTTI.pas
        - Enhanced TkbmMWSmartClientORM.Persist<T> to allow for additional arguments.
        - Improved null handling in TkbmMWSQLJSONData (kbmMWSQLJSONAPI).
        - Improved SQL datatype detection.
        - Improved disconnection handling in TkbmMWTCPIPIndyClientMessagingTransport.
        - Enhanced DOM XML to and from Object Notation conversion with features for flattening
          arrays only containing one element, and if to treat values with prefixed zeroes
          as a number or as a string.
        - Updated kbmMW socket library.
 
        Fixes
        =====
        - Fixed bug in TkbmMWClientTransactionResolver.Resolve.
        - Fixed bugs in kbmMWConfiguration.
        - Fixed bug in TkbmMWCSVStreamer affecting last value upon load.
        - Fixed TkbmMWCustomMessagingClientTransport to forward provided Params to message stream instance.
        - Fixed TkbmMWCustomMessagingClientTransport in relation to improved disconnection/connection pattern.
        - Fixed several bugs in TkbmMWDateTime.
        - Renamed misspelled TkbmMWInfTNRG64 to TkbmMWInfTRNG64 and ditto for 32 bit.
        - Fixed bugs in kbmMW ORM.
        - Fixed potential leak in TkbmMWCustomPasswordGen32.
        - Fixed 64 bit compilation bug in kbmMWProcess.
        - Fixed clipboard compilation bugs (clipboard not supported) in NextGen for RemoteDesktop.
        - Fixed potential leaks or incorrectly cleared values in Use.AsResult and Use.AsVariant.

kbmmw 5.07 正式发布的更多相关文章

  1. kbmMW 5.07.00试用笔记

    在kbmMW 5.06.20试用笔记中遇到的问题,在这个版本中,基本都解决了.但还是发现修正后存在的小问题及新问题: 1.Resolve返回值错误 当提交的ClientQuery是执行一条sql语句, ...

  2. kbmmw 5.08 正式发布

    欢迎大家围观. Important notes (changes that may break existing code)         ============================= ...

  3. kbmMW 5.06.20试用笔记

    1.kbmMWConfiguration自动备份配置文件的问题还没有修正. 下面是以前写过的内容,再一次在新闻组中提出这个问题: kbmMW提供一个强大的配置信息管理对象,前期译过这个对象的介绍,在使 ...

  4. 珍惜每一滴水(kbmmw 中的内存调试)

    作为一个服务器端的应用,最基本的要求就是稳定,当然要做一个稳定的服务器端,需要涉及到很多方面, 内存泄露就是稳定的一个致命杀手,因为服务器的物理内存是有限的,即使一个功能有很小的内存泄露,经过 长时间 ...

  5. Apache Spark2.0正式发布

    Apache Spark2.0正式发布 7月26日起Databricks开始提供Apache Spark 2.0的下载,这个版本是基于社区在过去两年的经验总结而成,不但加入了用户喜爱的功能,也修复了之 ...

  6. 业余草分享 Spring Boot 2.0 正式发布的新特性

    就在昨天Spring Boot2.0.0.RELEASE正式发布,今天早上在发布Spring Boot2.0的时候还出现一个小插曲,将Spring Boot2.0同步到Maven仓库的时候出现了错误, ...

  7. Spring Cloud Greenwich 正式发布,Hystrix 即将寿终正寝。。

    Spring Cloud Greenwich 正式版在 01/23/2019 这天正式发布了,下面我们来看下有哪些更新内容. 生命周期终止提醒 Spring Cloud Edgware Edgware ...

  8. REST easy with kbmMW #24 使用kbmMW实现JSON/XML/YAML转换成对象

    你想过没有,把一个给定的xml或json生成一个Delphi类,并通过这个类完成对xml或json的读写操作吗? 不管有没有,现在kbmMW为我们实现了,看下面这行代码: var s:string; ...

  9. REST easy with kbmMW #15 – Handling HTTP POST

    我被问到有关如何通过基于kbmMW智能服务(Smart Service)的REST处理POST的问题. 这篇博客文章解释了典型的POST各种形式的访问,以及如何在kbmMW中处理它们. POST变种W ...

随机推荐

  1. The perception and large margin classifiers

    假设样例按照到来的先后顺序依次定义为.为样本特征,为类别标签.任务是到来一个样例,给出其类别结果的预测值,之后我们会看到真实值,然后根据真实值来重新调整模型参数,整个过程是重复迭代的过程,直到所有的样 ...

  2. tp5 (layui )excel导入

    1.composer安装PHPExcel 下载安装composer 其次 cmd切换到项目根目录 运行命令:composer require phpoffice/phpexcel 注意: 1.运行可能 ...

  3. sqlserver数据库镜像运行模式

    运行模式: 从大层面来说,SQL Server镜像只有两种模式:高安全模式和高性能模式.两种模式的主要区别在于在事务提交后的操作.可以从图1-1中查看运行模式. 在高性能模式下,主体服务器不需要等待镜 ...

  4. oracle12c安装[INS-30131]异常

    接昨天写到的oracle12c安装异常解决办法. 解决这个问题百度到两种解决办法: 方法一 1.1.检查开启服务 控制面板 → 管理工具 → 服务 找到TCP/IP 和 Server 状态调为“启动” ...

  5. spring 之 注入之 by name or by type, or both ?

    @Autowired 和  @Qualifier 使用xml 注入的时候, 我们可以指定 autowire=“byType” 或“byName” . 但是使用 注解的时候, @Autowired  只 ...

  6. kettle实现同构单表增量同步

    job如下: 如下转换:获取区服列表,将id列表保存到结果(内存) job: 同构数据库单表抽取(每个输入执行一次) 同构数据库单表抽取(job) 的具体实现如下: 转换:获取数据库连接ID 从结果获 ...

  7. LeetCode OJ 129. Sum Root to Leaf Numbers

    题目 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a num ...

  8. springboot中配置文件application.properties的配置详情,数据源配置

    pring Boot使用了一个全局的配置文件application.properties,放在src/main/resources目录下或者类路径的/config下.Sping Boot的全局配置文件 ...

  9. HttpRunnerManager使用(一)

    用例: 一.request requests---headers===>headers设置 requests---type:params===>请求参数设置,URL参数(get) requ ...

  10. Fedora 25 安装 Bugzilla

    最近领导要我们装一个Bugzulla,虽然我们项目已经有了JIRA(我就呵呵),不过我还是找些资料安装了,在此备忘. Bugzilla 是一个开源的缺陷跟踪系统(Bug-Tracking System ...