BREAKING CHANGES

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Wed Mar 04, 2020 8:57 am

The commit made on March 4th, 2020 had a different way to handle usernames and password for proxies :
https://github.com/salvadordf/CEF4Delphi/commit/f4dd3e69a3f6f77f99415289f6b950c99659e51a

CEF4Delphi will use the TChromium.ProxyUsername and TChromium.ProxyPassword properties only when TChromium.ProxyType has a CEF_PROXYTYPE_FIXED_SERVERS value.

All other TChromium.ProxyType values will trigger the TChromium.OnGetAuthCredentials event. The application should ask the user for the credentials, make a copy and use it again in later requests with this code :

Code: Select all

callback.cont(username, password);

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Fri Mar 20, 2020 10:20 am

The commit made on March 18th, 2020 fixed a bug with SELECT elements and it required different arguments in the TBufferPanel.BufferDraw and TFMXBufferPanel.BufferDraw procedures.

The OSR demos now have a slightly different implementation of the TChromium.OnPaint event for the same reason.

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Sun Mar 29, 2020 3:43 pm

The update to CEF 80.1.2 removed 2 events because they were redundant :
  • TBufferPanel.OnWrongSize
  • TFMXBufferPanel.OnWrongSize

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Wed Apr 22, 2020 11:22 am

The update to CEF 81.2.21 changed the margin properties in TChromium.PDFPrintOptions from DOUBLE to INTEGER.

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Sat May 23, 2020 1:23 pm

The update to CEF 83.3.9 released on May 23rd, 2020 had different declarations for TCefCookie and TCookie.
Some functions and events related to cookies have 2 new parameters called "same_site" and "priority".

Read the announcement for more information :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1330

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Fri Jul 17, 2020 11:02 am

The commit made on July 17th, 2020 moved all the JSON functions from uCEFMiscFunctions.pas to the TCEFJson class in uCEFJson.pas
  • CefParseJson is now available as TCEFJson.Parse
  • CefParseJsonAndReturnError is now available as TCEFJson.ParseAndReturnError
  • CefWriteJson is now available as TCEFJson.Write

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Sat Aug 29, 2020 10:15 am

The update to CEF 85.2.11 made on August 29th, 2020 removed the following methods and events :
  • Removed GlobalCEFApp.OnRenderProcessThreadCreated event.
  • Removed GlobalCEFApp.OnRenderThreadCreated event.
  • Removed ICefMediaSink.IsValid.
  • Removed ICefMediaSource.IsValid.

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Tue Sep 15, 2020 2:35 pm

The update made on September 15th, 2020 added a missing "Sender" parameter to these events :
  • TChromium.OnNavigationVisitorResultAvailable
  • TChromium.OnBrowserCompMsg
  • TChromium.OnWidgetCompMsg
  • TChromium.OnRenderCompMsg

User avatar
salvadordf
Posts: 2677
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: BREAKING CHANGES

Post by salvadordf » Thu Nov 19, 2020 6:13 pm

The update to CEF 87.1.6 had a few breaking changes :
  • Modified the TChromium.OnCursorChange event. It has a new "aResult" parameter.
  • Removed the TChromium.MouseCursorChangeDisabled property.
  • Modified the parameters in the TCefJson.ParseAndReturnError function. "error_code_out" was removed.
Read this for more details :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1565&p=6536#p6536

Post Reply