Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

refactor: update $schema and id keywords #2050

Merged
merged 1 commit into from
Apr 13, 2021
Merged

refactor: update $schema and id keywords #2050

merged 1 commit into from
Apr 13, 2021

Conversation

alan-agius4
Copy link
Collaborator

In Angular CLI version 12, JSON Schema draft-04 will no longer be supported. Therefore id will need to be updated to $id.

We replace id with $id, this no longer valid in draft-07.
Replace all $schemas to http://json-schema.org/draft-07/schema, this is needed to "pin" the schema to draft-07.
More information about this draft can be found https://json-schema.org/draft-07/json-schema-release-notes.html

In Angular CLI version 12, JSON Schema draft-04 will no longer be supported. Therefore id will need to be updated to $id.

We replace id with $id, this no longer valid in draft-07.
Replace all $schemas to http://json-schema.org/draft-07/schema, this is needed to "pin" the schema to draft-07.
More information about this draft can be found https://json-schema.org/draft-07/json-schema-release-notes.html
@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Apr 13, 2021
@alan-agius4 alan-agius4 requested a review from CaerusKaru April 13, 2021 07:21
@alan-agius4 alan-agius4 merged commit 806a7d6 into angular:master Apr 13, 2021
@alan-agius4 alan-agius4 deleted the schema branch April 13, 2021 09:09
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants