Skip to content

Commit

Permalink
Merge pull request #418 from pnp/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf authored Dec 16, 2021
2 parents dd2f4ef + ef120db commit d969205
Show file tree
Hide file tree
Showing 84 changed files with 5,979 additions and 2,992 deletions.
149 changes: 0 additions & 149 deletions .circleci/config.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: BETA Release
on:
push:
branches:
- dev

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/

- name: Install npm dependencies
run: npm i

- name: Update the package version
if: github.ref == 'refs/heads/dev'
run: node scripts/update-package-version.js $GITHUB_RUN_ID

- name: Update version number for telemetry
run: npm run versionUpdater

- name: Create/update the missing localization keys
run: npm run localization

- name: Run build
run: npm run build

- name: Publish beta release
run: npm publish --tag next --access public
if: github.ref == 'refs/heads/dev'
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
33 changes: 33 additions & 0 deletions .github/workflows/main-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release
on:
release:
types:
- published
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: 'https://registry.npmjs.org'

- name: Install npm dependencies
run: npm i

- name: Update version number for telemetry
run: npm run versionUpdater

- name: Create/update the missing localization keys
run: npm run localization

- name: Run build
run: npm run build

- name: Publish release
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
25 changes: 25 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update docs
on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x

# - name: Install mkdocs
# run: pip install mkdocs

- name: Install MkDocs theme
run: pip install mkdocs-material==3.1.0

- name: Build docs
run: mkdocs gh-deploy --force -m "[ci skip]"
working-directory: docs/documentation
2 changes: 1 addition & 1 deletion .yo-rc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"@microsoft/generator-sharepoint": {
"version": "1.12.0",
"version": "1.13.1",
"libraryName": "sp-dev-fx-property-controls",
"libraryId": "0253ef52-be23-4282-b00f-e5a9350eb408",
"environment": "spo",
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
{
"versions": [
{
"version": "3.3.0",
"changes": {
"new": [],
"enhancements": [
"SharePoint Framework v1.13.* support",
"`PropertyPanePropertyEditor`: Add translations for property editor control button and header [#399](https://github.com/pnp/sp-dev-fx-property-controls/pull/399)",
"`PropertyFieldCollectionData`: Adds conditional column visibility [#394](https://github.com/pnp/sp-dev-fx-property-controls/pull/394)",
"Include `mystrings.d.ts` in definition output [#393](https://github.com/pnp/sp-dev-fx-property-controls/pull/393)",
"`PropertyFieldCollectionData`: `onGetErrorMessage` support for boolean, custom and color fields. [#395](https://github.com/pnp/sp-dev-fx-property-controls/pull/395)",
"`PropertyFieldCodeEditor`: Added `panelWidth` property [#404](https://github.com/pnp/sp-dev-fx-property-controls/issues/404)",
"`PropertyFieldCollectionData`: Allow falsey keys as dropdown options [#397](https://github.com/pnp/sp-dev-fx-property-controls/pull/397)",
"`PropertyFieldFilePicker`: Add a handler to close a filepicker [#401](https://github.com/pnp/sp-dev-fx-property-controls/issues/401)"
],
"fixes": [
"`PropertyPanePropertyEditor`: Minor fix to allow PropertyEditor control to update properties when their current value is blank [#384](https://github.com/pnp/sp-dev-fx-property-controls/pull/384)",
"`PropertyFieldSitePicker`: Some sites do not show up in Property Field Site Picker control [#402](https://github.com/pnp/sp-dev-fx-property-controls/issues/402)",
"`PropertyFieldOrder`: Not working with array of objects [#396](https://github.com/pnp/sp-dev-fx-property-controls/issues/396)"
]
},
"contributions": [
"[ellinge](https://github.com/ellinge)",
"[M365Bass](https://github.com/M365Bass)",
"[Patrik Hellgren](https://github.com/patrikhellgren)"
]
},
{
"version": "3.2.0",
"changes": {
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Releases

## 3.3.0

### Enhancements

- SharePoint Framework v1.13.* support
- `PropertyPanePropertyEditor`: Add translations for property editor control button and header [#399](https://github.com/pnp/sp-dev-fx-property-controls/pull/399)
- `PropertyFieldCollectionData`: Adds conditional column visibility [#394](https://github.com/pnp/sp-dev-fx-property-controls/pull/394)
- Include `mystrings.d.ts` in definition output [#393](https://github.com/pnp/sp-dev-fx-property-controls/pull/393)
- `PropertyFieldCollectionData`: `onGetErrorMessage` support for boolean, custom and color fields. [#395](https://github.com/pnp/sp-dev-fx-property-controls/pull/395)
- `PropertyFieldCodeEditor`: Added `panelWidth` property [#404](https://github.com/pnp/sp-dev-fx-property-controls/issues/404)
- `PropertyFieldCollectionData`: Allow falsey keys as dropdown options [#397](https://github.com/pnp/sp-dev-fx-property-controls/pull/397)
- `PropertyFieldFilePicker`: Add a handler to close a filepicker [#401](https://github.com/pnp/sp-dev-fx-property-controls/issues/401)

### Fixes

- `PropertyPanePropertyEditor`: Minor fix to allow PropertyEditor control to update properties when their current value is blank [#384](https://github.com/pnp/sp-dev-fx-property-controls/pull/384)
- `PropertyFieldSitePicker`: Some sites do not show up in Property Field Site Picker control [#402](https://github.com/pnp/sp-dev-fx-property-controls/issues/402)
- `PropertyFieldOrder`: Not working with array of objects [#396](https://github.com/pnp/sp-dev-fx-property-controls/issues/396)

### Contributors

Special thanks to our contributors (in alphabetical order): [ellinge](https://github.com/ellinge), [M365Bass](https://github.com/M365Bass), [Patrik Hellgren](https://github.com/patrikhellgren).

## 3.2.0

### Enhancements
Expand Down
4 changes: 0 additions & 4 deletions config/copy-assets.json

This file was deleted.

5 changes: 5 additions & 0 deletions config/copy-static-assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"includeExtensions": [
"mystrings.d.ts"
]
}
2 changes: 1 addition & 1 deletion config/deploy-azure-storage.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.office.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
"workingDir": "./temp/deploy/",
"workingDir": "./release/assets/",
"account": "<!-- STORAGE ACCOUNT NAME -->",
"container": "sp-dev-fx-property-controls",
"accessKey": "<!-- ACCESS KEY -->"
Expand Down
7 changes: 7 additions & 0 deletions config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
"skipFeatureDeployment": true,
"isDomainIsolated": false,
"includeClientSideAssets": true,
"developer": {
"name": "Microsoft 365 PnP",
"privacyUrl": "",
"termsOfUseUrl": "",
"websiteUrl": "",
"mpnId": "Undefined-1.13.0"
},
"webApiPermissionRequests": [
{
"resource": "Microsoft Graph",
Expand Down
8 changes: 2 additions & 6 deletions config/serve.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"port": 4321,
"initialPage": "https://localhost:5432/workbench",
"https": true,
"api": {
"port": 5432,
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/"
}
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
"https": true
}
23 changes: 23 additions & 0 deletions docs/documentation/docs/about/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Releases

## 3.3.0

### Enhancements

- SharePoint Framework v1.13.* support
- `PropertyPanePropertyEditor`: Add translations for property editor control button and header [#399](https://github.com/pnp/sp-dev-fx-property-controls/pull/399)
- `PropertyFieldCollectionData`: Adds conditional column visibility [#394](https://github.com/pnp/sp-dev-fx-property-controls/pull/394)
- Include `mystrings.d.ts` in definition output [#393](https://github.com/pnp/sp-dev-fx-property-controls/pull/393)
- `PropertyFieldCollectionData`: `onGetErrorMessage` support for boolean, custom and color fields. [#395](https://github.com/pnp/sp-dev-fx-property-controls/pull/395)
- `PropertyFieldCodeEditor`: Added `panelWidth` property [#404](https://github.com/pnp/sp-dev-fx-property-controls/issues/404)
- `PropertyFieldCollectionData`: Allow falsey keys as dropdown options [#397](https://github.com/pnp/sp-dev-fx-property-controls/pull/397)
- `PropertyFieldFilePicker`: Add a handler to close a filepicker [#401](https://github.com/pnp/sp-dev-fx-property-controls/issues/401)

### Fixes

- `PropertyPanePropertyEditor`: Minor fix to allow PropertyEditor control to update properties when their current value is blank [#384](https://github.com/pnp/sp-dev-fx-property-controls/pull/384)
- `PropertyFieldSitePicker`: Some sites do not show up in Property Field Site Picker control [#402](https://github.com/pnp/sp-dev-fx-property-controls/issues/402)
- `PropertyFieldOrder`: Not working with array of objects [#396](https://github.com/pnp/sp-dev-fx-property-controls/issues/396)

### Contributors

Special thanks to our contributors (in alphabetical order): [ellinge](https://github.com/ellinge), [M365Bass](https://github.com/M365Bass), [Patrik Hellgren](https://github.com/patrikhellgren).

## 3.2.0

### Enhancements
Expand Down
Loading

0 comments on commit d969205

Please sign in to comment.