Thank you for your prompt reply. To clear up probable misunderstanding: current jsapi loader allows specifying global callback e.g. like this https://www.google.com/jsapi?callback=__gwt_AjaxLoader_onLoad to let page scripts know that they can proceed with asking it to load modules, so I was wondering if the new loader will be able to do that as well, as my current code inserts loader script tag when it is first needed.
So basically, my main remaining concerns are - B*y which time* (in several days? weeks? months?) my client code needs to be changed to use new loader (as right now judging by https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code it seems that while changes are small, the old code still needs to be changed to use new loader)? - Whether *by then* I can rely on global callback passed in the URL or will this ability included in an update after that? On Monday, 15 April 2019 22:22:02 UTC+3, Daniel LaLiberte wrote: > > > > On Mon, Apr 15, 2019 at 7:37 AM Stepan Sadovnikov <[email protected] > <javascript:>> wrote: > >> Hi Daniel. >> >> I have several questions regarding the update. >> >> 1) Are outages still expected? >> > > We will probably not have any more (planned) outages. We have a different > strategy now which will avoid the need for outages to warn about the > impending turndown of the service associated with using the jsapi loader. > More below. > > >> 2) If yes, is there a date or approximate timeframe when outages will >> happen? >> >> 3) Will the old jsapi loader become unavailable? >> > > The old jsapi loader would have become unavailable. But as I said above: > > Fortunately, we will be able to automatically redirect all requests to the >> new server, which means that all versions of Google Charts that have been >> loaded via the jsapi loader will effectively be automatically updated to >> the current version, which is v46. >> So you won't have to make any changes to your code to be affected by this >> update, but you may need to update how you are using Google Charts due to >> differences in the versions, or you may select one of the other versions >> that are available. > > > The redirect means that if you load jsapi, you will automatically be > redirected to load the new loader instead. > > >> 4) If yes, is there a date or approximate timeframe when the old loader >> will be removed? >> >> 5) Is there any way to make new loader call back when it (as in, >> loader.js itself) is loaded? >> > > I'm not sure what you mean, but if you are referring to the auto-load > feature that jsapi has supported, yes, we are adding that to the new > loader.js as well. Documentation for the jsapi auto-load feature is at: > https://devsite.googleplex.com/loader/#auto-loading > > But the jsapi auto-load feature doesn't appear to support a callback, > though if it did, it would have to be a global function name. We are > adding support for that in the new loader.js. > > > On Friday, 1 February 2019 00:08:02 UTC+2, Daniel LaLiberte wrote: >>> >>> Since 2015, we started releasing new versions of Google Charts on a new >>> server, and the old server has remained static ever since then. However, >>> the old server will be turned off entirely at the end of this quarter, so >>> that means everyone using any versions on the old server will be forced to >>> migrate to the new server. >>> >>> Fortunately, we will be able to automatically redirect all requests to >>> the new server, which means that all versions of Google Charts that have >>> been loaded via the jsapi loader will effectively be automatically updated >>> to the current version, which is v46. >>> >>> So you won't have to make any changes to your code to be affected by >>> this update, but you may need to update how you are using Google Charts due >>> to differences in the versions, or you may select one of the other versions >>> that are available. >>> >>> You can check how your charts will appear once this update occurs by >>> following the instructions on how to update your loader at: >>> https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code >>> >>> The last version released to the server where jsapi loads from was v41, >>> and the same version (or nearly so) was also frozen on the new server. It >>> might be best to try that version, if v46 is not working for you. Other >>> versions you can use on the new server are 42, 43, 44, 45, 45.1, 45.2, and >>> 46. You can review all the changes in each subsequent version at: >>> https://developers.google.com/chart/interactive/docs/release_notes#february-23-2015 >>> >>> Also, in preparation for this turndown of the old server, there will be >>> short periods of outages, maybe up to a few hours, during which the UDS >>> server is "drained" of all requests to determine if there are any further >>> unknowns. You may have noticed one already. You can avoid these outages >>> by updating to the new loader, as linked to above. >>> >>> -- >>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> >>> [email protected] Cambridge MA >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at >> https://groups.google.com/group/google-visualization-api. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/6f4ac217-5557-4234-8f89-3b726ba5d200%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/6f4ac217-5557-4234-8f89-3b726ba5d200%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> > [email protected] <javascript:> Cambridge MA > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/9e768c4f-64e7-4526-a3dd-274e3144b163%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
