Skip to content

Commit

Permalink
v1.30.0
Browse files Browse the repository at this point in the history
### Changes
- If `initializeManually` is `true`, initialization will happen automatically in Live Preview. This is to improve local development experience. (#1088)
- Support for IE11 was officially dropped. We no longer guarantee that subsequent Theme versions will be IE11 compatible. (#1112)
- Assorted updates were made to our GH Actions. (#1113, #1111)
  • Loading branch information
tmeyer2115 authored Dec 15, 2022
2 parents 4e80bc0 + 1ee4dcf commit f87864a
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/acceptance_browserstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm ci
Expand All @@ -28,8 +28,8 @@ jobs:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/acceptance_headless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
name: Chrome Acceptance Tests (Headless)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/percy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
result: ${{ steps.nonce.outputs.result }}
steps:
- id: nonce
run: echo "::set-output name=result::${{ github.run_id }}-$(date +%s)"
run: echo result=${{ github.run_id }}-$(date +%s) >> $GITHUB_OUTPUT

call_snapshots_default:
needs: nonce
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/translation-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
matrix:
node-version: [15.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion global_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdkVersion": "1.14", // The version of the Answers SDK to use
"sdkVersion": "1.15", // The version of the Answers SDK to use
// "token": "<REPLACE ME>", // The auth token to access Answers experience.
// "apiKey": "<REPLACE ME>", // The answers api key found on the experiences page. This will be provided automatically by the Yext CI system
// "experienceVersion": "<REPLACE ME>", // the Answers Experience version to use for API requests. This will be provided automatically by the Yext CI system
Expand Down
1 change: 1 addition & 0 deletions hooks/templatedataformatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module.exports = function (pageMetadata, siteLevelAttributes, pageNameToConfig)
relativePath,
env: {
JAMBO_INJECTED_DATA: env.JAMBO_INJECTED_DATA,
IS_DEVELOPMENT_PREVIEW: env.IS_DEVELOPMENT_PREVIEW === 'true',
packageJsonVersion: packageJson.version
}
};
Expand Down
3 changes: 3 additions & 0 deletions layouts/html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
document.addEventListener('DOMContentLoaded', () => {
{{#if global_config.initializeManually}}
new HitchhikerJS.ManualInitializer(initAnswers).setup();
{{#if env.IS_DEVELOPMENT_PREVIEW}}
AnswersExperience.init();
{{/if}}
{{#wrapJsPartial}}
{{> script/on-document-load}}
{{/wrapJsPartial}}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "answers-hitchhiker-theme",
"version": "1.29.5",
"version": "1.30.0",
"description": "A starter Search theme for hitchhikers",
"keywords": [
"jambo",
Expand Down
4 changes: 2 additions & 2 deletions static/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "answers-hitchhiker-theme",
"version": "1.29.5",
"version": "1.30.0",
"description": "Toolchain for use with the HH Theme",
"main": "Gruntfile.js",
"scripts": {
Expand Down

0 comments on commit f87864a

Please sign in to comment.