Last active
September 3, 2019 13:57
-
-
Save ixti/9631df5381a0426d1151d81a4c496db8 to your computer and use it in GitHub Desktop.
Build all in one changelog from fucked-up mongoid releases on GitHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require "bundler/inline" | |
gemfile do | |
source "https://rubygems.org" | |
gem "http" | |
end | |
HTTP.persistent("https://api.github.com") do |http| | |
%w[ | |
7.0.4 | |
7.0.3 | |
7.0.2 | |
7.0.1 | |
7.0.0 | |
7.0.0.beta | |
6.4.4 | |
6.4.2 | |
6.4.1 | |
6.4.0 | |
6.3.0 | |
6.2.1 | |
6.2.0 | |
6.1.1 | |
6.1.0 | |
6.1.0.rc0 | |
6.0.3 | |
6.0.2 | |
6.0.1 | |
6.0.0 | |
6.0.0.rc0 | |
6.0.0.beta | |
5.4.0 | |
].reverse_each do |version| | |
data = http.get("https://api.github.com/repos/mongodb/mongoid/releases/tags/v#{version}").parse(:json) | |
puts <<~MARKDOWN | |
## v#{version} | |
*Release Notes: #{data.fetch 'html_url'}* | |
MARKDOWN | |
puts "\n\n" | |
puts data.fetch("body").delete("\r") | |
puts "\n\n" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mongoid Changelog
v5.4.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v5.4.0
This minor release has the following changes:
v6.0.0.beta
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.0.beta
This is a beta release of Mongoid 6.0, which supports Rails 5.
Mongoid 6.0 has a number of bug fixes, API changes, and improvements:
Bug fixes
API and behavior changes
Improvements and features
Closed tickets without fix needed
v6.0.0.rc0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.0.rc0
This is the first release candidate of Mongoid 6.0, which supports Rails 5.
The following changes are in rc0, in addition to the changes noted for the 6.0 beta release.
Bug fixes
API and behavior changes
Improvements and features
v6.0.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.0
This is the general release of Mongoid 6.0, which supports Rails 5.
Please see the release notes for version 6.0.0.beta and 6.0.0.rc0 for more details on changes since the 5.x series.
Please note that JRuby 9.0 preforms much slower and uses more memory than we've seen with previous JRuby and Mongoid versions. You may want to put off upgrading to JRuby 9.0 + Mongoid 6.0 until the JRuby team has resolved some performance issues. Here is the relevant github issue with the JRuby project.
This release contains the following changes in addition to those list in the beta and rc0 versions of Mongoid 6.0.0.
v6.0.1
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.1
This patch level release has the following bug fixes:
v6.0.2
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.2
This release only has one change but was necessary because of a bug introduced into 6.0.1 by the fix to ticket MONGOID-4310
The bug reports can be found here:
v6.0.3
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.0.3
This patch release has the following fixes:
v6.1.0.rc0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.1.0.rc0
This release candidate includes support for the new features of server version 3.4, among other smaller changes:
v6.1.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.1.0
This minor release supports version 3.4 of the MongoDB server. It has all the changes listed for version 6.1.0.rc0 as well as the following:
v6.1.1
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.1.1
This patch release has the following changes:
Tickets that are closed as of this release without changes:
v6.2.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.2.0
This version of Mongoid supports (and requires at least) Rails 5.1.
v6.2.1
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.2.1
v6.3.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.3.0
This release of Mongoid depends on at least Ruby driver version 2.5.0, which supports MongoDB server version 3.6 and which drops supports for MongoDB server version 2.4. This requirement addresses MONGOID-4504.
In other words, this version of Mongoid supports MongoDB server versions 2.6 - 3.6.
The following bug fixes and changes are in this release:
associations
to be a Model field name, as it conflicts with the internal API.$push
and$each
instead of$pushAll
_type
to be a Symbol or String. (@pacop)v6.4.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.4.0
This version of Mongoid most notably adds support for sessions.
The full list of changes is as follows:
v6.4.1
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.4.1
v6.4.2
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.4.2
This patch release has the following minor changes:
v6.4.4
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v6.4.4
This maintenance release in the 6.4.x series contains the following notable improvements:
The following bugs were aso fixed:
6.4.3 release was skipped due to a certificate issue.
v7.0.0.beta
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.0.beta
This is a beta release of Mongoid 7.0. It's is meant for testing and not for production. The API may also evolve as further betas and release candidates are released. Please report any issues in the jira project for Mongoid.
The release contains a large refactor of the way associations are defined between models. There are some behavior changes but the API is mostly unchanged. Please see the below list for details on bug fixes, behavior changes and API adjustments:
These are the behavior changes:
These are the bug fixes and API/feature additions:
determine_inverse_foreign_key
does not observe customized foreign keyv7.0.0
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.0
This major version of Mongoid has a number of significant refactors, bug fixes, and behavior corrections. Please refer to the list of changes in version 7.0.0.beta and the following list for a complete picture of the changes.
These are the behavior changes:
These are the bug fixes and API/feature additions:
Mongoid::Shardableshard_key_selector
(@intale)v7.0.1
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.1
This patch release has the following minor changes:
v7.0.2
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.2
This patch release has the following minor changes:
v7.0.3
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.3
This maintenance release of the 7.0.x series has the following notable improvements:
The following notable issues have been fixed:
v7.0.4
Release Notes: https://github.com/mongodb/mongoid/releases/tag/v7.0.4
This maintenance release of the 7.0.x series primarily addresses a class loading regression introduced in the 7.0.3 release. The following tickets have been resolved: