Skip to content

Commit

Permalink
Merge branch 'master' into evolving-majors
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho authored Sep 6, 2022
2 parents 1017889 + 184e745 commit 453f80d
Show file tree
Hide file tree
Showing 223 changed files with 4,237 additions and 1,718 deletions.
28 changes: 6 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,19 @@ jobs:
lint-frontmatter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Checkout tools repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: emberjs/rfcs-tooling
path: rfcs-tooling
ref: 'v1.1.0'

- uses: actions/setup-node@v2.1.2
- uses: actions/setup-node@v3

- run: yarn install
working-directory: rfcs-tooling

- name: Lint the frontmatter of all RFCs for informational purposes
run: node lint-rfc-frontmatter.js ../text/*.md || true # Don't want to fail on old RFCs just yet
working-directory: rfcs-tooling

- name: Get Changed Files
uses: lots0logs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Filter Added Files to added RFCs
id: files
run: |
added_files=`jq -r '[.[] | select(startswith("text/"))] | join(" ")' ${HOME}/files_added.json`
echo "::set-output name=added::$added_files"
- name: Lint added RFCs frontmatter
if: ${{ steps.files.outputs.added }}
run: |
node rfcs-tooling/lint-rfc-frontmatter.js ${{ steps.files.outputs.added }}
- name: Lint the frontmatter of all RFCs
run: node ./rfcs-tooling/lint-rfc-frontmatter.js text/*.md
36 changes: 22 additions & 14 deletions 0000-template.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
---
Stage: Accepted
Start Date:
Release Date: Unreleased
Release Versions:
ember-source: vX.Y.Z
ember-data: vX.Y.Z
Relevant Team(s):
RFC PR:
stage: accepted
start-date:
release-date:
release-versions:
teams: # delete teams that aren't relevant
- cli
- data
- framework
- learning
- steering
- typescript
prs:
accepted: # update this to the PR that you propose your RFC in
project-link:
---

<!---
Directions for above:
Stage: Leave as is
Start Date: Fill in with today's date, YYYY-MM-DD
Release Date: Leave as is
Release Versions: Leave as is
Relevant Team(s): Fill this in with the [team(s)](README.md#relevant-teams) to which this RFC applies
RFC PR: Fill this in with the URL for the Proposal RFC PR
stage: Leave as is
start-date: Fill in with today's date, 2032-12-01T00:00:00.000Z
release-date: Leave as is
release-versions: Leave as is
teams: Include only the [team(s)](README.md#relevant-teams) for which this RFC applies
prs:
accepted: Fill this in with the URL for the Proposal RFC PR
project-link: Leave as is
-->

# <RFC title>
Expand Down
44 changes: 26 additions & 18 deletions deprecation-template.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
---
Stage: Accepted
Start Date:
Release Date: Unreleased
Release Versions:
ember-source: vX.Y.Z
ember-data: vX.Y.Z
Relevant Team(s):
RFC PR:
stage: accepted
start-date:
release-date:
release-versions:
teams: # delete teams that aren't relevant
- cli
- data
- framework
- learning
- steering
- typescript
prs:
accepted: # update this to the PR that you propose your RFC in
project-link:
---

<!---
Directions for above:
Stage: Leave as is
Start Date: Fill in with today's date, YYYY-MM-DD
Release Date: Leave as is
Release Versions: Leave as is
Relevant Team(s): Fill this in with the [team(s)](README.md#relevant-teams) to which this RFC applies
RFC PR: Fill this in with the URL for the Proposal RFC PR
<!---
Directions for above:
stage: Leave as is
start-date: Fill in with today's date, 2032-12-01T00:00:00.000Z
release-date: Leave as is
release-versions: Leave as is
teams: Include only the [team(s)](README.md#relevant-teams) for which this RFC applies
prs:
accepted: Fill this in with the URL for the Proposal RFC PR
project-link: Leave as is
-->

# <RFC title>
Expand Down Expand Up @@ -46,7 +54,7 @@ re-organized or altered? Does it change how Ember is taught to new users
at any level?
Does it mean we need to put effort into highlighting the replacement
functionality more? What should we do about documentation, in the guides
related to this feature?
related to this feature?
How should this deprecation be introduced and explained to existing Ember
users?

Expand Down
4 changes: 4 additions & 0 deletions stages/accepted.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Accepted
order: 5
---
4 changes: 4 additions & 0 deletions stages/closed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Closed
order: 10
---
4 changes: 4 additions & 0 deletions stages/discontinued.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Discontinued
order: 11
---
4 changes: 4 additions & 0 deletions stages/exploring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Exploring
order: 1
---
4 changes: 4 additions & 0 deletions stages/proposed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Proposed
order: 0
---
4 changes: 4 additions & 0 deletions stages/ready-for-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Ready For Release
order: 6
---
4 changes: 4 additions & 0 deletions stages/recommended.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Recommended
order: 8
---
4 changes: 4 additions & 0 deletions stages/released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Released
order: 7
---
3 changes: 3 additions & 0 deletions teams/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: CLI
---
3 changes: 3 additions & 0 deletions teams/data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: Data
---
3 changes: 3 additions & 0 deletions teams/framework.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: Framework
---
3 changes: 3 additions & 0 deletions teams/learning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: Learning
---
3 changes: 3 additions & 0 deletions teams/steering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: Steering
---
3 changes: 3 additions & 0 deletions teams/typescript.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
name: TypeScript
---
23 changes: 16 additions & 7 deletions text/0001-transform-attribute-meta-parameter.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
---
Start Date: 2014-08-14
RFC PR: https://github.com/emberjs/rfcs/pull/1
Ember Issue: https://github.com/emberjs/data/pull/4086

stage: released
start-date: 2014-08-14T00:00:00.000Z
release-date: 2016-05-03T00:00:00.000Z
release-versions:
ember-data: v2.5.0

teams:
- data
prs:
accepted: https://github.com/emberjs/rfcs/pull/1
project-link:
meta:
ember-issue: https://github.com/emberjs/data/pull/4086
---

# Summary

For Ember Data. Pass through attribute meta data, which includes `parentType`, `options`, `name`, etc.,
to the transform associated with that attribute. This will allow provide the following function signiture updates to `DS.Transform`:
to the transform associated with that attribute. This will allow provide the following function signiture updates to `DS.Transform`:

* `transform.serialize(deserialized, attributeMeta)`
* `transform.deserialize(serialized, attributeMeta)`
Expand Down Expand Up @@ -66,10 +75,10 @@ App.MarkdownTransform = DS.Transform.extend({
serialize: function (deserialized, attributeMeta) {
return deserialized.raw;
},

deserialize: function (serialized, attributeMeta) {
var options = attributeMeta.options.markdown || {};

return marked(serialized, options);
}
});
Expand Down
23 changes: 16 additions & 7 deletions text/0003-block-params.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
---
Start Date: 2014-08-18
RFC PR: https://github.com/emberjs/rfcs/pull/3
Issues:
Ember Stream support: emberjs/ember.js#5522
Handlebars parser support: wycats/handlebars.js#906
HTMLBars compiler support: tildeio/htmlbars#147

stage: recommended
start-date: 2014-08-18T00:00:00.000Z
release-date: 2015-02-07T00:00:00.000Z
release-versions:
ember-source: v1.10.0

teams:
- framework
prs:
accepted: https://github.com/emberjs/rfcs/pull/3
project-link:
meta:
issues:
Ember Stream support: emberjs/ember.js#5522
Handlebars parser support: wycats/handlebars.js#906
HTMLBars compiler support: tildeio/htmlbars#147
---

# Summary
Expand Down
13 changes: 9 additions & 4 deletions text/0003-cli-ember-doctor.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
Start Date: 2015-01-10
Relevant Team(s): Ember CLI
RFC PR: https://github.com/ember-cli/rfcs/pull/3

stage: accepted
start-date: 2015-01-10T00:00:00.000Z
release-date:
release-versions:
teams:
- cli
prs:
accepted: https://github.com/ember-cli/rfcs/pull/3
project-link:
---

# Summary
Expand Down
17 changes: 13 additions & 4 deletions text/0010-engines.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
---
Start Date: 2014-10-24
RFC PR: https://github.com/emberjs/rfcs/pull/10
Ember Issue: https://github.com/emberjs/ember.js/pull/12685

stage: released # FIXME: Is this Recommended?
start-date: 2014-10-24T00:00:00.000Z
release-date: 2016-09-08T00:00:00.000Z
release-versions:
ember-source: v2.8.0

teams:
- framework
prs:
accepted: https://github.com/emberjs/rfcs/pull/10
project-link:
meta:
ember-issue: https://github.com/emberjs/ember.js/pull/12685
---

# Summary
Expand Down
17 changes: 13 additions & 4 deletions text/0011-improved-cp-syntax.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
---
Start Date: 2014-09-30
RFC PR: https://github.com/emberjs/rfcs/pull/11
Ember Issue: https://github.com/emberjs/ember.js/pull/9527

stage: discontinued
start-date: 2014-09-30T00:00:00.000Z
release-date: 2014-10-28T00:00:00.000Z
release-versions:
ember-source: v1.8.0

teams:
- framework
prs:
accepted: https://github.com/emberjs/rfcs/pull/11
project-link:
meta:
ember-issue: https://github.com/emberjs/ember.js/pull/9527
---

# Summary
Expand Down
13 changes: 9 additions & 4 deletions text/0012-help-json-output.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
Start Date: 2015-05-16
Relevant Team(s): Ember CLI
RFC PR: https://github.com/ember-cli/rfcs/pull/12

stage: released
start-date: 2015-05-16T00:00:00.000Z
release-date:
release-versions: # FIMXE: Prior to 3.0
teams:
- cli
prs:
accepted: https://github.com/ember-cli/rfcs/pull/12
project-link:
---

# Summary
Expand Down
26 changes: 21 additions & 5 deletions text/0015-the-road-to-ember-2-0.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
---
Start Date: 2014-12-03
RFC PR: https://github.com/emberjs/rfcs/pull/15
Ember Issue: This RFC is implemented over many Ember PRs

stage: discontinued # FIXME: Is this correct?
start-date: 2014-12-03T00:00:00.000Z
release-date: 2015-08-13T00:00:00.000Z
release-versions:
ember-source: v2.0.0
ember-data: v2.0.0
ember-cli: v2.0.0

teams:
- framework
- data
- cli
- learning
- typescript
- steering
prs:
accepted: https://github.com/emberjs/rfcs/pull/15
project-link:
meta:
ember-issue: This RFC is implemented over many Ember PRs
---

# The Road to Ember 2.0
Expand Down Expand Up @@ -590,7 +606,7 @@ In order to do that refactoring, several things will change:
* In addition to the asynchronous `model` hook in routes, routes will
also be able to define a `attrs` hook, which can return additional
asynchronous data that should be provided to the component.
* Routeable Components should be placed in a "pod" naming convention. For
* Routeable Components should be placed in a "pod" naming convention. For
example, the component for the `blog-post` route would be
`app/blog-post/component.js`.

Expand Down
Loading

0 comments on commit 453f80d

Please sign in to comment.