Skip to content

Commit

Permalink
mORMot 2.3-stable release!
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Oct 16, 2024
1 parent 04e3c28 commit 38874e1
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 11 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,22 @@
All notable changes to the *mORMot Open Source Framework* project will be documented in this file.
Details are available [on out GitHub repository](https://github.com/synopse/mORMot2/commits/master)

## [2.2.stable] - 2024-01-02
## [2.3.stable] - 2024-10-16
This is the latest stable release of *mORMot* v2.
### Added
- [Swagger/OpenAPI Client Generator](https://blog.synopse.info/?post/2024/09/06/Swagger/OpenAPI-Client-Generator-for-Delphi-and-FPC)
- [IDocList/IDocDict Containers](https://blog.synopse.info/?post/2024/02/01/Easy-JSON-with-Delphi-and-FPC)
- [SID/DACL/SACL/SDDL/ACE Security Objects](https://github.com/synopse/mORMot2/blob/master/src/core/mormot.core.os.security.pas)
- async web server: IOCP support on Windows, metrics gathering and standard logging
- `TSynMustache` can work on plain data via RTTI, in addition to `TDocVariant`
- introducing `TRttiMap` for DTO process.
### Changed
- Upgraded SQLite3 to 3.46.1
- Enhancements to the LDAP client, HTTP/HTTPS client, Kerberos auth, Peer Cache, ORM.
- Lots other bug fixes, optimisations and enhancements.

## [2.2.stable] - 2024-01-02
### Added
- [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)
- [Native X.509, RSA and HSM support](https://blog.synopse.info/?post/2023/12/09/Native-X.509-and-RSA-Support)
- [`mget` utility with `THttpPeerCache` peer-to-peer caching](https://blog.synopse.info/?post/2024/01/01/Happy-New-Year-2024-and-Welcome-MGET)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Please submit pull requests for non-validated versions.
- and download and extract latest https://synopse.info/files/mormot2static.tgz or https://synopse.info/files/mormot2static.7z into `c:\github\mORMot2\static`.
- or as direct download of a given release (e.g. for a build script):
- Download a *Source code (zip)* release from https://github.com/synopse/mORMot2/releases and extract it e.g. into `d:\mormot2`,
- and extract its associated `mormot2static.tgz` or `mormot2static.7z` file content into `d:\mormot2\static`.
- and download and extract its associated `mormot2static.tgz` or `mormot2static.7z` file content into `d:\mormot2\static`.
2. Setup your favorite IDE:
- On Lazarus:
- Just open and compile the [`/packages/lazarus/mormot2.lpk`](packages/lazarus/mormot2.lpk) package;
Expand All @@ -120,7 +120,7 @@ Please submit pull requests for non-validated versions.

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).

## Coming From Version 2
## Coming From Version 1.18

### Why Rewrite a Working Solution?

Expand Down
4 changes: 2 additions & 2 deletions commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
VERS=$(python3 - `git rev-list --count master` <<<'import sys; print(int(sys.argv[1])+1)')
#echo VERS=$VERS

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

git add --all
git commit
git push

echo committed 2.2.$VERS as https://github.com/synopse/mORMot2/commit/`git rev-parse --short HEAD`
echo committed 2.3.$VERS as https://github.com/synopse/mORMot2/commit/`git rev-parse --short HEAD`
2 changes: 1 addition & 1 deletion ex/mvc-blog/MVCModel.pas
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ constructor TDotClearTable.Create(var Text: PUtf8Char);
if Text = nil then
fText := P
else
SetString(fText, PAnsiChar(P), Text - P);
FastSetString(fText, P, Text - P);
SetLength(fJsonData, fFieldCount * (fRowCount + 1));
fData := pointer(fJsonData);
for f := 0 to fFieldCount - 1 do
Expand Down
6 changes: 3 additions & 3 deletions src/db/mormot.db.raw.sqlite3.static.pas
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ TSqlite3LibraryStatic = class(TSqlite3Library)
// - to be used if you don't want the latest version of sqlite3, but the very
// same binaries expected by this unit, in one of its previous version
// - you could download the static for this exact mORMot source revision e.g. as
// https://github.com/synopse/mORMot2/releases/download/2.2.stable/mormot2static.7z
// https://github.com/synopse/mORMot2/releases/download/2.2.stable/mormot2static.tgz
EXPECTED_RELEASE_TAG = '2.2.stable';
// https://github.com/synopse/mORMot2/releases/download/2.3.stable/mormot2static.7z
// https://github.com/synopse/mORMot2/releases/download/2.3.stable/mormot2static.tgz
EXPECTED_RELEASE_TAG = '2.3.stable';

/// where to download the latest available static binaries, including SQLite3
{$ifdef OSWINDOWS}
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.2.8831'
'2.3.8832'
2 changes: 1 addition & 1 deletion src/net/mormot.net.async.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ function TPollAsyncConnection.TryLock(writer: boolean): boolean;
end
else
exit
else if LockedExc(Lock, 1, 0) then // this thread we acquired this lock
else if LockedExc(Lock, 1, 0) then // this thread just acquired the lock
begin
include(fFlags, fWasActive);
ThreadID := tid;
Expand Down

0 comments on commit 38874e1

Please sign in to comment.