kbmmw 5.02发布

简介: 5.02.00 May 27 2017 Important notes (changes that may break existing code) ====================================================== * Changed Use class in kbmMWSmartUtils.
5.02.00 May 27 2017

Important notes (changes that may break existing code)
======================================================
* Changed Use class in kbmMWSmartUtils.pas. Now it will use
TkbmMWAutoValue internally
to store data. Since data stored in TkbmMWAutoValue is reference counted
and scoped,
access to the data is slightly different.
Use AsObject to return a reference to the object. Ownership of the
object belongs to the TkbmMWAutoValue container.
Use AsMyObject to return a reference to the object and mark it as your
object. You will be responsible for freeing it.

New stuff
=========
- Added IkbmMWAutoValue and TkbmMWAutoValue to kbmMWGlobal.pas. They
handle scope based object life time handling.
- Changed smart object's (TkbmMWMarshalledVariantData) to use
TkbmMWAutoValue.
- Updated DumpVariant in kbmMWGlobal.pas to dump smart object's too.
- Added support for TkbmMWTiming on IOS.
- Added support for REST tags anonymousRoot=true/false and
pretty=true/false which
can be used to control if resulting objects should be anonymous or
contained in a
parent object, and if the result should be prettyformatted or not (default).
Prettyformatting is not implemented on JSON at the time.
- Updated AMQP protocol to default not write shortstrings, unsigned
8bit, unsigned16 bit
unsigned32 bit and unsigned 64 bit. Reason is that although AMQP v. 0.9.1
should support them, industry dont, why most AMQP implementations will
not understand those types.
It is possible to uncommnet a number of defines in top of kbmMWAMQP.pas
to selectively
enable these types. If they are commented, kbmMW auto propogates the
value to the next
sensible type.
- Updated kbmMWAMQP.pas to support copying field tables instead of
assigning them.
- Added Safe property to TkbmMWMixerPasswordGen. If set to true, it will
not use
digits and characters that can be visually misread (0 vs O etc).
- Added OnMessageProcessingFailed event to
TkbmMWCustomSAFClientTransport and
TkbmMWCUstomSAFServerTransport and published in descending classes.
It will be called when message processing failed, for example if kbmMW is
unable to decrypt a message.
- Added support for dynamic arrays in object marshalling.
- Added support for Notify in TkbmMWDateTime and kbmMWNullable. If set
(in an ORM scenario)
the client will be notified about the value in that particular field.
- Modified and fixed timezone initialization in kbmMWDateTime.pas.
- Added OutputToDefaultAndFile and OutputToDefaultAndStringsAndFile to
TkbmMWLog for
easy setup of outputs.
- Enhanced TkbmMWCustomCrypt to support PassPhraseBytes (which if set,
takes precedence over
PassPhrase (string).
- Added OnEncryptKeys, OnDecryptKeys, OnDecryptStatus events to
TkbmMWCustomCrypt to allow for
attempting various keys before finally either succeeding or giving up.
This can be valuable in supporting client unique encryption/decryption.
- Added a number of GetDefAs.... methods to TkbmMWONArray and
TkbmMWONObject which
returns a default value if the property/index is missing instead of
raising an exception.
- Added GlobalIndexNames property to TkbmMWCustomSQLMetaData. If set
kbmMW's SQL rewriter
knows that index names must be database scope unique, instead of only
table scope unique.
- Added Init function that accepts a string as salt to TkbmMWCustomHash.
- Added GetDigest to TkbmMWCustomHash, which returns a byte array with
the digested hash.
Its an alternative to using Final.
- Added OnDisconnected and OnException events to TkbmMWAMQPClientConnection.
- Added OnConnect, OnDisconnect, OnDisconnected and OnException events
to TkbmMWAMQPClient.
- Added mwsloDateTimeIsUTC to TkbmMWSQLiteOption. Determines how to
interpret date time values, as local time or as UTC time.
- Added support for boolean parameter values in TkbmMWSQLite.
- Improved marshalling of kbmMWNullable types.
- Added kbmMWSubjectGetType, kbmMWSubjectExtractNodeID and
kbmMWGenerateMessageSubscriptionSubject to kbmMWSubjectUtils.pas
- Added mwrieNotify to TkbmMWRecordInfoEvent in kbmMWCustomDataset.pas
- Added support for TIMESTAMP datatype in SQL datatype deduction.
- Added support for returning an interfaced object from smart services.
- Added field change detection to TkbmMWFieldDefs.
- Improved TkbmMWRTTI.InstantiateValue in kbmMWRTTI.pas.
- Improved kbmMWNullable.
- Changed Use class in kbmMWSmartUtils.pas. Now it will use
TkbmMWAutoValue internally
to store data. Since data stored in TkbmMWAutoValue is reference counted
and scoped,
access to the data is slightly different.
Use AsObject to return a reference to the object. Ownership of the
object belongs to the TkbmMWAutoValue container.
Use AsMyObject to return a reference to the object and mark it as your
object. You will be responsible for freeing it.
- Added methods ToDataset, FromDataset, ListFromDataset to
TkbmMWSmartClientORM.
Provides an easy way to convert arguments and results to and from datasets.
- Added Cron fluent method to IkbmMWScheduledEvent. It accepts a 5 or 6
part Unix cron value
which defines the interval.
- Added AtYears, AtMonths, AtDays, AtHours, AtMinutes, AtSeconds methods
to IkbmMWScheduledEvent
to give an alternative way to provide cron like schedules.
- Added SynchronizedAfterRun and AfterRun methods to IkbmMWScheduledEvent to
provide an anonymous function to be called after the schedule has run.
It is particular valuable on scheduling asynchronous operations via RunNow,
followed up with updating something with the result of the function.
- Added TkbmMWONSchedulerStorage for storing/retrieving schedules in any
object notation format.
- Added support for subscribing for raw messages using anonymous
function in WIB.
- Added Delete to TkbmMWORM taking primary key values alternative
specific field values.
- Added support for many more date formats for ORM data generators.
In addition to LOCAL, UTC and ISO8601, also RFC1123, NCSA,
LOCALSINCEEPOCHMS,
UTCSINCEEPOCHMS, LOCALSINCEEPOCH and UTCSINCEEPOCH is supported.
- Generally many additional improvements on ORM.

Fixes
=====
- Fixed default true/false values for TkbmMWSQLiteMetaData.
- Fixed HTTP/REST/AJAX additional incorrect CRLF in output.
- Fixed serious bug in 32 bit random generators (kbmMWRandom.pas).
- Fixed NextGen issues in some parsing routines in kbmMWDateTime.pas.
- Fixed bugs in Query service wizard.
- Fixed some SQL rewriting bugs including adding support for DESCENDING
order by.
目录
相关文章
|
开发工具 IDE 数据库管理
kbmmw 5.04 发布
增加了一大波功能,消灭了一大堆问题,也肯定引进了一大票BUG.We are happy to announce the release of our latest version of kbmMW. Downloads are readily available for holders of active SAU's from the portal at: https://portal.
1402 0
|
SQL 关系型数据库 网络架构
kbmmw 5.03 发布
版本一小数,功能一大步 We are happy to announce v5.03 of our popular middleware for Delphi and C++Builder. If you like kbmMW, please let others know! Share th...
1183 0
|
XML 数据格式
kbmmw 5.01 发布
Important notes (changes that may break existing code) ====================================================== * Officially now only supporting XE2 and forward.
1096 0
|
Web App开发
初识kbmmw 5 中httpsys的支持
前两天kbmmw 发布了5.0 版。里面一个非常令人兴奋的特性就是原生内部支持http.sys. 有关http.sys 的介绍及优势,我就在这里不多说了,大家可以参照一下我以前的文章。 关于http.sys 的最大优势就是web 服务,我今天就以此为例,在kbmmw中建一个使用httpsys的 web server。
1240 0
|
SQL
KBMMW 4.93.10 发布
例行更新,主要是bugfix. 4.93.10 June 4 2016 Important notes (changes that may break existing code) ====================================================== * Fixed compilation for D2009.
862 0
|
XML 流计算 数据格式
KBMMW 4.93.00 发布
可喜可敬,作者非常勤奋,跟上了delphi 10.1 的步伐。 4.93.00 April 26 2016 Important notes (changes that may break existing code) ===============================...
829 0
|
Linux C++ Java
KBMMW 4.92.00 发布
We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW continues to set the bar for what an n-tier p...
763 0
|
XML JSON 网络性能优化
KBMMW 4.90.00 发布
kbmMW is a portable, highly scalable, high end application server andenterprise architecture integration (EAI) development framework forWin32, .
816 0
|
Linux Android开发 Unix
KBMMW 4.84.00 发布
kbmMW is a portable, highly scalable, high end application server and enterprise architecture integration (EAI) development framework for Win32, .
717 0
|
JSON iOS开发 数据格式
KBMMW 4.83.00 发布
新版本又来了,端午节都不让大家过好:) 这次终于支持ios 64了,不用我再手工改了。 Components4Developers is a company established in 1999 with the purpose of providing high quality development tools for developers and enterprises.
1135 0