Skip to content
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

Release 5.0.0-rc.1 #776

Merged
merged 2 commits into from
Mar 17, 2020
Merged

Release 5.0.0-rc.1 #776

merged 2 commits into from
Mar 17, 2020

Conversation

kylef
Copy link
Member

@kylef kylef commented Mar 16, 2020

This PR creates a 5.0.0-rc.1 release, I think for final 5.0.0 release we need to do the following:

  • Update the documentation in the README to count for the breaking changes to the Drafter API. The code examples/documentation in README is no longer current.

Drafter hard-coded the pre-release identifer as pre, I'd like to give better semantics for the release and use the recommended identifiers (alpha, beta, release candidates etc) and therefore I've updated the handling in the code base so that DRAFTER_PRE_RELEASE_VERSION takes the full pre-release identifier:

To aid review, here's how the Version.h is generated:

#define DRAFTER_MAJOR_VERSION 5
#define DRAFTER_MINOR_VERSION 0
#define DRAFTER_PATCH_VERSION 0

#define DRAFTER_VERSION_IS_RELEASE 0
#define DRAFTER_PRE_RELEASE_VERSION "beta.1"

#if DRAFTER_VERSION_IS_RELEASE
#define DRAFTER_VERSION_STRING "v5.0.0"
#else
#define DRAFTER_VERSION_STRING "v5.0.0-beta.1"
#endif

Changelog

Breaking

  • Parsing and serialisation options in the C API of Drafter contain breaking changes. Direct access to the option structures are no longer possible, a new API layer has been added for the options. See drafter_init_parse_options and drafter_serialize_options respectively.

Enhancements

  • Improved support for URI Template. Drafter supports up to, and including level 4 of URI Template. This includes support for the URI Template explode (*) modifier, and reserved value operator (+), and others.

    #553 #456 #630

  • Added support for JSON Schema Draft 7 in schema generation from MSON. JSON Schemas are now generated using Draft 7 instead of Draft 4.

@kylef kylef changed the title Release 5.0.0-beta.1 Release 5.0.0-rc.1 Mar 16, 2020
@kylef
Copy link
Member Author

kylef commented Mar 16, 2020

Ive' updated to 5.0.0-rc.1 as the version is correct.

@kylef kylef merged commit aaffff2 into master Mar 17, 2020
@kylef kylef deleted the kylef/release branch March 17, 2020 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants