Apostrophe 3.0 Stable is here! 🎊 #3176
agilbert
announced in
Release Notes
Replies: 3 comments 6 replies
-
|
Congratulations on the big release! 🎉 Haven't had a chance to play around much with the new version yet, but I'm looking forward to do so |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Haha it's true!
One nice touch: "mechanic list" produces mechanic commands that can be used
to reproduce the same configuration on a new server.
…On Fri, Jun 25, 2021 at 1:57 PM Miro Yovchev ***@***.***> wrote:
Well, the reaction of my nginx pro teammate was: "Wow, they did a console
cPanel" :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3176 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH27JMPUDWS6IQFMCOGLTTUS7QFANCNFSM462KBOOQ>
.
--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER
APOSTROPHECMS | apostrophecms.com | he/him/his
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, it's a big day for Apostrophe! Today we are so very pleased to share our 3.0 Stable release of ApostropheCMS with you. This release represents years of work from our core team as well as contributors from around the world.
If you're reading this, you are probably already familiar with A3 and the progress we've been making over the last few months. We'll have a more robust announcement published tomorrow on apostrophecms.com and our mailing list. In the meantime, here are some links to jump right in:
A special thank you to everyone that's been active here in GitHub and on our Discord as we've been working towards this milestone. This is merely the beginning of a huge new era for Apostrophe and we can't wait for future collaborations with the community around A3.
Read on for the detailed changelog as well as other modules that were published this week.
Apostrophe 3.0.0
Breaks
a3-boilerplateproject came with a webpack build that pushed code to theui/publicfolder of anassetmodule. Now the webpack build is not needed because Apostrophe takes care of compilingui/srcfor us. This is good! However, if you are transitioning your project to this new strategy, you will need to remove themodules/asset/ui/publicfolder from your project manually to ensure that webpack-generated code originally intended for webpack-dev-server does not fail with apublicPatherror in the console.CORE_DEV=1environment setting has been changed toAPOS_DEV=1because it is appropriate for anyone who is actively developing custom Apostrophe admin UI usingui/aposfolders in their own modules.sassnpm module. Thenode-sassnpm module has been deprecated by its authors for some time now. Most existing projects will be unaffected, but those writing their own Apostrophe UI components will need to change any/deep/selectors to::v-deepand consider making other Dart Sass updates as well. For more information see the Dart Sass documentation. Those embracing the newui/srcfeature should also bear in mind that Dart Sass is being used.Changes
attachmentfield type now correctly limits file uploads by file type when using thefileGroupfield option.Adds
ui/src/index.jsfile, which may useimportto bring in other files in the standard way. Note thatui/src/index.js must export a function. These functions are called for you in the order modules are initialized.ui/src/index.scssfile, which may also import other Sass (SCSS) files.ui/srcJavaScript code can enable it by setting thees5: trueoption to the@apostrophecms/assetmodule. Apostrophe produces separate builds for IE11 and modern browsers, so there is no loss of performance in modern browsers. Code is automatically compiled for IE11 usingbabeland missing language features are polyfilled usingcore-jsso you can use promises,async/awaitand other standard modern JavaScript features.ui/publicis still available for raw JavaScript and CSS files that should be pushed as-is to the browser. The best use of this feature is to deliver the output of your own custom webpack build, if you have one.editModeflag that tracks the state of the current view (edit or preview), located atwindow.apos.adminBar.editMode.toolbarproperty:--
alignLeft--
alignRight--
alignCenter--
alignJustify@apostrophecms/expressmodule now supports thetrustProxy: trueoption, allowing your reverse proxy server (such as nginx) to pass on the original hostname, protocol and client IP address.Fixes
reverseOfis used.defproperty.color'sformatoption moved out of the UI options and into the general options object. Supported formats are "rgb", "prgb", "hex6", "hex3", "hex8", "name", "hsl", "hsv". Pass theformatstring like:minandmaxwork properly for both string-like and number-like fields.data.pageanddata.contextOptionsare now available inwidget.htmltemplates in most cases. Specifically, they are available when loading the page, (2) when a widget has just been inserted on the page, and (3) when a widget has just been edited and saved back to the page. However, bear in mind that these parameters are never available when a widget is being edited "out of context" via "Page Settings", via the "Edit Piece" dialog box, via a dialog box for a parent widget, etc. Your templates should be written to tolerate the absence of these parameters.defproperty of schema fields when first inserted at site creation time.Apostrophe 3.x extensions
cli 3.0.0
seo 1.0.0
open-graph 1.0.0
Apostrophe 2.x
apostrophe-workflow 2.39.1
apostrophe-pieces-export 2.4.1
apostrophe-forms-google-address-field-widgets 3.0.0
Other modules
mechanic 1.7.0
Beta Was this translation helpful? Give feedback.
All reactions