-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
⬆️ Updates yaml to v2 #429
base: master
Are you sure you want to change the base?
Conversation
Hey! Changelogs info seems to be missing or might be in incorrect format. |
Pull request by bot. No need to analyze |
22fdd93
to
a651e01
Compare
Mega-Linter status: ✅ SUCCESSSee errors details in artifact Mega-Linter reports on GitHub Action page |
a651e01
to
a11965c
Compare
a11965c
to
280037a
Compare
280037a
to
398209a
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
398209a
to
5edcd63
Compare
5edcd63
to
4cb696a
Compare
4cb696a
to
b6f8221
Compare
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/[email protected] |
b6f8221
to
01a8fdc
Compare
01a8fdc
to
31abb35
Compare
31abb35
to
08f4de1
Compare
08f4de1
to
6dc8dfe
Compare
826953b
to
36a5375
Compare
36a5375
to
9c7b4b4
Compare
9c7b4b4
to
cea716a
Compare
cea716a
to
7a8c652
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
7a8c652
to
8b09b0d
Compare
605c155
to
8b09b0d
Compare
This PR contains the following updates:
1.10.2
->2.6.1
Release Notes
eemeli/yaml (yaml)
v2.6.1
Compare Source
v2.6.0
Compare Source
!!merge <<
keys (#580)stringKeys
parse option (#581)v2.5.1
Compare Source
v2.5.0
Compare Source
--indent
option to CLI tool (#559, with thanks to @danielbayley)...
(#558)minContentWidth
if greater thanlineWidth
(#562)Collection.maxFlowStringSingleLineLength
(#522, #421)v2.4.5
Compare Source
v2.4.4
Compare Source
With special thanks to @RedCMD for finding and reporting all of the following:
[]{}
immediately after:
with plain key (#550)?
explicit-key contents (#551)v2.4.3
Compare Source
-.NaN
or+.nan
as NaN (#546)#
within%TAG
prefixes with trailing#comments
v2.4.2
Compare Source
v2.4.1
Compare Source
v2.4.0
Compare Source
lineWidth
option for line breaking in flow collections (#522)v2.3.4
Compare Source
v2.3.3
Compare Source
v2.3.2
Compare Source
v2.3.1
Compare Source
"engines"
config (#476)v2.3.0
Compare Source
This release corresponds with the release of
yaml-types
v0.2.0, an expanding library of custom tags or types for use withyaml
.This release contains no changes from v2.3.0-5, and the notes below include all changes from the v2.3.0-x prereleases.
Custom Tag Improvements
createNode()
&createPair()
to'yaml/util'
(#457)from()
methods to simplify tag development, and otherwise make extending custom collections easier (#467)TypeScript Improvements
Strict
toDocument
instances. (#441)StringifyContext
type from'yaml/util'
(#464)Other New Features
toJS(doc, options?)
method to nodes (#451, #458)createNode()
for non-default tags (#464)Bugfixes
v2.2.2
Compare Source
This patch release includes a fix for an error that could be thrown in
parseDocument
for degenerate input. Otherwise, it's a patch release uplifting a few fixes from the ongoing v2.3 work to v2.2:v2.2.1
Compare Source
v2.2.0
Compare Source
New Features
flowCollectionPadding
toString option (#420)Bugfixes
v2.1.3
Compare Source
v2.1.2
Compare Source
v2.1.1
Compare Source
No changes in executable code, only TS types.
v2.1.0
Compare Source
Fixes for TypeScript users. Arguably this could've been a patch release as well.
_directives
to resolve type conflict with ToString options (#389)v2.0.1
Compare Source
v2.0.0
Compare Source
This update has been in the works for the last year and a half. Its prerelease versions have been thoroughly tested by a wide number of users, and I think it's finally ready for "actual" release, for use in the mythical "production".
The breaking changes introduced here are mostly originating from the v1 CST parser having become a rather difficult beast to work with. So it's here rewritten pretty much completely, now with a lexer as a first stage. Along the way, the whole project was rewritten in TypeScript and the export paths and options refactored pretty deeply.
If you've been using the library just via its
parse()
,parseDocument()
andstringify()
functions, then it's quite likely that none of the changes affect your experience in any way. However, if you've been doing something more involved, then I would strongly recommend that you review the library's documentation site for the v2 docs.Going forward, it's finally time to start experimenting with new YAML spec features that may eventually be included in YAML 1.3 and later. Those will be made available by specifying the
version: 'next'
option. However, beware! Any features available this way may be removed or have their API broken by any minor release of this library, and no compatibility guarantees with other libraries are given. In general, semver compatibility is guaranteed for features that are explicitly included in the documentation; everything else should be considered as internal implementation details.The following is an overview of the breaking changes and new features introduced in each of the prerelease steps leading up to this release; the individual releases' notes and the PRs will contain more detail, along with specific migration guides.
BREAKING CHANGES
v2.0.0-0
set()
in mappings & sequences (#185)v2.0.0-1
resolve()
API (#201)v2.0.0-3
'yaml/parse-cst'
endpoint (#223)v2.0.0-4
'yaml/types'
and some of'yaml/util'
into'yaml'
(#234)type
property from all but Scalar nodes (#240)v2.0.0-5
tokens
namespace asCST
(#252)[start, value-end, node-end]
(#259)error.offset
witherror.pos: [number, number]
(#260)v2.0.0-6
v2.0.0-9
v2.0.0-10
doc.directives
now indicates it as optional (#344)v2.0.0-11
YAML.defaultOptions
is removed (#346)directives.marker
is renamed asdirectives.docStart
(#371)v2.0.0
New Features
v2.0.0-0
set()
&setIn()
on doc with empty contents (#174)defaultKeyType
option for finer control of scalar output (#179)v2.0.0-1
asBigInt
option for sexagesimal integer valuesv2.0.0-3
logLevel
option (#215)visit(node, visitor)
to'yaml'
(#225)v2.0.0-4
'yaml/util'
that weren't exposed beforev2.0.0-5
v2.0.0-6
uniqueKeys
option (#271)COMMENT_SPACE
error; useMISSING_CHAR
for it insteadv2.0.0-7
<<
merge keys, in addition to alias valuesv2.0.0-8
aliasDuplicateObjects
(#299)clone()
methods to Document, Directives, Schema and all Nodes (#304)v2.0.0-9
keepSoureToken
parse option, addingsrcToken
values to Nodes (#309)customTags
is defined (#325)v2.0.0-10
v2.0.0-11
directives.docEnd
, for...
marker (#371)YAML.visitAsync()
(#372)v2.0.0
'next'
YAML versionConfiguration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.