Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bolt v2.6.0-beta.2 #1335

Merged
merged 26 commits into from Aug 27, 2019
Merged

Bolt v2.6.0-beta.2 #1335

merged 26 commits into from Aug 27, 2019

Conversation

sghoweri
Copy link
Contributor

@sghoweri sghoweri commented Aug 10, 2019

v2.6.0-beta.2 Updates

Fixes

Build Tools Hotfix (Port of #1362)

  • Fixes errors in the Build Tools caused by a recent upstream dependency change
  • Adjusts the CLI logic for toggling internationalization on / off

v2.6.0-beta.1 Fast Follow Updates #1333

  • Added missing yeoman-doctor dependency needed for Bolt's Yeoman component generator
  • Updated @bolt/build tools Jest snapshots to reflect minor CSS changes
  • Updated the monorepo install process to properly install and pre-build the new @bolt/critical-path-polyfills package
  • Updated JS-converted SVG icons based on upstream SVGO / compression updates

Deprecations

Documentation

Updates released in v2.6.0-beta.1

Enhancements & Updates

New @bolt/critical-path-polyfills Package Added

  • Published a new Bolt package containing a handful of Javascript polyfills that get inlined on the page. This should help assist with smoothing over some cross browser compatibility behavior with some 3rd party libraries! Check out the docs for more information!

Image Component: Performance Improvements

Modal Component

Button / Trigger Component

Build Tool Improvements

Core Sass Style Updates

  • Added bolt-repeat-rule mixin to repeat a block of styles as a separate rule-set for each selector provided, helps keep :host rulesets DRY.

Navbar Component

  • Tweaked the Navbar component's CSS rules to better handle the space between extra items added to the Navbar Title section + extra items added to the main content section of the Navbar. Feature: Improve Navbar Spacing #1290

Code Snippet Component

Action Blocks Component

Carousel Component

Developer Docs

Testing & Documentation Improvements




Bug Fixes

This should fully restore the ability to run npm start in Drupal and utilize Webpack Dev Server and live reloading!

  • Sass hotfix to address a few of the auto-generated utility classes for padding / spacing being different for Japanese-specific lang builds.

This PR also updates our existing Drupal Lab tests to check that a temporary workaround fixes the issue in Drupal (immediate workaround using the most recent release of Bolt) + adds a new suite of tests for the latest upcoming release of our build tools. #1265



DevOps Updates

The SSR server is now running as a persistent HTTP2 server (vs CLI previously), speeding up server-side rendering to be around 128x faster (~0.01s response)!! 🎉

ssr

Before vs After Jest Test Speedup ⬆️

  • Incorporated several different updates to fix and improve overall testing consistency in Bolt (ex. more predictable results when running Jest tests locally vs on Travis) in addition to better handling the results from successful / failing visual regression tests. Feat: Improve Test Consistency + Better Handle VRT Failures #1272
    image

  • Added a new suite of testing utilities (including a powerful new way to walk through Twig-based dependencies) + quicker Jest tests via Add dependency mapper and quicker Jest tests #1226

  • Added global type checking (not compiling) of Javascript files in the Bolt monorepo using TypeScript via yarn test:types.

Note: Currently there are a lot of errors coming in and fine tuning the includes and excludes properties in tsconfig.json would be a good start to narrow the focus would be a good idea. The big advantage from this update is much better editor auto-completion. #1234

This update will significantly reduce our infrastructure costs with Now.sh by temporarily having all of our deployments be a static HTML deployments (ie. no PHP services and no Docker containers). The only main drawback with this update is that our Twig Rendering Service / Component Explorer needs to be temporarily disabled until we've finished working on getting this to work on Now.sh's new serverless architecture (lots of progress has been made on this thankfully!).

For the time being, a Component Explorer placeholder + message has been aded on all component docs pages this particular feature had been getting used -- namely on the Button, Navbar, and Carousel component sections in Pattern Lab.

image

  • Added a new monorepo helper script to automatically update NPM dependencies in packages not managed by directly by Lerna (ex. the example integration demos using Vue, Angular, Drupal Lab, etc). Example integrations auto dependencies update #1205

    • Note: this eventually might get added and released as part of a standalone NPM package. TBD!
  • DevOps related updates to upgrade Bolt’s Puppeteer instances to now use Puppeteer Core + launch using an instance of Chrome already installed; significantly speeding up / slimming down local dev installs + shaving nearly a minute off of our Travis CI build! Improve UIKit Rendering Performance + Speed Up CI Installs #1255

Also includes a handful of UIKit visual improvements + a ton of IE-specific bug fixes that popped up when testing out these updates.

Before:
image

After:
image




Deprecations

The old NPM package now points people to use the renamed package (including when installing the old NPM package via the command line).

Pre-Released in v2.5.3/4

Details

The slot="footer" was accidentally being used on the figcaption's container, which was a carryover from an older prototype.

remydenton and others added 26 commits July 30, 2019 13:46
…t/critical-path-polyfills` package when doing local development
…1-fixes

v2.6.0-beta.1 Post-Release Fixes
…-background-video-prop

Video | FE | Deprecate isBackgroundVideo prop
…nto feature/BDS-1695-document-npm-patch-package
…ument-npm-patch-package

Document guidelines for npm `patch-package` usage
… to address a recent Sass Loader upstream change
…o-autoplay-demo

Video | Docs | Add comment about autoplay on iOS
Hotfix: Fix Sass Loader in Build Tools (Duplicate of #1361)
@sghoweri sghoweri changed the title Bolt v2.6.0-beta.2 Release Bolt v2.6.0-beta.2 Aug 27, 2019
@sghoweri sghoweri merged commit 4b0db7d into release/2.x Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants