Skip to content

Commit 38874e1

Browse files
author
Arnaud Bouchez
committed
mORMot 2.3-stable release!
1 parent 04e3c28 commit 38874e1

File tree

7 files changed

+24
-11
lines changed

7 files changed

+24
-11
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
33
All notable changes to the *mORMot Open Source Framework* project will be documented in this file.
44
Details are available [on out GitHub repository](https://github.com/synopse/mORMot2/commits/master)
55

6-
## [2.2.stable] - 2024-01-02
6+
## [2.3.stable] - 2024-10-16
77
This is the latest stable release of *mORMot* v2.
88
### Added
9+
- [Swagger/OpenAPI Client Generator](https://blog.synopse.info/?post/2024/09/06/Swagger/OpenAPI-Client-Generator-for-Delphi-and-FPC)
10+
- [IDocList/IDocDict Containers](https://blog.synopse.info/?post/2024/02/01/Easy-JSON-with-Delphi-and-FPC)
11+
- [SID/DACL/SACL/SDDL/ACE Security Objects](https://github.com/synopse/mORMot2/blob/master/src/core/mormot.core.os.security.pas)
12+
- async web server: IOCP support on Windows, metrics gathering and standard logging
13+
- `TSynMustache` can work on plain data via RTTI, in addition to `TDocVariant`
14+
- introducing `TRttiMap` for DTO process.
15+
### Changed
16+
- Upgraded SQLite3 to 3.46.1
17+
- Enhancements to the LDAP client, HTTP/HTTPS client, Kerberos auth, Peer Cache, ORM.
18+
- Lots other bug fixes, optimisations and enhancements.
19+
20+
## [2.2.stable] - 2024-01-02
21+
### Added
922
- [OpenSSL 3.0/3.1 direct support in addition to 1.1](https://blog.synopse.info/?post/2023/09/08/End-Of-Live-OpenSSL-1.1-vs-Slow-OpenSSL-3.0)
1023
- [Native X.509, RSA and HSM support](https://blog.synopse.info/?post/2023/12/09/Native-X.509-and-RSA-Support)
1124
- [`mget` utility with `THttpPeerCache` peer-to-peer caching](https://blog.synopse.info/?post/2024/01/01/Happy-New-Year-2024-and-Welcome-MGET)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Please submit pull requests for non-validated versions.
103103
- and download and extract latest https://synopse.info/files/mormot2static.tgz or https://synopse.info/files/mormot2static.7z into `c:\github\mORMot2\static`.
104104
- or as direct download of a given release (e.g. for a build script):
105105
- Download a *Source code (zip)* release from https://github.com/synopse/mORMot2/releases and extract it e.g. into `d:\mormot2`,
106-
- and extract its associated `mormot2static.tgz` or `mormot2static.7z` file content into `d:\mormot2\static`.
106+
- and download and extract its associated `mormot2static.tgz` or `mormot2static.7z` file content into `d:\mormot2\static`.
107107
2. Setup your favorite IDE:
108108
- On Lazarus:
109109
- Just open and compile the [`/packages/lazarus/mormot2.lpk`](packages/lazarus/mormot2.lpk) package;
@@ -120,7 +120,7 @@ Please submit pull requests for non-validated versions.
120120

121121
For safety, the SHA-256 checksums of the current version of the downloaded binary files, as published in our https://synopse.info/files server, are available in [this repository `static/dev.sha256` file](static/dev.sha256).
122122

123-
## Coming From Version 2
123+
## Coming From Version 1.18
124124

125125
### Why Rewrite a Working Solution?
126126

commit.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
VERS=$(python3 - `git rev-list --count master` <<<'import sys; print(int(sys.argv[1])+1)')
55
#echo VERS=$VERS
66

7-
echo -e "'2.2.$VERS'\r">src/mormot.commit.inc
7+
echo -e "'2.3.$VERS'\r">src/mormot.commit.inc
88
cp src/mormot.commit.inc ~/dev/lib2/src/mormot.commit.inc
99

1010
git add --all
1111
git commit
1212
git push
1313

14-
echo committed 2.2.$VERS as https://github.com/synopse/mORMot2/commit/`git rev-parse --short HEAD`
14+
echo committed 2.3.$VERS as https://github.com/synopse/mORMot2/commit/`git rev-parse --short HEAD`

ex/mvc-blog/MVCModel.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ constructor TDotClearTable.Create(var Text: PUtf8Char);
464464
if Text = nil then
465465
fText := P
466466
else
467-
SetString(fText, PAnsiChar(P), Text - P);
467+
FastSetString(fText, P, Text - P);
468468
SetLength(fJsonData, fFieldCount * (fRowCount + 1));
469469
fData := pointer(fJsonData);
470470
for f := 0 to fFieldCount - 1 do

src/db/mormot.db.raw.sqlite3.static.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ TSqlite3LibraryStatic = class(TSqlite3Library)
100100
// - to be used if you don't want the latest version of sqlite3, but the very
101101
// same binaries expected by this unit, in one of its previous version
102102
// - you could download the static for this exact mORMot source revision e.g. as
103-
// https://github.com/synopse/mORMot2/releases/download/2.2.stable/mormot2static.7z
104-
// https://github.com/synopse/mORMot2/releases/download/2.2.stable/mormot2static.tgz
105-
EXPECTED_RELEASE_TAG = '2.2.stable';
103+
// https://github.com/synopse/mORMot2/releases/download/2.3.stable/mormot2static.7z
104+
// https://github.com/synopse/mORMot2/releases/download/2.3.stable/mormot2static.tgz
105+
EXPECTED_RELEASE_TAG = '2.3.stable';
106106

107107
/// where to download the latest available static binaries, including SQLite3
108108
{$ifdef OSWINDOWS}

src/mormot.commit.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'2.2.8831'
1+
'2.3.8832'

src/net/mormot.net.async.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ function TPollAsyncConnection.TryLock(writer: boolean): boolean;
14791479
end
14801480
else
14811481
exit
1482-
else if LockedExc(Lock, 1, 0) then // this thread we acquired this lock
1482+
else if LockedExc(Lock, 1, 0) then // this thread just acquired the lock
14831483
begin
14841484
include(fFlags, fWasActive);
14851485
ThreadID := tid;

0 commit comments

Comments
 (0)