Quasar 1.0 - Sneak-Peek

in #quasarframework6 years ago (edited)

With the full release of the Quasar-Framework v1.0 at the end of January 2019 (and the first RCs coming sooner), we wanted to take the opportunity to highlight some of the things that we are really excited about, some of the things that didn't make the cut (but are nevertheless slated for release after 1.0) and finally spend a moment discussing how we plan to support users of the legacy codebase.

<p dir="auto"><img src="https://images.hive.blog/768x0/https://user-images.githubusercontent.com/35242872/45617347-55018080-ba72-11e8-91f9-a6fbfe827f43.png" alt="1.0" srcset="https://images.hive.blog/768x0/https://user-images.githubusercontent.com/35242872/45617347-55018080-ba72-11e8-91f9-a6fbfe827f43.png 1x, https://images.hive.blog/1536x0/https://user-images.githubusercontent.com/35242872/45617347-55018080-ba72-11e8-91f9-a6fbfe827f43.png 2x" /> <p dir="auto">Before we dive into it though, first a few words about what 1.0 will mean for you as a developer. Our contract with you (and the code) is that there will be no more breaking changes: The API will be stable - which we understand to mean that refactoring will remain within the black box and we will only make additive modifications. This forward compatibility will bring you peace of mind and enable you to safely build your projects for the long term - and grow with Quasar! <h2>Front and Center <p dir="auto">We’ve gone through ALL of the over 120 components, and curated each and every of them in order to unify their properties with the intention of making everything faster and cleaner. In some of our tests, the new components render <strong>7x faster and just feel snappier. This is due to more logical, minimal and consistent component design. <p dir="auto">We can't stress this enough: every component has been rewritten from scratch, curated for runtime speed, enhanced with new features (almost all components have more features) and they will be easier to customize. <p dir="auto">We are also going to be introducing new components, such as (naming only a few) QCircularProgress, QAvatar, QSpace, QSeparator, QMarkupTable, QBar, QSlideItem, QSplitter and QImg. That's right - you are going to be getting responsive images! <p dir="auto"><img src="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/2000/1*Ygoj5kLSQoiadmVvv8FAcw.png" alt="img and co" srcset="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/2000/1*Ygoj5kLSQoiadmVvv8FAcw.png 1x, https://images.hive.blog/1536x0/https://cdn-images-1.medium.com/max/2000/1*Ygoj5kLSQoiadmVvv8FAcw.png 2x" /> <p dir="auto">While adding new components, we've also thought about how to make Quasar even <strong>easier and <strong>faster to use. So for example, instead of having a lot of QCard sub-components or QItem subcomponents, we've collapsed them into fewer subcomponents. Instead of having QCardActions, QCardMain, QCardMedia, QCardSeparator and QCardTitle now you will only need QCardActions and QCardSection. The same goes for QItem: QItemSection and QItemLabel (instead of QItemMain, QItemSeparator, QItemSide, QItemTile). And these are just two examples... <p dir="auto">One of the most adored features of stock Quasar is that we have always paid close attention to the Material Design specification. You will be happy to know that we are continuing this tradition by sanding off all of the rough edges and will provide pixel perfect and spec-consistent Material 2.0 design - out of the box. <p dir="auto">In general, you will find that it has become easier to customise the styling of your apps and it will be easier to write them. Furthermore, we have adopted the consistency of <a href="https://github.com/sturobson/BEM-resources" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">BEM class naming, so that implementation of styling is easier and more logical. <p dir="auto"><img src="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/1200/1*gEKC0H-AtgC9jkqkJ3-9TA.png" alt="BEM and co" srcset="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/1200/1*gEKC0H-AtgC9jkqkJ3-9TA.png 1x, https://images.hive.blog/1536x0/https://cdn-images-1.medium.com/max/1200/1*gEKC0H-AtgC9jkqkJ3-9TA.png 2x" /> <h3>Details? <p dir="auto">In the lead-up to the launch, we will be publishing a weekly series of articles by Scott that go into depth about the new components. The miniseries is called "Have You Seen" (HYS) and you'll be able to read all about it on our Steem and Medium blogs. <h2>Behind the Scenes <p dir="auto">The first thing that you will notice is that we have switched to our brand new NPM organisation for packaging: <code>@quasar <p dir="auto">We have split the old <code>quasar-cli into <strong>quasar/cli && <strong>quasar/app. To be clear you will get: <ul> <li>an optional global install package <code>@quasar/cli - which is used to create new projects and brings the convenience of having quasar commands globally available <li>the local package <code>@quasar/app - which is what will "live" within your project <p dir="auto">By splitting these two, we want you to enjoy a faster install of both the global CLI as well as the local package - and fewer dependencies within your project. To be clear: <code>@quasar/cli defers to the locally installed <code>@quasar/app in each project. Finally, <code>@quasar/cli will also support the current "quasar serve" command along with "quasar create" (replacing "quasar init"). <p dir="auto">What you should never notice, however, is that in order to make sure that our packages are safe and don't introduce regressions, they will be run through a CI that includes unit, snapshot and e2e testing. This means that we won’t even be able to publish stuff that breaks. <h3>Speaking of testing... <p dir="auto">We have been working really hard to configure testing harnesses that not only cover units deeply within node.js, Vue and Quasar contexts, but also effortlessly run e2e tests for web, cordova and electron. <p dir="auto"><img src="https://images.hive.blog/768x0/https://raw.githubusercontent.com/quasarframework/quasar-testing/dev/testing_header.png" alt="testing" srcset="https://images.hive.blog/768x0/https://raw.githubusercontent.com/quasarframework/quasar-testing/dev/testing_header.png 1x, https://images.hive.blog/1536x0/https://raw.githubusercontent.com/quasarframework/quasar-testing/dev/testing_header.png 2x" /> <p dir="auto">The best part about the experience that we have gained in testing is that it will be made available to you as well. To profit (and install your preferred testing framework), you will merely need to add the respective package(s) from the <code>@quasar/testing monorepo, such as: <ul> <li><code>@quasar/testing-unit-jest (with sample tests and istanbul coverage) <li><code>@quasar/testing-e2e-cypress (extended with quasar methods) <li><code>@quasar/testing-e2e-webdriver (prerigged for all modes) <li><code>@quasar/testing-quality (with lighthouse) <li><code>@quasar/testing-security (with snyk and XSStrike) <li><code>@quasar/testing-loader (manage <code><test> templates within your SFC's) <p dir="auto">As time goes on, we will be introducing community-built testing harnesses - so if your favourite is missing, you will be able to fork the monorepo, construct a new package and make a PR. After vetting, it will become available to everyone else - and you will be our newest hero! <h3>Code Quality and Safety <p dir="auto">By the way, one of the tools we used to help us generate the test primitives were our new d.ts typescript definitions (which we actually generate from the codebase). The great part about this is that you can use these typedefs yourself and immediately gain all the benefits of strongly typed code in your own project (should you choose to go the <strong>ts route...) This is one of the first steps in Quasar's eventual transition to using typescript internally, keeping in-line with the Vue roadmap. (More about typescript below...) <h3>The Docs <p dir="auto">Probably sooner than later, you will discover that the docs website has been completely reinvented. For starters, we are using Quasar SSR to serve these pages - which means that it is less complicated to keep the docs up to date. Also, there are embedded code-pens - where you can actually play with the code. We hope that using the docs becomes a great pleasure! <p dir="auto">Further, because we have such an enormous global audience, we have partnered up with DaVinci and are using the crowdin service to translate all the docs into a bunch of different languages. <h2>After the launch... <p dir="auto">...is before the launch. There are a lot of little (and not so little) things that didn't absolutely need to be released with 1.0, but that we are really excited about anyway - and are "coming soon"! <h3>Upgrading <p dir="auto">One of the first things that we will do after 1.0 launches is to create a guide that will assist you in upgrading your projects. We really want you to be successful with this undertaking, so please join us on the Discord channel and let us know where your pain points are. <h3>Typescript <p dir="auto">Also, we will be refactoring all of the components to use typescript, which will assuredly make many of you happy (and keep Quasar in step with the direction that vue itself is taking.) <h3>Snippets <p dir="auto">Up until now, you have had to search through the Discord server, wade through questions on the forums or hope that there is an up-to-date solution floating around stackoverflow. Usually people just need a perfect snippet, and we are working on a website specifically for this where you can post your solutions for the benefit of the community (and of course also your convenience of knowing where to look for the answers you personally wrote). <h3>Theming <p dir="auto">Making and changing themes has been notoriously tricky in legacy Quasar - often involving countless CSS overrides and using DOM element inspection to figure out what to target to match your pixel-perfect layout. Merely changing colors cannot be called theming, which is why we will be releasing a system for creating, using and sharing themes. <h3>Lots of starter kits <p dir="auto">We are already working together with Byteball to create a cryptocurrency focussed starter-kit that will be the very first official "extended starter kit". This pattern will let you get even faster scaffolding of common things you need to get your project into active development. (This will be perfect for themed hackathons, by the way...) <h3>i18n <p dir="auto">Internationalization has always been a real pain to set up and get right, and we have some battle-tested ideas about how to help you rig your project, manage your translation strings and assist with invaluable lazy-loading on massively multilingual projects. For SSR getting your translation hooked on prefetch is a must for your SEO, so stay tuned to find out how much you'll love what we are bringing to the multi-culti dinner party! <h3>a11y <p dir="auto">Remaining accessible is a must for any serious interface - and this concern needs definite attention with hyper-reactive front-ends. To help you (and your users) we will be enhancing all of the components with accessibility properties and empowering you to run <strong>a11y audits alongside your other quality controls in your production pipeline. <h3>Icons <p dir="auto">The icon-factory is a long-awaited addition to the Quasar Framework, with which you will be able to create all the icons you need for your application, whether Cordova, Electron or SPA. It is delivered as a webpack plugin that will create the assets that you specify (or configure) whenever the source image changes. <p dir="auto"><img src="https://images.hive.blog/768x0/https://raw.githubusercontent.com/quasarframework/quasar-icon-factory/master/iconfactory.png" alt="icon factory" srcset="https://images.hive.blog/768x0/https://raw.githubusercontent.com/quasarframework/quasar-icon-factory/master/iconfactory.png 1x, https://images.hive.blog/1536x0/https://raw.githubusercontent.com/quasarframework/quasar-icon-factory/master/iconfactory.png 2x" /> <h3>Media Player <p dir="auto">We are also excited to be publishing a new component for media playback by Hawkeye64. This HTML5 component will let you stream audio or video files to all browsers - using local or remote resources. It has tons of configurations - and it comes ready to integrate subtitles and even overlays (like channel icons)!<br /> <img src="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/800/1*PW5G7opDXEk9zGaERsRjHw.png" alt="media player" srcset="https://images.hive.blog/768x0/https://cdn-images-1.medium.com/max/800/1*PW5G7opDXEk9zGaERsRjHw.png 1x, https://images.hive.blog/1536x0/https://cdn-images-1.medium.com/max/800/1*PW5G7opDXEk9zGaERsRjHw.png 2x" /> <h1>Legacy Quasar <p dir="auto">With absolutely everything being refined and in some cases entirely redesigned, you might be asking yourself the following: Will there be compatibility issues with my pre-1.0 Quasar apps? <p dir="auto">If you have been sticking it out with Quasar for a while, you might remember some of the bellyaches around the transition to Babel 7 and Webpack 4 that we undertook with the launch of 0.16. We know that keeping up with Quasar has taken a lot of effort, and that is why we froze development on 0.17 so we could get 1.0 out the door. Those of you who stay up to date will have noticed that we still managed to put out a few updates to 0.17 to fix issues that cropped up. <p dir="auto">Migrating will be tricky, but as always we will create and maintain a migration documentation page that will help you navigate your way to 1.0. If, however, you are unable to spend the dev-cycles to port to 1.0, we want to reassure you that we plan to continue this pattern of back-porting bugfixes and keeping all of the dependencies up-to-date. <blockquote> <p dir="auto">Our promise to you: We will maintain legacy Quasar at least until the end of 2019, so that you can take your time to transition to the best edition of the best framework out there. <h2>THANKYOU <p dir="auto">I would like to give special thanks to our staff: <ul> <li>pdandan <li>nothingismagick <li>smolinari <li>PhearZero <li>francesco <li>Hawkeye64 <li>AlphaRolo <li>KevinMarrec <li>murbanowicz <li>a46ae <li>ross <li>Neven <li>Ross <li>MaxMatteo <li>GastroGeek <p dir="auto">Also big thanks to the sponsors and donors who have stuck with us over the past several years! You are awesome!!! <p dir="auto">And last, but not least, thanks to every single member of our awesome community of open-source afficianados. You are the inspiration behind Quasar! <h3>Razvan Stoenescu <hr /> <p dir="auto">If you need more information about Quasar itself, here are a few links for your consideration: <p dir="auto"><br /><br /><br /><br /><br /><br /><br /><span>PATREON: <a href="https://www.patreon.com/quasarframework" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://www.patreon.com/quasarframework<span> COMPONENTS: <a href="https://github.com/quasarframework/quasar" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/quasarframework/quasar<span> CLI: <a href="https://github.com/quasarframework/quasar-cli" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/quasarframework/quasar-cli<span> THE DOCS: <a href="https://quasar-framework.org/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://quasar-framework.org/<span> DISCORD: <a href="http://chat.quasar-framework.org/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">http://chat.quasar-framework.org/<span> FORUM: <a href="https://forum.quasar-framework.org/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://forum.quasar-framework.org/<span> TWITTER: <a href="https://twitter.com/quasarframework" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://twitter.com/quasarframework<span> STEEM: <a href="http://steemit.com/@quasarframework" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">http://steemit.com/@quasarframework
Sort:  

This is, quite simply, a fantastic post. The update itself is huge. 1.0 is a tremendous milestone for any project, and you're marching into it in style. The post is also entertaining, well written, and fun to read even for a non-developer such as myself.

Kudos!

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.



Chat with us on Discord.
[utopian-moderator]Need help? Write a ticket on https://support.utopian.io/.

Thank you for your review, @didic! Keep up the good work!

Great work! Congrats on this and thanks for coming on the Utopian Radio Show @nothingismagick

Really good job guys.

I'm impressed by the level of professionalism put into the project.

It makes me confident that having chosen quasar for StemQ was the right move.

Keep up the good work.

Hi @quasarframework!



Feel free to join our @steem-ua Discord serverYour post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation! Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!

I wonder if the component name in the Quasar is inspired by Qt 😃

Hey, @quasarframework!

Thanks for contributing on Utopian.
Congratulations! Your contribution was Staff Picked to receive a maximum vote for the blog category on Utopian for being of significant value to the project and the open source community.

We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
SteemPlus or Steeditor). Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

This project is being supported by @Fundition

Fundition is a next-generation, decentralized, peer-to-peer crowdfunding and collaboration platform, built on the Steem blockchain.

https://fundition.io.#upfundition and #fundition tags on Steem represent the projects that are started on

Are You Prepared to Make the World a Better Place too?

Read the full details of Fundition Fund program

Learn more about Fundition by reading our purplepaper

work_on_progess.gif

steemitf.pngtwitterf.pngyoutubef.pngfacebookf.pnginstaf.pngdiscordf.png
Join a community with heart based giving at its core