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
-
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-boilerplate
project came with a webpack build that pushed code to theui/public
folder of anasset
module. Now the webpack build is not needed because Apostrophe takes care of compilingui/src
for us. This is good! However, if you are transitioning your project to this new strategy, you will need to remove themodules/asset/ui/public
folder from your project manually to ensure that webpack-generated code originally intended for webpack-dev-server does not fail with apublicPath
error in the console.CORE_DEV=1
environment setting has been changed toAPOS_DEV=1
because it is appropriate for anyone who is actively developing custom Apostrophe admin UI usingui/apos
folders in their own modules.sass
npm module. Thenode-sass
npm 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-deep
and consider making other Dart Sass updates as well. For more information see the Dart Sass documentation. Those embracing the newui/src
feature should also bear in mind that Dart Sass is being used.Changes
attachment
field type now correctly limits file uploads by file type when using thefileGroup
field option.Adds
ui/src/index.js
file, which may useimport
to 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.scss
file, which may also import other Sass (SCSS) files.ui/src
JavaScript code can enable it by setting thees5: true
option to the@apostrophecms/asset
module. 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 usingbabel
and missing language features are polyfilled usingcore-js
so you can use promises,async/await
and other standard modern JavaScript features.ui/public
is 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.editMode
flag that tracks the state of the current view (edit or preview), located atwindow.apos.adminBar.editMode
.toolbar
property:--
alignLeft
--
alignRight
--
alignCenter
--
alignJustify
@apostrophecms/express
module now supports thetrustProxy: true
option, allowing your reverse proxy server (such as nginx) to pass on the original hostname, protocol and client IP address.Fixes
reverseOf
is used.def
property.color
'sformat
option moved out of the UI options and into the general options object. Supported formats are "rgb", "prgb", "hex6", "hex3", "hex8", "name", "hsl", "hsv". Pass theformat
string like:min
andmax
work properly for both string-like and number-like fields.data.page
anddata.contextOptions
are now available inwidget.html
templates 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.def
property 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