ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/changelog
(Generate patch)

Comparing ibx/trunk/fbintf/changelog (file contents):
Revision 359 by tony, Tue Dec 7 09:37:32 2021 UTC vs.
Revision 433 by tony, Mon Jan 8 15:23:15 2024 UTC

# Line 1 | Line 1
1 + FBINTF Change Log  version          (1.4-2 Build 14191) Sun, 07 Jan 2024 16:15:38 +0000
2 +
3 + 1. IBUtils.FormatTimeZoneOffset A zero offset now includes a preceding '+' sign.
4 +
5 + 2. TFBStatement.DoJournaling now exits immediately if journaling is not active. The
6 +   motivation for this is to avoid calling the Firebird API function 'getInfo'
7 +   unnecesarily. This function can return an error if an incompatible parameter type was
8 +   applied to the statement and hence can confuse resolving the bug. Note: a
9 +   specific case is in (e.g.) OpenCursorAtStart method when the array of const includes a
10 +   TDateTime. In this case, the param is set to a floating point type rather than
11 +   a Firebird datetime (array of const loses the distinction).
12 +
13 + 3. TFBAttachment.SetParameters. if an attempt is made to set a parameter with a float
14 +   value, the metadata type is checked to see if the parameter is a Date/Time type. If so then
15 +   the value is assumed to be a TDateTime and the parameter is set using the AsDateTime
16 +   property. Otherwise, the value is assumed to be a floating point type and the AsDouble
17 +   property is used to set the property. This avoids the specific example given above.
18 +
19 + FBINTF Change Log  version          (1.4-1 Build 14103) Mon, 27 Nov 2023 14:26:35 +0000
20 +
21 + 1. FBSQLData: ensure that TResults.getSQLData and TResults.GetData use same error
22 +   checks for range checking.
23 +
24 + 2. FB25Client: In GetIBMessage, fb_interpret is now called multiple times such that
25 +   any additional error information is decoded.
26 +
27 + 3. FB25Statement: When changing a param type from Blob sub_type 1 to SQL_TEXT or SQL_VARYING
28 +   charsetid is now preserved and size is set to default blob size. Now aligns with
29 +   FB3 and later.
30 +
31 + 4. DDL and DML string literals are now explicitly set to the connection character
32 +   set rather than the default character set provided by the compiler.
33 +
34 + 5. General tidy up of transliteration functions, now centralised in IBUtils. FPC testing
35 +   now makes use of the RTL fpwidestring unit for support of international character
36 +   sets.
37 +
38 + 6. Database exception handling (see section 9.3 in user guide).
39 +    * For FB3 and later API: Connection Character set now applied to message returned
40 +      by fb_interpret and message then transliterated if necessary to the system character set.
41 +    * For Legacy API: The message character set is guessed as UTF8 unless invalid
42 +      UTF8 characters found when connection character set is assumed. Message then
43 +      transliterated if necessary to system character set.
44 +      Note: this difference of behaviour is because legacy API presents exception messages
45 +      "as is", while FB3 server attempts to transliterate to connection character set.
46 +
47 + FBINTF Change Log  version          (1.4-0 Build 14011) Sat, 05 Aug 2023 11:09:09 +0100
48 +
49 + 1. Support package fbudr added for support of User Defined Routines (UDRs), and package
50 +   fbudrtestbed for client side debugging of UDR libraries.
51 +
52 + 2. Package layout changed with introduction of udr support. IB*.pas files moved from
53 +    root directory to "client". IBHeader moved to "Client".
54 +
55 + 3. Delphi packages: all packages now compile .dcp and .bpi files to either
56 +   fbintf\Win32\Debug or fbintf\Win64\Debug by default. Please remove any pre-existing
57 +   fbintf.dcp and fbintf.bpi files from other locations.
58 +
59 + 4. Client side journaling support added. Interface changes
60 +   IAttachment
61 +    function JournalingActive: boolean;
62 +    function GetJournalOptions: TJournalOptions;
63 +    function StartJournaling(aJournalLogFile: AnsiString): integer; overload;
64 +    function StartJournaling(aJournalLogFile: AnsiString; Options: TJournalOptions): integer; overload;
65 +    function StartJournaling(S: TStream; Options: TJournalOptions): integer; overload;
66 +    procedure StopJournaling(RetainJournal: boolean);
67 +
68 + 5. Transactions may now be given a local transaction name:
69 +   IFirebirdAPI
70 +     function StartTransaction(Attachments: array of IAttachment;
71 +             TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload;
72 +             TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit;
73 +             aName: AnsiString=''): ITransaction; overload;
74 +     function StartTransaction(Attachments: array of IAttachment;
75 +             TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload;
76 +             TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit;
77 +             aName: AnsiString=''): ITransaction; overload;
78 +
79 +   IAttachment
80 +    function StartTransaction(TPB: array of byte; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload;
81 +    function StartTransaction(TPB: ITPB; DefaultCompletion: TTransactionCompletion=taCommit): ITransaction; overload;
82 +    function StartTransaction(TPB: array of byte;
83 +                              DefaultCompletion: TTransactionCompletion=taCommit;
84 +                              aName: AnsiString=''): ITransaction; overload;
85 +    function StartTransaction(TPB: ITPB;
86 +                              DefaultCompletion: TTransactionCompletion=taCommit;
87 +                              aName: AnsiString=''): ITransaction; overload;
88 +
89 +  ITransaction
90 +    function GetTransactionName: AnsiString;
91 +    procedure SetTransactionName(aValue: AnsiString);
92 +
93 + 6. Additional Transaction information
94 +     ITPB.function AsText: AnsiString; {Returns TPB as a text string}
95 +
96 +   ITransaction
97 +     function GetDefaultCompletion: TTransactionCompletion;
98 +     function GetJournalingActive(attachment: IAttachment): boolean; {attachment must be specified when multi-database transaction}
99 +
100 + 7. New IAttachment helper functions
101 +     function HasTable(aTableName: AnsiString): boolean;
102 +     function HasFunction(aFunctionName: AnsiString): boolean;
103 +     function HasProcedure(aProcName: AnsiString): boolean;
104 +     function GetAttachmentID: integer;
105 +     function GetCharSetID: integer;
106 +
107 + 8. IStatement: if the BatchRowLimit is set to maxint, the maximum possible buffer size
108 +   will be allocated for batch operations.
109 +
110 + 9. IStatement, IColumnMetaData and ISQLParam all now consistently provide:
111 +    function GetStatement: IStatement;
112 +    function GetTransaction: ITransaction;
113 +    function GetAttachment: IAttachment;
114 +
115 + 10. Internal: a more disciplined approach to the handling of Firebird.IReferenceCounted
116 +    interfaces.
117 +
118 + 11. New interface type: IFBNumeric. IFBNumeric is implemented in the unit FBNumeric
119 +    and concentrates all handling of Fixed Point numbers. New ISQLItem and ISQLParam
120 +    functions getAsNumeric and setAsNumeric allow for direct retrival and manipulation
121 +    of numerics without loss of precision.
122 +
123 + 12. TryStrToNumeric and NumericToDouble moved from IBUtils to FBNumeric.
124 +
125 + 13. ISQLParams new method "Clear"
126 +
127 + 14. Connection Info (e.g. ODS Version, Remote Protocol) now retrieved on first
128 +    request rather than on attachment connect.
129 +
130 + 15. IStatus.IBDataBaseErrorMessages now defaults to [ShowIBMessage]. This reflects the
131 +    fact that SQLCodes are soon to be deprecated. In the future, the other options
132 +    will be silently ignored if SQLCode support is not present in the Firebird
133 +    Client library.
134 +
135 + 16. ITransaction changes Rollback and Commit from procedures to functions:
136 +      function Commit(Force: boolean=false): TTrCompletionState;
137 +      function Rollback(Force: boolean=false): TTrCompletionState;
138 +
139 +    Specifically, this is to allow the functions to report back a failed commit or
140 +    rollback when Force = true. In the case, the transaction handle has been
141 +    released, while the transaction remains in limbo.
142 +
143 + 17. IAttachment ExecImmediate.
144 +    When the transaction parameters are provided as an array of const and the
145 +    statement fails, the transaction is rolledback (forced) before the exception
146 +    is raised.
147 +
148 + 18. In Firebird 3 and later API: the status vector is now a thread var, as was
149 +    already the case with the legacy API. Avoids problems when calling underlying
150 +    Firebird API in multiple threads.
151 +
152 + 19. IBUtils: TSQLXMLReader: "string" type changed to "AnsiString" for compatibility
153 +    reasons.
154 +
155 + 20. IDBInformation.DecodeVersionString now supported isc_info_firebird_version.
156 +
157 + 21. TSQLXMLReader: handle 'blob' as a reserved word
158 +
159 + 22. ISQLParam.SetAsVariant now accepts a vartype of varUString (UnicodeString).
160 +
161 +
162   FBINTF Change Log  version          (1.3-3 Build 12935) Mon, 06 Dec 2021 23:17:13 +0000
163  
164   1. Fix compile error with fpc trunk (3.3.1 and later), due to type change to tzname in "unix" unit.
# Line 38 | Line 199 | FBINTF Change Log  version          (1.3
199   8. ITransaction (Firebird 3 and later): An exception raised when freeing an underlying
200     transaction handle is now ignored if Rollback/Commit is called with Force=true
201  
202 + 9. Tidy up of exception handling code. Under the legacy API, fb_interpret is now
203 +   used to get an IBError Message instead of isc_interprete.
204 +
205 + 10. Internal tidyup. Native code now used for decoding integers and the events
206 +    buffer. Avoids dependencies on fbclient functions isc_portable_integer,
207 +    isc_event_block and isc_event_counts.
208 +
209 + 11. New IAttachment function
210 +     function GetAttachmentID: integer;
211 +
212 + 12. Internal changes to TFBClientAPI, TFBAttachment and TFBTransaction and TFB30
213 +    subclasses to enable UDR support.
214 +
215   FBINTF Change Log  version          (1.3-2 Build 12889) Sun, 24 Oct 2021 13:49:28 +0100
216  
217   1. TFBClientAPI.GetProcAddr. Add check for nil reference.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines