Vanilla 3.3 is now available

initvectorinitvector Vanilla Staff
edited October 28 in Releases

Missed the 3.2 release? Check out the upgrade & release notes here.

Vanillicon Changes Incoming

Changes to your Vanillicon are here. You'll see a new avatar after this update. To find out more, checkout "Why Vanillicon Avatars Changed" on what is changing and why.

Rich Editor

  • Rich quotes of Discussions now display the user profile image.
  • All rich quotes now use the improved expand/collapse UI from reported posts.
  • Multiple images can now be uploaded at the same time.
  • Fix a bug where nested lists in Rich Editor would render improperly after being posted. vanilla#9332

Bug Fixes

  • Fix emoji suggestions not displaying. vanilla#9250
  • Update Vanillicon email hashes. vanilla#9244 
  • Fixed a bug causing javascript not to execute in older browsers. vanilla#9350
  • Fix notifications not being sent to participating users. vanilla#9406
  • Fix invalid/expired state token error when signing in. vanilla#9356
  • Update Twitter addon to use platform's share links.
  • Fix dashboard category name rendering.
  • Improve URL handling in API v2 /media/scrape endpoint.
  • The time formats for some locales have been changed to the 24-hour format in accordance to their locale standards.
  • Fix unicode character handling in "leaving" page links.
  • Fix photo ID encoding in Getty Images embeds.
  • Fix preemptively join conversations.

Developer Notes

  • Addons may now define PHP files in arbitrary namespaces in any subdirectory of the addon. Previously this was only possible with the Controllers, Models, and library directories. vanilla#9209
  • Logging of PHP warnings has been disabled again. After fixing a few common cases, this may be re-enabled in a future release.
  • Move the private community middleware to the /api/v2. vanilla#932
  • Fix header link in JsonView. vanilla#9269
  • Fix loop when dispatching exception page. vanilla#9359
  • Fix Attributes JSON encoding for special data types. vanilla#9326

Download

Get it over in the addon directory. https://open.vanillaforums.com/addon/vanilla-core-3.3

pioc34AdrianVivant
«13

Comments

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    I get an error after updating from /applications/dashboard/controllers/api/LocalesApiController.php:

    Fatal Error in LocalesApiController.{closure}();

    Class 'Locale' not found


    $displayName = \Locale::getDisplayLanguage($row["localeKey"], $locale);

    And searching for getDisplayLanguage in fact doesn't find any definition for it, neither in the repo nor in the download


  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator
    edited October 29

    Oooh! OOh!

    I can help @R_J ...

    I had to install php-intl (see this post - https://open.vanillaforums.com/discussion/37659/class-locale-not-found )

    Vivant
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    It's like that bit in National Treasure, when Riley knows something Ben Gates doesn't

    https://www.youtube.com/watch?v=kAfAwxvIvoI

    Vivant
  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    I'm not trying to brag on this, btw, just pleased I got to help out someone who does so much for this community.

    R_JVivanttoolsmythe
  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Thanks! Seems like I should have searched through the forum first before asking 😀


  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    Me too. I posted my question before searching...

  • Looking great! Thanks Vanilla team.

  • Hello,

    Is Vanilla now safe to install (I mean, upgrade from 3.2 to 3.3) or is it better to wait for a patch for this error?

    Thanks 😉

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    There is no error. But you need to have installed the php-intl extension.


    jay3rrr
  • I don't know what it is... will this extension be necessary to all the future vanilla updates?

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... Moderator

    It would be sensible to assume so.

    I didn't know what php-intl was until yesterday either. (I still don't, tbh, I just know it needed to be installed for 3.3 to work on my set up.) Ask your host to install it for you, if you are not self-hosting.

    jay3rrr
  • KasparKaspar
    edited November 3

    Nevermind

    Just tested update from 3.1 to 3.3 - missing dist files (as they are deleted before updating according to this https://docs.vanillaforums.com/developer/installation/self-hosting/#upgrading )

    As a result Rich editor text fields are endlessly loading (div changes to IsDisabled in the end)

    Putting the files back in /dist solves it (seems that way from what I see)


  • KasparKaspar
    edited November 3

    Nevermind

    Version in dashboard still show old version after updating (recall seeing some post on forum but cannot find it now, not sure the was a solution in it)

    Any suggestions?

  • initvectorinitvector Vanilla Staff

    Just tested update from 3.1 to 3.3 - missing dist files (as they are deleted before updating according to this [...]

    Can you confirm you're deleting the dist directory only on your host and before you upload the 3.3 package, not after? This step is intended to clear out old versions of built files. The dist directory from this release should be intact when it is uploaded.

    Version in dashboard still show old version after updating (recall seeing some post on forum but cannot find it now, not sure the was a solution in it)

    Does the APPLICATION_VERSION value defined in your environment.php match what you're seeing in the dashboard footer?

    Kaspar
  • KasparKaspar
    edited November 3

    Nevermind

    Deleted files in /dist before - yes

    After deploying the new version there is nothing in /dist - editor field endless loads.

    Putting the deleted files back solves it.

  • KasparKaspar
    edited November 3

    Nevermind

    version value in environment.php match what is shown in dashboard, yes.

    It changes in dashboard if I change it there.

  • I'm seeing similar errors like @Kaspar .

    However, I didn't notice any problem on the forum yet, I'll post here if I find any problem.


  • Forum files is in /package in the download zip - I unpacked it raw like that 😞

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

  • Hello @Kaspar did you manage to solve this? I'm struggling with those 404 js errors in the last weeks and so far nothing helped. Thanks in advance.

Sign In or Register to comment.