Skip to content

Commit 6d8923b

Browse files
authored
Merge pull request #167 from Automattic/add/historical-changelog
2 parents f3cfe24 + ef3a5ff commit 6d8923b

File tree

4 files changed

+168
-59
lines changed

4 files changed

+168
-59
lines changed

.github/workflows/changelog.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,18 @@ on:
55

66
# Allow manually triggering the workflow.
77
workflow_dispatch:
8+
89
jobs:
910
tag:
1011
name: New tag
11-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout repository
1415
uses: actions/checkout@v4
1516

1617
- name: Install Dependencies
1718
run: npm install
1819

19-
- name: Populate Changelog
20-
run: node .github/workflows/changelog.js
21-
env:
22-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
2420
- name: WordPress Plugin Deploy
2521
uses: 10up/action-wordpress-plugin-deploy@stable
2622
env:

CHANGELOG.md

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
# Changelog for Ad Code Manager
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.6.0] - 2022-03-21
9+
10+
This version requires WordPress 5.5 and PHP 7.1 as a minimum.
11+
12+
### Added
13+
- Added link to the Settings page from the plugin page to make it easier to find after plugin activation.
14+
- Allow filtering the TTL for matching ad codes. Props @dlh01.
15+
16+
### Changed
17+
- Increased minimum WordPress version to WP 5.5.
18+
- Increased minimum PHP version to PHP 7.1.
19+
- Moved the settings page from the Tools menu to the Settings menu to make it more intuitive to find.
20+
- Refactored `action_acm_tag()` method to a method that returned the tag and another that echoed the returned tag.
21+
- Added check for post types when deleting ad codes. Props @rbcorrales.
22+
- Changed the assignment of $unit_sizes_output to an array. Props @victorholt.
23+
24+
### Fixed
25+
- Fixed internationalization of PHP strings. Props @christianc1, @shantanu2704, and @trepmal.
26+
- Fixed PHP 7 incompatibilities. Props @swissspidy, @shantanu2704, @alexiskulash, and @jonathanstegall.
27+
- Fixed broken tests and workflows.
28+
29+
### Maintenance
30+
- Remove parsing of readme.txt into contextual help with a Markdown parsing library.
31+
- Improved some coding standards.
32+
- Moved and reorganised many classes and how they are initialized.
33+
- Refreshed screenshots.
34+
- Moved previously-linked configuration guidance into Readme.
35+
- Reorganised documentation sections.
36+
- Refreshed the on-page contextual help.
37+
- Added GitHub workflow to push the plugin to WordPress.org.
38+
- Added script to more easily bump version numbers.
39+
- Added script to populate release notes into Readme changelog for WordPress.org.
40+
- Added dependabot configuration file.
41+
- Added `.gitattributes` file.
42+
- Added `LICENSE` file.
43+
44+
## [0.5] - 2016-04-13
45+
46+
### Added
47+
- Added support for flex sized DFP Async ads.
48+
- Added `robots.txt` entries for provider's crawlers.
49+
- New Italian translation. Props @sniperwolf.
50+
51+
### Fixed
52+
- Prevent global `$post` pollution if ad code is getting rendered inside a loop.
53+
54+
### Maintenance
55+
- Using PHP5 constructs when initializing the widget.
56+
57+
## [0.4.1] - 2013-04-27
58+
59+
### Changed
60+
- Disabled rendering of ads on preview to avoid crawling errors. Props @paulgibbs.
61+
62+
### Fixed
63+
- Corrected "medium rectangle" ad size for DFP Async Provider. Props @NRG-R9T.
64+
65+
## [0.4] - 2013-03-19
66+
67+
### Added
68+
- New filter `acm_output_html_after_tokens_processed` for rare cases where you might want to filter HTML after the tokens are processed.
69+
70+
### Changed
71+
- Streamlined configuration for Doubleclick for Publishers Async and Google AdSense.
72+
- Faster, cleaner JavaScript. Props @jeremyfelt and @carldanley.
73+
74+
## [0.3] - 2012-10-26
75+
76+
### Added
77+
- Conditional operator logic can be set on an ad code by ad code basis. Props @jtsternberg.
78+
79+
### Fixed
80+
- If an ad tag doesn't need a URL, ignore the allowlist check.
81+
- Make sure that all providers list tables call `parent::get_columns()` to avoid conflicts with filters.
82+
83+
### Maintenance
84+
- Coding standards cleanup.
85+
86+
## [0.2.3] - 2012-06-12
87+
88+
### Added
89+
- Allow columns to be optional when creating and editing ad codes, introduced new filter `acm_ad_code_args`.
90+
91+
### Removed
92+
- Remove `acm_provider_columns` filter.
93+
94+
## [0.2.2] - 2012-06-05
95+
96+
### Added
97+
- New Google Ad Sense provider. Props @ethitter.
98+
- Bulk delete action added for the `WP_List_Table` of ad codes. Delete more ad codes in one go.
99+
- New `acm_register_provider_slug` for registering a provider that's included outside the plugin (e.g. a theme).
100+
101+
### Fixed
102+
- Instantiate the WP List Table on the view, instead of on admin_init, to reduce conflicts with other list tables.
103+
104+
## [0.2.1] - 2012-05-15
105+
106+
### Changed
107+
- Flush the cache whenever an ad code is created or deleted so you don't have to wait for a timeout with a persistent cache.
108+
109+
### Fixed
110+
- Default to priority 10 when querying for ad codes if there is no priority set.
111+
112+
## [0.2] - 2012-05-07
113+
114+
### Added
115+
- Added in-plugin contextual help.
116+
- Implemented priority for ad code (allows to workaround ad code conflicts if any).
117+
- Implemented the `[acm-tag]` shortcode.
118+
- Implemented ACM Widget. Props @jtsternberg.
119+
120+
### Changed
121+
- UI reworked from the ground up to look and work much more like the WordPress admin (using `WP_List_Table`).
122+
- Abstracted ad network logic, so users can integrate other ad networks. Pull requests to add support to the plugin are always welcome.
123+
- Initial loading of the ad codes is now cached using object cache.
124+
125+
### Fixed
126+
- Enable using ad codes with empty filters using a filter.
127+
- Setting the logical operator from OR to AND did not seem to result in the expected behaviour for displaying ads.
128+
- Remove logical operator check when a conditional for an ad code is empty.
129+
130+
## [0.1.3] - 2012-02-14
131+
132+
### Changed
133+
134+
- UI cleanup for the admin, including styling and information on applying conditionals.
135+
136+
## [0.1.2] - 2012-02-10
137+
138+
### Added
139+
- Readme with full description and examples.
140+
141+
### Fixed
142+
- Save the proper value when editing actions.
143+
144+
## [0.1.1] - 2012-01-19
145+
146+
Bug fix release.
147+
148+
## 0.1 - 2012-01-18
149+
150+
Initial release.
151+
152+
[0.6.0]: https://github.com/Automattic/ad-code-manager/compare/0.5...0.6.0
153+
[0.5]: https://github.com/Automattic/ad-code-manager/compare/0.4.1...0.5
154+
[0.4.1]: https://github.com/Automattic/ad-code-manager/compare/0.4...0.4.1
155+
[0.4]: https://github.com/Automattic/ad-code-manager/compare/0.3...0.4
156+
[0.3]: https://github.com/Automattic/ad-code-manager/compare/0.2.3...0.3
157+
[0.2.3]: https://github.com/Automattic/ad-code-manager/compare/0.2.2...0.2.3
158+
[0.2.2]: https://github.com/Automattic/ad-code-manager/compare/0.2.1...0.2.2
159+
[0.2.1]: https://github.com/Automattic/ad-code-manager/compare/0.2...0.2.1
160+
[0.2]: https://github.com/Automattic/ad-code-manager/compare/0.1.3...0.2
161+
[0.1.3]: https://github.com/Automattic/ad-code-manager/compare/0.1.2...0.1.3
162+
[0.1.2]: https://github.com/Automattic/ad-code-manager/compare/0.1.1...0.1.2
163+
[0.1.1]: https://github.com/Automattic/ad-code-manager/compare/0.1...0.1.1

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,4 +551,6 @@ function my_acm_ad_code_args( $args ) {
551551
}
552552
~~~
553553
554-
<!-- changelog -->
554+
### Change Log
555+
556+
[View the change log](https://github.com/Automattic/ad-code-manager/blob/master/CHANGELOG.md).

0 commit comments

Comments
 (0)