#1 2022-06-07 12:52:12

squirrel
Member
Registered: 2015-08-13
Posts: 155

mORMot 2 Release

Hi @ab
In your blog post about mORMot 2 performance, you mention that "The official release of mORMot 2 is around the edge".  We are very curious (and excited) for that day.  Is there a specific date or feature parity that must be reached or are we getting close? big_smile

Offline

#2 2022-06-07 15:58:54

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

I suspect we could release it before July.
It is already used on production in several projects.

The only missing "feature" are perhaps more samples.

Question to mORMot users: what do you think?

Offline

#3 2022-06-08 04:55:18

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Re: mORMot 2 Release

I am not using it on production yet, simply because our product is way away from alpha release. However, in day to day development use and testing, it's running flawless.

However, no haevy duty tests yet, no massive connections, etc. So I should not be taken seriously, when I say: go ahead ;-)

--Daniel

Offline

#4 2022-06-08 06:16:50

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: mORMot 2 Release

Re. examples, I just pulled the latest source and found "\ex\ThirdPartyDemos\martin-doyle", I guess those samples done by Martin Doyle can already get me started.

That being said, based on your statement it seems that mORMot2 is stable for my use cases, so I might start using it instead of v1 for a new project.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#5 2022-06-08 06:18:26

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: mORMot 2 Release

Maybe an "Upgrade notes for mORMot 1 users" blog post is enough to get us start upgrading wink


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#6 2022-06-08 07:13:15

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: mORMot 2 Release

The ddd folder is still empty ... ;-)

Offline

#7 2022-06-08 07:47:28

pvn0
Member
From: Slovenia
Registered: 2018-02-12
Posts: 211

Re: mORMot 2 Release

I'm in same boat as sakura, basically I've switched to mORMot 2 during development but aren't using it in production yet because the project isn't there yet.

Offline

#8 2022-06-08 12:36:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

@AOG
Yes, the src/ddd folder is empty, and may stay as such for some time.
I don't think porting the mORMot 1 code here would be a good idea, because it is somewhat too complex.

See https://synopse.info/forum/viewtopic.php?id=5867
and the discussion about DDD and our KDD at https://blog.synopse.info/?post/2019/10 … e-and-Code

Offline

#9 2022-06-09 09:47:16

dcoun
Member
From: Crete, Greece
Registered: 2020-02-18
Posts: 430

Re: mORMot 2 Release

About mobile apps ?
expired JWT automatic re-creation?

Last edited by dcoun (2022-06-09 09:47:58)

Offline

#10 2022-06-09 17:24:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

It is to the client to renew the JWT.

Offline

#11 2022-06-09 17:45:50

trx
Member
Registered: 2015-08-30
Posts: 30

Re: mORMot 2 Release

I have several projects in production which use mORMot2. As with all new code, a few issues came up (in production of course smile ) occasionally but were fixed and things are running smoothly now.
The last one being a locking issue in TSynCache which was introduced when RW locks were added.
I was looking forward to RW locks for a long time, it is a great addition. Although this is an example of a feature which can add hard to detect bugs with unit tests, which got me thinking if mORMot2 could use some kind of branching/versioning/whatever strategy for stable and development/bleeding edge?

About DDD:
The projects were all upgraded from mORMot 1 from 6 months to a few months ago and they all used DDD units, it was pretty easy to port mORMot1's DDD units to mORMot2 though (at least the parts I was using relating to persistence, authentication and emails).

Last edited by trx (2022-06-09 18:00:27)

Offline

#12 2022-06-09 20:56:17

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: mORMot 2 Release

@trx
If you are willing to share your efforts, I would be very pleased.

Offline

#13 2022-06-10 06:41:20

trx
Member
Registered: 2015-08-30
Posts: 30

Re: mORMot 2 Release

@AOG
Sure, I have commited the relevant files here: https://github.com/transmogrifix/sx-ddd

But I would not use them for new mORMot2 projects and rather wait for whatever ab is planning DDD/KDD-wise.

Last edited by trx (2022-06-10 06:47:14)

Offline

#14 2022-06-11 08:59:33

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: mORMot 2 Release

Thank you very much for sharing !! Much appreciated. Will have a very close look.

Offline

#15 2022-09-21 18:39:14

Javierus
Member
Registered: 2019-09-18
Posts: 55

Re: mORMot 2 Release

@ab, Will it be released in EKON 26?

Offline

#16 2022-09-21 19:09:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

Very likely.

smile

Offline

#17 2022-09-23 16:55:27

Wanderlan
Member
From: Brazil
Registered: 2022-08-25
Posts: 4

Re: mORMot 2 Release

Hello. Where can I access documentation for version 2?

Offline

#18 2022-09-24 08:55:02

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

The documentation is not yet generated.

You have the README.md files in the repository, and the inlined documentation in the source code, as comments.

For the high-level principles, the mORMot 1.18 documentation is still accurate.
See https://synopse.info/files/html/Synopse … 01.18.html

Offline

#19 2022-09-27 15:46:09

Wanderlan
Member
From: Brazil
Registered: 2022-08-25
Posts: 4

Re: mORMot 2 Release

Hi @ab,

How can I, by myself, generate the documentation?
I tried using SynProject and failed sad
Could you give me a step by step on how to generate the documentation?

Thanks.

Offline

#20 2022-09-27 16:06:55

igors233
Member
Registered: 2012-09-10
Posts: 241

Re: mORMot 2 Release

I'm not sure it's that easy, docs are generated from comments in source files so best is just to go though pas files and read area you're interested.

Offline

#21 2022-12-04 16:51:40

Javierus
Member
Registered: 2019-09-18
Posts: 55

Re: mORMot 2 Release

mORMot 2 has still not reached release status?

Offline

#22 2022-12-05 10:14:00

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

I am planning a Christmas release.

smile

Offline

#23 2022-12-15 15:06:59

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 239
Website

Re: mORMot 2 Release

Oh yeah! Please :-)

Offline

#24 2023-01-09 15:36:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: mORMot 2 Release

Note:
We should move this mORMot 2 specific thread to https://synopse.info/forum/viewforum.php?id=24

The release is planned for this week.
It is time for a Release Candidate!
https://synopse.info/forum/viewtopic.php?id=6442

Offline

Board footer

Powered by FluxBB